]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Fix log1p missing underflows (bug 16339).
[thirdparty/glibc.git] / ChangeLog
CommitLineData
0b7a5f92
JM
12015-05-14 Joseph Myers <joseph@codesourcery.com>
2
3 [BZ #16339]
4 * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
5 (__log1p): Force underflow exception for results with small
6 absolute value.
7 * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
8 (__log1pf): Force underflow exception for results with small
9 absolute value.
10 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
11 (__log1p): Force underflow exception for results with small
12 absolute value.
13 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
14 (__log1pf): Force underflow exception for results with small
15 absolute value.
16 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
17 (__log1pl): Force underflow exception for results with small
18 absolute value.
19 * math/auto-libm-test-in: Do not allow missing underflow
20 exceptions from log1p.
21 * math/auto-libm-test-out: Regenerated.
22
95b07fbc
AZ
232015-05-14 Jakub Bogusz <qboosh@pld-linux.org>
24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25
26 * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
27
ee971601
AS
282015-05-14 Andrew Senkevich <andrew.senkevich@intel.com>
29
5695d46f
AS
30 * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
31 (libmvec): New variable.
32 * configure.ac: Added option for mathvec build.
33 * configure: Regenerated.
34 * mathvec/Depend: New file.
35 * mathvec/Makefile: New file.
36 * shlib-versions: Added libmvec.
37 * math/Makefile: Added rule for libm.so installation.
38
202d48da
AS
39 * bits/math-vector.h: New file.
40 * bits/libm-simd-decl-stubs.h: New header.
41 * math/Makefile (headers): Added new header
42 libm-simd-decl-stubs.h.
43 * math/math.h (__MATHCALL_VEC): New macro.
44
58c50f06
AS
45 * math/gen-libm-have-vector-test.sh: Script generates series of macros
46 for conditions in testing functions.
47 * math/Makefile: Added call of libm-have-vector-test.sh.
48 * math/libm-test.inc (HAVE_VECTOR): New macros.
49
a6cdcd75
AS
50 * math/libm-test.inc: START refactored.
51 * math/test-double.c (TEST_MATHVEC): Add define.
52 * math/test-float.c: Likewise.
53 * math/test-idouble.c: Likewise.
54 * math/test-ifloat.c: Likewise.
55 * math/test-ildoubl.c: Likewise.
56 * math/test-ldouble.c: Likewise.
57 * sysdeps/generic/math-tests-arch.h
58 (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
59 architecture check.
60
ee971601
AS
61 * math/test-double.c (FUNC_TEST): New macro.
62 * math/test-float.c: Likewise.
63 * math/test-idouble.c: Likewise.
64 * math/test-ifloat.c: Likewise.
65 * math/test-ildoubl.c: Likewise.
66 * math/test-ldouble.c: Likewise.
67 * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
68
b88a18e1
RM
692015-05-13 Roland McGrath <roland@hack.frob.com>
70
9e4ec74f
RM
71 * sysdeps/nacl/fdopendir.c: New file.
72
95341673 73 * dirent/scandir-tail.c: New file.
d2ee815a
RM
74 * dirent/scandir64-tail.c: New file.
75 * dirent/Makefile (routines): Add them.
95341673 76 (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
d2ee815a
RM
77 * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
78 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
79 [!SCANDIR] (SCANDIR_TAIL): New macro.
80 (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
81 * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
82 (SCANDIRAT): Macro removed.
83 (SCANDIR_TAIL): New macro.
84 * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
85 [!SCANDIRAT] (SCANDIR_TAIL): New macro.
86 (SCANDIRAT): Just call __opendirat and __scandir_tail.
87 * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
88 (READDIR): Macro removed.
89 (SCANDIR_TAIL): New macro.
90 * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
91 (SCANDIR_TAIL): New macro.
92
83c10893
RM
93 * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
94 * dirent/scandir-cancel.c: ... to this new file.
95 * dirent/Makefile (routines): Add it.
96 * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
97 * sysdeps/unix/sysv/linux/i386/scandir64.c
98 (SKIP_SCANDIR_CANCEL): Macro removed.
99 * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
100
b88a18e1
RM
101 * dirent/tst-scandir.c: New file.
102 * dirent/tst-scandir64.c: New file.
103 * dirent/Makefile (tests): Add them.
104
d9efd775
L
1052015-05-13 H.J. Lu <hongjiu.lu@intel.com>
106
107 [BZ #18409]
108 * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
109
265a9b73
SN
1102015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
111
112 * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
113 list.
114
60ccaf75
LH
1152015-05-13 Leonhard Holz <leonhard.holz@web.de>
116
117 * benchtests/bench-strcoll.c: New benchmark.
118 * benchtests/Makefile: Generate locales and run benchmark.
119 * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
120 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
121 * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
122 * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
123 * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
124 * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
125 * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
126 * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
127 * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
128 * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
129 * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
130 * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
131 * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
132 * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
133 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
134 * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
135 * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
136 * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
137 * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
138 * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
139 * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
140 * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
141 * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
142 * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
143
0f4840be
OB
1442015-05-12 Ondřej Bílka <neleai@seznam.cz>
145
146 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
147 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
148
7327b333
RM
1492015-05-12 Roland McGrath <roland@hack.frob.com>
150
151 * posix/uname-values.h: New file.
152 * posix/uname.c: Include that instead of <config-name.h>.
153 * sysdeps/nacl/uname-values.h: New file.
154 * sysdeps/arm/nacl/uname-values.h: New file.
155
8e65ea4d
JM
1562015-05-12 Joseph Myers <joseph@codesourcery.com>
157
158 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
159 splitting into fields.
160
a964c6e4 1612015-05-12 Leonhard Holz <leonhard.holz@web.de>
f13c2a8d
LH
162
163 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
164 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
165 * locale/localeinfo.h: Add enum collation_encoding_type.
166 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
167 * programs/ld-collate.c (collate_output): Add encoding type info.
168 * string/strcoll_l.c (STRDIFF): New function.
169 * (STRCOLL): Use STRDIFF to skip over equal prefix.
170 * wcsmbs/wcscoll_l.c: Define STRDIFF.
171
34cb304e
JM
1722015-05-11 Joseph Myers <joseph@codesourcery.com>
173
174 [BZ #18397]
175 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
176 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
177 <fpu_control.h> instead of <math/fpu_control.c>.
178 * sysdeps/mips/mips32/fpu/Makefile: New file.
179
b13b96ca
AS
1802015-05-11 Andreas Schwab <schwab@suse.de>
181
182 [BZ #18007]
183 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
184 nss_endgrent.
185 (_nss_compat_endgrent): Call nss_endgrent.
186 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
187 nss_endpwent.
188 (_nss_compat_endpwent): Call nss_endpwent.
189 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
190 needent, call nss_setspent only if non-zero.
191 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
192 (internal_endspent): Don't call nss_endspent.
193 (_nss_compat_endspent): Call nss_endspent.
194 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
195 Remove. All uses removed.
196 (internal_setent): Remove parameter stayopen, add parameter
197 stream. Use it instead of global variable.
198 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
199 (internal_endent, internal_getent): Add parameter stream. Use it
200 instead of global variable.
201 (CONCAT(_nss_files_end,ENTNAME))
202 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
203 (_nss_files_get##name##_r): Pass local stream. Remove locking.
204 * nss/nss_files/files-alias.c (position, last_use): Remove. All
205 uses removed.
206 (internal_setent, internal_endent): Add parameter stream. Use it
207 instead of global variable.
208 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
209 stream.
210 (get_next_alias): Add parameter stream.
211 (_nss_files_getaliasent_r): Pass global stream.
212 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
213 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
214 (_nss_files_gethostbyname4_r): Pass local stream to
215 internal_setent, internal_getent and internal_endent. Remove
216 locking.
217
e1b6cb04
SL
2182015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
219
220 * tst-strfmon1.c (tests): Update expected currency symbol.
221
c4c977c6
RM
2222015-05-08 Roland McGrath <roland@hack.frob.com>
223
224 * sysdeps/nacl/gethostname.c: New file.
225
14f36098
JM
2262015-05-08 Joseph Myers <joseph@codesourcery.com>
227
228 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
229 and sinh.
230 * math/auto-libm-test-out: Regenerated.
231 * sysdeps/i386/fpu/libm-test-ulps: Update.
232 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
233
c92d40c0
CD
2342015-05-08 Carlos O'Donell <carlos@redhat.com>
235
236 [BZ #18125]
237 * stdlib/tst-setcontext3.c: New file.
238 * stdlib/tst-setcontext3.sh: New file.
239 * stdlib/Makefile (tests): Add tst-setcontext3.
240 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
241 to verify test program created output file.
242 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
243 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
244 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
245 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
246
48276b67
RM
2472015-05-06 Roland McGrath <roland@hack.frob.com>
248
b5fe8ec8
RM
249 [BZ #18383]
250 * elf/tst-tlsalign.c: New file.
251 * elf/tst-tlsalign-static.c: New file.
252 * elf/tst-tlsalign-lib.c: New file.
253 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
254 (tests-static): Add tst-tlsalign-static.
255 (modules-names): Add tst-tlsalign-lib.
256 (test-xfail-tst-tlsalign): New variable.
257 (test-xfail-tst-tlsalign-static): New variable.
258
48276b67
RM
259 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
260 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
261
471dffa1
JM
2622015-05-06 Joseph Myers <joseph@codesourcery.com>
263
264 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
265 csqrt, erfc, sin and sincos.
266 * math/auto-libm-test-out: Regenerated.
267 * sysdeps/i386/fpu/libm-test-ulps: Update.
268 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
269
eda361c8
WD
2702015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
271
272 * sysdeps/aarch64/libm-test-ulps: Update.
273
31450d9a
JM
2742015-05-05 Joseph Myers <joseph@codesourcery.com>
275
276 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
277 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
278 * math/auto-libm-test-out: Regenerated.
279 * sysdeps/i386/fpu/libm-test-ulps: Update.
280 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
281
a6ab6ccd
DM
2822015-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
283
284 [BZ #18265]
285 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
286 (wcsncpy): Likewise.
287
d0ccd0d9
FW
2882015-05-05 Florian Weimer <fweimer@redhat.com>
289
290 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
291 Assume __ASSUME_FALLOCATE is always true.
292 * sysdeps/unix/sysv/linux/posix_fallocate64.c
293 (__posix_fallocate64_l64): Likweise.
294 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
295 (posix_fallocate): Likewise.
296 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
297 (__posix_fallocate64_l64): Likewise.
298 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
299 [!__ASSUME_FALLOCATE]: Add comment.
300
4bd40bcf
FW
3012015-05-05 Florian Weimer <fweimer@redhat.com>
302
303 * sysdeps/unix/sysv/linux/i386/Makefile
304 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
305 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
306 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
307 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
308 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
309 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
310 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
311
305392ea
JM
3122015-05-02 Joseph Myers <joseph@codesourcery.com>
313
314 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
315 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
316 tgamma.
317 * math/auto-libm-test-out: Regenerated.
318 * sysdeps/i386/fpu/libm-test-ulps: Update.
319 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
320
a0d31f36
JM
3212015-05-01 Joseph Myers <joseph@codesourcery.com>
322
51e15247
JM
323 * math/auto-libm-test-in: Add more tests of tgamma.
324 * math/auto-libm-test-out: Regenerated.
325 * sysdeps/i386/fpu/libm-test-ulps: Update.
326 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
327
5ffb9a53
JM
328 * math/auto-libm-test-in: Add more tests of tanh.
329 * math/auto-libm-test-out: Regenerated.
330 * sysdeps/i386/fpu/libm-test-ulps: Update.
331 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
332
0957e15d
JM
333 * math/auto-libm-test-in: Add more tests of tan.
334 * math/auto-libm-test-out: Regenerated.
335 * sysdeps/i386/fpu/libm-test-ulps: Update.
336 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
337
827bb585
JM
338 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
339 * math/auto-libm-test-out: Regenerated.
340 * sysdeps/i386/fpu/libm-test-ulps: Update.
341 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
342
86793ae7
JM
343 * math/auto-libm-test-in: Add another test of pow.
344 * math/auto-libm-test-out: Regenerated.
345 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
346
038e4be9
JM
347 * math/auto-libm-test-in: Add more tests of lgamma.
348 * math/auto-libm-test-out: Regenerated.
349 * sysdeps/i386/fpu/libm-test-ulps: Update.
350 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
351
a0d31f36
JM
352 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
353 log1p.
354 * math/auto-libm-test-out: Regenerated.
355 * sysdeps/i386/fpu/libm-test-ulps: Update.
356 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
357
b4336ba4
MW
3582015-05-01 Mark Wielaard <mjw@redhat.com>
359
360 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
361 Elf64_Chdr structs and ELFCOMPRESS constants.
362
c5a3a509
JM
3632015-05-01 Joseph Myers <joseph@codesourcery.com>
364
e1483b36
JM
365 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
366 expm1.
367 * math/auto-libm-test-out: Regenerated.
368 * sysdeps/i386/fpu/libm-test-ulps: Update.
369 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
370
c5a3a509
JM
371 * math/auto-libm-test-in: Add more tests of erf and erfc.
372 * math/auto-libm-test-out: Regenerated.
373 * sysdeps/i386/fpu/libm-test-ulps: Update.
374 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
375
44cb254f
SN
3762015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
377
378 * config.h.in (HAVE_AARCH64_BE): Add.
379
0833cecd
JM
3802015-04-30 Joseph Myers <joseph@codesourcery.com>
381
9862ab1f
JM
382 * math/auto-libm-test-in: Add more tests of csqrt.
383 * math/auto-libm-test-out: Regenerated.
384 * sysdeps/i386/fpu/libm-test-ulps: Update.
385 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
386
094fca83
JM
387 * math/auto-libm-test-in: Add more tests of cosh and sinh.
388 * math/auto-libm-test-out: Regenerated.
389 * sysdeps/i386/fpu/libm-test-ulps: Update.
390 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
391
0833cecd
JM
392 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
393
314647f7
RM
3942015-04-29 Roland McGrath <roland@hack.frob.com>
395
45c2c564
RM
396 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
397 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
398
3600cf1e
RM
399 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
400 (euidaccess, eaccess): Define as weak aliases.
401
314647f7
RM
402 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
403 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
404 but __suseconds_t is often 'long int' so some sources assume that
405 type is being used (e.g. they use %ld to print tv_usec).
406
03d2730b
FW
4072015-04-29 Florian Weimer <fweimer@redhat.com>
408
409 [BZ #18007]
410 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
411 (CVE-2014-8121)
412 * nss/tst-nss-getpwent.c: New file.
413 * nss/Makefile (tests): Add new test.
414
7d0b2575
JM
4152015-04-28 Joseph Myers <joseph@codesourcery.com>
416
417 [BZ #18346]
418 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
419 exponents less than 48 as cases where high part of mantissa needs
420 examining to determine whether argument is integral.
421 * math/libm-test.inc (round_test_data): Add more tests.
422
fb4041ae
MW
4232015-04-28 Mark Wielaard <mjw@redhat.com>
424
425 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
426
3f2e21e9
DM
4272015-04-27 David S. Miller <davem@davemloft.net>
428
429 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
430 __tls_get_addr.
431 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
432
5cffc05e
L
4332015-04-27 H.J. Lu <hongjiu.lu@intel.com>
434
435 [BZ#18333]
436 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
437
cc8dcf96
FW
4382015-04-27 Florian Weimer <fweimer@redhat.com>
439
440 [BZ#18333]
441 * time/tzset.c (parse_tzname): Return error on memory allocation
442 failure.
443 * test-skeleton.c (struct temp_name_list): Change type of name
444 member to non-const.
445 (add_temp_file): Create a copy of the file name.
446 (delete_temp_files): Deallocate memory.
447 (create_temp_file): Add comment.
448
2dd6ee79
FW
4492015-04-24 Florian Weimer <fweimer@redhat.com>
450
451 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
452 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
453
c25fec6f
RM
4542015-04-24 Roland McGrath <roland@hack.frob.com>
455
456 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
457 * sysdeps/arm/configure: Regenerated.
458
42261ad7
FW
4592015-04-24 Florian Weimer <fweimer@redhat.com>
460
461 [BZ #17715]
462 * time/tzfile.c (__tzfile_read): Check for large values of
463 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
464 * time/tzset.c (__tzstring_len): New function, based on the old
465 __tzstring function.
466 (__tzstring): Call __tzstring_len.
467 (parse_tzname): New helper function extracted from
468 __tzset_parse_tz. Call __tzstring_len, without making a copy of
469 the input string.
470 (parse_offset): New helper function extracted from
471 __tzset_parse_tz. Replace switch with fallthrough with
472 initialization before sscanf.
473 (parse_rule): Likewise.
474 (__tzset_parse_tz): Rewrite using the new helper functions. Use
475 new-style function definition.
476 * timezone/Makefile (tests): Add tst-tzset.
477 (tst-tzset.out): Dependencies on time zone files.
478 (tst-tzset-ENV): Set TZDIR.
479 (testdata/XT%): Copy crafted time zone files.
480 * timezone/README: Mention crafted time zone files.
481 * timezone/testdata/XT1, timezone/testdata/XT2,
482 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
483 files.
484 * timezone/tst-tzset.c: New test.
485
ed159672
FW
4862015-04-24 Florian Weimer <fweimer@redhat.com>
487
488 * Makeconfig (+gccwarn): Remove -Winline.
489
8666ab5c
SL
4902015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
491
492 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
493
f7fba805
SL
4942015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
495
496 * NEWS: Mention sysconf() cache information support for s390.
497 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
498
92f28979
WD
4992015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
500
501 * math/k_casinh.c (__kernel_casinh): Use __copysign.
502 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
503 (__nearbyint): Likewise.
504 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
505 (copysignl): Likewise.
506
2959eda9
AS
5072015-04-21 Arjun Shankar <arjun.is@lostca.se>
508
509 [BZ #18287]
510 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
511 based on padding. (CVE-2015-1781)
512
7bf8fb10
AZ
5132015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
514
515 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
516 libc-vdso.h.
517 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
518 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
519 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
520 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
521 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
522 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
523 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
524 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
525 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
526 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
527 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
528 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
529 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
530 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
531 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
532 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
533 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
534 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
535 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
536 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
537 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
538 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
539 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
540
03c1e456
PE
5412015-04-19 Paul Eggert <eggert@cs.ucla.edu>
542
543 * stdlib/setenv.c (__add_to_environ):
544 Dump core quickly if setenv (..., NULL, ...) is called.
545 This time, do it the right way, and pacify GCC with a pragma.
546
328c44c3
RM
5472015-04-17 Roland McGrath <roland@hack.frob.com>
548
2bd2cad9
RM
549 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
550 IMAP->l_prev cannot be null, and #if out the code for the contrary
551 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
552 believe that NS (&_dl_ns[NSID]) could point outside the array.
553
328c44c3
RM
554 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
555 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
556 before using NSID as an index.
557
aa4980fc
DM
5582015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
559
560 [BZ #17825]
561 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
562 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
563 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
564
d1e44df1
RM
5652015-04-17 Roland McGrath <roland@hack.frob.com>
566
567 Add preliminary port to Google Native Client on ARM.
568 * abi-tags (.*-.*-nacl.*): New entry.
569 * sysdeps/arm/nacl: New directory.
570 * sysdeps/nacl: New directory.
571
f7092599
DM
5722015-04-16 David S. Miller <davem@davemloft.net>
573
574 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
575 lowlevellock-futex.h
576
da6989f9
CM
5772015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
578
579 * sysdeps/tile/configure.ac: New file.
580 * sysdeps/tile/configure: Regenerated.
581
fb78612a
AZ
5822015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
583
584 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
585 conditionals for weak_alias and libc_hidden_weak.
586 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
587 libc_hidden_weak and weak_alias.
588 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
589 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
590 and weak_alias for static one.
591
a8b6a3a6
DM
5922015-04-15 David S. Miller <davem@davemloft.net>
593
594 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
595
920a0395
SL
5962015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
597
598 [BZ #18206]
599 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
600 Use signed comparision instead of substraction to avoid
601 overflow bug.
602 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
603 Take the sign of ret.
604 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
605 Do not expect precise return values. Only the sign matters.
606 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
607 * wcsmbs/test-wcsncmp.c: New File.
608 * string/test-strncmp.c: Add wcsncmp support.
609
de8aadd5
SL
6102015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
611
612 [BZ #6792]
613 * math/w_log1p.c: New file.
614 * math/w_log1pf.c: Likewise.
615 * math/w_log1pl.c: Likewise.
616 * math/Makefile (libm-calls): Add w_log1p.
617 * math/s_log1pl.c (log1pl): Remove weak_alias.
618 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
619 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
620 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
621 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
622 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
623 [NO_LONG_DOUBLE] (log1pl): Likewise.
624 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
625 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
626 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
627 (log1p): Remove long_double_symbol.
628 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
629 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
630 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
631 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
632 remove weak_alias for corresponding log1p function.
633 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
634 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
635 * sysdeps/ia64/fpu/w_log1p.c: New file.
636 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
637 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
638 * math/libm-test.inc (log1p_test_data): Add errno expectations.
639
5556d30c
JM
6402015-04-10 Joseph Myers <joseph@codesourcery.com>
641
642 [BZ #18247]
643 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
644 decimal exponent by 1.
645 * stdlib/tst-strtod-round-data: Add more tests.
646 * stdlib/tst-strtod-round.c (tests): Regenerated.
647
b3c66c53
JM
6482015-04-09 Joseph Myers <joseph@codesourcery.com>
649
650 * math/auto-libm-test-in: Add more tests of clog and clog10.
651 * math/auto-libm-test-out: Regenerated.
652 * sysdeps/i386/fpu/libm-test-ulps: Update.
653 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
654
b0b88abc
RM
6552015-04-09 Roland McGrath <roland@hack.frob.com>
656
8a257e2c
RM
657 * Makeconfig (module-cppflags): Exclude all .v.i files.
658 (skip-module-cppflags): Variable removed.
659
05439291
RM
660 * configure.ac (libc_config_ok): Initialize before reading
661 preconfigure scripts, not after.
662 * configure: Regenerated.
663
b0b88abc
RM
664 * test-skeleton.c (TIMEOUT): Move #define to top level.
665 (main): Grok environment variable TEST_DIRECT. If set, print
666 test expectation details into that file and then behave as if
667 given --direct.
668
2902af16
FW
6692015-04-09 Florian Weimer <fweimer@redhat.com>
670
671 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
672 warning on 32-bit.
673
23ebf743
DM
6742015-04-08 David S. Miller <davem@davemloft.net>
675
676 * sysdeps/sparc/fpu/libm-test-ulps: Update.
677
024bcc51
JM
6782015-04-08 Joseph Myers <joseph@codesourcery.com>
679
787d22bc
JM
680 * math/auto-libm-test-in: Add more tests of atanh.
681 * math/auto-libm-test-out: Regenerated.
682 * sysdeps/i386/fpu/libm-test-ulps: Update.
683 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
684
024bcc51
JM
685 * math/auto-libm-test-in: Add more tests of atan.
686 * math/auto-libm-test-out: Regenerated.
687 * sysdeps/i386/fpu/libm-test-ulps: Update.
688 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
689
7b8399f4
FW
6902015-04-08 Florian Weimer <fweimer@redhat.com>
691
692 * elf/pldd.c (main): Rewrite to use struct
693 scratch_buffer instead of extend_alloca.
694 * elf/pldd-xx.c (find_maps): Likewise.
866ba63b
FW
695 * grp/initgroups.c: Include <scratch_buffer.h> instead of
696 <alloca.h>.
697 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
698 scratch_buffer instead of extend_alloca.
699 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
700 grp/compat-initgroups.c.
794a74af
FW
701 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
702 Rewrite to use struct scratch_buffer instead of extend_alloca.
c6ee40da 703 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
561052ad 704 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
7b8399f4 705
ae63c7eb
JM
7062015-04-08 Joseph Myers <joseph@codesourcery.com>
707
da0cf658
JM
708 * math/auto-libm-test-in: Add more tests of cbrt.
709 * math/auto-libm-test-out: Regenerated.
710 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
711
80352c01
JM
712 * math/auto-libm-test-in: Add more tests of cabs.
713 * math/auto-libm-test-out: Regenerated.
714 * sysdeps/i386/fpu/libm-test-ulps: Update.
715 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
716
8431838d
JM
717 [BZ #18210]
718 [BZ #18211]
719 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
720 (__ieee754_atan2): Set FE_TONEAREST mode for internal
721 computations.
722 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
723 clog10.
724 * math/auto-libm-test-out: Regenerated.
725 * sysdeps/i386/fpu/libm-test-ulps: Update.
726 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
727
ae63c7eb
JM
728 [BZ #18197]
729 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
730 (atan): Set FE_TONEAREST mode for internal computations.
731 * math/auto-libm-test-in: Add more tests of atan.
732 * math/auto-libm-test-out: Regenerated.
733
d5856d06
JC
7342015-04-07 James Cowgill <james410@cowgill.org.uk>
735
736 [BZ #17930]
737 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
738
72301304
FW
7392015-04-07 Florian Weimer <fweimer@redhat.com>
740
741 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
742
cfcfd461
FW
7432015-04-07 Florian Weimer <fweimer@redhat.com>
744
745 * include/scratch_buffer.h: New file.
746 * malloc/scratch_buffer_grow.c: Likewise.
747 * malloc/scratch_buffer_grow_preserve.c: Likewise.
748 * malloc/scratch_buffer_set_array_size.c: Likewise.
749 * malloc/tst-scratch_buffer.c: Likewise.
750 * malloc/Makefile (routines): Add scratch_buffer_grow.
751 (tests): Add test case.
752 * malloc/Versions (GLIBC_PRIVATE): Export
753 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
754 __libc_scratch_buffer_set_array_size.
755
cc47c824
RH
7562015-04-06 Richard Henderson <rth@redhat.com>
757
758 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
974c4a36 759 * sysdeps/alpha/fpu/libm-test-ulps: Update.
cc47c824 760
9e8c0381
RH
761 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
762 unsigned int before printing.
763
9781a370
OB
7642015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
765
766 [BZ #17596]
767 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
768 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
769
37d60d97
FW
7702015-04-02 Florian Weimer <fweimer@redhat.com>
771
772 * include/libc-internal.h (libc_max_align_t): Define.
773
b763f6ae
AS
7742015-04-02 Andreas Schwab <schwab@suse.de>
775
776 [BZ #16850]
777 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
778
c26efef9
MG
7792015-04-02 Mel Gorman <mgorman@suse.de>
780
781 [BZ #17195]
782 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
783 as well as the main arena.
784
a3d9ab50
L
7852015-03-31 H.J. Lu <hongjiu.lu@intel.com>
786
787 [BZ #18185]
788 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
789 sharing L2 cache to 2 for Silvermont/Knights Landing.
790
83569fb8
L
7912015-03-31 H.J. Lu <hongjiu.lu@intel.com>
792
793 [BZ #17711]
794 * config.make.in (have-protected-data): New.
795 * configure.ac: Check linker support for protected data symbol.
796 * configure: Regenerated.
797 * elf/Makefile (modules-names): Add tst-protected1moda and
798 tst-protected1modb if $(have-protected-data) is yes.
799 (tests): Add tst-protected1a and tst-protected1b if
800 $(have-protected-data) is yes.
801 ($(objpfx)tst-protected1a): New.
802 ($(objpfx)tst-protected1b): Likewise.
803 (tst-protected1modb.so-no-z-defs): Likewise.
804 * elf/tst-protected1a.c: New file.
805 * elf/tst-protected1b.c: Likewise.
806 * elf/tst-protected1mod.h: Likewise.
807 * elf/tst-protected1moda.c: Likewise.
808 * elf/tst-protected1modb.c: Likewise.
809
62da1e3b
L
8102015-03-31 H.J. Lu <hongjiu.lu@intel.com>
811
812 [BZ #17711]
813 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
814 indicates it is called from do_lookup_x on relocation against
815 protected data, skip the data definion in the executable from
816 copy reloc.
817 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
818 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
819 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
820 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
821 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
822 otherwise to 0.
823 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
824 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
825 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
826 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
827 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
828 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
829
675ddb71
MG
8302015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
831
832 * sysdeps/nptl/pthread.h: Remove duplicate definition of
833 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
834
4d611e12
MG
8352015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
836
837 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
838 THREAD_SETMEM_NC.
839 * sysdeps/x86_64/nptl/tls.h: Ditto.
840
7285eb53
RM
8412015-03-27 Roland McGrath <roland@hack.frob.com>
842
843 * dlfcn/tststatic.c (main): Converted to ...
844 (do_test): ... this.
845 (TEST_FUNCTION): New macro.
846 Include test-skeleton.c.
847
19a6a3ac
AM
8482015-03-26 Alan Modra <amodra@gmail.com>
849
850 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
851 Don't segfault if ifunc resolver returns a NULL. Do set plt to
852 zero for undefined weak.
853 (elf_machine_plt_conflict): Similarly.
854
a9fe4c5a
JM
8552015-03-25 Joseph Myers <joseph@codesourcery.com>
856
efd5b641
JM
857 * math/auto-libm-test-in: Add more tests of acosh, asinh and
858 atanh.
859 * math/auto-libm-test-out: Regenerated.
860 * sysdeps/i386/fpu/libm-test-ulps: Update.
861 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
862
e9b10151
JM
863 * math/auto-libm-test-in: Add another test of asin.
864 * math/auto-libm-test-out: Regenerated.
865 * sysdeps/i386/fpu/libm-test-ulps: Update.
866 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
867
9fa55373
JM
868 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
869 Remove macro.
870 (LLL_EBX_REG): Likewise.
871 (LLL_ENTER_KERNEL): Likewise.
872
38755f14
JM
873 * math/auto-libm-test-in: Add more tests of asin.
874 * math/auto-libm-test-out: Regenerated.
875 * sysdeps/i386/fpu/libm-test-ulps: Update.
876 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
877
a9fe4c5a
JM
878 [BZ #18138]
879 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
880 libc_do_syscall_args): New structure.
881 (INTERNAL_SYSCALL_MAIN_0): New macro.
882 (INTERNAL_SYSCALL_MAIN_1): Likewise.
883 (INTERNAL_SYSCALL_MAIN_2): Likewise.
884 (INTERNAL_SYSCALL_MAIN_3): Likewise.
885 (INTERNAL_SYSCALL_MAIN_4): Likewise.
886 (INTERNAL_SYSCALL_MAIN_5): Likewise.
887 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
888 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
889 Replace conditional definitions by conditional definitions of ....
890 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
891 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
892 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
893 (libpthread-sysdep_routines): Add libc-do-syscall.
894 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
895 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
896 to __NR_futex not 240.
897
afcd9480
AM
8982015-03-25 Alan Modra <amodra@gmail.com>
899
900 * NEWS: Advertise TLS optimization.
901 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
902 (DT_PPC_NUM): Increment.
903 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
904 (CHECK_STATIC_TLS): Use here.
905 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
906 TLS descriptors.
907 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
908 * sysdeps/powerpc/dl-tls.c: New file.
909 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
910 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
911 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
912 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
916
da9f3334
AM
9172015-03-25 Alan Modra <amodra@gmail.com>
918
919 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
920 for overlapping .opd entries" to "support...".
921 * sysdeps/powerpc/powerpc64/configure: Regenerate
922
bc899ea0
JM
9232015-03-25 Joseph Myers <joseph@codesourcery.com>
924
8d643971
JM
925 * math/auto-libm-test-in: Add more tests of acos.
926 * math/auto-libm-test-out: Regenerated.
927 * sysdeps/i386/fpu/libm-test-ulps: Update.
928 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
929
bc899ea0
JM
930 * math/auto-libm-test-in: Add more tests of expm1.
931 * math/auto-libm-test-out: Regenerated.
932 * sysdeps/i386/fpu/libm-test-ulps: Update.
933 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
934
7c84a504
JM
9352015-03-24 Joseph Myers <joseph@codesourcery.com>
936
239ed6f3
JM
937 * math/auto-libm-test-in: Add more tests of cosh and sinh.
938 * math/auto-libm-test-out: Regenerated.
939 * sysdeps/i386/fpu/libm-test-ulps: Update.
940 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
941
a737e826
JM
942 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
943 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
944
7c84a504
JM
945 * math/auto-libm-test-in: Add more tests of log2.
946 * math/auto-libm-test-out: Regenerated.
947 * sysdeps/i386/fpu/libm-test-ulps: Update.
948 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
949
7e9c7b9b
RM
9502015-03-23 Roland McGrath <roland@hack.frob.com>
951
952 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
953 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
954 _IO_IS_APPENDING bit in READ_WRITE instead.
955
98734cc5
FW
9562015-03-23 Florian Weimer <fweimer@redhat.com>
957
958 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
959 (__determine_cpumask_size): Replace extend_alloca with a
960 variable-length array. Do not treat res == 0 as an error.
961
2b028564
FW
9622015-03-23 Florian Weimer <fweimer@redhat.com>
963
964 [BZ #18100]
965 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
966 and integer overflow.
967 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
968 (main): Add integer overflow tests.
969 * manual/pattern.texi (Calling Wordexp): Document additional use
970 for WRDE_SYNTAX.
971
59261ad3
AM
9722015-03-23 Alan Modra <amodra@gmail.com>
973
974 * config.h.in: Remove HAVE_ASM_PPC_REL16.
975 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
976 and false branch of conditional.
977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
978 Likewise.
979
d583531a
ST
9802015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
981
982 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
983 libc-modules.h
868df0f9
ST
984 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
985 unused declaration of _hurd_intr_rpc_msg_in_trap.
986 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
987 defined instead of whether it is non-zero.
988 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
989 input constraint instead of both input and output constraint. Use ecx
990 clobber instead of %ecx.
991 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
992 mutex_unlock): Use a statement expression instead of an expression list.
993 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
994 type to vm_size_t instead of vm_address_t.
995 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
996 defined instead of whether it is non-zero.
997 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
998 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
999 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
1000 comparisons with mapaddr.
1001 * nscd/nscd-client.h: Include <time.h>.
1002 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
1003 9th parameter to __vm_region instead of int.
661a7dba 1004 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
9e70234c
ST
1005 * scripts/check-local-headers.sh (exclude): Add device/,
1006 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
1007 cthreads.h.
d583531a 1008
298e5d56
RM
10092015-03-19 Roland McGrath <roland@hack.frob.com>
1010
1011 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
1012 to account for alignment padding.
1013 * sysdeps/arm/memmove.S: Likewise.
1014
becb26b8
CM
10152015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
1016
1017 * sysdeps/unix/sysv/linux/generic/README: New file.
1018
c2f5813a
JM
10192015-03-18 Joseph Myers <joseph@codesourcery.com>
1020
1021 [BZ #18138]
1022 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
1023 (futex_abstimed_wait)
1024 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
1025 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
1026 of lll_futex_timed_wait.
1027
ed6b0fe7
BH
10282015-03-18 Brad Hubbard <bhubbard@redhat.com>
1029
1030 [BZ #17542]
1031 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
1032
f8aeae34
AO
10332015-03-17 Alexandre Oliva <aoliva@redhat.com>
1034
1035 [BZ #17090]
1036 [BZ #17620]
1037 [BZ #17621]
1038 [BZ #17628]
1039 * NEWS: Update.
1040 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
1041 entries with Static TLS too. Skip entries past the end of the
1042 allocated DTV, from Alan Modra.
1043 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
1044 Static TLS DTV entry set up from...
1045 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
1046 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
1047 * nptl/allocatestack.c (init_one_static_tls): ... and here...
1048 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
1049 for Static TLS.
1050 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
1051 that the slot we find is associated with the given map before
1052 using its generation count.
1053 * nptl_db/db_info.c: Include ldsodefs.h.
1054 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
1055 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
1056 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
1057 (link_map::l_tls_offset): New struct field.
1058 (dtv_t::counter): Likewise.
1059 (rtld_global): New struct.
1060 (_rtld_global): New rtld variable.
1061 (dl_tls_dtv_slotinfo_list): New rtld global field.
1062 (dtv_slotinfo_list): New struct.
1063 (dtv_slotinfo): Likewise.
1064 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
1065 (td_lookup): Rename to...
1066 (td_mod_lookup): ... this. Use new mod parameter instead of
1067 LIBPTHREAD_SO.
1068 * nptl_db/td_thr_tlsbase.c: Include link.h.
1069 (dtv_slotinfo_list, dtv_slotinfo): New functions.
1070 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
1071 addresses even if the DTV is out of date or missing them.
1072 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
1073 index zero-length arrays.
1074 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
1075 (td_lookup): Make it a macro implemented in terms of...
1076 (td_mod_lookup): ... this declaration.
1077 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
1078 (DB_MAIN_VARIABLE): Likewise.
1079
b97eb2bd
L
10802015-03-16 H.J. Lu <hongjiu.lu@intel.com>
1081
1082 [BZ #18134]
1083 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
1084
cb219290
PE
10852015-03-15 Paul Eggert <eggert@cs.ucla.edu>
1086
1087 * stdlib/setenv.c (__add_to_environ): Revert previous change.
1088
a3905fd9
AS
10892015-03-14 Andreas Schwab <schwab@linux-m68k.org>
1090
1091 [BZ #18128]
1092 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
1093 (atomic_add, atomic_increment_and_test)
1094 (atomic_decrement_and_test): Fix 64-bit arithmetic.
1095
2ecccaed
PE
10962015-03-13 Paul Eggert <eggert@cs.ucla.edu>
1097
1098 * stdlib/setenv.c (__add_to_environ):
1099 Dump core quickly if setenv (..., NULL, ...) is called.
1100
cdaf79d0
RM
11012015-03-13 Roland McGrath <roland@hack.frob.com>
1102
1103 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
1104 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
1105 all the necessary asm magic in one place.
1106 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
1107 using those.
1108
cf9313e7
CD
11092015-03-13 Carlos O'Donell <carlos@redhat.com>
1110
1111 [BZ #14906]
1112 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
1113 traced file mtime. Use consistent log message.
1114 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
1115 (register_traced_file): Call install_watches. Always set mtime.
1116 (invalidate_cache): Iterate over all trace files. Call install_watches.
1117 (inotify_check_files): Don't inline. Handle watching parent
1118 directories and configuration file movement in and out.
1119 (handle_inotify_events): New function.
1120 (main_loop_poll): Call handle_inotify_events.
1121 (main_loop_epoll): Likewise.
1122 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
1123 (struct traced_file): Use array of inotify fds. Add parent directory,
1124 and basename.
1125 (struct database_dyn): Remove unused file_mtime.
1126 (init_traced_file): New inline function.
1127 (define_traced_file): New macro.
1128 * nss/nss_db/db-init.c: Use define_traced_file.
1129 (_nss_db_init): Use init_traced_file.
1130 * nss/nss_files/files-init.c: Use define_traced_file.
1131 (_nss_files_init): Use init_traced_file.
1132
7d67a196
JM
11332015-03-12 Joseph Myers <joseph@codesourcery.com>
1134
1135 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
1136 [_LIBC]: Do not include <stdlib.h>.
1137 [!_LIBC] (abort): Remove declaration.
1138 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
1139 _FP_STATIC_ASSERT instead of conditionally calling abort.
1140 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
1141 (_FP_EXTEND_CNAN): Likewise.
1142 (FP_TRUNC): Likewise.
1143 (__FP_CLZ): Likewise.
1144 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
1145
af85ebcd
YS
11462015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
1147
1148 * manual/string.texi (XPG basename): Fix prototype.
1149
2e807f29
SL
11502015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
1151
1152 [BZ #18080]
1153 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
1154 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
1155 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
1156 (__setcontext): Likewise.
1157 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
1158 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
1159 Call rt_sigprocmask syscall one time to set new signal mask
1160 and retrieve the current signal mask instead of two calls.
1161 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
1162 (__swapcontext): Likewise.
1163 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
1164 * stdlib/tst-setcontext2.c: New file.
1165
1b2bebe6
SL
11662015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
1167
1168 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1169
6a1cf708
AJ
11702015-03-11 Aurelien Jarno <aurelien@aurel32.net>
1171
1172 [BZ #18093]
1173 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
1174 the wrong size.
1175
a2d4cf72
PP
11762015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
1177
1178 [BZ #18043]
1179 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
1180
5ca10a0c
AZ
11812015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
1182
1183 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
1184 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
1185 Remove define.
1186 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
1187 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
1188 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
1189 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
1190 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
1191 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
1192 define.
1193 * nptl_db/td_symbol_list.c (td_lookup): Remove
1194 HAVE_ASM_GLOBAL_DOT_NAME code.
1195 * sysdeps/powerpc/powerpc64/configure.ac: Remove
1196 HAVE_ASM_GLOBAL_DOT_NAME check.
1197 * sysdeps/powerpc/powerpc64/configure: Regenerate.
1198 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
1199 (DOT_LABEL): Remove define.
1200 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
1201 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
1202 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
1203 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
1204 (__TLS_GET_ADDR): Likewise.
1205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
1206 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
1207
e4363cfb
CD
12082015-03-11 Carlos O'Donell <carlos@redhat.com>
1209
1210 [BZ #18111]
1211 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
1212 (_FPU_SETCW): Initialize cw from fpsr before storing.
1213 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
1214 (fesetexceptflag): Rewrite using fpu_control.h.
1215 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
1216
fae1aa8d
JDA
12172015-03-11 John David Anglin <danglin@gcc.gnu.org>
1218
1219 [BZ #18110]
1220 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
1221 asms.
1222 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
1223
068a6274
JM
12242015-03-11 Joseph Myers <joseph@codesourcery.com>
1225
1226 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
1227 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
1228 abort.
1229 (_FP_FMA): Likewise.
1230 (_FP_DIV): Likewise.
1231
d3821ab0
RM
12322015-03-10 Roland McGrath <roland@hack.frob.com>
1233
44a6213c
RM
1234 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
1235 with 0 in that case.
1236 * Makefile (summarize-tests): New canned sequence, factored out of
1237 commands for targets tests and xtests. Display summary lines that
1238 don't start with PASS: or XFAIL: rather than ones that do start with
1239 ERROR: or FAIL:. Make the commands fail if any summary lines fail
1240 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
1241 do start with ERROR: or FAIL:.
1242 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
1243 (except for [$(build-shared) = yes]).
1244 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
1245 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
1246 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
1247 * nptl/Makefile: Revert 2015-03-04 changes.
1248 [$(CXX) empty] (tests-unsupported): New variable.
1249 * debug/Makefile: Likewise.
1250
d3821ab0
RM
1251 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
1252 gnulib file. Replace __attribute with __attribute__ throughout.
1253
85ca85ae
CD
12542015-03-10 Carlos O'Donell <carlos@redhat.com>
1255
1256 * sysdeps/hppa/fpu/libm-test-ulps: Update.
1257
6411f81d
JM
12582015-03-10 Joseph Myers <joseph@codesourcery.com>
1259
1260 [BZ #18104]
1261 * math/auto-libm-test-in: Add another test of pow.
1262 * math/auto-libm-test-out: Regenerated.
1263
d421868b
AZ
12642015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1265
1266 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
1267 $(config-cflags-nofma).
1268
a2f8be9c
JM
12692015-03-10 Joseph Myers <joseph@codesourcery.com>
1270
1271 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
1272 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
1273 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
1274 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
1275 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
1276 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
1277 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
1278 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
1279 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
1280 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
1281 Add comment on closing #endif.
1282
01d032e0
PP
12832015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
1284
1285 * posix/wordexp.c (CHAR_IN_SET): New macro.
1286 (parse_param): Use it.
1287
d439bc56
AZ
12882015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1289
1290 * sysdeps/powerpc/fpu/libm-test-ulps: update.
1291
5f85a4bf
PP
12922015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
1293
1294 [BZ #18043]
1295 * posix/wordexp.c (parse_param): Fix buffer overflow.
1296 * posix/wordexp-test.c (test_case): Add test case.
1297
f8ba70e9
PP
12982015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
1299
1300 [BZ #18042]
1301 * posix/wordexp.c (parse_backtick): Fix off-by-one.
1302 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
1303
36103ba2
PP
13042015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
1305
1306 [BZ #18043]
1307 * posix/wordexp-test.c (test_case): Add test for BZ #18043
1308 (do_bz18043): Delete.
1309 (at_page_end): New.
1310 (testit): Refactor to have words at the edge of unreadable page.
1311
18d26750
PP
13122015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
1313
1314 [BZ #16734]
1315 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
1316 Cleanup read-only streams as well.
1317 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
1318
9f95dc5d
ST
13192015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
1320
1321 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
1322 <bits/libc-lockP.h>
1323
b838844b
JM
13242015-03-07 Joseph Myers <joseph@codesourcery.com>
1325
1326 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
1327 on [__KERNEL__].
1328 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
1329 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
1330 * soft-fp/op-common.h (_FP_DECL): Likewise.
1331
e0ed2fb4
L
13322015-03-06 H.J. Lu <hongjiu.lu@intel.com>
1333
1334 * elf/ifuncdep2.c (global): Replace
1335 __attribute__((visibility("protected"))) with
1336 asm (".protected global").
1337 * elf/ifuncmod1.c (global): Likewise.
1338 * elf/ifuncmod5.c (global): Likewise.
1339
fa9dda64
JM
13402015-03-06 Joseph Myers <joseph@codesourcery.com>
1341
1342 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
1343 <asm/sfp-machine.h> instead of <sfp-machine.h>.
1344
4acc27ed
RM
13452015-03-06 Roland McGrath <roland@hack.frob.com>
1346
1347 * manual/install.texi (Configuring and compiling):
1348 Document test-wrapper-env-only.
1349 * INSTALL: Regenerated.
1350
895c30cb
PP
13512015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
1352
1353 [BZ #18043]
1354 * posix/wordexp.c (parse_param): Fix buffer overflow.
1355 * posix/wordexp-test.c (do_bz18043): Add test case.
1356
5df56c7e
VB
13572015-03-06 Vincent Bernat <vincent@bernat.im>
1358
1359 * time/tst-strptime2.c (do_test): Ensure failing tests are
1360 reported correctly.
1361 * time/tst-strptime3.c (do_test): Likewise.
1362
1cdf2ea1
ST
13632015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
1364
1365 Fix aio_error thread-safety.
1cdf2ea1
ST
1366 * sysdeps/pthread/aio_error.c: New file
1367 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
1368 synchronization.
1369
d176a41a
FW
13702015-03-06 Florian Weimer <fweimer@redhat.com>
1371
1372 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
1373 (group_number, vfprintf): Use it.
1597b744
FW
1374 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
1375 (JUMP, REF): Use it.
1376 (WORK_BUFFER_SIZE): New enum constant.
1377 (process_arg, vfprintf): Use it.
d176a41a 1378
7e7af349
RJ
13792015-03-06 Rical Jasan <ricaljasan@pacific.net>
1380
1381 * manual/errno.texi (Error Messages): Complete example function
1382 by adding missing #define.
1383 (program_invocation_name): Add statement indicating GNU
1384 extension and reference which header file declares the variable.
1385 (program_invocation_short_name): Likewise.
1386
4ca8ddfb
MF
13872015-03-06 Mike Frysinger <vapier@gentoo.org>
1388
1389 * manual/errno.texi (Error Messages): Delete strerror ISO C89
1390 compatibility note.
1391
9162c01d
RM
13922015-03-05 Roland McGrath <roland@hack.frob.com>
1393
1394 * Makeconfig (test-wrapper-env-only): New variable.
1395 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
1396 then use that with $(test-wrapper-env-only) rather than using
1397 $(test-wrapper-env) $(run-program-env) $($*-ENV).
1398
209826bc
L
13992015-03-05 H.J. Lu <hongjiu.lu@intel.com>
1400
1401 [BZ #18082]
1402 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
1403 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
1404 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
1405 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
1406 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
1407 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
1408 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
1409 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
1410 Likewise.
1411 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
1412 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
1413 Likewise.
1414 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
1415 Likewise.
1416 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
1417 Likewise.
1418 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
1419 Likewise.
1420 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
1421 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
1422 Likewise.
1423 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
1424 Likewise.
1425 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
1426 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
1427
2cfe32bc
RM
14282015-03-04 Roland McGrath <roland@hack.frob.com>
1429
8bff5aab
RM
1430 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
1431 (ETH_ALEN): New macro.
1432 (struct ether_addr): Use it for length of ether_addr_octet.
1433
2752f338
RM
1434 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
1435 (setdb): Don't call __nss_configure_lookup for "rpc".
1436 (do_test): Don't call test_rpc.
1437 (output_rpcent, test_rpc): Functions moved ...
1438 * sunrpc/test-rpcent.c: ... to this new file.
1439 * sunrpc/Makefile (tests): Add it.
1440
2cfe32bc
RM
1441 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
1442 __xpg_sigpause.
1443 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
1444 * nptl/tst-signal6.c: Likewise.
1445 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
1446 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
1447
e4693aa7
RM
1448 * configure.ac (libc_cv_cxx_link_ok): New check.
1449 Reset CXX to empty if it fails to link.
1450 * configure: Regenerated.
1451 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
1452 bug-atexit3-lib only if $(CXX) is nonempty.
1453 * nptl/Makefile (tests): Likewise for tst-cancel24.
1454 (tests, tests-static): Likewise for tst-cancel24-static.
1455 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
1456 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
e27176ee
RM
1457 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
1458 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
e4693aa7 1459
8e2e833a
AS
14602015-03-04 Andreas Schwab <schwab@suse.de>
1461
1462 [BZ #17631]
1463 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
1464 for non-GCC compilers.
1465 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
1466 Likewise.
1467
85b29045
AZ
14682015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
1469
1470 [BZ #17776]
1471 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
1472 integer before bitwise and assembly operations.
1473 (feclearexcept): Likewise.
1474 * math/test-fenvinline.c: New file.
1475 * math/Makefile: Add test-fenvinline test.
1476
a0af371c
AM
14772015-03-03 Alan Modra <amodra@gmail.com>
1478
1479 [BZ #16512]
1480 * scripts/localplt.awk: Strip off symbol version.
1481 * NEWS: Mention bug fix.
1482
47465629
RM
14832015-03-02 Roland McGrath <roland@hack.frob.com>
1484
1485 * sysdeps/pthread/timer_routines.c
1486 (timer_free_list, thread_free_list, thread_active_list): Make static.
1487
6d08b022
JM
14882015-03-02 Joseph Myers <joseph@codesourcery.com>
1489
1490 [BZ #17779]
1491 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1492 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
1493 Undefine.
1494 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1495 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
1496 Likewise.
1497 * sysdeps/unix/sysv/linux/sh/kernel-features.h
1498 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
1499 Likewise.
1500
c2c6d39f
PP
15012015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
1502
1503 [BZ #18036]
1504 * posix/fnmatch_loop.c (END): Detect invalid pattern.
1505 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
1506
e8b6be00
AS
15072015-03-02 Andreas Schwab <schwab@suse.de>
1508
1509 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
1510 variable name.
1511
1a2d98af
FW
15122015-03-02 Florian Weimer <fweimer@redhat.com>
1513
1514 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
1515 Return error status.
1516
e7f07af5
AO
15172015-02-27 Alexandre Oliva <aoliva@redhat.com>
1518
1519 [BZ #15969]
1520 * locale/findlocale.c (_nl_find_locale): Introduce const
1521 version of loc_name and drop unsafe type casts.
1522
c7b19ca9
RM
15232015-02-27 Roland McGrath <roland@hack.frob.com>
1524
1525 * dlfcn/tststatic2.c (main): Converted to ...
1526 (do_test): ... this.
1527 (TEST_FUNCTION): New macro.
1528 Include test-skeleton.c.
1529
ef4ad06f
L
15302015-02-27 H.J. Lu <hongjiu.lu@intel.com>
1531
1532 [BZ #17711]
1533 * elf/Makefile (tests): Add vismain only if PIE is enabled.
1534 (tests-pie): Add vismain.
1535 (CFLAGS-vismain.c): New.
1536 * elf/vismain.c: Add comments for PIE requirement.
1537
2ca725c5
JM
15382015-02-27 Joseph Myers <joseph@codesourcery.com>
1539
1540 [BZ #18046]
1541 [BZ #18047]
1542 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
1543 0x1p-56L as threshold for just returning the argument.
1544 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
1545 0x1p-32L as threshold for just returning the argument.
1546 * math/auto-libm-test-in: Add more tests of atanh.
1547 * math/auto-libm-test-out: Regenerated.
1548 * sysdeps/i386/fpu/libm-test-ulps: Update.
1549 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
1550
af96be34
WD
15512015-02-27 Wilco Dijkstra wdijkstr@arm.com
1552
1553 * string/bcopy.c (bcopy): Call memmove for performance.
1554
ddcf6798
WD
15552015-02-27 Wilco Dijkstra wdijkstr@arm.com
1556
1557 * string/bzero.c (__bzero): Call memset for performance.
1558
49f476f4
JDA
15592015-02-27 John David Anglin <dave.anglin@bell.net>
1560
b42e14ff 1561 [BZ #18068]
49f476f4
JDA
1562 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
1563 to 00100000.
1564
f8ab5d38
JM
15652015-02-27 Joseph Myers <joseph@codesourcery.com>
1566
1567 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
1568
380bd0fd
JM
15692015-02-26 Joseph Myers <joseph@codesourcery.com>
1570
31331a07
JM
1571 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
1572 (__kernel_standard): Use CSTR macro when setting exc.name.
1573 * sysdeps/ieee754/Makefile [$(subdir) = math]
1574 (CFLAGS-k_standard.c): Remove variable.
1575
09220e66
JM
1576 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
1577 setting p and q from "else if" to "else".
1578 (qzero): Likewise.
1579 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
1580 (qone): Likewise.
1581 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
1582 (qzerof): Likewise.
1583 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
1584 (qonef): Likewise.
1585 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
1586 (qzero): Likewise.
1587 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
1588 (qone): Likewise.
1589
1d9ab20c
JM
1590 [BZ #18038]
1591 [BZ #18039]
1592 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
1593 return pi/2 for arguments below 0x1p-113L.
1594 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
1595 return pi/2 for arguments below 0x1p-106L.
1596 * math/auto-libm-test-in: Add more tests of acos.
1597 * math/auto-libm-test-out: Regenerated.
1598
ec0ce0d3
JM
1599 [BZ #16351]
1600 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
1601 (MO): New macro.
1602 (__ieee754_asin): Force underflow exception for results with small
1603 absolute value.
1604 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
1605 (MO): New macro.
1606 (__ieee754_asinf): Force underflow exception for results with
1607 small absolute value.
1608 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
1609 (__ieee754_asin): Force underflow exception for results with small
1610 absolute value.
1611 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
1612 (__ieee754_asinf): Force underflow exception for results with
1613 small absolute value.
1614 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
1615 (__ieee754_asinl): Force underflow exception for results with
1616 small absolute value.
1617 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
1618 (__ieee754_asinl): Force underflow exception for results with
1619 small absolute value.
1620 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
1621 (__ieee754_asinl): Force underflow exception for results with
1622 small absolute value.
1623 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
1624 Include <math.h>.
1625 * math/auto-libm-test-in: Do not mark underflow exceptions as
1626 possibly missing for bug 16351.
1627 * math/auto-libm-test-out: Regenerated.
1628
380bd0fd
JM
1629 [BZ #18030]
1630 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
1631 of power of 2 down when low part has opposite sign.
1632 * math/libm-test.inc (logb_test_data): Add more tests.
1633
4a28f4d5
AS
16342015-02-26 Andreas Schwab <schwab@suse.de>
1635
1636 [BZ #18032]
1637 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
1638 over collating symbol inside a bracket expression. Minor cleanup.
1639 * posix/tst-fnmatch3.c (do_test): Add test case.
1640
524ae9ea
JM
16412015-02-26 Joseph Myers <joseph@codesourcery.com>
1642
1643 [BZ #18029]
1644 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
1645 Adjust exponent of power of 2 down when low part has opposite
1646 sign.
1647 * math/libm-test.inc (ilogb_test_data): Add more tests.
1648
23d43090
AO
16492015-02-26 Alexandre Oliva <aoliva@redhat.com>
1650
1651 [BZ #15969]
1652 * locale/findlocale.c (_nl_find_locale): Fix constness error in
1653 the previous change.
0d822a01
AO
1654
1655 [BZ #15969]
1656 * locale/findlocale.c (_nl_find_locale): Retry archive search
1657 after alias expansion.
1658
d19df6ac
RM
16592015-02-25 Roland McGrath <roland@hack.frob.com>
1660
ca681b7b
RM
1661 * iconv/tst-iconv3.c (main): Converted to ...
1662 (do_test): ... this.
1663 (TEST_FUNCTION): New macro.
1664 Include test-skeleton.c.
1665
fd1f2f1c
RM
1666 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
1667 (convert): Make function static.
1668 (test_unalign): Likewise. Add const to argument pointee types.
1669 (main): Replace with static function do_test.
1670 Print "Succeeded." only if RET is zero.
1671 (TEST_FUNCTION): New macro.
1672 Include test-skeleton.c.
1673
d19df6ac
RM
1674 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
1675 returns a null pointer.
1676
115e0de7
AZ
16772015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1678
1679 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
1680 to __memcpy_ppc only for static builds.
1681
137cef7d
JM
16822015-02-25 Joseph Myers <joseph@codesourcery.com>
1683
1684 [BZ #18020]
1685 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
1686 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
1687 * math/auto-libm-test-in: Add more tests of asinh.
1688 * math/auto-libm-test-out: Regenerated.
1689 * sysdeps/i386/fpu/libm-test-ulps: Update.
1690 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1691
cb43bb0d
CW
16922015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
1693
1694 [BZ #15850]
1695 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
1696 and ip6_mtuinfo definitions here.
1697 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
1698 in this define too. Update comment.
1699
9be1052b
BS
17002015-02-24 Benno Schulenberg <bensberg@justemail.net>
1701
1702 * elf/sprof.c (load_shobj): Tweak error message to match others.
1703
6807b1db
KE
17042015-02-24 Kevin Easton <kevin@guarana.org>
1705
1706 [BZ #16145] (partial fix)
1707 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
1708 to reduce lock contention.
1709
b433df00
ML
17102015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
1711
1712 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
1713 (struct timex): Update time comment.
1714 (ADJ_SETOFFSET): Define.
1715
440169d6
JM
17162015-02-24 Joseph Myers <joseph@codesourcery.com>
1717
1718 [BZ #18019]
1719 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
1720 2**56 not 2**28 as threshold for log (2x) formula.
1721 * math/auto-libm-test-in: Add more tests of acosh.
1722 * math/auto-libm-test-out: Regenerated.
1723 * sysdeps/i386/fpu/libm-test-ulps: Update.
1724 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1725
ba7d2c54
MF
17262015-02-24 Mike Frysinger <vapier@gentoo.org>
1727
1728 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
1729 parenthesis around the buf assignment.
1730 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
1731
9438b237
JM
17322015-02-24 Joseph Myers <joseph@codesourcery.com>
1733
1734 [BZ #16783]
1735 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
1736 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
1737 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
1738 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
1739 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
1740 * math/libm-test.inc (scalb_test_data): Add more tests.
1741
6909d276
PP
17422015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
1743
1744 [BZ #17916]
1745 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
1746 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
1747
65f6f938
ER
17482015-02-24 Eric Rannaud <e@nanocritical.com>
1749
1750 [BZ #17523]
1751 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
1752 * io/bits/fcntl2.h (open): Use it.
1753 (openat): Likewise.
1754 * io/open.c (__libc_open): Likewise.
1755 * io/open64.c (__libc_open64): Likewise.
1756 * io/open64_2.c (__open64_2): Likewise.
1757 * io/open_2.c (__open_2): Likewise.
1758 * io/openat.c (__openat): Likewise.
1759 * io/openat64.c (__openat64): Likewise.
1760 * io/openat64_2.c (__openat64_2): Likewise.
1761 * io/openat_2.c (__openat_2): Likewise.
1762 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
1763 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
1764 * sysdeps/posix/open64.c (__libc_open64): Likewise.
1765 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
1766 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
1767 (__open_nocancel): Likewise.
1768 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
1769 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
1770 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
1771
3e3002ff
SP
17722015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1773
1774 [BZ #14841]
1775 * resolv/gethnamaddr.c (getanswer): Skip logging if
1776 RES_USE_DNSSEC is set.
1777 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
1778
9813dd58
MF
17792015-02-24 Mike Frysinger <vapier@gentoo.org>
1780
1781 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
1782
7b1ec6a0
AO
17832015-02-23 Alexandre Oliva <aoliva@redhat.com>
1784
1785 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
1786 201304L, for Unicode 7.
1787
d49499c1
L
17882015-02-23 H.J. Lu <hongjiu.lu@intel.com>
1789
1790 [BZ #17836]
1791 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
1792 shared library. Add gmon-start.os otherwise.
1793 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
1794 $(objpfx)gmon-start.os if builing shared library.
1795 ($(objpfx)g$(static-start-installed-name)): Likewise.
1796
51225803
AS
17972015-02-23 Andreas Schwab <schwab@suse.de>
1798
1799 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
1800
bdf1ff05
PP
18012015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
1802
1803 [BZ #17269]
1804 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
1805 (enlarge_userbuf): Likewise.
1806
95296112
CLT
18072015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
1808
1809 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
1810 * math/atest-exp.c (TIMEOUT): Adjust to 200.
1811 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
1812 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
1813
e4a399dc
JM
18142015-02-20 Joseph Myers <joseph@codesourcery.com>
1815
1816 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
1817 expression inside statement expression.
1818
7133957f
SL
18192015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
1820
1821 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
1822 <sysdeps/nptl/lowlevellock.h> and remove macros and
1823 functions that are now defined there.
1824 (SYS_futex): Remove.
1825 (lll_compare_and_swap): Remove.
1826 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
1827
40176158
JM
18282015-02-19 Joseph Myers <joseph@codesourcery.com>
1829
1830 [BZ #17999]
1831 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
1832 instead of scandirat.
1833 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
1834 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
1835 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
1836 __scandirat.
1837 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
1838 (__scandirat): Declare. Use libc_hidden_proto.
1839 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
1840 Remove variable.
1841 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
1842
4629c866
JM
18432015-02-18 Joseph Myers <joseph@codesourcery.com>
1844
1845 [BZ #15319]
1846 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
1847 (MO): New macro.
1848 (__ieee754_atan2): For results with small absolute value, force
1849 underflow exception and remove excess range and precision from
1850 return value.
1851 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
1852 (MO): New macro.
1853 (__ieee754_atan2f): For results with small absolute value, force
1854 underflow exception and remove excess range and precision from
1855 return value.
1856 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
1857 (MO): New macro.
1858 (__atan): For results with small absolute value, force underflow
1859 exception and remove excess range and precision from return value.
1860 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
1861 (MO): New macro.
1862 (__atanf): For results with small absolute value, force underflow
1863 exception and remove excess range and precision from return value.
1864 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
1865 <math.h>.
1866 (__ieee754_atan2): Force underflow exception for results with
1867 small absolute value.
1868 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
1869 <math_private.h>.
1870 (atan): Force underflow exception for results with small absolute
1871 value.
1872 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
1873 (__atanf): Force underflow exception for results with small
1874 absolute value.
1875 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
1876 <math.h>.
1877 (__atanl): Force underflow exception for results with small
1878 absolute value.
1879 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
1880 (__atanl): Force underflow exception for results with small
1881 absolute value.
1882 * sysdeps/x86/fpu/bits/mathinline.h
1883 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
1884 (__ieee754_atan2): Only define inline for long double.
1885 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
1886 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
1887 * math/auto-libm-test-in: Do not mark underflow exceptions as
1888 possibly missing for bug 15319. Add more tests of atan2.
1889 * math/auto-libm-test-out: Regenerated.
1890 * math/libm-test.inc (casin_test_data): Do not mark underflow
1891 exceptions as possibly missing for bug 15319.
1892 (casinh_test_data): Likewise.
1893 * sysdeps/i386/fpu/libm-test-ulps: Update.
1894
9ee16d8b
SE
18952015-02-18 Steve Ellcey <sellcey@imgtec.com>
1896
1897 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
1898 * sysdeps/mips/bits/endian.h: Fix comments.
1899
4ffb1771
JM
19002015-02-18 Joseph Myers <joseph@codesourcery.com>
1901
1902 [BZ #17996]
1903 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
1904 (hdestroy_r): Likewise.
1905 (hsearch_r): Likewise.
1906 (__hcreate_r): Declare and use libc_hidden_proto.
1907 (__hdestroy_r): Likewise.
1908 (__hsearch_r): Likewise.
1909 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
1910 (hcreate): Call __hcreate_r instead of hcreate_r.
1911 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
1912 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
1913 as weak alias of __hcreate_r.
1914 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
1915 __hdestroy_r.
1916 (hsearch_r): Rename to __hsearch_r and define as weak alias of
1917 __hsearch_r.
1918 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
1919 Remove variable.
1920 (test-xfail-XPG4/search.h/linknamespace): Likewise.
1921 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
1922 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
1923 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
1924
94c5a52a
SP
19252015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1926
1927 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
1928 arena_lock into a single arena_get.
1929
8a35c3fe
CD
19302015-02-17 Carlos O'Donell <carlos@redhat.com>
1931
1932 * dl-reloc.c: Inlucde libc-internal.h.
1933 (_dl_try_allocate_static_tls): Call ALIGN_UP.
1934 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
1935 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
1936 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
1937 (grow_heap): Likewise.
1938 * malloc/malloc.c: Include libc-internal.h.
1939 (do_check_malloc): Call powerof2.
1940 (sysmalloc): Use pagesize. Call ALIGN_UP.
1941 (systrim): Use pagesize.
1942 (mremap_chunk): Use pagesize. Call ALIGN_UP.
1943 (__libc_valloc): Use pagesize.
1944 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
1945
1a2325c0
JM
19462015-02-17 Joseph Myers <joseph@codesourcery.com>
1947
1948 [BZ #17991]
1949 * include/sys/resource.h (__getrlimit64): Declare. Use
1950 libc_hidden_proto.
1951 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
1952 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
1953 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
1954 getrlimit64.
1955 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
1956 __getrlimit64.
1957 [!getrlimit64] (getrlimit64): Define as weak alias of
1958 __getrlimit64. Use libc_hidden_weak.
1959 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
1960 using __getrlimit64 not __new_getrlimit64.
1961 (__GI_getrlimit64): Likewise.
1962 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
1963 Likewise.
1964 (__GI_getrlimit64): Likewise.
1965 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
1966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
1967 (getrlimit): Add __getrlimit64 alias.
1968 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
1969 Likewise.
1970 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
1971 Remove variable.
1972 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
1973 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
1974
8ae4bb5a
PP
19752015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
1976
1977 * libio/fileops.c: Add missing sys/mman.h
1978 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
1979
18a218b7
JM
19802015-02-17 Joseph Myers <joseph@codesourcery.com>
1981
1982 * manual/math.texi (Errors in Math Functions): Clarify goals
1983 regarding inexact and underflow exceptions.
1984
e72ad0ef
SE
19852015-02-17 Steve Ellcey <sellcey@imgtec.com>
1986
1987 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
1988 * sysdeps/mips/memset.S: Ditto.
1989
2caa4099
SE
19902015-02-17 Steve Ellcey <sellcey@imgtec.com>
1991
1992 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
1993
f20bfc9b
SL
19942015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
1995
1996 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
1997 (__v1longjmp): Remove versioned symbol.
1998 (__v1siglongjmp): Remove alias and versioned symbol.
1999 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
2000 (__v2siglongjmp): Likewise.
2001
71c06b69
TR
20022015-02-16 Torvald Riegel <triegel@redhat.com>
2003
2004 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
2005
a9a05adb
MF
20062015-02-16 Mike Frysinger <vapier@gentoo.org>
2007
2008 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
2009
ce8fc784
JM
20102015-02-16 Joseph Myers <joseph@codesourcery.com>
2011
2012 [BZ #17987]
2013 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
2014 zero result does not depend on the sign resulting from
2015 subtraction.
2016 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
2017 Likewise.
2018 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
2019 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
2020 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
2021 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
2022 * math/libm-test.inc (remquo_test_data): Add more tests.
2023
0d7036bd
PE
20242015-02-16 Paul Eggert <eggert@cs.ucla.edu>
2025
2026 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
2027 Problem reported by J William Piggott.
2028
86c56b16
JM
20292015-02-16 Joseph Myers <joseph@codesourcery.com>
2030
a820f9b3
JM
2031 [BZ #17978]
2032 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
2033 products 4 * y and 2 * y where those would overflow.
2034 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
2035 Likewise.
2036 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
2037 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
2038 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
2039 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
2040 * math/libm-test.inc (remquo_test_data): Add more tests.
2041
be802953
JM
2042 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
2043
e5e72fe9
JM
2044 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
2045 [defined _COMPILING_NEWLIB].
2046 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
2047 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
2048
86c56b16
JM
2049 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
2050 [!defined __mips_isa_rev || __mips_isa_rev < 6].
2051
35264d14
TR
20522015-02-16 Torvald Riegel <triegel@redhat.com>
2053
2054 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
2055 acquired.
2056
6f49e32a
MF
20572015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
2058
2059 [BZ #17792]
2060 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
2061 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
2062 HOST_STACK_END_ADDR): Likewise.
2063
e525154e
SE
20642015-02-13 Steve Ellcey <sellcey@imgtec.com>
2065
2066 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
2067 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
2068 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
2069
4ab770b7
RM
20702015-02-13 Roland McGrath <roland@hack.frob.com>
2071
2072 * sysdeps/generic/c++-types.data: New file.
2073 * sysdeps/generic/ld.abilist: New file.
2074 * sysdeps/generic/libBrokenLocale.abilist: New file.
2075 * sysdeps/generic/libanl.abilist: New file.
2076 * sysdeps/generic/libc.abilist: New file.
2077 * sysdeps/generic/libcrypt.abilist: New file.
2078 * sysdeps/generic/libdl.abilist: New file.
2079 * sysdeps/generic/libm.abilist: New file.
2080 * sysdeps/generic/libpthread.abilist: New file.
2081 * sysdeps/generic/libresolv.abilist: New file.
2082 * sysdeps/generic/librt.abilist: New file.
2083
d9afe48d
JM
20842015-02-13 Joseph Myers <joseph@codesourcery.com>
2085
2086 [BZ #17569]
2087 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
2088 Compute absolute value of x as modified by fmod, not original
2089 value of x.
2090 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
2091 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
2092 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
2093 RUN_TEST_ffI_f1_mod8.
2094 (remquo_test_data): Add more tests.
2095
3846188b
RM
20962015-02-13 Roland McGrath <roland@hack.frob.com>
2097
2098 * sysdeps/init_array/pt-crti.S: New file.
2099
95c26233
JM
21002015-02-13 Joseph Myers <joseph@codesourcery.com>
2101
2102 [BZ #17967]
2103 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
2104 __builtin_fmaf instead of relying on contraction of a * b + c.
2105
3f293d61
WP
21062015-02-12 J William Piggott <elseifthen@gmx.com>
2107
2108 [BZ #17969]
2109 * manual/time.texi: correct the zoneinfo path in the TZ Variable
2110 node.
2111
e8bd5286
JM
21122015-02-12 Joseph Myers <joseph@codesourcery.com>
2113
2114 [BZ #17964]
2115 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
2116 __builtin_fma instead of relying on contraction of a * b + c.
2117
04f5a636
RM
21182015-02-12 Roland McGrath <roland@hack.frob.com>
2119
96a15749
RM
2120 * Makeconfig (ASFLAGS): Add -Werror=undef.
2121 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
2122 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
2123 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
2124
04f5a636
RM
2125 * Makeconfig (after-link): New variable.
2126 (+link-pie, +link-pie-tests): Use it.
2127 (+link-static, +link-static-tests): Likewise.
2128 (+link, +link-tests): Likewise.
2129 * Makerules (build-module, build-module-asneeded): Likewise.
2130 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
2131 Likewise.
2132 * elf/Makefile ($(objpfx)ld.so): Likewise.
2133
87a629c5
RS
21342015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
2135
2136 [BZ #17965]
2137 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
2138 both struct timeval and struct timespec.
2139
03d95bd4
JM
21402015-02-12 Joseph Myers <joseph@codesourcery.com>
2141
2142 [BZ #16560]
2143 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
2144 and redefine.
2145 (__ieee754_exp2l): Do not multiply small fractional parts by
2146 M_LN2l.
2147 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
2148 small argument.
2149 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
2150 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
2151 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
2152 * math/auto-libm-test-in: Add more tests of exp2.
2153 * math/auto-libm-test-out: Regenerated.
2154
98408b95
RS
21552015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2156
2157 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
2158 unaligned path.
2159
6f741503
AZ
21602015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2161
2162 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
2163 little endian.
2164
2868e070
AS
21652015-02-12 Andreas Schwab <schwab@suse.de>
2166
2167 [BZ #15790]
2168 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
2169 Filter out elision flags from value returned in kind.
2170 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
2171 * nptl/tst-pthread-mutexattr.c: New file.
2172
ebf27d12
ST
21732015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
2174
2175 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
2176 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
2177 into gnu-gnu, and update comment to refer to abi-tags.
2178
d435569c
JM
21792015-02-11 Joseph Myers <joseph@codesourcery.com>
2180
2181 [BZ #15467]
2182 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
2183 (__sincos): Set errno to EDOM for infinite argument.
2184 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
2185 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
2186 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
2187 (__sincosl): Set errno to EDOM for infinite argument.
2188 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
2189 (__sincosl): Set errno to EDOM for infinite argument.
2190 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
2191 (__sincosl): Set errno to EDOM for infinite argument.
2192 * math/libm-test.inc (sincos_test_data): Test errno setting.
2193
d35273f2
LH
21942015-02-11 Leonhard Holz <leonhard.holz@web.de>
2195
2196 * string/strxfrm_l.c: Remove #define STRCMP.
2197 * string/strcoll_l.c: Remove #define STRLEN.
2198 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
2199 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
2200
306bc0d1
JM
22012015-02-10 Joseph Myers <joseph@codesourcery.com>
2202
2203 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
2204 * sysdeps/mips/mips32/sfp-machine.h: ... here.
2205 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
2206 * sysdeps/mips/mips64/Makefile: ... here.
2207 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
2208 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
2209 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
2210 * sysdeps/mips/mips64/sfp-machine.h: ... here.
2211 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
2212 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
2213 * sysdeps/mips/mips64/n64/Implies: Likewise.
2214
92b67e8d
RM
22152015-02-10 Roland McGrath <roland@hack.frob.com>
2216
2217 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
2218 <sys/time.h>, <string.h>, and <errno.h>.
2219 (dest_offset, dest_address, value, zero): Remove unused variables.
2220 (ldouble): Remove typedef.
2221 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
2222 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
2223 1). Fix code style.
2224 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
2225 (check): Function removed.
2226 (CHECK): New macro.
2227 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
2228 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
2229 Don't call set_sigaction_FP and remove_sigaction_FP here.
2230 (ldouble_test): Just use 'long double' as macro argument, no need for
2231 the 'ldouble' typedef.
2232 (do_test): Set up SIGFPE handler at start, using plain signal rather
2233 than sigaction. Fix code style.
2234
132a1328
EF
22352015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
2236
2237 [BZ #17949]
2238 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
2239 jump label.
2240
3001e54c
AZ
22412015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
2242
bc0cdc49
AZ
2243 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
2244 * sysdeps/powerpc/powerpc32/configure: Regenerated.
2245
83658961
AZ
2246 * sysdeps/powerpc/configure.ac: Remove file.
2247 * sysdeps/powerpc/configure: Likewise.
2248
10169938
AZ
2249 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
2250 [sysdep_routines]: Remove wordcopy-power6 object.
2251 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
2252 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
2253 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
2254 (__memmove_ppc32): Likewise.
2255 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
2256 file.
2257 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
2258 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
2259 Remove preprocessor.
2260
8548a53d
AZ
2261 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
2262 [sysdep_routines]: Remove wide chars objects.
2263 [wcsmbs]: New rule for wide char objects.
2264
b2692114
AZ
2265 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2266 Remove wordcopy-power6 obejct.
2267 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
2268 Use local call for wordcopy and memcpy symbols.
2269 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
2270 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
2271 implementation for loader.
2272 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
2273
18e270aa
AZ
2274 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2275 Remove wordcopy-power7 object.
2276 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
2277 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
2278 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
2279 (_wordcopy_fwd_dest_aligned): Likewise.
2280 (_wordcopy_bwd_aligned): Likewise.
2281 (_wordcopy_bwd_dest_aligned): Likewise.
2282
6f0993a6
AZ
2283 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
2284 Rewrite to call __memmove_ppc instead of include default
2285 implementation.
2286
3001e54c
AZ
2287 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2288 Remove wide chars objects.
2289 [wcsmbs]: New rule for wide char objects.
2290
59b61c82
AS
22912015-02-09 Andreas Schwab <schwab@suse.de>
2292
2293 [BZ #17912]
2294 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
2295 in terms of __O_DIRECTORY.
2296
ebd7aede
ST
22972015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
2298
2299 * time/getdate.c: Include <stdbool.h>.
28b06757
ST
2300 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
2301 call PTR_MANGLE.
2302 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
2303 PTR_DEMANGLE.
ebd7aede 2304
3999d26e
PE
23052015-02-07 Paul Eggert <eggert@cs.ucla.edu>
2306
2307 Add ersatz _Static_assert on older C hosts
2308 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
2309 pre-C11 C platform that is not known to support _Static_assert.
2310
e9a5bc1c
ST
23112015-02-07 Richard Braun <rbraun@sceen.net>
2312
2313 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
2314 sigstate.
e86c5b64 2315 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
e9a5bc1c 2316
e2049d17
ST
23172015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
2318
2319 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
2320 priority against unexistent AIO_PRIO_DELTA_MAX.
5d2556c4
ST
2321 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
2322 instead of int.
2323 * misc/fchflags.c (fchflags): Likewise.
2324 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
2325 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
2326 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
2327 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
2328 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
2329 Declare macros.
2330 [__USE_MISC] (chflags, fchflags): Declare functions.
d5131d3c
ST
2331 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
2332 EINVAL when nfds is greater than FD_SETSIZE.
bd959902
ST
2333 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
2334 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
2335 45.
a9a002fb
ST
2336 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
2337 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
c187253f
ST
2338 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
2339 MACH_RCV_TIMED_OUT.
f96ec27a
ST
2340 * hurd/hurd/signal.h (_hurd_self_sigstate,
2341 _hurd_critical_section_lock, _hurd_critical_section_unlock):
2342 Explicit casts from void *.
4fc81a77 2343 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
ae20c9a1 2344 * abi-tags: Rename gnu-gnu os into gnu.
e2049d17 2345
f05826f0
ST
2346 [BZ #4719]
2347 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
2348 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
2349 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
2350 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
2351 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
2352 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
2353
a5eb23de
ST
2354 [BZ #17944]
2355 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
2356 duplicates ADDR->sun_path with sockaddr LEN limitation.
2357 * sysdeps/mach/hurd/connect.c: Include <string.h>
2358 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
2359 * sysdeps/mach/hurd/sendmsg.c: Likewise.
2360 * sysdeps/mach/hurd/sendto.c: Likewise.
2361 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
2362 implementing it by hand.
2363
ac9e0e5e
RM
23642015-02-06 Roland McGrath <roland@hack.frob.com>
2365
f8d1bb4c
RM
2366 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
2367 Use sfi_breg on ldr.
2368 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
2369 Likewise.
2370
022f4812
RM
2371 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
2372 it's defined.
2373 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
2374 Test SIGSETXID only if it's defined.
2375
1ac074e6
RM
2376 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
2377
f50ad78b
RM
2378 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
2379 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
2380
9e7265f4
RM
2381 * nptl/tst-align2.c: Moved ...
2382 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
2383 * nptl/Makefile (tests): Remove tst-align2.
2384 * sysdeps/unix/sysv/linux/Makefile
2385 [$(subdir) = nptl] (tests): Add tst-align-clone.
2386 * nptl/tst-getpid1.c: Moved ...
2387 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
2388 * nptl/tst-getpid2.c: Moved ...
2389 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
2390 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
2391 * sysdeps/unix/sysv/linux/Makefile
2392 [$(subdir) = nptl] (tests): ... here.
2393 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
2394 * sysdeps/unix/sysv/linux/Makefile
2395 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
2396
62ad2abc
RM
2397 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
2398 Drop trailing \n from perror argument. Use return rather than exit.
2399
cfa69b0b
RM
2400 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
2401 on [SA_SIGINFO].
2402 * nptl/tst-cancel21.c (do_test): Likewise.
2403 * debug/tst-backtrace6.c: Include <signal.h> first thing.
2404 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
2405 [!SA_SIGINFO]: Make it a stub test.
2406
82727806
RM
2407 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
2408 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
2409
da3a1594
RM
2410 * posix/tst-getlogin.c: Move to ...
2411 * login/tst-getlogin.c: ... here.
2412 * posix/Makefile (tests): Move tst-getlogin to ...
2413 * login/Makefile (tests): ... here.
2414
b65c0ff9
RM
2415 * libio/tst-atime.c (do_test): Move local variables SV and E
2416 inside [ST_NOATIME] conditional.
2417
56606ab3
RM
2418 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
2419
ebf7d6ee
RM
2420 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
2421
ca0e0675
RM
2422 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
2423 (wait_code): New function replaces macro.
2424 Call nanosleep rather than syscall.
2425
8c28bbc6
RM
2426 * nptl/pt-system.c: Rewritten. Put everything under
2427 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
2428 Use IFUNC to redirect when possible.
2429
ec2a88b3
RM
2430 * nptl/pt-longjmp.c: Rewritten. Put everything under
2431 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
2432 Use IFUNC to redirect when possible.
2433
beff1d13
RM
2434 * nptl/pt-fork.c: Rewritten. Put everything under
2435 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
2436 Use IFUNC to redirect when possible.
2437 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
2438
ea02c6b8
RM
2439 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
2440 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
2441 unconditionally nowadays. This included the only reference to
2442 __vdso_clock_gettime that appears outside libc proper.
2443 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
2444 Remove version set (containing only __vdso_clock_gettime).
2445 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
2446 Add attribute_hidden.
2447 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
2448 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
2449 libc_hidden_data_def.
2450 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
2451 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
2452
a1309c2b
RM
2453 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
2454 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
2455 setrpcent, and getrpcport to ...
2456 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
2457 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
2458 getrpcbynumber_r, and getrpcent_r to ...
2459 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
2460 * inet/getrpcbyname.c: Moved ...
2461 * sunrpc/getrpcbyname.c: ... here.
2462 * inet/getrpcbyname_r.c: Moved ...
2463 * sunrpc/getrpcbyname_r.c: ... here.
2464 * inet/getrpcbynumber.c: Moved ...
2465 * sunrpc/getrpcbynumber.c: ... here.
2466 * inet/getrpcbynumber_r.c: Moved ...
2467 * sunrpc/getrpcbynumber_r.c: ... here.
2468 * inet/getrpcent.c: Moved ...
2469 * sunrpc/getrpcent.c: ... here.
2470 * inet/getrpcent_r.c: Moved ...
2471 * sunrpc/getrpcent_r.c: ... here.
2472 * inet/Makefile (routines): Move those to ...
2473 * sunrpc/Makefile (routines): ... here.
2474 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
2475 the $(subdirs) list.
2476 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
2477 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
2478 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
2479 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
2480
ac9e0e5e
RM
2481 * elf/Makefile (routines): Include $(all-dl-routines), not just
2482 $(dl-routines).
2483 (rtld-routines): Likewise. Use = rather than :=.
2484 * sysdeps/aarch64/Makefile [$(subdir) = elf]
2485 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
2486 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
2487 * sysdeps/arm/Makefile: Likewise.
2488 * sysdeps/i386/Makefile: Likewise.
2489 * sysdeps/x86_64/Makefile: Likewise.
2490 * sysdeps/hppa/Makefile [$(subdir) = elf]
2491 (sysdep_routines, sysdep-rtld-routines): Don't add
2492 $(sysdep-dl-routines) to these.
2493 * sysdeps/ia64/Makefile: Likewise.
2494 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
2495 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
2496 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
2497 Don't add dl-static to these; sysdep-dl-routines alone is enough.
2498 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
2499 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
2500 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
2501 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
2502 * sysdeps/powerpc/Makefile [$(subdir) = elf]
2503 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
2504 these; sysdep-dl-routines alone is enough.
2505
639e42eb
JM
25062015-02-06 Joseph Myers <joseph@codesourcery.com>
2507
1c7a4a51
JM
2508 [BZ #17932]
2509 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
2510 where multiplication results in zero and third argument is finite
2511 and nonzero.
2512 * math/auto-libm-test-in: Add more tests of fma.
2513 * math/auto-libm-test-out: Regenerated.
2514
61f006c1
JM
2515 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
2516 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
2517 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
2518 (_FP_CMP_EQ): Likewise.
2519 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
2520
639e42eb
JM
2521 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
2522 extra argument CHECK_NAN. Redefine as wrapper around
2523 _FP_EXTEND_CNAN.
2524
3c0c543b
CD
25252015-02-06 Carlos O'Donell <carlos@systemhalted.org>
2526
4e42b5b8
CD
2527 * version.h (RELEASE): Set to "stable".
2528 (VERSION): Set to "2.21"
2529 * include/features.h (__GLIBC_MINOR__): Set to 21.
2530
3c0c543b
CD
2531 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
2532
5bd80bfe 25332015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
76c109f2 2534 Paul Eggert <eggert@cs.ucla.edu>
5bd80bfe
PP
2535
2536 [BZ #16618]
2537 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
2538 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
2539 size in bytes. Store needed elements in wpmax. Use needed size
2540 in bytes for extend_alloca.
2541
3f823f48
CD
25422015-02-05 Carlos O'Donell <carlos@systemhalted.org>
2543
04cb913d
CD
2544 * manual/install.texi: Latest tested versions are GCC 4.9.2,
2545 binutls 2.25, and texinfo 5.2.
2546 * INSTALL: Regenerate.
2547 * sysdeps/nios2/configure: Regenerate.
2548 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
2549 * manual/contrib.texi: Update.
2550 * po/be.po: Update.
2551 * po/bg.po: Update.
2552 * po/ca.po: Update.
2553 * po/cs.po: Update.
2554 * po/da.po: Update.
2555 * po/de.po: Update.
2556 * po/el.po: Update.
2557 * po/eo.po: Update.
2558 * po/es.po: Update.
2559 * po/fi.po: Update.
2560 * po/fr.po: Update.
2561 * po/gl.po: Update.
2562 * po/hr.po: Update.
2563 * po/hu.po: Update.
2564 * po/ia.po: Update.
2565 * po/id.po: Update.
2566 * po/it.po: Update.
2567 * po/ja.po: Update.
2568 * po/ko.po: Update.
2569 * po/lt.po: Update.
2570 * po/nb.po: Update.
2571 * po/nl.po: Update.
2572 * po/pl.po: Update.
2573 * po/pt_BR.po: Update.
2574 * po/ru.po: Update.
2575 * po/rw.po: Update.
2576 * po/sk.po: Update.
2577 * po/sl.po: Update.
2578 * po/sv.po: Update.
2579 * po/tr.po: Update.
2580 * po/uk.po: Update.
2581 * po/vi.po: Update.
2582 * po/zh_CN.po: Update.
2583 * po/zh_TW.po: Update.
2584
3f823f48
CD
2585 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
2586 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
2587 * sysdeps/hppa/dl-irel.h: Remove #warning.
2588 * sysdeps/hppa/entry.h: Provide prototype for
2589 __canonicalize_funcptr_for_compare and cast argument.
2590 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
2591 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
2592 * sysdeps/hppa/sotruss-lib.c: New file.
2593 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
2594 (atomic_compare_and_exchange_val_acq): Use __typeof__.
2595 (atomic_compare_and_exchange_bool_acq): Likewise.
2596 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
2597 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
2598
2599 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
2600 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
2601 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
2602
34c56048
CLT
26032015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
2604
2605 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
2606 called function in non-PIC case.
2607
d4abeca5
DM
26082015-01-31 David S. Miller <davem@davemloft.net>
2609
edac0a60
DM
2610 * sysdeps/sparc/sparc32/bits/atomic.h
2611 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
2612 unlock not after it.
2613 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
2614 volatile register usage warnings from the compiler.
2615
d4abeca5
DM
2616 * sysdeps/sparc/nptl/sem_init.c: Delete.
2617 * sysdeps/sparc/nptl/sem_post.c: Delete.
2618 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
2619 * sysdeps/sparc/nptl/sem_wait.c: Delete.
2620 * sysdeps/sparc/sparc32/sem_init.c: New file.
2621 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
2622 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
2623 padding explicitly initialized.
2624 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
2625 padding for in-semaphore spinlock.
2626 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
2627 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
2628 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
2629 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
2630 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
2631 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
2632 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
2633 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
2634 version.
2635 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
2636 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
2637
5f3d0b78
L
26382015-01-30 H.J. Lu <hongjiu.lu@intel.com>
2639
2640 [BZ #17801]
2641 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2642 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
2643 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
2644 New.
2645 (index_AVX_Fast_Unaligned_Load): Likewise.
2646 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
2647 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
2648 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
2649 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
2650 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
2651 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
2652 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
2653 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
2654 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
2655
b658fdd8
AS
26562015-01-29 Andreas Schwab <schwab@suse.de>
2657
2658 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
2659
3cb26316
SP
26602015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2661
2662 [BZ #17892]
2663 * nscd/nscd_stat.c (send_stats): Initialize DATA.
2664
527de9e4
MS
26652015-01-28 Martin Sebor <msebor@redhat.com>
2666
2667 * math/README.libm-test: Clarify. Add "How to read the test output."
2668
06991eb8
CM
26692015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
2670
2671 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
2672 Define to 0.
2673
df341342
JM
26742015-01-28 Joseph Myers <joseph@codesourcery.com>
2675
2676 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
2677 (__HAVE_64B_ATOMICS): Define to 0.
2678
08cee2a4
AZ
26792015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
2680
d4d0ecb2
AZ
2681 [BZ #17885]
2682 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
2683 value to set as new flag.
2684
08cee2a4
AZ
2685 [BZ #16576]
2686 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
2687 and use _ARCH_PPCSQ instead.
2688 (__ieee754_sqrt): Likewise.
2689 (__ieee754_sqrtf): Likewise.
2690 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
2691 _ARCH_PPCSQ is defined.
2692 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
2693 fsqrt instruction.
2694 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
2695 _ARCH_PPCSQ is defined.
2696 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
2697 fsqrts instruction.
2698 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
2699
5fe8e359
AK
27002015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2701
2702 * iconv/loop.c: Suppress array out of bound warning caused by GCC
2703 bug (GCC BZ #64739).
2704
24bb7432
AS
27052015-01-25 Andreas Schwab <schwab@linux-m68k.org>
2706
fa20da31
AS
2707 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
2708 Mark _retval as used.
2709 (lll_futex_wake_unlock): Likewise.
2710 (lll_futex_timed_wait_requeue_pi): Likewise.
2711
45819cbc
AS
2712 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
2713 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
2714 register variables.
2715
403cc231
AS
2716 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
2717 libm_hidden_def.
2718
24bb7432
AS
2719 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
2720 (__bswap_64): Mark as __always_inline.
2721
9317ea65
B
27222015-01-25 Bram <bug_rh@spam.wizbit.be>
2723
2724 [BZ #15378]
2725 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
2726 when none of the search directories exist.
2727
0e87343e
AZ
27282015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
2729
bea58013
AZ
2730 [BZ #17869]
2731 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
2732 power8 in .machine directive.
2733
0e87343e
AZ
2734 [BZ #17868]
2735 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
2736 set dependency from opd value.
2737
ede0236c
L
27382015-01-23 H.J. Lu <hongjiu.lu@intel.com>
2739
2740 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
972af9e8
L
2741 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
2742 architecture.
ede0236c 2743
22971c35
L
27442015-01-23 H.J. Lu <hongjiu.lu@intel.com>
2745
2746 [BZ #17870]
2747 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
2748 with uint64_t.
2749 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
2750 (uint64_t) 1.
e0da28a1 2751 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
22971c35
L
2752 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
2753 Replace 1UL with (uint64_t) 1.
2754 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
2755 int with uint64_t.
2756
da5bf245
RM
27572015-01-23 Roland McGrath <roland@hack.frob.com>
2758
2ec2d703
RM
2759 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
2760 (if_freenameindex): Likewise.
2761
da5bf245
RM
2762 * resource/getrlimit64.c: Add missing libc_hidden_def.
2763
d7423856
JM
27642015-01-22 Joseph Myers <joseph@codesourcery.com>
2765
2766 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
2767 __label__.
2768 (_FP_FMA): Likewise.
2769 (_FP_TO_INT_ROUND): Likewise.
2770 (_FP_FROM_INT): Likewise.
2771
6b2ba95b
AZ
27722015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2773
2774 [BZ #16418]
2775 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
2776 Make code racy and cancel safe.
2777
ccdb048d
CD
27782015-01-21 Carlos O'Donell <carlos@redhat.com>
2779
191220b3
CD
2780 * sysdeps/arm/unwind-resume.h: Fix copyright year.
2781 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
2782 attribution.
2783
0897c551
CD
2784 * pwd/tst-getpw.c: Rewrite.
2785
ccdb048d
CD
2786 [BZ #17702]
2787 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
2788 (modules-names): Add moddummy1 and moddummy2.
2789 ($(objpfx)tst-rec-dlopen): Define.
2790 * dlfcn/moddummy1.c: New file.
2791 * dlfcn/moddummy2.c: New file.
2792 * dlfcn/tst-rec-dlopen.c: New file.
2793 * elf/dl-cache.c (_dl_load_cache_lookup):
2794 Return char*. Copy result with alloca/strcpy/strdup.
2795 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
2796 returns char*. Free cached. If not saving realname
2797 free cached.
2798 * elf/dl-open.c (dl_open_worker): Do not assert that
2799 _r_debug->r_state is RT_CONSISTENT.
2800 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
2801 returns char*.
2802
042e1521
CD
28032015-01-21 Torvald Riegel <triegel@redhat.com>
2804 Carlos O'Donell <carlos@redhat.com>
2805
2806 [BZ #12674]
2807 * nptl/sem_waitcommon.c: New file.
2808 * nptl/sem_wait.c: Include sem_waitcommon.c.
2809 (__sem_wait_cleanup, do_futex_wait): Remove.
2810 (__new_sem_wait): Adapt.
2811 (__new_sem_trywait): New function.
2812 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
2813 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
2814 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
2815 (sem_timedwait): Adapt.
2816 * nptl/sem_post.c (__new_sem_post): Adapt.
2817 (futex_wake): New function.
2818 (__old_sem_post): Add release MO fence.
2819 * nptl/sem_open.c (sem_open): Adapt.
2820 * nptl/sem_init.c (__new_sem_init): Adapt.
2821 (futex_private_if_supported): New function.
2822 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
2823 (__old_sem_getvalue): Add using previous code.
2824 * sysdeps/nptl/internaltypes.h: Adapt.
2825 * nptl/tst-sem13.c (do_test): Adapt.
2826 * nptl/tst-sem11.c (main): Adapt.
2827 * nptl/sem_trywait.c: Remove.
2828 * nptl/DESIGN-sem.txt: Remove.
2829 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
2830 (gen-as-const-headers): Remove structsem.sym.
2831 * nptl/structsem.sym: Remove.
2832 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
2833 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
2834 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
2835 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
2836 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
2837 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
2838 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
2839 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
2840 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
2841 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
2842 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
2843 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
2844 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
2845 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
2846 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
2847 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
2848 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
2849 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
2850 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
2851 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
2852 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
2853 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
2854
fe0e85af
CD
28552015-01-20 Carlos O'Donell <carlos@redhat.com>
2856
a8db092e
CD
2857 * INSTALL: Regenerated.
2858
fe0e85af
CD
2859 * po/libc.pot: Regenerated.
2860
522e6ee3
CLT
28612015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
2862 Sandra Loosemore <sandra@codesourcery.com>
2863 Andrew Jenner <andrew@codesourcery.com>
2864 Joseph Myers <joseph@codesourcery.com>
2865 Nathan Sidwell <nathan@codesourcery.com>
2866
2867 * NEWS: Mention new Nios II port.
2868 * sysdeps/nios2/Implies: New file.
2869 * sysdeps/nios2/Makefile: New file.
2870 * sysdeps/nios2/Subdirs: New file.
2871 * sysdeps/nios2/Versions: New file.
2872 * sysdeps/nios2/__longjmp.S: New file.
2873 * sysdeps/nios2/abort-instr.h: New file.
2874 * sysdeps/nios2/backtrace.c: New file.
2875 * sysdeps/nios2/bits/endian.h: New file.
2876 * sysdeps/nios2/bits/fenv.h: New file.
2877 * sysdeps/nios2/bits/link.h: New file.
2878 * sysdeps/nios2/bits/setjmp.h: New file.
2879 * sysdeps/nios2/bsd-_setjmp.S: New file.
2880 * sysdeps/nios2/bsd-setjmp.S: New file.
2881 * sysdeps/nios2/configure: New generated file.
2882 * sysdeps/nios2/configure.ac: New file.
2883 * sysdeps/nios2/crti.S: New file.
2884 * sysdeps/nios2/crtn.S: New file.
2885 * sysdeps/nios2/dl-init.c: New file.
2886 * sysdeps/nios2/dl-machine.h: New file.
2887 * sysdeps/nios2/dl-sysdep.h: New file.
2888 * sysdeps/nios2/dl-tls.h: New file.
2889 * sysdeps/nios2/dl-trampoline.S: New file.
2890 * sysdeps/nios2/gccframe.h: New file.
2891 * sysdeps/nios2/gmp-mparam.h: New file.
2892 * sysdeps/nios2/jmpbuf-offsets.h: New file.
2893 * sysdeps/nios2/jmpbuf-unwind.h: New file.
2894 * sysdeps/nios2/ldsodefs.h: New file.
2895 * sysdeps/nios2/libc-tls.c: New file.
2896 * sysdeps/nios2/libm-test-ulps: New file.
2897 * sysdeps/nios2/machine-gmon.h: New file.
2898 * sysdeps/nios2/math-tests.h: New file.
2899 * sysdeps/nios2/math_private.h: New file.
2900 * sysdeps/nios2/memusage.h: New file.
2901 * sysdeps/nios2/nptl/Makefile: New file.
2902 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
2903 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
2904 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
2905 * sysdeps/nios2/nptl/pthreaddef.h: New file.
2906 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
2907 * sysdeps/nios2/nptl/tls.h: New file.
2908 * sysdeps/nios2/preconfigure: New file.
2909 * sysdeps/nios2/s_fma.c: New file.
2910 * sysdeps/nios2/s_fmaf.c: New file.
2911 * sysdeps/nios2/setjmp.S: New file.
2912 * sysdeps/nios2/sfp-machine.h: New file.
2913 * sysdeps/nios2/sotruss-lib.c: New file.
2914 * sysdeps/nios2/stackguard-macros.h: New file.
2915 * sysdeps/nios2/stackinfo.h: New file.
2916 * sysdeps/nios2/start.S: New file.
2917 * sysdeps/nios2/sysdep.h: New file.
2918 * sysdeps/nios2/tls-macros.h: New file.
2919 * sysdeps/nios2/tst-audit.h: New file.
2920 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
2921 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
2922 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
2923 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
2924 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
2925 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
2926 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
2927 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
2928 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
2929 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
2930 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
2931 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
2932 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
2933 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
2934 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
2935 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
2936 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
2937 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
2938 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
2939 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
2940 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
2941 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
2942 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
2943 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
2944 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
2945 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
2946 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
2947 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
2948 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
2949 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
2950 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
2951 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
2952 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
2953 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
2954 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
2955 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
2956 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
2957 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
2958 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
2959 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
2960 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
2961 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
2962 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
2963 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
2964
026eb207
SL
29652015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
2966
2967 [BZ #17844]
2968 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
2969 (getutent): Use weak_alias in non SHARED case
2970 and default_symbol_version in SHARED case.
2971 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
2972 (getutent_r, pututline): Likewise.
2973 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
2974 (getutid): Likewise.
2975 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
2976 (getutid_r): Likewise.
2977 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
2978 (getutline): Likewise.
2979 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
2980 (getutline_r): Likewise.
2981 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
2982 (updwtmp): Likewise.
2983
1d532483
SL
29842015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
2985
2986 [BZ #17848]
2987 * sysdeps/s390/s390-32/memcmp.S
2988 (memcmp_g5): Rename to __memcmp_g5.
2989 * sysdeps/s390/s390-32/memcpy.S
2990 (memcpy_g5): Rename to __memcpy_g5.
2991 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2992 (memcpy_mvcle) Rename to __memcpy_mvcle.
2993 * sysdeps/s390/s390-32/memset.S
2994 (memset_g5): Rename to __memset_g5.
2995 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
2996 (IFUNC_RESOLVE): Prefix ifunc-resolve function
2997 and use prefixed functions.
2998 * sysdeps/s390/s390-32/multiarch/memcmp.S
2999 (memcmp_z196): Rename to __memcmp_z196.
3000 (memcmp_z10): Rename to __memcmp_z10.
3001 (memcmp): Set alias to __memcmp_g5.
3002 (bcmp): Set alias to __memcmp_g5.
3003 * sysdeps/s390/s390-32/multiarch/memcpy.S
3004 (memcpy_z196): Rename to __memcpy_z196.
3005 Jump to __memcpy_mvcle instead of memcpy_mvcle.
3006 (memcpy_z10): Rename to __memcpy_z10.
3007 Jump to __memcpy_mvcle instead of memcpy_mvcle.
3008 (memcpy): Set alias to __memcpy_g5.
3009 * sysdeps/s390/s390-32/multiarch/memset.S
3010 (memset_z196): Rename to __memset_z196.
3011 Jump to __memset_mvcle instead of memset_mvcle.
3012 (memset_z10): Rename to __memset_z10.
3013 Jump to __memset_mvcle instead of memset_mvcle.
3014 (memset_mvcle) Rename to __memset_mvcle.
3015 (memset): Set alias to __memset_g5.
3016 * sysdeps/s390/s390-64/memcmp.S
3017 (memcmp_z900): Rename to __memcmp_z900.
3018 * sysdeps/s390/s390-64/memcpy.S
3019 (memcpy_z900): Rename to __memcpy_z900.
3020 Jump to __memcpy_mvcle instead of memcpy_mvcle.
3021 (memcpy_mvcle) Rename to __memcpy_mvcle.
3022 * sysdeps/s390/s390-64/memset.S
3023 (memset_z900): Rename to __memset_z900.
3024 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
3025 (IFUNC_RESOLVE): Prefix ifunc-resolve function
3026 and use prefixed functions.
3027 * sysdeps/s390/s390-64/multiarch/memcmp.S
3028 (memcmp_z196): Rename to __memcmp_z196.
3029 (memcmp_z10): Rename to __memcmp_z10.
3030 (memcmp): Set alias to __memcmp_z900.
3031 (bcmp): Set alias to __memcmp_z900.
3032 * sysdeps/s390/s390-64/multiarch/memcpy.S
3033 (memcpy_z196): Rename to __memcpy_z196.
3034 Jump to __memcpy_mvcle instead of memcpy_mvcle.
3035 (memcpy_z10): Rename to __memcpy_z10.
3036 Jump to __memcpy_mvcle instead of memcpy_mvcle.
3037 (memcpy): Set alias to __memcpy_z900.
3038 * sysdeps/s390/s390-64/multiarch/memset.S
3039 (memset_z196): Rename to __memset_z196.
3040 Jump to __memset_mvcle instead of memset_mvcle.
3041 (memset_z10): Rename to __memset_z10.
3042 Jump to __memset_mvcle instead of memset_mvcle.
3043 (memset_mvcle) Rename to __memset_mvcle.
3044 (memset): Set alias to __memset_z900.
3045
53fbd169
JM
30462015-01-14 Joseph Myers <joseph@codesourcery.com>
3047
3048 [BZ #17748]
3049 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
3050 __fesetenv instead of fesetenv.
3051
d639a363
SP
30522015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3053
3054 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
3055 macro.
3056
d3b00f46
AZ
30572015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3058
ce6615c9
AZ
3059 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
3060 regression on LE.
3061
d3b00f46
AZ
3062 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
3063 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
3064 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
3065 strncmp-power8 object.
3066 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3067 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
3068 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
3069 * NEWS: Update.
3070
72607db0
RS
30712015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3072 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3073
3074 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
3075 trailing byte check.
3076
54dc5461
DM
30772015-01-13 David S. Miller <davem@davemloft.net>
3078
3079 * include/signal.h (__sigreturn): Guard with __USE_MISC.
3080
1c6e6f23
RM
30812015-01-13 Roland McGrath <roland@hack.frob.com>
3082
3083 * login/logout.c (logout): Use memset rather than bzero.
3084 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
3085 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
3086 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
3087 (_gethtbyaddr): Likewise.
3088 * locale/programs/simple-hash.c (bcopy): Macro removed.
3089
96d6fd6c
AZ
30902015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3091
8bedcb5f
AZ
3092 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3093 Add strcmp-power8 object.
3094 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3095 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
3096 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
3097 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
3098 __strcmp_power8 implementation.
3099 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
3100 * NEWS: Update.
3101
f06a4faf
AZ
3102 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3103 Add strncpy-power8 and stpncpy-power8 objects.
3104 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3105 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
3106 implementations.
3107 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
3108 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
3109 __stpncpy_power8 implementation.
3110 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
3111 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
3112 __strncpy_power8 implementation.
3113 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
3114 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
3115 * NEWS: Update.
3116
9f2f36e5
AZ
3117 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
3118 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
3119 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
3120
96d6fd6c 3121 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
94c96809
AZ
3122 strncat-power8 object.
3123 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
3124 __strcat_power8 implementation.
3125 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3126 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
3127 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
3128 optimized strcat for power8.
3129
3130 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
96d6fd6c
AZ
3131 strcpy-power8 and stpcpy-power8 objects.
3132 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3133 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
3134 implementations.
3135 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
3136 multiarch stpcpy implementation for POWER8.
3137 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
3138 multiarch strcpy implementation for POWER8.
3139 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
3140 __strcpy_power8 function.
3141 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
3142 stpcpy for POWER8.
3143 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
3144 strcpy for POWER8.
3145 * NEWS: Update.
3146
0f9e5854
LH
31472015-01-13 Leonhard Holz <leonhard.holz@web.de>
3148
3149 [BZ #16009]
3150 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
3151 weights and rules. Use do_xfrm_cached if data fits in cache,
3152 do_xfrm otherwise. Moved former main loop to...
3153 * (do_xfrm_cached): New function.
3154 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
3155 find_idx, find_position and stack_push.
3156 * (find_idx): New function.
3157 * (find_position): Likewise.
3158 * localedata/sort-test.sh: Added test run for do_xfrm.
3159 * localedata/xfrm-test.c (main): Added command line option
3160 -nocache to run the test with strings that are too large for
3161 the STRXFRM cache.
3162
c60ec0e0
TR
31632015-01-13 Torvald Riegel <triegel@redhat.com>
3164
3165 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
3166 variable to lll_futex_wake call, not the value itself.
3167
34e93d6c
JM
31682015-01-12 Joseph Myers <joseph@codesourcery.com>
3169
5a9e4c09
JM
3170 [BZ #17803]
3171 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
3172 twom64. Adjust value to 0x1p-64L.
3173 (__scalblnl): Only return standard underflowing result for K <=
3174 -64 not K <= -63; adjust exponent for underflowing result by 64
3175 not 63.
3176 * math/libm-test.inc (scalbn_test_data): Add more tests.
3177 (scalbln_test_data): Likewise.
3178
34e93d6c
JM
3179 [BZ #17834]
3180 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
3181 0x1p63L.
3182 (__scalblnl): Get new exponent of adjusted subnormal value from ES
3183 not HX.
3184 * math/libm-test.inc (scalbn_test_data): Add more tests.
3185 (scalbln_test_data): Likewise.
3186
ca677d3c
AZ
31872015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3188 Stefani Seibold <stefani@seibold.net>
3189
3190 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
3191 (sysdep_routines): Add dl-vdso here, ...
3192 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
3193 (sysdep_routines): ... not here.
3194 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
3195 fallback when vDSO is not presented.
3196 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
3197 Define with libc_hidden_proto/libc_hidden_data_def definitions.
3198 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
3199 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
3200 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
3201 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
3202 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
3203 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
3204 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
3205 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
3206 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
3207 fallback configurable symbol when vDSO is not available.
3208 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
3209 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
3210 be able to redefine fallback symbol when vDSO is not available.
3211 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
3212 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
3213
49a9f6ab 32142015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8d2c0a59 3215
56cf2763
AZ
3216 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
3217 (TLS_INIT_TP): Add tm_capable initialization.
3218 (TLS_DEFINE_INIT_TP): Likewise.
3219 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
3220 TCB.
3221 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
3222 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
3223 calculation.
3224 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
3225 transactoion is lock elision is built and TCB tm_capable is set.
3226 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
3227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3228 (INTERNAL_SYSCALL_NCS): Likewise.
3229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
3230 (INTERNAL_SYSCALL_NCS): Likewise.
3231 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
3232
4b45943a
AZ
3233 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
3234 for powerpc.
3235 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
3236 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
3237 and remove it for 32 bits case.
3238 [pthread_rwlock_t] (__rwelision): New field for lock elision.
3239 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
3240 initialization.
3241 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
3242 Disable lock elision with rdlocks if elision is not available.
3243
8d2c0a59
AZ
3244 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
3245 (sysdep_routines): Add lock elision objects.
3246 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
3247 [pthread_mutex_t] (__spins): Rework to add lock elision field.
3248 [pthread_mutex_t] (__elision): Add field.
3249 [__PTHREAD_SPINS]: Adjust to init lock elision field.
3250 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
3251 elision definitions for powerpc.
3252 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
3253 implementation of lock elision for powerpc.
3254 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
3255 implementation of timed lock elision for powerpc.
3256 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
3257 implementation of trylock with lock elision for powerpc.
3258 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
3259 implementaion of unlock for lock elision for powerpc.
3260 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
3261 automatic enable lock elision for mutexes.
3262 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
3263 transaction execution definitions for powerpc.
3264 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
3265 definitions.
3266 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
3267 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
3268 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
3269 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
3270 * NEWS: Update.
3271
bc0ed9f7
RM
32722015-01-09 Roland McGrath <roland@hack.frob.com>
3273
3274 * sysdeps/posix/shm-directory.c: Use <> rather than ""
3275 for #include of <shm-directory.h>.
3276
585d9c18
CLT
32772015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
3278
3279 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
3280 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
3281
aee6626c
MF
32822015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
3283
3284 [BZ #17791]
3285 * NEWS: Mention bug fix.
3286 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
3287 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
3288 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
3289
9e560f48
TR
32902015-01-09 Torvald Riegel <triegel@redhat.com>
3291
3292 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
3293
e1cfbd0c
TR
32942015-01-09 Torvald Riegel <triegel@redhat.com>
3295
3296 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
3297
cf71e44f
DH
32982015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
3299
3300 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
3301 pointer and cast to uintptr_t.
3302
b360ee62
DH
33032015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
3304
3305 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
3306 removed.
3307 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
3308
caff764e
DH
33092015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
3310
3311 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
3312 of 0.
3313
59ff172f
RM
33142015-01-08 Roland McGrath <roland@hack.frob.com>
3315
c97d27f1
RM
3316 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
3317 <nptl/pthreadP.h> instead.
3318 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
3319
08734ccd
RM
3320 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
3321 already defined.
3322 [__SIGRTMIN] (init): Function removed.
3323 [__SIGRTMIN] (initialized): Variable removed.
3324 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
3325 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
3326 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
3327 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
3328 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
3329 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
3330 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
3331 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
3332 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
3333 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
3334 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
3335 * sysdeps/nptl/allocrtsig.c: New file.
3336 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
3337 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
3338 * sysdeps/generic/testrtsig.h: File removed.
3339
7b052e33
RM
3340 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
3341 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
3342
cc40d25e
RM
3343 * nptl/nptl-init.c (pthread_functions): Conditionalize
3344 .ptr__nptl_setxid initialization on [SIGSETXID].
3345
9287adf0
RM
3346 * sysdeps/nptl/sys/procfs.h: New file.
3347 * nptl_db/Makefile (headers): Add it.
3348 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
3349
59ff172f
RM
3350 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
3351 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
3352 * nptl/pthread_attr_setaffinity.c: Include it.
3353 * nptl/pthread_setattr_default_np.c: Likewise.
3354 * nptl/check-cpuset.h: New file.
3355
b9205857
RH
33562015-01-08 Richard Henderson <rth@redhat.com>
3357
3358 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
3359 (CFLAGS-tst-execstack-prog.c): Likewise.
3360 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
3361
1a0a8d15
CLT
33622015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
3363 Sandra Loosemore <sandra@codesourcery.com>
3364 Andrew Jenner <andrew@codesourcery.com>
3365 Joseph Myers <joseph@codesourcery.com>
3366 Nathan Sidwell <nathan@codesourcery.com>
3367
3368 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
3369 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
3370 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
3371 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
3372 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
3373 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
3374 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
00b8b9ba
SP
3375 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
3376 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
3377 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
3378 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
3379 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
3380 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
1a0a8d15
CLT
3381 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
3382 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
3383 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
3384 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
3385
dd6e8af6
AZ
33862015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3387
3388 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
3389 timespec struct member in syscall macro.
3390 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
3391 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
3392 first timeval struct member in syscall macro.
3393 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
3394
8116321f
JM
33952015-01-07 Joseph Myers <joseph@codesourcery.com>
3396
3397 [BZ #17748]
3398 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
3399 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
3400 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
3401 __feupdateenv and define as weak alias of __feupdateenv. Use
3402 libm_hidden_weak.
3403 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
3404 libm_hidden_def.
3405 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
3406 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
3407 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
3408 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
3409 libm_hidden_def.
3410 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
3411 __feupdateenv and define as weak alias of __feupdateenv. Use
3412 libm_hidden_weak.
3413 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
3414 libm_hidden_def.
3415 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
3416 __feupdateenv and define as weak alias of __feupdateenv. Use
3417 libm_hidden_weak.
3418 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
3419 libm_hidden_def.
3420 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
3421 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
3422 (__feupdateenv): Likewise.
3423 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
3424 __feupdateenv and define as weak alias of __feupdateenv. Use
3425 libm_hidden_weak.
3426 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
3427 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
3428 libm_hidden_def.
3429 * sysdeps/tile/math_private.h (__feupdateenv): New inline
3430 function.
3431 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
3432 libm_hidden_def.
3433 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
3434 __feupdateenv instead of feupdateenv.
3435 (default_libc_feupdateenv_test): Likewise.
3436 (libc_feresetround_ctx): Likewise.
3437
882dfe18
AZ
34382015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3439
3440 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
3441 prototype.
3442
39a12f8d
CM
34432015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
3444
3445 * posix/regcomp.c (parse_bracket_exp): Initialize type to
3446 COLL_SYM in a couple of places to avoid uninitialized variable
3447 wanings on tilegx gcc 4.8.2.
3448
dc400d7b
RE
34492015-01-07 Richard Earnshaw <rearnsha@arm.com>
3450
3451 * sysdeps/aarch64/strcpy.S: New file.
3452 * sysdeps/aarch64/stpcpy.S: New file.
3453 * NEWS: Updated.
3454
ec582ca0
RE
34552015-01-07 Richard Earnshaw <rearnsha@arm.com>
3456
3457 * sysdeps/aarch64/strrchr.S: New file.
3458 * NEWS: Updated.
3459
d5b1c5ed
EB
34602015-01-07 Eric Biggers <ebiggers3@gmail.com>
3461
3462 [BZ #17658]
3463 * stdlib/setenv.c: Fix memory leak when setting large,
3464 duplicate string.
3465
fb87ee96
VN
34662015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
3467
60f046a8 3468 [BZ #17273]
fb87ee96
VN
3469 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
3470 and tabs from buffer before parsing fstab entry.
3471 * misc/tst-mntent.c (main): Add test for mount entry with
3472 trailing spaces and tabs.
3473
cd42798a
JM
34742015-01-06 Joseph Myers <joseph@codesourcery.com>
3475
01238691
JM
3476 [BZ #17748]
3477 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
3478 * math/fesetround.c (fesetround): Rename to __fesetround and
3479 define as weak alias of __fesetround. Use libm_hidden_weak.
3480 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
3481 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
3482 * sysdeps/arm/fesetround.c (fesetround): Likewise.
3483 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
3484 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
3485 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
3486 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
3487 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
3488 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
3489 __fesetround_inline.
3490 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
3491 __fesetround_inline instead of __fesetround.
3492 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
3493 __fesetround and define as weak alias of __fesetround. Use
3494 libm_hidden_weak. Call __fesetround_inline instead of
3495 __fesetround.
3496 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
3497 __fesetround and define as weak alias of __fesetround. Use
3498 libm_hidden_weak.
3499 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
3500 Likewise.
3501 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
3502 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
3503 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
3504 * sysdeps/tile/math_private.h (__fesetround): New inline function.
3505 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
3506 __fesetround and define as weak alias of __fesetround. Use
3507 libm_hidden_weak.
3508 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
3509 __fesetround instead of fesetround.
3510 (default_libc_feholdexcept_setround): Likewise.
3511 (libc_feholdsetround_ctx): Likewise.
3512 (libc_feholdsetround_noex_ctx): Likewise.
3513
cd42798a
JM
3514 [BZ #17748]
3515 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
3516 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
3517 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
3518 and define as weak alias of __fesetenv. Use libm_hidden_weak.
3519 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
3520 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
3521 define as weak alias of __fesetenv. Use libm_hidden_weak.
3522 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
3523 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
3524 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
3525 define as weak alias of __fesetenv. Use libm_hidden_weak.
3526 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
3527 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
3528 define as weak alias of __fesetenv. Use libm_hidden_weak.
3529 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
3530 libm_hidden_def.
3531 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
3532 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
3533 Likewise.
3534 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
3535 define as weak alias of __fesetenv. Use libm_hidden_weak.
3536 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
3537 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
3538 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
3539 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
3540 and define as weak alias of __fesetenv. Use libm_hidden_weak.
3541 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
3542 __fesetenv instead of fesetenv.
3543 (libc_feresetround_noex_ctx): Likewise.
3544 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
3545 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
3546 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
3547 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
3548 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
3549 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
3550 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
3551 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
3552 (__feupdateenv): Likewise.
3553 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
3554 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
3555 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
3556 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
3557
38949026
AJ
35582015-01-06 Aurelien Jarno <aurelien@aurel32.net>
3559
1cf98e27 3560 [BZ #17806]
38949026
AJ
3561 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
3562 addresses have been freed.
3563
5fe55e9c
AJ
35642015-01-06 Aurelien Jarno <aurelien@aurel32.net>
3565
3566 * resolv/res_init.c (__res_vinit): Improve comments about nserv
3567 and nservall.
3568
dc8ab018
OB
35692015-01-06 Ondřej Bílka <neleai@seznam.cz>
3570
3571 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
3572 Clean up check_pf allocation pattern. addresses
3573
14bb4e57
AZ
35742015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3575
3576 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
3577 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
3578 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
3579 * nptl/pthread_exit.c (__pthread_exit): Likewise.
3580 * nptl/pthread_join.c (pthread_join): Likewise.
3581 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
3582 * sysdeps/posix/waitid.c (__waitid): Likewise.
3583 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
3584 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
3585 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
3586 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
3587 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
3588 Likewise.
3589 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
3590 (__libc_pread64): Likewise.
3591 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
3592 (__libc_pwrite): Likewise.
3593 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
3594 (__libc_pwrite64): Likewsie.
3595 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
3596 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
3597 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
3598 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
3599 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
3600 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
3601 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
3602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
3603 Likewise.
3604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
3605 (__libc_pread64): Likewise.
3606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
3607 Likewise.
3608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
3609 (__libc_pwrite64): Likewise.
3610 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
3611 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
3612 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
3613 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
3614 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
3615 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
3616 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
3617 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
3618 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
3619 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
3620 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
3621 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
3622 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
3623 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
3624 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
3625 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
3626 Likewise.
3627
10a5e112
AS
36282015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
3629
3630 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
3631 (CFLAGS-test-double.c): Likewise.
3632 (CFLAGS-test-ldouble.c): Likewise.
3633 (CPPFLAGS-test-ifloat.c): Likewise.
3634 (CPPFLAGS-test-idouble.c): Likewise.
3635 (CPPFLAGS-test-ildoubl.c): Likewise.
3636 (CFLAGS-test-test-fenv.c): Remove variable.
3637 (CFLAGS-test-misc.c): Likewise.
3638
57ada0e7
L
36392015-01-06 H.J. Lu <hongjiu.lu@intel.com>
3640
3641 [BZ #17797]
3642 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
3643 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
3644 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
3645 CLOCKS_PER_SEC == 1000000.
3646 * time/clocktest.c (main): Replace %ld with %jd and cast to
3647 intmax_t.
3648
46abb64d
RM
36492015-01-05 Roland McGrath <roland@hack.frob.com>
3650
3651 * sysdeps/generic/unwind-resume.h: New file.
3652 * sysdeps/gnu/unwind-resume.c: Include it.
3653 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
3654 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
3655 argument list.
3656 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
3657 global rather than static.
3658 (_Unwind_Resume): Update user.
3659 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
3660 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
3661 rather than static. Add __attribute__ ((cold)).
3662 (_Unwind_Resume, __gcc_personality_v0): Update callers.
3663 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
3664 * sysdeps/arm/arm-unwind-resume.S: New file.
3665 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
3666 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
3667 * sysdeps/arm/Makefile [$(subdir) = csu]
3668 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
3669 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
3670 Add rt-arm-unwind-resume.
3671 [$(subdir) = nptl]
3672 (libpthread-sysdep_routines, libpthread-shared-only-routines):
3673 Add pt-arm-unwind-resume.
3674 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
3675 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
3676
ef9faf13
JM
36772015-01-05 Joseph Myers <joseph@codesourcery.com>
3678
3679 [BZ #17748]
3680 * include/fenv.h (__feholdexcept): Declare. Use
3681 libm_hidden_proto.
3682 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
3683 define as weak alias of __feholdexcept. Use libm_hidden_weak.
3684 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
3685 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
3686 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
3687 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
3688 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
3689 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
3690 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
3691 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
3692 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
3693 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
3694 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
3695 (feholdexcept): Likewise.
3696 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
3697 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
3698 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
3699 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
3700 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
3701 __feholdexcept instead of feholdexcept.
3702 (default_libc_feholdexcept_setround): Likewise.
3703
295a453e
SE
37042015-01-05 Steve Ellcey <sellcey@imgtec.com>
3705
3706 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
3707 to avoid using stl/str to align destination.
3708
882c4b9f
SE
37092015-01-05 Steve Ellcey <sellcey@imgtec.com>
3710
3711 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
3712
ac4c11f5
JM
37132015-01-05 Joseph Myers <joseph@codesourcery.com>
3714
3715 [BZ #17796]
3716 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
3717 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
3718 Define as weak alias not strong alias.
3719
03403e30
SE
37202015-01-05 Steve Ellcey <sellcey@imgtec.com>
3721
3722 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
3723 bltzal with addiupc.
3724 (RTLD_START): Ditto.
3725
1dca195e
CM
37262015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
3727
00b8b9ba
SP
3728 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
3729 for __vdso_* functions in declarations.
3730 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
3731 definitions.
3732 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
3733 INTERNAL_VSYSCALL): Use struct return types to check for error.
7ea793f3 3734
1dca195e
CM
3735 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
3736 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
3737 function with cast from llround().
3738 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
3739 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
3740 Define.
3741
a287953a
JM
37422015-01-05 Joseph Myers <joseph@codesourcery.com>
3743
ab70da77
JM
3744 [BZ #17793]
3745 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
3746 Define as weak alias not strong alias.
3747
b8986484
JM
3748 [BZ #17635]
3749 * ctype/ctype-c99.c: New file. isblank implementation moved from
3750 ...
3751 * ctype/ctype-extn.c: ... here.
3752 (__isblank_l): Move to ...
3753 * ctype/ctype-c99_l.c: ... here. New file.
3754 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
3755 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
3756 Remove variable.
3757 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
3758 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
3759 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
3760 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
3761 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
3762
a287953a
JM
3763 [BZ #17777]
3764 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
3765 (posix_fadvise64): Define as weak alias not strong alias.
3766 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3767 (posix_fallocate64): Likewise.
3768 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
3769 Remove variable.
3770 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
3771 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
3772 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
3773 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
3774 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
3775
b1efe3bb
MF
37762015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
3777
3778 [BZ #16191]
3779 * NEWS: Mention bug fix.
3780 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
3781 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
3782 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
3783 (HOST_STACK_END_ADDR): Likewise.
3784
9706dc5f
JM
37852015-01-02 Joseph Myers <joseph@codesourcery.com>
3786
b93c2205
JM
3787 [BZ #17748]
3788 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
3789 * math/fegetround.c (fegetround): Rename to __fegetround and
3790 define as weak alias of __fegetround. Use libm_hidden_weak.
3791 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
3792 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
3793 * sysdeps/arm/fegetround.c (fegetround): Likewise.
3794 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
3795 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
3796 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
3797 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
3798 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
3799 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
3800 Undefine after rather than before function definition; use
3801 parentheses around function name in definition.
3802 (__fegetround): Also undefine macro after function definition.
3803 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
3804 __fegetround and define as weak alias of __fegetround. Use
3805 libm_hidden_weak. Do not undefine as macro.
3806 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
3807 Likewise.
3808 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
3809 __fegetround and define as weak alias of __fegetround. Use
3810 libm_hidden_weak.
3811 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
3812 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
3813 * sysdeps/tile/math_private.h (__fegetround): New inline function.
3814 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
3815 __fegetround and define as weak alias of __fegetround. Use
3816 libm_hidden_weak.
3817 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
3818 __fegetround instead of fegetround.
3819
253a59cc
JM
3820 [BZ #17782]
3821 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
3822 Condition macro definition on [__USE_MISC].
3823
27dae011
JM
3824 [BZ #17781]
3825 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
3826 (struct sigaction): Change type of sa_flags field to int.
3827
172019c0
JM
3828 [BZ #17780]
3829 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
3830 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
3831 __glibc_reserved0.
3832
522ad1d6
JM
3833 * nptl/version.c (banner): Use single year in copyright notice.
3834
9706dc5f
JM
3835 * NEWS: Update copyright dates.
3836 * catgets/gencat.c (print_version): Likewise.
3837 * csu/version.c (banner): Likewise.
3838 * debug/catchsegv.sh: Likewise.
3839 * debug/pcprofiledump.c (print_version): Likewise.
3840 * debug/xtrace.sh (do_version): Likewise.
3841 * elf/ldconfig.c (print_version): Likewise.
3842 * elf/ldd.bash.in: Likewise.
3843 * elf/pldd.c (print_version): Likewise.
3844 * elf/sotruss.sh: Likewise.
3845 * elf/sprof.c (print_version): Likewise.
3846 * iconv/iconv_prog.c (print_version): Likewise.
3847 * iconv/iconvconfig.c (print_version): Likewise.
3848 * locale/programs/locale.c (print_version): Likewise.
3849 * locale/programs/localedef.c (print_version): Likewise.
3850 * login/programs/pt_chown.c (print_version): Likewise.
3851 * malloc/memusage.sh (do_version): Likewise.
3852 * malloc/memusagestat.c (print_version): Likewise.
3853 * malloc/mtrace.pl: Likewise.
3854 * manual/libc.texinfo: Likewise.
3855 * nptl/version.c (banner): Likewise.
3856 * nscd/nscd.c (print_version): Likewise.
3857 * nss/getent.c (print_version): Likewise.
3858 * nss/makedb.c (print_version): Likewise.
3859 * posix/getconf.c (main): Likewise.
3860 * scripts/test-installation.pl: Likewise.
3861 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
3862
b8607aac
WN
38632015-01-02 Will Newton <will.newton@linaro.org>
3864
3865 * sysdeps/arm/armv7/configure: Removed.
3866 * sysdeps/arm/armv7/configure.ac: Likewise.
3867
b168057a
JM
38682015-01-02 Joseph Myers <joseph@codesourcery.com>
3869
3870 * All files with FSF copyright notices: Update copyright dates
3871 using scripts/update-copyrights.
3872 * intl/plural.c: Regenerated.
3873 * locale/programs/charmap-kw.h: Likewise.
3874 * locale/programs/locfile-kw.h: Likewise.
3875
b217c15f
SP
38762015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3877
3878 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
3879
73a268c7
JM
38802014-12-31 Joseph Myers <joseph@codesourcery.com>
3881
3882 [BZ #17748]
3883 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
3884 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
3885 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
3886 and define as weak alias of __fegetenv. Use libm_hidden_weak.
3887 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3888 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
3889 define as weak alias of __fegetenv. Use libm_hidden_weak.
3890 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
3891 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3892 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
3893 define as weak alias of __fegetenv. Use libm_hidden_weak.
3894 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3895 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
3896 define as weak alias of __fegetenv. Use libm_hidden_weak.
3897 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
3898 libm_hidden_def.
3899 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
3900 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
3901 Likewise.
3902 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
3903 define as weak alias of __fegetenv. Use libm_hidden_weak.
3904 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
3905 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3906 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
3907 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
3908 and define as weak alias of __fegetenv. Use libm_hidden_weak.
3909 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
3910 __fegetenv instead of fegetenv.
3911 (libc_feholdsetround_noex_ctx): Likewise.
3912
0bd95672
MF
39132014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
3914
3915 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
3916 (Elf_MIPS_ABIFlags_v0): New structure.
3917 (EF_MIPS_FP64): Define.
3918 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
3919 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
3920 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
3921 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
3922 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
3923 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
3924 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
3925 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
3926 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
3927 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
3928 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
3929 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
3930 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
3931 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
3932 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
3933 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
3934 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
3935 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
3936 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
3937 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
3938 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
3939 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
3940 field.
3941 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
3942 EF_MIPS_FP64.
3943 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
3944 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
3945 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
3946 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
3947 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
3948 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
3949 * sysdeps/mips/tst-abi-interlink.c: Likewise.
3950 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
3951 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
3952 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
3953 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
3954 record the current FP ABI extension.
3955 (mips-mode-switch): Define to show if kernel headers support mode
3956 switching.
3957 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
3958 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
3959 supported SYSV ABI version to 3.
3960 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
3961 feature.
3962
f59ad976
RS
39632014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3964 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3965
3966 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
3967 path.
3968 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
3969
4a3d3999
JM
39702014-12-31 Joseph Myers <joseph@codesourcery.com>
3971
3972 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
3973 __fegetround and redefine to call __fegetround. Remove condition
3974 on [!__NO_MATH_INLINES].
3975 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
3976 function.
3977 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
3978 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
3979 Remove macro.
3980 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
3981 instead of <fenv_libc.h>.
3982 (__llrintl): Call fegetround instead of __fegetround.
3983 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
3984 instead of <fenv_libc.h>.
3985 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
3986 (__lrintl): Call fegetround instead of __fegetround.
3987 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
3988 instead of <fenv_libc.h>.
3989 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
3990 (__rintl): Call fegetround instead of __fegetround.
3991
195f3afc
SP
39922014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
3993
3994 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
3995 arrays.
3996
7062bd42
L
39972014-12-30 H.J. Lu <hongjiu.lu@intel.com>
3998
3999 [BZ #17775]
4000 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
4001 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
4002 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
4003
07256e18
AS
40042014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
4005
4006 * sysdeps/i386/tls-macros.h: Include <features.h>.
4007 (TLS_LE): Use non-PIC version for GCC >= 5.0.
4008 (TLS_IE): Likewise.
4009 (TLS_LD): Likewise.
4010 (TLS_GD): Likewise.
4011 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
4012 define for GCC >= 5.0.
4013
1ff950ad
CM
40142014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
4015
4016 * math/test-fenv.c (test_single_exception, set_single_exc,
4017 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
4018 feexcp_mask_test, feenable_test, fe_single_test): Add
4019 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
4020 case where they are not used.
4021 * math/libm-test.inc: Likewise.
4022 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
4023 unused in the absence of FP rounding/exception support.
4024 * stdio-common/tst-printf-round.c: Likewise.
4025 * stdlib/tst-strtod-round.c: Likewise.
4026 * stdlib/tst-strtod-underflow.c: Likewise.
4027
0747f818
JM
40282014-12-30 Joseph Myers <joseph@codesourcery.com>
4029
4030 [BZ #17723]
4031 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
4032 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
4033 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
4034 __feraiseexcept and define as weak alias of __feraiseexcept. Use
4035 libm_hidden_weak.
4036 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
4037 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
4038 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
4039 libm_hidden_def.
4040 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
4041 __feraiseexcept and define as weak alias of __feraiseexcept. Use
4042 libm_hidden_weak.
4043 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
4044 Likewise.
4045 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
4046 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
4047 __feraiseexcept and define as weak alias of __feraiseexcept. Use
4048 libm_hidden_weak.
4049 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
4050 libm_hidden_def.
4051 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
4052 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
4053 (__feraiseexcept): Likewise.
4054 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
4055 __feraiseexcept and define as weak alias of __feraiseexcept. Use
4056 libm_hidden_weak.
4057 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
4058 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
4059 libm_hidden_def.
4060 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
4061 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
4062 Use libm_hidden_def.
4063 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
4064 libm_hidden_def.
4065 (feraiseexcept): Define as weak not strong alias. Use
4066 libm_hidden_weak.
4067 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
4068 New inline function. Factored out of ...
4069 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
4070 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
4071 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
4072 feraiseexcept.
4073 * math/w_acos.c (__acos): Likewise.
4074 * math/w_asin.c (__asin): Likewise.
4075 * math/w_ilogb.c (__ilogb): Likewise.
4076 * math/w_j0.c (y0): Likewise.
4077 * math/w_j1.c (y1): Likewise.
4078 * math/w_jn.c (yn): Likewise.
4079 * math/w_log.c (__log): Likewise.
4080 * math/w_log10.c (__log10): Likewise.
4081 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
4082 * sysdeps/aarch64/fpu/math_private.h
4083 (libc_feupdateenv_test_aarch64): Likewise.
4084 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
4085 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
4086 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
4087 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
4088 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
4089 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
4090 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
4091 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
4092 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
4093 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
4094
8d2b2763
L
40952014-12-30 H.J. Lu <hongjiu.lu@intel.com>
4096
4097 [BZ #17732]
4098 * io/test-utime.c (main): Replace %ld with %jd and cast to
4099 intmax_t.
41fad830 4100 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
e401d5ca
L
4101 * nptl/tst-mutex5.c: Include <stdint.h>.
4102 (do_test): Replace %ld with %jd and cast to intmax_t.
6490d945
L
4103 * posix/tst-regex.c (run_test): Likewise.
4104 (run_test_backwards): Likewise.
5d619de4
L
4105 * rt/tst-clock.c: Include <stdint.h>.
4106 (clock_test): Replace %ld with %jd and cast to intmax_t.
4107 * rt/tst-cpuclock1.c: Include <stdint.h>.
4108 (do_test): Replace %lu with %ju and cast to uintmax_t.
4109 * rt/tst-cpuclock2.c: Include <stdint.h>.
4110 (do_test): Replace %lu with %ju and cast to uintmax_t.
4111 * rt/tst-mqueue1.c: Include <stdint.h>.
4112 (check_attrs): Replace %ld with %jd and cast to intmax_t.
4113 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
4114 intmax_t.
4115 * rt/tst-mqueue4.c (do_test): Likewise.
4116 * rt/tst-timer4.c: Include <stdint.h>.
4117 (check_ts): Replace %ld with %jd and cast to intmax_t.
4118 (do_test): Likewise.
ad86fbc3
L
4119 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
4120 and cast to intmax_t.
37f46900 4121 * sysdeps/pthread/tst-timer.c (main): Likewise.
fe342f50
L
4122 * time/clocktest.c (main): Likewise.
4123 * time/tst-posixtz.c (do_test): Likewise.
126f6c72 4124 * timezone/tst-timezone.c (main): Likewise.
8d2b2763 4125
8b4416d8
AS
41262014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
4127 H.J. Lu <hongjiu.lu@intel.com>
4128
4129 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
4130 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
4131 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
4132 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
4133 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
4134 version if bit_Fast_Unaligned_Load is set.
4135 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4136 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4137 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4138 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4139 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4140 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4141 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
4142 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
4143 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
4144 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
4145 to 4.
4146 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
4147 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
4148 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
4149 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
4150
e47b8d3b
CM
41512014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
4152
6d6d7fde
CM
4153 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
4154 instead of #if to avoid a Wundef warning.
4155 * stdlib/tst-limits.c (do_test): Likewise.
4156
cd2c37c9
CM
4157 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
4158 parallel other exception macros.
4159 (fegetenv): Convert from macro to extern inline so that it applies
4160 retroactively to inline functions already seen by the compiler.
4161 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
4162
e47b8d3b
CM
4163 * posix/Makefile (before-compile): Use $(objpfx) for
4164 posix-conf-vars-def.h.
4165
4a6aca7b
SP
41662014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4167
7910c2ae
SP
4168 * posix/getconf.c (main): Use size_t for type of I.
4169 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
4170 NSPEC.
4171
50cbbaa9
SP
4172 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
4173 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
4174 * posix/posix-envs.def: Likewise.
4175 * sysdeps/posix/sysconf.c: Likewise.
4176 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
4177 (specs): Remove array.
4178 * scripts/gen-posix-conf-vars.awk: Support generation of specs
4179 array.
4180
3b566046
SP
4181 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
4182 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
4183 (__sysconf): Use CONF_IS_* macros.
4184
4a6aca7b
SP
4185 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
4186 ($(objpfx)posix-conf-vars-def.h): New target.
4187 * posix/posix-conf-vars.list: New file.
4188 * posix/posix-conf-vars.h: New file.
4189 * posix/confstr.c: Include posix-conf-vars.h.
4190 (confstr): Use CONF_IS_* macros.
4191 * posix/posix-envs.def: Include posix-conf-vars.h. Use
4192 CONF_IS_* macros.
4193 * scripts/gen-posix-conf-vars.awk: New file.
4194
7c1395a7
CM
41952014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
4196
0025b4cc
CM
4197 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
4198 fegetround): Add no-op macros to avoid linknamespace issues.
4199
d8aaf74b
CM
4200 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
4201 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
4202
5d24aa60
CM
4203 * sysdeps/unix/sysv/linux/tile/sysdep.h
4204 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
4205 assembly-specific section to avoid a redefinition warning.
4206
7c1395a7
CM
4207 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
4208 long before casting to pointer to avoid a cast warning.
4209
3c87c616
CM
42102014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
4211
4212 * sysdeps/tile/tilegx/Implies: New file.
4213
f559d8cf
RE
42142014-12-23 Richard Earnshaw <rearnsha@arm.com>
4215
4216 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
4217
7d81e8d6
FW
42182014-12-23 Florian Weimer <fweimer@redhat.com>
4219
4220 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
4221
90aa3d09
JM
42222014-12-22 Joseph Myers <joseph@codesourcery.com>
4223
4224 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
4225 not define.
4226 * sysdeps/unix/sysv/linux/utimes.c: Do not include
4227 <kernel-features.h>.
4228 (__utimes) [__NR_utimes]: Make code unconditional.
4229 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
4230 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4231 (__ASSUME_UTIMES): Do not undefine.
4232 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4233 (__ASSUME_UTIMES): Likewise.
4234 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4235 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
4236 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
4237 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
4238
4c0c0e2a
SE
42392014-12-22 Steve Ellcey <sellcey@imgtec.com>
4240
4241 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
4242
0dacd7a3
CM
42432014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
4244
b638f96a
CM
4245 [BZ #17747]
4246 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
4247 alias to weak alias for j0l, y0l.
4248 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
4249 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
4250
0dacd7a3
CM
4251 [BZ #17746]
4252 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
4253 conversion.
4254
528479c4
SE
42552014-12-22 Steve Ellcey <sellcey@imgtec.com>
4256
4257 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
4258 to zero if not already defined.
4259
f56f9124
JM
42602014-12-22 Joseph Myers <joseph@codesourcery.com>
4261
4262 [BZ #17724]
4263 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
4264 (__kernel_standard_f): Remove. Moved to k_standardf.c.
4265 (__kernel_standard_l): Remove. Moved to k_standardl.c with
4266 (char *) casts added.
4267 * sysdeps/ieee754/k_standardf.c: New file.
4268 * sysdeps/ieee754/k_standardl.c: Likewise.
4269 * math/Makefile (libm-support): Remove k_standard.
4270 (libm-calls): Add k_standard.
4271
8622d556
WD
42722014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
4273
4274 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
4275 Optimize to avoid an unnecessary FPCR read.
4276
f3806bdb
WD
42772014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
4278
4279 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
4280 Optimize to reduce FPCR/FPSR accesses.
4281
9b47df58
WD
42822014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
4283
4284 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
4285 Call libc_fetestexcept_aarch64.
4286
97be3cac
WD
42872014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
4288
4289 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
4290 Call libc_fesetround_aarch64.
4291
935ab817
JM
42922014-12-22 Joseph Myers <joseph@codesourcery.com>
4293
4294 [BZ #17733]
4295 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
4296 (__bind): Do not define as weak alias.
4297 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
4298 define.
4299 (__getsockname): Do not define as weak alias.
4300
cc8623f1
WN
43012014-12-22 Will Newton <will.newton@linaro.org>
4302
4303 * manual/install.texi: Document that we require bison 2.7
4304 or above.
4305 * INSTALL: Regenerate.
4306 * configure.ac: Use AC_CHECK_PROG_VER instead of
4307 AC_PATH_PROG when checking for bison and check for
4308 version 2.7 or above.
4309 * configure: Regenerate.
4310
a19ca65a
CM
43112014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
4312
92901170 4313 [BZ #17745]
e969965a
CM
4314 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
4315 * sysdeps/tile/ffsll.c (ffsll): To here.
4316
a19ca65a
CM
4317 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
4318
050f7298
L
43192014-12-21 H.J. Lu <hongjiu.lu@intel.com>
4320
4321 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
4322 if not defined.
4323 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
4324 definition.
4325 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
4326 hidden ___tls_get_addr.
4327 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
4328 hidden __tls_get_addr.
4329 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
4330 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
4331 Likewise.
4332
6df5547e
AS
43332014-12-21 Andreas Schwab <schwab@linux-m68k.org>
4334
4335 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
4336 _dl_init call.
4337
7432d613
L
43382014-12-21 H.J. Lu <hongjiu.lu@intel.com>
4339
4340 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
4341 from "call _dl_init@PLT".
4342 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
7432d613 4343
98fe149e
AK
43442014-12-21 Anders Kaseorg <andersk@mit.edu>
4345
4346 * manual/search.texi: (Array Sort Function): Clarify stable sorting
4347 guarantees.
4348
d12455f5
CM
43492014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
4350
4351 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
4352
95dee05f
CM
43532014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
4354
92901170 4355 [BZ #17744]
95dee05f
CM
4356 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
4357 strnlen.
4358
2ef4b74a
SE
43592014-12-19 Steve Ellcey <sellcey@imgtec.com>
4360
4361 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
4362 of multu on MIPSr6.
4363 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
4364 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
4365 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
4366 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
4367 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
4368
43692014-12-19 Steve Ellcey <sellcey@imgtec.com>
4370
4371 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
4372 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
4373 (PTR_SUBU): Use subu for mips32r6/mips64r6.
4374 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
9d1fc928 4375 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
2ef4b74a
SE
4376 mips32r6/mips64r6.
4377 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
4378
3eb38795
OB
43792014-12-19 Ondřej Bílka <neleai@seznam.cz>
4380
4381 * string/strncat.c (STRNCAT): Simplify implementation.
4382
6d4188dd
DM
43832014-12-19 David S. Miller <davem@davemloft.net>
4384
0d4ba8be
DM
4385 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
4386 access the quad as both a long double and as a series of 4 words.
4387
6d4188dd
DM
4388 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
4389 link_map->l_info array access.
4390
4ef91cdc
CM
43912014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
4392
804c54f7
CM
4393 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
4394
4ef91cdc
CM
4395 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
4396 * math/atest-exp2.c (TIMEOUT): Likewise.
4397 * math/atest-sincos.c (TIMEOUT): Likewise.
4398
afd176d6
L
43992014-12-19 H.J. Lu <hongjiu.lu@intel.com>
4400
4401 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
4402 -Wno-error with -fno-builtin-lround.
4403
a4a43a90
TR
44042014-12-19 Torvald Riegel <triegel@redhat.com>
4405
4406 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
4407 Contains futex constants and functions moved over from ...
4408 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
4409 <lowlevellock-futex.h>.
4410 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
4411 (lll_timedwait_tid): Add comments and parentheses around macro
4412 arguments.
4413
76f71081
TR
44142014-12-19 Torvald Riegel <triegel@redhat.com>
4415
4416 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
4417 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
4418 (__lll_private_flag): Remove.
4419 (lll_futex_wait): Likewise.
4420 (lll_futex_timed_wait): Likewise.
4421 (lll_futex_wake): Likewise.
4422 (lll_futex_requeue): Likewise.
4423 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
4424 (__lll_timedwait_tid): Spell out argument names.
4425 (lll_timedwait_tid): Add comments and parentheses around macro
4426 arguments.
4427 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
4428 LLL_SHARED and LLL_PRIVATE usable from assembly code.
4429
6b814909
TR
44302014-12-19 Torvald Riegel <triegel@redhat.com>
4431
4432 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
4433 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
4434 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
4435 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
4436 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
4437 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
4438 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
4439 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
4440 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
4441 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
4442 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
4443 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
4444 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
4445 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
4446 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
4447 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
4448 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
4449 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
4450 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
4451
9cd4d4ab
L
44522014-12-19 H.J. Lu <hongjiu.lu@intel.com>
4453
4454 * sysdeps/x86_64/x32/Makefile: New file.
4455
c9c1a2d0
L
44562014-12-19 H.J. Lu <hongjiu.lu@intel.com>
4457
4458 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
4459 1L with (mp_limb_t) 1.
4460
af102d95
RM
44612014-12-17 Roland McGrath <roland@hack.frob.com>
4462
dd690454
RM
4463 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
4464 * nptl/libc_pthread_init.c: ... here.
4465 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
4466 * nptl/register-atfork.c: ... here.
4467
74eb826c
RM
4468 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
4469 Use pthread_sigmask rather than INTERNAL_SYSCALL.
4470 Use assert_perror to check its return value.
4471 (__gai_create_helper_thread): Likewise.
4472
c9ce306b
RM
4473 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
4474
af102d95
RM
4475 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
4476
8ac5a76a
JM
44772014-12-17 Joseph Myers <joseph@codesourcery.com>
4478
ea41469b
JM
4479 [BZ #17725]
4480 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
4481 __profil_counter.
4482 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
4483 Likewise.
4484 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
4485 Likewise.
4486 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
4487 Likewise.
4488 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
4489 (profil_counter): Likewise.
4490 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
4491 (profil_counter): Likewise.
4492 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
4493 Likewise.
4494 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
4495 Likewise.
4496 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
4497 (profil_counter): Likewise.
4498 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
4499 Likewise.
4500 [!__profil_counter] (profil_counter): Define as weak alias of
4501 __profil_counter.
4502 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
4503 (profil_counter): Rename to __profil_counter.
4504 [!__profil_counter] (profil_counter): Define as weak alias of
4505 __profil_counter.
4506 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
4507 (profil_counter): Rename to __profil_counter.
4508 [!__profil_counter] (profil_counter): Define as weak alias of
4509 __profil_counter.
4510 * sysdeps/posix/profil.c: Update comment referring to
4511 profil_counter.
4512 (__profil): Use __profil_counter instead of profil_counter.
4513 * sysdeps/posix/sprofil.c (profil_counter): Rename to
4514 __profil_counter. Use __profil_counter_ushort and
4515 __profil_counter_uint in definitions.
4516 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
4517 instead of profil_counter_uint and profil_counter_ushort.
4518
8ac5a76a
JM
4519 [BZ #17722]
4520 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
4521 define as weak alias of __inet_makeaddr.
4522 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
4523 as weak alias of __inet_addr.
4524 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
4525 as weak alias of __inet_pton. Use libc_hidden_weak.
4526 * include/arpa/inet.h (__inet_pton): Declare. Use
4527 libc_hidden_proto.
4528 (inet_makeaddr): Don't use libc_hidden_proto.
4529 (__inet_makeaddr): Declare. Use libc_hidden_proto.
4530 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
4531 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
4532 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
4533 Remove variable.
4534 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
4535 (test-xfail-POSIX/time.h/linknamespace): Likewise.
4536
66ce3cb1
SE
45372014-12-17 Steve Ellcey <sellcey@imgtec.com>
4538
4539 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
4540
d22ce01b
SL
45412014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
4542
4543 * stdio-common/bug-vfprintf-nargs.c (do_test):
4544 Cast value to intptr_t to avoid format warning
4545 for usage with PRIdPTR printing macro.
4546
eca2772b
SL
45472014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
4548
4549 * libio/tst-widetext.c (do_test):
4550 Use format type %td instead of %Zd for ptrdiff_t
4551 in order to avoid format warning.
4552
bdf079da
AS
45532014-12-17 Andreas Schwab <schwab@suse.de>
4554
4555 * nscd/mem.c (gc): Add size_t cast to match printf format.
4556
3eb5d2fc
RM
45572014-12-16 Roland McGrath <roland@hack.frob.com>
4558
4559 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
4560 (init): Apply PTR_MANGLE to pointers before storing them.
4561 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
4562 before using them.
4563
d003ada2
JM
45642014-12-16 Joseph Myers <joseph@codesourcery.com>
4565
380292ba
JM
4566 [BZ #17719]
4567 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
4568 define as weak alias of __memrchr.
4569 (__memrchr): Do not define as strong alias of memrchr.
4570 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
4571 Remove variable.
4572 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
4573 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
4574 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
4575
9a44d530
JM
4576 [BZ #17717]
4577 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
4578 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
4579 (if_indextoname): Rename to __if_indextoname and define as weak
4580 alias of __if_indextoname. Use libc_hidden_weak.
4581 (if_freenameindex): Rename to __if_freenameindex and define as
4582 weak alias of __if_freenameindex.
4583 (if_nameindex): Rename to __if_nameindex and define as weak alias
4584 of __if_nameindex.
4585 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
4586 __if_nametoindex and define as weak alias of __if_nametoindex.
4587 Use libc_hidden_weak.
4588 (if_freenameindex): Rename to __if_freenameindex and define as
4589 weak alias of __if_freenameindex.
4590 (if_nameindex): Rename to __if_nameindex and define as weak alias
4591 of __if_nameindex.
4592 (if_indextoname): Rename to __if_indextoname and define as weak
4593 alias of __if_indextoname. Use libc_hidden_weak.
4594 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
4595 __if_nametoindex and define as weak alias of __if_nametoindex.
4596 Use libc_hidden_weak.
4597 (if_freenameindex): Rename to __if_freenameindex and define as
4598 weak alias of __if_freenameindex. Use libc_hidden_weak.
4599 (if_nameindex_netlink): Use __if_freenameindex instead of
4600 if_freenameindex.
4601 (if_nameindex): Rename to __if_nameindex and define as weak alias
4602 of __if_nameindex. Use libc_hidden_weak.
4603 (if_indextoname): Rename to __if_indextoname and define as weak
4604 alias of __if_indextoname. Use libc_hidden_weak.
4605 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
4606 libc_hidden_proto.
4607 [!_ISOMAC] (__if_freenameindex): Likewise.
4608 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
4609 if_nametoindex.
4610 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
4611 variable.
4612 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
4613 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
4614 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
4615 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
4616 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
4617 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
4618 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
4619
d003ada2
JM
4620 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
4621 Remove variable.
4622 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
4623 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
4624
a0d424ef
SP
46252014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4626
0cd85520
SP
4627 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
4628 subscript above bounds'
4629
a0d424ef
SP
4630 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
4631 bounds.
4632
0e426475
AS
46332014-12-16 Arjun Shankar <arjun.is@lostca.se>
4634
8b460906
AS
4635 * libio/tst-fopenloc.c: Use test-skeleton.c.
4636
fa13e15b
AS
4637 * stdlib/tst-bsearch.c: Use test-skeleton.c.
4638 (entry): Rename to ITEM.
4639 (do_test, comp): Adjust.
4640
0e426475
AS
4641 * stdio-common/tst-fseek.c: Use test-skeleton.c.
4642
4f646bce
TR
46432014-12-16 Torvald Riegel <triegel@redhat.com>
4644
4645 * string/tester.c: Include <libc-internal.h>.
4646 (test_memset): Ignore -Wmemset-transposed-args.
4647
a07c4427
TR
46482014-12-16 Torvald Riegel <triegel@redhat.com>
4649
4650 * misc/tst-mntent2.c (do_test): Fix warning.
4651
1469f466
TR
46522014-12-16 Torvald Riegel <triegel@redhat.com>
4653
4654 * elf/tst-unique4lib.cc(a): Mark as used.
4655
11e3417a
FW
46562014-12-16 Florian Weimer <fweimer@redhat.com>
4657
4658 [BZ #17630]
4659 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
4660 names.
4661
ae61fc7b
AM
46622014-12-16 Allan McRae <allan@archlinux.org>
4663
4664 * stdio-common/Makefile (tests): Re-add bug26.
4665
363a9899
OB
46662014-12-15 Ondřej Bílka <neleai@seznam.cz>
4667
4668 [BZ #17657]
4669 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
4670 static array.
4671
d52c62df
TR
46722014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
4673
4674 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
4675 (__lll_lock_wait): Likewise.
4676 (__lll_timedlock_wait): Likewise.
4677 (__lll_timedwait_tid): Likewise.
4678 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
4679 (__lll_robust_timedlock_wait): Likewise.
4680 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
4681 (lll_cond_trylock): Likewise.
4682 (__lll_lock): Likewise.
4683 (__lll_robust_lock): Likewise.
4684 (__lll_cond_lock): Likewise.
4685 (lll_robust_cond_lock): Likewise.
4686 (__lll_timedlock): Likewise.
4687 (__lll_robust_timedlock): Likewise.
4688 (__lll_unlock): Likewise.
4689 (__lll_robust_unlock): Likewise.
4690 (lll_wait_tid): Likewise.
4691 (lll_timedwait_tid): Likewise.
4692
045a6bcd
TR
46932014-12-15 Torvald Riegel <triegel@redhat.com>
4694
4695 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
4696
7f786dc1
TR
46972014-12-15 Torvald Riegel <triegel@redhat.com>
4698
4699 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
4700
e7e21cba
AZ
47012014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
4702
4703 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
4704 * stdio-common/tst-sprintf.c: Likewise.
4705
bc89c0fc
TR
47062014-12-15 Torvald Riegel <triegel@redhat.com>
4707
4708 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
4709
a5357b7c
JL
47102014-12-15 Jeff Law <law@redhat.com>
4711
4712 [BZ #16617]
4713 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
4714 on the heap. (CVE-2012-3406)
4715 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
4716 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
4717 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
4718
3a12c70f
WN
47192014-12-15 Will Newton <will.newton@linaro.org>
4720
4721 * manual/install.texi: Bump required version of texinfo
4722 to 4.7 from 4.5.
4723 * INSTALL: Regenerated.
4724 * configure.ac: Check for makeinfo version 4.7 and above.
4725 * configure: Regenerated.
4726
e4f639e4
RM
47272014-12-12 Roland McGrath <roland@hack.frob.com>
4728
4729 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
4730 PREFIX, string constant to insert between directory and name.
4731 * sysdeps/posix/shm_open.c: Update caller.
4732 * sysdeps/posix/shm_unlink.c: Likewise.
4733 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
4734 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
4735 (SEM_SHM_PREFIX): New macro.
4736 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
4737 [$(have-thread-library) = no].
4738 * nptl/Makefile (libpthread-routines): Add shm-directory.
4739 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
4740 * sysdeps/nptl/shm-directory.h: New file.
4741 * sysdeps/posix/shm-directory.c
4742 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
4743 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
4744 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
4745 INTERNAL_SYSCALL.
4746 (__where_is_shmfs): Function removed.
4747 (mountpoint, defaultmount, defaultdir, __namedsem_once):
4748 Variables removed.
4749 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
4750 Use SHM_GET_NAME.
4751 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
4752
4753 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
4754 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
4755 unconditional for use inside libpthread.
4756 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
4757
439c43f6
RM
47582014-12-12 Roland McGrath <roland@hack.frob.com>
4759
c76d1ff5
RM
4760 * nptl/pthread_getaffinity.c: New file.
4761 * nptl/pthread_setaffinity.c: New file.
4762 * nptl/pthread_getname.c: New file.
4763 * nptl/pthread_setname.c: New file.
4764
439c43f6
RM
4765 * nptl/pthread_create.c (START_THREAD_DEFN)
4766 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
4767
48e435cd
SL
47682014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
4769 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4770
4771 * resolv/res_send.c (send_vc): Disable warning resplen may
4772 be used uninitialized.
4773
9d9c0019
SL
47742014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
4775
4776 * nptl/tst-mutex6.c
4777 (ATTR_NULL): New define checks ATTR against NULL.
4778 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
4779 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
4780
9173840b
JL
47812014-12-11 James Lemke <jwlemke@codesourcery.com>
4782
4783 [BZ #17581]
4784 * malloc/hooks.c
4785 (mem2mem_check): Revert my previous change.
4786 (malloc_check_get_size): Revert my previous change.
4787 (mem2chunk_check): Revert my previous change.
4788
78e21c5d
RM
47892014-12-11 Roland McGrath <roland@hack.frob.com>
4790
4791 * sysdeps/posix/shm-directory.c: New file.
4792 * sysdeps/posix/shm-directory.h: New file.
4793 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
4794 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
4795 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
4796 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
4797 Transmute EPERM to EACCES.
4798 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
4799 from ...
4800 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
4801 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
4802
f82c43af
KK
48032014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4804
4805 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
4806 pointer and cast to uintptr_t.
4807 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
4808 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
4809 Add cast to avoid warning.
4810 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
4811
fc00cf7b
JM
48122014-12-11 Joseph Myers <joseph@codesourcery.com>
4813
4814 * nptl/semaphore.h: Move to ...
4815 * sysdeps/pthread/semaphore.h: ... here.
4816 * Makefile (installed-headers): Change nptl/semaphore.h to
4817 sysdeps/pthread/semaphore.h.
4818
1c4053db
RM
48192014-12-11 Roland McGrath <roland@hack.frob.com>
4820
73b0c1a1
RM
4821 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
4822 generated error format strings.
4823
1c4053db
RM
4824 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
4825 -Wformat-extra-args warnings for scanf formats.
4826 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
4827 test of zero-length format (duh).
4828 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
4829 corner-case scanf format test.
4830 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
4831 generated fprintf format string.
4832 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
4833 corner-case sprintf format tests.
4834 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
4835 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
4836 -Wformat-extra-args warnings throughout.
4837 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
4838 (CFLAGS-scanf4.c): Likewise.
4839 (CFLAGS-scanf7.c): Likewise.
4840 (CFLAGS-tst-sprintf.c): Likewise.
4841 (CFLAGS-tst-printf.c): Likewise.
4842 (CFLAGS-tst-printfsz.c): Likewise.
4843
47d51f4f
JM
48442014-12-11 Joseph Myers <joseph@codesourcery.com>
4845
a1edbf3c
JM
4846 * include/cpio.h: New file.
4847 * include/fmtmsg.h: Likewise.
4848
47d51f4f
JM
4849 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
4850 corresponding format argument to size_t.
4851 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
4852 arguments.
4853 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
4854 corresponding format argument to size_t.
4855 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
4856 arguments.
4857 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
4858 corresponding format argument to size_t.
4859 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
4860 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
4861 (CFLAGS-tst-mbswcs2.c): Likewise.
4862 (CFLAGS-tst-mbswcs3.c): Likewise.
4863 (CFLAGS-tst-mbswcs4.c): Likewise.
4864 (CFLAGS-tst-mbswcs5.c): Likewise.
4865 (CFLAGS-tst-trans.c): Likewise
4866
e9813cfb
RM
48672014-12-11 Roland McGrath <roland@hack.frob.com>
4868
4869 * posix/regexbug1.c (main): Use "%s" format with regerror results,
4870 rather than assuming they won't contain any '%'s.
4871
f627ca82
CM
48722014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
4873
4874 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
4875 inhibit_loop_to_libcall to avoid recursive calls.
4876 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
4877 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
4878
7f296942
AZ
48792014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
4880
4881 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
4882 prototype.
4883
d0276e18
SE
48842014-12-11 Steve Ellcey <sellcey@imgtec.com>
4885
4886 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
4887 integer value instead of boolean.
4888
fc56e970
SE
48892014-12-11 Steve Ellcey <sellcey@imgtec.com>
4890
4891 * malloc/malloc.c: Fix powerof2 check.
4892
40e53917
SL
48932014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
4894
4895 * locale/programs/locfile.h (maybe_swap_uint32):
4896 Remove inline and add unused attribute.
4897
1ea166df
SL
48982014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
4899
9d9c0019 4900 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
1ea166df
SL
4901 Truncating assembler expression to a .long expression.
4902
acf869f4
AS
49032014-12-11 Andreas Schwab <schwab@suse.de>
4904
4905 * elf/rtld.c (struct map_args): Constify str member.
4906 (do_preload): Constify fname argument.
4907
9d969099
AZ
49082014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4909
4910 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
4911 constants definition.
4912
da5bcaa4
AS
49132014-12-11 Andreas Schwab <schwab@suse.de>
4914
b0a3c164
AS
4915 [BZ #16657]
4916 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
4917 FORCE_ELISION instead of DO_ELISION.
4918 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
4919 Remove.
4920 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
4921 Likewise.
4922
da5bcaa4
AS
4923 * iconvdata/gconv-modules: Remove duplicate entry.
4924
6d248857
WN
49252014-12-11 Will Newton <will.newton@linaro.org>
4926
4927 Merge gettext 0.19.3 into intl/.
4928
4929 This involves a number of cosmetic changes to comments
4930 and ANSI function definitions and prototypes throughout
4931 all the files. The gettext copyright header is used but
4932 with the date ranges taken from the glibc copy.
4933
4934 * NEWS: Add gettext merge to 2.21.
4935 * intl/bindtextdom.c: Switch to gettext copyright.
4936 Use ANSI definitions and prototypes.
4937 Use gl_* locking primitives rather than __libc_* ones.
4938 Use __builtin_expect rather than __glibc_likely/unlikely.
4939 * intl/dcgettext.c: Switch to gettext copyright.
4940 Use ANSI definitions and prototypes.
4941 * intl/dcigettext.c: Switch to gettext copyright.
4942 Use ANSI definitions and prototypes.
4943 (INTDIV0_RAISES_SIGFPE): New define.
4944 Use gl_* locking primitives rather than __libc_* ones.
4945 Include eval-plural.h instead of plural-eval.c.
4946 Use __builtin_expect rather than __glibc_likely/unlikely.
4947 * intl/dcngettext.c: Switch to gettext copyright.
4948 Use ANSI definitions and prototypes.
4949 * intl/dgettext.c: Likewise.
4950 * intl/dngettext.c: Likewise.
4951 * intl/plural-eval.c: Renamed to...
4952 * intl/eval-plural.h: ...this.
4953 * intl/explodename.c: Switch to gettext copyright.
4954 Use ANSI definitions and prototypes.
4955 (_nl_explode_name): Use strchr instead of __rawmemchr.
4956 * intl/finddomain.c: Switch to gettext copyright.
4957 Use ANSI definitions and prototypes.
4958 Use gl_* locking primitives rather than __libc_* ones.
4959 (_nl_find_domain): Use malloc rather than alloca for
4960 allocation of temporary locale name.
4961 * intl/gettext.c: Switch to gettext copyright.
4962 Use ANSI definitions and prototypes.
4963 * intl/gettextP.h: Switch to gettext copyright.
4964 Use ANSI definitions and prototypes.
4965 Use gl_* locking primitives rather than __libc_* ones.
4966 * intl/gmo.h: Switch to gettext copyright.
4967 (struct sysdep_string): Move struct segment_pair outside of
4968 struct definition.
4969 * intl/hash-string.c: Use ANSI definitions and prototypes.
4970 * intl/hash-string.h: Switch to gettext copyright.
4971 Use ANSI definitions and prototypes.
4972 * intl/l10nflist.c: Switch to gettext copyright.
4973 Use ANSI definitions and prototypes.
4974 (_nl_normalize_codeset): Avoid integer overflow.
4975 * intl/loadinfo.h: Switch to gettext copyright.
4976 Use ANSI definitions and prototypes.
4977 (LIBINTL_DLL_EXPORTED): New define.
4978 (PATH_SEPARATOR): New define.
4979 * intl/loadmsgcat.c: Switch to gettext copyright.
4980 * intl/localealias.c: Switch to gettext copyright.
4981 Use ANSI definitions and prototypes.
4982 (_nl_expand_alias): Use PATH_SEPARATOR.
4983 * intl/ngettext.c: Switch to gettext copyright.
4984 Use ANSI definitions and prototypes.
4985 * intl/plural-exp.c: Likewise.
4986 * intl/plural-exp.h: Switch to gettext copyright.
4987 Use ANSI definitions and prototypes.
4988 (struct expression): Move definition of enum operator outside
4989 of struct definition.
4990 * intl/plural.c: Regenerate.
4991 * intl/plural.y: Switch to gettext copyright.
4992 Use ANSI definitions and prototypes.
4993 Port to bison 3.0.
4994 * intl/textdomain.c: Switch to gettext copyright.
4995 Use ANSI definitions and prototypes.
4996 Use gl_* locking primitives rather than __libc_* ones.
4997
48c43298
SE
49982014-12-10 Steve Ellcey <sellcey@imgtec.com>
4999
5000 * debug/warning-nop.c: Add used atrribute.
5001
2b89bce9
JM
50022014-12-10 Joseph Myers <joseph@codesourcery.com>
5003
c153ac9f
JM
5004 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
5005
2b89bce9
JM
5006 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
5007 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
5008 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
5009
2cfbdb9a
JM
50102014-12-10 Joseph Myers <joseph@codesourcery.com>
5011 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5012
5013 [BZ #17634]
5014 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
5015 Undefine after defining function. Define as weak alias of
5016 __wcschr. Use libc_hidden_weak.
5017 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
5018 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
5019 (libc_hidden_def): Also define __GI___wcschr alias.
5020 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
5021 __wcschr and define as weak alias of __wcschr.
5022 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
5023 __wcschr.
5024 [!WCSCHR] (DEFAULT_WCSCHR): Define.
5025 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
5026 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
5027 libc_hidden_weak. Do not use libc_hidden_def.
5028 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
5029 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
5030 __GI___wcschr alias.
5031 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
5032 [IS_IN (libc)] (wcschr): Define as macro expanding to
5033 __redirect_wcschr.
5034 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
5035 [IS_IN (libc)] (__wcschr_power6): Likewise.
5036 [IS_IN (libc)] (__wcschr_power7): Likewise.
5037 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
5038 instead of wcschr.
5039 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
5040 __libc_wcschr.
5041 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
5042 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
5043 __wcschr and define as weak alias of __wcschr. Use
5044 libc_hidden_builtin_def.
5045 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
5046 as weak alias of __wcschr. Use libc_hidden_weak.
5047 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
5048 wcschr.
5049 * time/era.c (_nl_init_era_entries): Likewise.
5050 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
5051 variable.
5052 (test-xfail-XPG3/time.h/linknamespace): Likewise.
5053 (test-xfail-XPG4/time.h/linknamespace): Likewise.
5054
1b8bf351
JM
50552014-12-10 Joseph Myers <joseph@codesourcery.com>
5056
5057 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
5058 format for long int variable.
5059
f5f46d51
AK
50602014-12-10 Anders Kaseorg <andersk@MIT.EDU>
5061
5062 [BZ #10672]
07008f7d 5063 * manual/search.texi: (Array Sort Function): Remove claim how to make
f5f46d51
AK
5064 qsort stable.
5065
217a74a8
AS
50662014-12-10 Andreas Schwab <schwab@suse.de>
5067
5068 [BZ #12847]
5069 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
5070 user-controlled locks.
5071
aa76a5c7
RE
50722014-12-10 Richard Earnshaw <rearnsha@arm.com>
5073
5074 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
5075 register.
5076
2084e7ca
JM
50772014-12-10 Joseph Myers <joseph@codesourcery.com>
5078
a4ecc9eb
JM
5079 * configure.ac (--disable-werror): New configure option.
5080 (enable_werror): New AC_SUBST.
5081 * configure: Regenerated.
5082 * config.make.in (enable-werror): New variable.
5083 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
5084 -Wno-error=undef.
5085 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
5086 * manual/install.texi (Configuring and compiling): Document
5087 --disable-werror.
5088 * INSTALL: Regenerated.
5089 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
5090 (CFLAGS-tst-chk2.c): Likewise.
5091 (CFLAGS-tst-chk3.c): Likewise.
5092 (CFLAGS-tst-chk4.cc): Likewise.
5093 (CFLAGS-tst-chk5.cc): Likewise.
5094 (CFLAGS-tst-chk6.cc): Likewise.
5095 (CFLAGS-tst-lfschk1.c): Likewise.
5096 (CFLAGS-tst-lfschk2.c): Likewise.
5097 (CFLAGS-tst-lfschk3.c): Likewise.
5098 (CFLAGS-tst-lfschk4.cc): Likewise.
5099 (CFLAGS-tst-lfschk5.cc): Likewise.
5100 (CFLAGS-tst-lfschk6.cc): Likewise.
5101
0f88636c
JM
5102 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
5103 (main): Disable -Wdeprecated-declarations around calls to
5104 register_printf_function.
5105
c81e9deb
JM
5106 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
5107 (do_test): Disable -Wdiv-by-zero around some calls to
5108 fwrite_unlocked and fread_unlocked.
5109
2084e7ca
JM
5110 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
5111 (DIAG_POP_NEEDS_COMMENT): Likewise.
5112 (_DIAG_STR1): Likewise.
5113 (_DIAG_STR): Likewise.
5114 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
5115 * stdio-common/bug21.c: Include <libc-internal.h>.
5116 (do_test): Disable -Wformat around call to sscanf.
5117 * stdio-common/scanf14.c: Include <libc-internal.h>.
5118 (main): Disable -Wformat around some calls to scanf functions.
5119
df7ecc6b
TR
51202014-12-09 Torvald Riegel <triegel@redhat.com>
5121
5122 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
5123
2aa3862e
AZ
51242014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5125
5126 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
5127 stack variable alignment.
5128
c5c2b7c3
JM
51292014-12-06 Joseph Myers <joseph@codesourcery.com>
5130
5131 [BZ #17682]
5132 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
5133 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
5134 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
5135 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
5136 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
5137 __getrlimit instead of getrlimit.
5138 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
5139 __gettimeofday instead of gettimeofday.
5140 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
5141 Likewise.
5142 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
5143 Likewise.
5144 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
5145 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
5146 Remove variable.
5147 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
5148 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
5149
9752c3cd
AZ
51502014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5151
5152 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
5153 for wide-character tests.
5154
4bee4cd9
RM
51552014-12-04 Roland McGrath <roland@hack.frob.com>
5156
5157 * io/openat64.c: #include <libc-internal.h>
5158 (__openat64): Prototypify. Use ignore_value on MODE.
5159 * io/openat.c: Likewise.
5160 * misc/reboot.c: #include <libc-internal.h>
5161 (reboot): Prototypify. Use ignore_value on HOWTO.
5162 * misc/ptrace.c: #include <libc-internal.h>
5163 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
5164
84dbedb6
JM
51652014-12-04 Joseph Myers <joseph@codesourcery.com>
5166
5167 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
5168 XPG4, UNIX98 and XOPEN2K.
5169 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
5170 Remove variable.
5171 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
5172
b7a3e1c4 51732014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
be349d70 5174
af50dfc1 5175 * libio/fileops.c: Use ISO C style for function definitions.
24b97882
SP
5176 * libio/iofopen.c: Likewise.
5177 * libio/wfileops.c: Likewise.
5178
fe8b4d98
SP
5179 [BZ #17653]
5180 * libio/fileops.c (_IO_new_file_underflow): Unset cached
5181 offset on EOF.
5182 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
5183 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
5184 (fgets_func): Function pointer to fgets and fgetws.
5185 (do_ftell_test): Add test to verify ftell value after read
5186 EOF.
5187 (do_test): Set fgets_func.
5188
61b4f792
SP
5189 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
5190 O_TRUNC flag for w and w+ modes.
5191 (do_rewind_test): Likewise.
5192 (do_ftell_test): Likewise.
5193 (do_write_test): Likewise.
5194
be349d70
SP
5195 [BZ #17647]
5196 * libio/fileops.c (do_ftell): Seek only when there are
5197 unflushed writes.
5198 * libio/wfileops.c (do_ftell_wide): Likewise.
5199 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
5200 test case.
5201 (do_one_test): Call it.
5202
e3d6dba5
JM
52032014-12-03 Joseph Myers <joseph@codesourcery.com>
5204
5205 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
5206 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
5207 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
5208 Remove variable.
5209 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
5210 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
5211 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
5212
7f994279
JM
52132014-12-02 Joseph Myers <joseph@codesourcery.com>
5214
28a91e8f
JM
5215 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
5216 Remove variable.
5217 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
5218
7f994279
JM
5219 [BZ #17668]
5220 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
5221 as weak alias of __getifaddrs. Use libc_hidden_weak.
5222 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
5223 __freeifaddrs. Use libc_hidden_weak.
5224 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
5225 define as weak alias of __getifaddrs. Use libc_hidden_weak.
5226 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
5227 __freeifaddrs. Use libc_hidden_weak.
5228 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
5229 __getifaddrs and define as weak alias of __getifaddrs. Use
5230 libc_hidden_weak.
5231 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
5232 __freeifaddrs. Use libc_hidden_weak.
5233 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
5234 Remove variable.
5235 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
5236 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
5237
bbe4c142
PJ
52382014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
5239
5240 [BZ #17601]
5241 * sysdeps/mips/start.S (__start): Use indirect jump to call
5242 __libc_start_main.
5243
66cadc05
JM
52442014-12-02 Joseph Myers <joseph@codesourcery.com>
5245
909e16d9
JM
5246 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
5247
4e0b9016
JM
5248 * nptl/tst-mutex1.c: Include <stdbool.h>.
5249 [!ATTR] (ATTR_NULL): New macro.
5250 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
5251 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
5252 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
5253
b1aff6a4
JM
5254 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
5255 to char *.
5256
266865c0
JM
5257 [BZ #17665]
5258 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
5259 Change conditional to [__USE_MISC].
5260
84e5e756
JM
5261 [BZ #17664]
5262 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
5263 fgets_unlocked.
5264 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
5265 __fgets_unlocked.
5266 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
5267 fgets_unlocked.
5268 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
5269 Remove variable.
5270 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
5271 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
5272 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
5273 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
5274 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
5275 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
5276 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
5277 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
5278 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
5279
66cadc05
JM
5280 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
5281
2e8a2de2 52822014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
0f0a1c82
AZ
5283
5284 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5285 Remove strpbrk objects.
5286 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5287 (__libc_ifunc_impl_list): Remove strpbrk implementation.
5288 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
5289 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
5290 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
5291 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
5292
bb2542e0
AZ
5293 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5294 Remove strcspn objects.
5295 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5296 (__libc_ifunc_impl_list): Remove strcspn implementation.
5297 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
5298 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
5299 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
5300 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
2e8a2de2
AZ
5301
5302 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5303 Remove strspn objetcs.
5304 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5305 (__libc_ifunc_impl_list): Remove strspn implementation.
5306 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
5307 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
5308 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
5309 * sysdeps/powerpc/powerpc64/strspn.S: New file.
5310
08f1e1d2
JL
53112014-12-01 James Lemke <jwlemke@codesourcery.com>
5312
5313 [BZ #17581]
5314 * malloc/hooks.c
5315 (mem2mem_check): Add a terminator to the chain of checking blocks.
5316 (malloc_check_get_size): Use it here.
5317 (mem2chunk_check): Ditto.
5318
a8a7d7d2
RS
53192014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5320
5321 * sysdeps/powerpc/powerpc64/strtok.S: New file.
5322 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
5323
97114a38
CD
53242014-11-29 Carlos O'Donell <carlos@redhat.com>
5325
c8dc1727
CD
5326 * bits/ioctl-types.h: Indent preprocessor directives correctly.
5327
6d03458e
CD
5328 * nptl/nptl-init.c: Include libc-internal.h.
5329 (__pthread_initialize_minimal_internal): Use ROUND_UP.
5330
97114a38
CD
5331 * elf/ldconfig.c (search_dir): Expand comment.
5332
0e7e69ba
JM
53332014-11-29 Joseph Myers <joseph@codesourcery.com>
5334
5335 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
5336 variable.
5337 (linknamespace-symlist-stdlibs-tests): Likewise.
5338 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
5339 instead of $(objpfx)symlist-stdlibs.
5340 (linknamespace-libs-isoc): New variable.
5341 (linknamespace-libs): Use $(linknamespace-libs-isoc).
5342 (linknamespace-libs-ISO): New variable.
5343 (linknamespace-libs-ISO99): Likewise.
5344 (linknamespace-libs-ISO11): Likewise.
5345 (linknamespace-libs-XPG3): Likewise.
5346 (linknamespace-libs-XPG4): Likewise.
5347 (linknamespace-libs-POSIX): Likewise.
5348 (linknamespace-libs-UNIX98): Likewise.
5349 (linknamespace-libs-XOPEN2K): Likewise.
5350 (linknamespace-libs-POSIX2008): Likewise.
5351 (linknamespace-libs-XOPEN2K8): Likewise.
5352 ($(objpfx)symlist-stdlibs): Replace by
5353 $(linknamespace-symlist-stdlibs-tests). Use
5354 $(linknamespace-libs-$*) as set of libraries.
5355 ($(linknamespace-header-tests)): Update dependencies. Use
5356 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
5357 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
5358 * conform/linknamespace.pl: Remove comment about considering
5359 definitions of symbols from irrelevant libraries.
5360
d8dd0080
L
53612014-11-28 H.J. Lu <hongjiu.lu@intel.com>
5362
5363 [BZ #13862]
5364 * elf/dl-tls.c: Include <atomic.h>.
5365 (oom): Remove #ifdef SHARED/#endif.
5366 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
5367 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
5368 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
5369 big enough.
5370 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
5371 * nptl/Makefile (tests): Add tst-stack4.
5372 (modules-names): Add tst-stack4mod.
5373 ($(objpfx)tst-stack4): New.
5374 (tst-stack4mod.sos): Likewise.
5375 ($(objpfx)tst-stack4.out): Likewise.
5376 ($(tst-stack4mod.sos)): Likewise.
5377 (clean): Likewise.
5378 * nptl/tst-stack4.c: New file.
5379 * nptl/tst-stack4mod.c: Likewise.
5380
167da422
B
53812014-11-27 J. Brown <jb999@gmx.de>
5382
5383 * sysdeps/x86/bits/string.h: Add recent CPUs.
5384
9114625b
JM
53852014-11-27 Joseph Myers <joseph@codesourcery.com>
5386
6b5189eb
JM
5387 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
5388 sigblock.
5389
49051f8e
JM
5390 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
5391 feof.
5392
9114625b
JM
5393 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
5394 variable.
5395
e7300fef
SL
53962014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
5397
5398 * nscd/connections.c: Include libc-internal.h because of macro
5399 usage ignore_value.
5400
1721f0a4
SP
54012014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5402
5403 * string/bits/string3.h (__warn_memset_zero_len): Don't
5404 declare for gcc newer than 5.0.
5405 (memset): Don't test for zero-length __LEN for gcc newer than
5406 5.0.
5407
be970916
JM
54082014-11-27 Joseph Myers <joseph@codesourcery.com>
5409
d88548f4
JM
5410 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
5411 size_t for %zu format.
5412
be970916
JM
5413 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
5414 difference, not %ju.
5415
3b20fd5c
JM
54162014-11-26 Joseph Myers <joseph@codesourcery.com>
5417
8915eace
JM
5418 * include/libc-internal.h (ignore_value): New macro.
5419 * nscd/connections.c (restart): Wrap calls to setuid and setgid
5420 with ignore_value.
5421
f1a5a0e3
JM
5422 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
5423 definition.
5424
59ef1715
JM
5425 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
5426 pthread_cleanup_push to void *.
5427
a6f3079b
JM
5428 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
5429 Undefine.
5430
706688aa
JM
5431 [BZ #16619]
5432 [BZ #16740]
5433 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
5434 instead of 1L << 52.
5435
12da14a5
JM
5436 * libio/bug-rewind.c (do_test): Check fwscanf return values.
5437 * libio/bug-rewind2.c (do_test): Likewise.
5438
bd5dadac
JM
5439 * debug/test-stpcpy_chk-ifunc.c: Remove file.
5440 * debug/test-strcpy_chk-ifunc.c: Likewise.
5441 * wcsmbs/test-wcschr-ifunc.c: Likewise.
5442 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
5443 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
5444 * wcsmbs/test-wcslen-ifunc.c: Likewise.
5445 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
5446 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
5447 * Rules [$(multi-arch) = no] (tests): Do not filter out
5448 $(tests-ifunc).
5449 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
5450 * debug/Makefile (tests-ifunc): Remove variable.
5451 (tests): Do not add $(tests-ifunc).
5452 * wcsmbs/Makefile (tests-ifunc): Remove variable.
5453 (tests): Do not add $(tests-ifunc).
5454 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
5455 [TEST_IFUNC]: Remove conditionals.
5456 * string/test-string.h (TEST_IFUNC): Remove macro.
5457 [TEST_IFUNC]: Remove conditionals.
5458
3b20fd5c
JM
5459 * string/test-strchr.c [!WIDE] (L): New macro.
5460 [WIDE] (L): Likewise.
5461 (check1): Use CHAR instead of char. Use L on string and character
5462 constants.
5463
704f7947
AZ
54642014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
5465
5466 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
5467 tests.
5468 * sysdeps/powerpc/bits/atomic.h
5469 (__arch_atomic_exchange_and_add_32_acq): Add definition.
5470 (__arch_atomic_exchange_and_add_32_rel): Likewise.
5471 (atomic_exchange_and_add_acq): Likewise.
5472 (atomic_exchange_and_add_rel): Likewise.
5473 * sysdeps/powerpc/powerpc32/bits/atomic.h
5474 (__arch_atomic_exchange_and_add_64_acq): Add definition.
5475 (__arch_atomic_exchange_and_add_64_rel): Likewise.
5476 * sysdeps/powerpc/powerpc64/bits/atomic.h
5477 (__arch_atomic_exchange_and_add_64_acq): Add definition.
5478 (__arch_atomic_exchange_and_add_64_rel): Likewise.
5479
cdcb42d7
TR
54802014-11-26 Torvald Riegel <triegel@redhat.com>
5481
5482 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
5483 Change synchronization of __sched_fifo_min_prio and
5484 __sched_fifo_max_prio.
5485 * nptl/pthread_mutexattr_getprioceiling.c
5486 (pthread_mutexattr_getprioceiling): Likewise.
5487 * nptl/pthread_mutexattr_setprioceiling.c
5488 (pthread_mutexattr_setprioceiling): Likewise.
5489 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
5490 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
5491 Likewise.
5492
c82f5c0c
JM
54932014-11-26 Joseph Myers <joseph@codesourcery.com>
5494
5495 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
5496 void.
5497
439e1ad6
JM
54982014-11-25 Joseph Myers <joseph@codesourcery.com>
5499
5500 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
5501 third argument const.
5502
b1eda10e
PE
55032014-11-25 Paul Eggert <eggert@cs.ucla.edu>
5504
5505 fnmatch: work around GCC compiler warning bug with uninit var
5506 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
5507 This works around a bug with x86-64 GCC 4.9.2 and earlier
5508 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
5509 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
5510 used uninitialized in this function [-Wmaybe-uninitialized]".
5511
bde2667a
JM
55122014-11-25 Joseph Myers <joseph@codesourcery.com>
5513
5514 * posix/bug-regex31.c (main): Return RES not 0.
5515
5fbb5691
AB
55162014-11-25 Anton Blanchard <anton@samba.org>
5517
5518 * sysdeps/powerpc/bits/atomic.h
5519 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
5520
467fec0b
BM
55212014-11-24 Sterling Augustine <saugustine@google.com>
5522
5523 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
5524
e9ff8efb
RC
55252014-11-24 Ryan Cumming <etaoins@gmail.com>
5526
5527 [BZ #17608]
5528 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
5529
9744496f
JM
55302014-11-24 Joseph Myers <joseph@codesourcery.com>
5531
5532 [BZ #17633]
5533 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
5534 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
5535 variable.
5536 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
5537 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
5538
6423d475
WD
55392014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
5540
5541 * string/strncpy.c (strncpy): Improve performance by using memset.
5542
55432014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
b863d2bc
WD
5544
5545 * string/strcpy.c (strcpy):
5546 Improve performance by using strlen and memcpy.
5547
5d178c37
LH
55482014-11-24 Leonhard Holz <leonhard.holz@web.de>
5549
5550 * string/strcoll_l.c (get_next_seq): __always_inline.
5551 * string/strcoll_l.c (do_compare): __always_inline.
5552
279bc5b3
SP
55532014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5554
7a9ebfa1
SP
5555 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
5556 defined.
5557 * include/mqueue.h: Likewise.
5558 * include/stdlib.h: Likewise.
5559
4f41c682
SP
5560 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
5561 (get_null_defines): Adjust.
5562 * sunrpc/Makefile: Adjust comment.
5563 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
5564 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
5565 (CFLAGS-interp.c): Likewise.
5566 (CFLAGS-ldconfig.c): Likewise.
5567 (CPPFLAGS-.os): Likewise.
5568 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
5569 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
5570 * extra-modules.mk (extra-modules.mk): Likewise.
5571 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
5572 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
5573 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
5574 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
5575 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
5576 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
5577 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
5578 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
5579 * iconvdata/Makefile (CPPFLAGS): Likewise.
5580 (cpp-srcs-left): Add libof for all iconvdata routines.
5581 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
5582 * include/assert.h: Likewise.
5583 * include/ctype.h: Likewise.
5584 * include/errno.h: Likewise.
5585 * include/libc-symbols.h: Likewise.
5586 * include/math.h: Likewise.
5587 * include/netdb.h: Likewise.
5588 * include/resolv.h: Likewise.
5589 * include/stdio.h: Likewise.
5590 * include/stdlib.h: Likewise.
5591 * include/string.h: Likewise.
5592 * include/sys/stat.h: Likewise.
5593 * include/wctype.h: Likewise.
5594 * intl/l10nflist.c: Likewise.
5595 * libidn/idn-stub.c: Likewise.
5596 * libio/libioP.h: Likewise.
5597 * nptl/libc_multiple_threads.c: Likewise.
5598 * nptl/pthreadP.h: Likewise.
5599 * posix/regex_internal.h: Likewise.
5600 * resolv/res_hconf.c: Likewise.
5601 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
5602 * sysdeps/arm/memmove.S: Likewise.
5603 * sysdeps/arm/sysdep.h: Likewise.
5604 * sysdeps/generic/_itoa.h: Likewise.
5605 * sysdeps/generic/symbol-hacks.h: Likewise.
5606 * sysdeps/gnu/errlist.awk: Likewise.
5607 * sysdeps/gnu/errlist.c: Likewise.
5608 * sysdeps/i386/i586/memcpy.S: Likewise.
5609 * sysdeps/i386/i586/memset.S: Likewise.
5610 * sysdeps/i386/i686/memcpy.S: Likewise.
5611 * sysdeps/i386/i686/memmove.S: Likewise.
5612 * sysdeps/i386/i686/mempcpy.S: Likewise.
5613 * sysdeps/i386/i686/memset.S: Likewise.
5614 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
5615 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
5616 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
5617 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
5618 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
5619 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
5620 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
5621 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
5622 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
5623 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
5624 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
5625 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
5626 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
5627 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
5628 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
5629 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
5630 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
5631 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
5632 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
5633 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
5634 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
5635 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
5636 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
5637 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
5638 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
5639 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
5640 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
5641 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
5642 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
5643 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
5644 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
5645 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
5646 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
5647 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5648 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
5649 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
5650 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
5651 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
5652 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
5653 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
5654 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
5655 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
5656 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
5657 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
5658 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
5659 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
5660 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
5661 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
5662 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
5663 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
5664 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
5665 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
5666 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
5667 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
5668 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
5669 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
5670 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
5671 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
5672 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
5673 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
5674 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
5675 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
5676 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
5677 * sysdeps/nptl/bits/libc-lock.h: Likewise.
5678 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
5679 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
5680 * sysdeps/posix/closedir.c: Likewise.
5681 * sysdeps/posix/opendir.c: Likewise.
5682 * sysdeps/posix/readdir.c: Likewise.
5683 * sysdeps/posix/rewinddir.c: Likewise.
5684 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
5685 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
5686 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
5687 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
5688 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
5689 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
5690 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
5691 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
5692 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
5693 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
5694 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
5695 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
5696 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
5697 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
5698 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
5699 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
5700 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
5701 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
5702 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
5703 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
5704 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
5705 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
5706 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
5707 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
5708 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
5709 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
5710 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
5711 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
5712 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
5713 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
5714 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
5715 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
5716 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
5717 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
5718 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
5719 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
5720 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
5721 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
5722 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
5723 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
5724 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
5725 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
5726 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
5727 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
5728 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
5729 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
5730 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
5731 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
5732 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
5733 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
5734 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
5735 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
5736 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
5737 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
5738 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
5739 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
5740 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
5741 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
5742 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
5743 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
5744 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
5745 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
5746 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
5747 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
5748 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
5749 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
5750 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
5751 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
5752 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
5753 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
5754 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
5755 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
5756 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
5757 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
5758 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
5759 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
5760 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
5761 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
5762 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
5763 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
5764 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
5765 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
5766 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
5767 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
5768 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
5769 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
5770 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
5771 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
5772 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
5773 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
5774 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
5775 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
5776 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
5777 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
5778 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
5779 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
5780 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
5781 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5782 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
5783 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
5784 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5785 * sysdeps/unix/alpha/sysdep.S: Likewise.
5786 * sysdeps/unix/alpha/sysdep.h: Likewise.
5787 * sysdeps/unix/make-syscalls.sh: Likewise.
5788 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
5789 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5790 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
5791 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
5792 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
5793 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
5794 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
5795 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
5796 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
5797 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
5798 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5799 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
5800 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5801 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
5802 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
5803 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
5804 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5805 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
5806 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
5807 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
5808 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
5809 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
5810 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
5811 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
5812 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
5813 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
5814 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
5815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
5816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
5817 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
5818 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
5819 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
5820 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
5821 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5822 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
5823 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
5824 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
5825 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5826 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
5827 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
5828 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5829 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
5830 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5831 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
5832 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5833 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
5834 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5835 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5836 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
5837 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5838 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
5839 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
5840 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5841 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
5842 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
5843 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5844 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
5845 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5846 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
5847 * sysdeps/x86_64/memcpy.S: Likewise.
5848 * sysdeps/x86_64/memmove.c: Likewise.
5849 * sysdeps/x86_64/memset.S: Likewise.
5850 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
5851 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
5852 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
5853 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
5854 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
5855 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
5856 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
5857 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
5858 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
5859 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
5860 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
5861 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
5862 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
5863 * sysdeps/x86_64/multiarch/memset.S: Likewise.
5864 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5865 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
5866 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
5867 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
5868 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
5869 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
5870 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
5871 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
5872 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
5873 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
5874 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
5875 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
5876 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
5877 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
5878 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
5879 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
5880 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
5881 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
5882 * sysdeps/x86_64/strcmp.S: Likewise.
5883
76ca86a5
SP
5884 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
5885
a3848485
SP
5886 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
5887 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
5888 * elf/rtld-Rules: Likewise.
5889 * elf/setup-vdso.h: Likewise.
5890 * include/assert.h: Likewise.
5891 * include/bits/stdlib-float.h: Likewise.
5892 * include/errno.h: Likewise.
5893 * include/sys/stat.h: Likewise.
5894 * include/unistd.h: Likewise.
5895 * sysdeps/aarch64/setjmp.S: Likewise.
5896 * sysdeps/alpha/setjmp.S: Likewise.
5897 * sysdeps/arm/__longjmp.S: Likewise.
5898 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
5899 * sysdeps/arm/setjmp.S: Likewise.
5900 * sysdeps/arm/sysdep.h: Likewise.
5901 * sysdeps/generic/_itoa.h: Likewise.
5902 * sysdeps/generic/dl-sysdep.h: Likewise.
5903 * sysdeps/generic/ldsodefs.h: Likewise.
5904 * sysdeps/i386/dl-tls.h: Likewise.
5905 * sysdeps/i386/setjmp.S: Likewise.
5906 * sysdeps/m68k/setjmp.c: Likewise.
5907 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
5908 * sysdeps/mach/hurd/opendir.c: Likewise.
5909 * sysdeps/posix/getcwd.c: Likewise.
5910 * sysdeps/posix/opendir.c: Likewise.
5911 * sysdeps/posix/profil.c: Likewise.
5912 * sysdeps/powerpc/dl-procinfo.h: Likewise.
5913 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
5914 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
5915 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
5916 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
5917 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
5918 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
5919 * sysdeps/s390/dl-tls.h: Likewise.
5920 * sysdeps/s390/s390-32/setjmp.S: Likewise.
5921 * sysdeps/s390/s390-64/setjmp.S: Likewise.
5922 * sysdeps/sh/sh3/setjmp.S: Likewise.
5923 * sysdeps/sh/sh4/setjmp.S: Likewise.
5924 * sysdeps/unix/alpha/sysdep.h: Likewise.
5925 * sysdeps/unix/arm/sysdep.S: Likewise.
5926 * sysdeps/unix/i386/sysdep.S: Likewise.
5927 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5928 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
5929 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
5930 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5931 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5932 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
5933 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
5934 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5935 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
5936 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
5937 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
5938 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
5939 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
5940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
5941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5942 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
5943 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5944 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5945 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5946 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5947 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5948 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5949 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5950 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
5951 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5952 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5953 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5954 * sysdeps/unix/x86_64/sysdep.S: Likewise.
5955 * sysdeps/x86_64/setjmp.S: Likewise.
5956
a109996e
SP
5957 * include/math.h: Use IS_IN instead of IS_IN_libm.
5958 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
5959 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5960 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
5961 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
5962 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
5963 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
5964 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
5965 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
5966 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
5967 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
5968 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
5969 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
5970 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
5971 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
5972 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
5973 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
5974 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
5975 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
5976 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
5977 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
5978 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
5979 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
5980 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
5981 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
5982 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
5983 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
5984 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
5985 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
5986 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
5987 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
5988 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
5989 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
5990 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
5991 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
5992 Likewise.
5993 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
5994 Likewise.
5995 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
5996 Likewise.
5997 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
5998 Likewise.
5999 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
6000 Likewise.
6001 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
6002 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
6003 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
6004 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
6005 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
6006 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
6007 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
6008 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
6009 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
6010 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
6011 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
6012 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
6013 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
6014 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
6015 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
6016 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
6017 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
6018 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
6019 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
6020 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
6021 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
6022 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
6023 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
6024 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
6025 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
6026 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
6027 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
6028
ce9f10f7
SP
6029 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
6030 * nptl/pthreadP.h: Likewise.
6031 * nptl_db/structs.def: Likewise.
6032 * sysdeps/arm/sysdep.h: Likewise.
6033 * sysdeps/nptl/bits/libc-lock.h: Likewise.
6034 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
6035 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
6036 * sysdeps/unix/alpha/sysdep.h: Likewise.
6037 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
6038 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
6039 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
6040 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
6041 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
6042 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
6043 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6044 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
6045 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
6046 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
6047 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
6048 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
6049 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
6050 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
6051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
6052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
6053 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
6054 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
6055 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
6056 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
6057 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
6058 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
6059 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
6060 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
6061 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
6062 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
6063
016afc75
SP
6064 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
6065 * nptl/pthreadP.h: Likewise.
6066 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
6067 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
6068 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
6069 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
6070 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
6071 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
6072 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
6073 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
6074 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
6075 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
6076 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
6077 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
6078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
6079 Likewise.
6080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
6081 Likewise.
6082 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
6083 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
6084 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
6085 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
6086 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
6087 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
6088 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
6089 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
6090
9b42a0b3
SP
6091 * dlfcn/dladdr.c: Use IS_IN.
6092 * dlfcn/dladdr1.c: Likewise.
6093 * dlfcn/dlclose.c: Likewise.
6094 * dlfcn/dlerror.c: Likewise.
6095 * dlfcn/dlinfo.c: Likewise.
6096 * dlfcn/dlmopen.c: Likewise.
6097 * dlfcn/dlopen.c: Likewise.
6098 * dlfcn/dlsym.c: Likewise.
6099 * dlfcn/dlvsym.c: Likewise.
6100
85f36372
SP
6101 * include/ifaddrs.h: Use IS_IN.
6102 * inet/check_pf.c: Likewise.
6103 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
6104 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
6105
fb6784e3
SP
6106 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
6107 IS_IN_ldconfig.
6108 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
6109 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
6110
2886d2d1
SP
6111 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
6112 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
6113 IS_IN (libc).
6114
9a484857
SP
6115 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
6116
a10178bd
SP
6117 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
6118 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
6119 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
6120 * include/libc-symbols.h (IS_IN_LIB): New macro.
6121 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
6122 * include/netdb.h: Likewise.
6123 * include/stap-probe.h: Remove all uses of IN_LIB.
6124
279bc5b3
SP
6125 * Makeconfig (module-cppflags-real): Define MODULE_NAME
6126 instead of IN_MODULE.
6127 * include/libc-symbols.h (IN_MODULE): Define using
6128 MODULE_NAME.
6129 (PASTE_NAME, PASTE_NAME1): New macros.
6130 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
6131 of IN_LIB.
6132 (STAP_PROBE_ASM): Likewise.
6133
e0cfa510
ST
61342014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
6135
6136 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
6137 __mach_init in dlopened libc.
6138
34d97d87
MF
61392014-11-22 Mike Frysinger <vapier@gentoo.org>
6140
6141 * sysdeps/arm/preconfigure.ac: Delete EABI check.
6142 * sysdeps/arm/preconfigure: Regenerate.
6143
33cd1f74
RM
61442014-11-21 Roland McGrath <roland@hack.frob.com>
6145
6146 * nptl/pthread_create.c (__pthread_create_2_1): Set
6147 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
6148 when copying values from IATTR into PD.
6149
8c230039
WN
61502014-11-21 Will Newton <will.newton@linaro.org>
6151 Andrew Pinski <andrew.pinski@caviumnetworks.com>
6152
6d3db89b
AP
6153 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
6154 Refactor inline-asm. Also add comment.
6155
01194ba1
WN
6156 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
6157 ElfW macro instead of hardcoded Elf64 types.
6158 (la_aarch64_gnu_pltenter): Likewise.
6159 * sysdeps/aarch64/dl-machine.h
6160 (elf_machine_runtime_setup): Use ElfW(Addr).
6161
8c230039
WN
6162 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
6163 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
6164 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
6165 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
6166 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
6167 (R_AARCH64_TLS_DTPMOD64): Rename to ..
6168 (R_AARCH64_TLS_DTPMOD): This.
6169 (R_AARCH64_TLS_DTPREL64): Rename to ...
6170 (R_AARCH64_TLS_DTPREL): This.
6171 (R_AARCH64_TLS_TPREL64): Rename to ...
6172 (R_AARCH64_TLS_TPREL): This.
6173 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
6174 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
6175 R_AARCH64_TLS_TPREL64.
6176 (elf_machine_rela): Likewise.
6177
0d79fa53
TR
61782014-11-21 Torvald Riegel <triegel@redhat.com>
6179
6180 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
6181 by setting it to 0. 64b atomics are not supported currently.
6182
b59d114b
AO
61832014-11-21 Alexandre Oliva <aoliva@redhat.com>
6184
6185 [BZ #16469]
6186 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
6187 search domain names.
6188
f3d945d5
AO
61892014-11-21 Alexandre Oliva <aoliva@redhat.com>
6190
6191 [BZ #16469]
6192 * NEWS: Update.
6193 * resolv/res_query.c (__libc_res_nquerydomain): Retain
6194 trailing dot.
6195 * posix/tst-getaddrinfo5.c: New.
6196 * posix/Makefile (tests): Add it.
6197
49698902
AO
61982014-11-21 Alexandre Oliva <aoliva@redhat.com>
6199
6200 [BZ #14498]
6201 * NEWS: Fixed.
6202 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
6203 after parsing line but before break_if_match.
6204 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
6205 if there is a protocol mismatch.
6206
81959214
MS
62072014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
6208
6209 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
6210 because the potential race is on the user-supplied stream.
6211
7729e0e9
AO
62122014-11-21 Alexandre Oliva <aoliva@redhat.com>
6213
6214 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
6215 string literal if not passed a buffer.
6216 * manual/job.texi (ctermid): Update reasoning, note deviation
6217 from posix, suggest mtasurace when not passed a buffer, for
6218 future non-preliminary safety notes.
6219
a4ea5e28
AO
62202014-11-21 Alexandre Oliva <aoliva@redhat.com>
6221
6222 * manual/users.texi (cuserid): Fix MT-Safety note for the case
6223 of not passing it a buffer.
6224 Reported by Peng Haitao.
6225
a2b581cb
AO
62262014-11-21 Alexandre Oliva <aoliva@redhat.com>
6227
6228 * manual/Makefile ($(objpfx)stamp-summary): Require
6229 check-safety.sh to pass.
6230 * manual/check-safety.sh: Wish for verification that every
6231 @deftypefn and @deftypefun is followed by a @safety remark.
6232
f214ff74
RM
62332014-11-20 Roland McGrath <roland@hack.frob.com>
6234
7f0dfae0
RM
6235 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
6236
2f531bbb
RM
6237 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
6238 PTHREAD_CANCEL_ASYNCHRONOUS.
6239 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
6240 send SIGCANCEL.
6241
f214ff74
RM
6242 * nptl/default-sched.h: New file.
6243 * sysdeps/unix/sysv/linux/default-sched.h: New file.
6244 * nptl/pthread_create.c: Include it.
6245 (__pthread_create_2_1): Use collect_default_sched instead of making
6246 Linux syscalls here directly.
6247
e37c91d4
TR
62482014-11-20 Torvald Riegel <triegel@redhat.com>
6249
6250 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
6251 __pthread_once): Use C11 atomics.
6252
1eccfecd
TR
62532014-11-20 Torvald Riegel <triegel@redhat.com>
6254
6255 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
6256
ff871426
TR
62572014-11-20 Torvald Riegel <triegel@redhat.com>
6258
6259 * include/atomic.h (__atomic_link_error, __atomic_check_size,
6260 atomic_thread_fence_acquire, atomic_thread_fence_release,
6261 atomic_thread_fence_seq_cst, atomic_load_relaxed,
6262 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
6263 atomic_compare_exchange_weak_relaxed,
6264 atomic_compare_exchange_weak_acquire,
6265 atomic_compare_exchange_weak_release,
6266 atomic_exchange_acquire, atomic_exchange_release,
6267 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
6268 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
6269 atomic_fetch_and_acquire,
6270 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
6271
1ea339b6
TR
62722014-11-20 Torvald Riegel <triegel@redhat.com>
6273
6274 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
6275 USE_ATOMIC_COMPILER_BUILTINS): Define.
6276 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
6277 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6278 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
6279 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6280 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
6281 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6282 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
6283 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6284 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
6285 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6286 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
6287 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6288 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
6289 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6290 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
6291 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6292 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
6293 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6294 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
6295 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6296 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
6297 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6298 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
6299 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6300 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
6301 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6302 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
6303 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6304 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
6305 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6306 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
6307 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6308 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
6309 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6310 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
6311 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6312 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
6313 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6314 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
6315 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6316
cbd463e2
RM
63172014-11-19 Roland McGrath <roland@hack.frob.com>
6318
d960211f
RM
6319 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
6320 the sched_priority value here. It was already checked when the user
6321 called pthread_attr_setschedparam.
6322
cbd463e2
RM
6323 * nptl/tst-bad-schedattr.c: New file.
6324 * nptl/Makefile (tests): Add it.
6325
a39208bd
CD
63262014-11-19 Carlos O'Donell <carlos@redhat.com>
6327 Florian Weimer <fweimer@redhat.com>
6328 Joseph Myers <joseph@codesourcery.com>
6329 Adam Conrad <adconrad@0c3.net>
6330 Andreas Schwab <schwab@suse.de>
6331 Brooks <bmoses@google.com>
6332
6333 [BZ #17625]
6334 * wordexp-test.c (__dso_handle): Add prototype.
6335 (__register_atfork): Likewise.
6336 (__app_register_atfork): New function.
6337 (registered_forks): New global.
6338 (register_fork): New function.
6339 (test_case): Add 3 new tests for WRDE_CMDSUB.
6340 (main): Call __app_register_atfork.
6341 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
6342 fork count is non-zero fail the test.
6343 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
6344 is set.
6345 (parse_dollars): Remove check for WRDE_NOCMD.
6346 (parse_dquote): Likewise.
6347
9cd47470
SP
63482014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6349
130ac68c
SP
6350 * Makeconfig (built-modules): List non-library modules to be
6351 built.
6352 (module-cppflags): Include libc-modules.h for
6353 everything except shlib-versions.v.i.
6354 (CPPFLAGS): Use it.
6355 (before-compile): Add libc-modules.h.
6356 ($(common-objpfx)libc-modules.h,
6357 $(common-objpfx)libc-modules.stmp): New targets.
6358 (common-generated): Add libc-modules.h and libc-modules.stmp.
6359 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
6360 * include/libc-symbols.h: Don't include libc-modules.h.
6361 * include/libc-modules.h: Remove file.
6362 * scripts/gen-libc-modules.awk: New script to generate
6363 libc-modules.h.
6364 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
6365 Depend on libc-modules.stmp.
6366
286663c3
SP
6367 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
6368
9cd47470
SP
6369 * Makeconfig (in-module): Get value of libof set for the
6370 translation unit.
6371 (CPPFLAGS): Use $(in-module).
6372 * Makerules: Don't suffix routine names for nonlib.
6373 * include/libc-modules.h: New file.
6374 * include/libc-symbols.h: Include libc-modules.h
6375 (IS_IN): New macro to replace IS_IN_* macros.
6376 * elf/Makefile: Set libof-* for each routine.
6377 * elf/rtld-Rules: Likewise.
6378 * extra-modules.mk: Likewise.
6379 * iconv/Makefile: Likewise.
6380 * iconvdata/Makefile: Likewise.
6381 * locale/Makefile: Likewise.
6382 * malloc/Makefile: Likewise.
6383 * nss/Makefile: Likewise.
6384 * sysdeps/gnu/Makefile: Likewise.
6385 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
6386 * sysdeps/unix/sysv/linux/Makefile: Likewise.
6387 * sysdeps/s390/s390-64/Makefile: Likewise.
6388 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
6389 CPPFLAGS for nscd instead of nonlib.
6390
32fed10f
RM
63912014-11-18 Roland McGrath <roland@hack.frob.com>
6392
d71035bd
RM
6393 * nptl/createthread.c: New file.
6394
6540b991
RM
6395 * nptl/createthread.c: Moved ...
6396 * sysdeps/unix/sysv/linux/createthread.c: ... here.
6397
32fed10f
RM
6398 * nptl/createthread.c: Add proper top-line comment.
6399 (do_clone): Folded into ...
6400 (create_thread): ... here. Take new arguments STOPPED_START and
6401 THREAD_RAN. Always set PD->stopped_start to something here. Don't
6402 increment __nptl_threads, do event-reporting logic, do
6403 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
6404 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
6405 resource cleanup if sched_setaffinity or sched_setscheduler fails,
6406 just send SIGCANCEL.
6407 * nptl/pthread_create.c: Forward-declare create_thread before
6408 including createthread.c.
6409 (start_thread): Use new macro START_THREAD_DEFN to replace defining
6410 declaration, and new macro START_THREAD_SELF to replace argument.
6411 Remove return statement.
6412 (report_thread_creation): New function.
6413 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
6414 synchronization logic, and __nptl_nthreads increment here, around
6415 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
6416 PD->parent_cancelhandling here, before create_thread. When
6417 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
6418 __deallocate_stack, and ENOMEM translation here.
6419
107a5bf0
JM
64202014-11-18 Joseph Myers <joseph@codesourcery.com>
6421
6422 [BZ #17616]
6423 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
6424 (mptwo): Rename to __mptwo.
6425 (__inv): Use __mptwo instead of mptwo.
6426 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
6427 (mptwo): Rename to __mptwo.
6428 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
6429 of mpone and __mptwo instead of mptwo.
6430 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
6431 instead of mpone.
6432 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
6433 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
6434 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
6435 of mpone and __mptwo instead of mptwo.
6436 (__mpranred): Use __mpone instead of mpone.
6437 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
6438 variable.
6439 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
6440 (test-xfail-ISO99/math.h/linknamespace): Likewise.
6441 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
6442 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
6443 (test-xfail-ISO11/math.h/linknamespace): Likewise.
6444 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
6445 (test-xfail-XPG3/math.h/linknamespace): Likewise.
6446 (test-xfail-XPG4/math.h/linknamespace): Likewise.
6447 (test-xfail-POSIX/math.h/linknamespace): Likewise.
6448 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
6449 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
6450 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
6451 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
6452 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
6453 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
6454 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
6455 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
6456 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
6457 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
6458
3b679ab3
TV
64592014-11-18 Tom de Vries <tom@codesoucery.com>
6460
6461 * manual/signal.texi (Primitives Interrupted by Signals): In section,
6462 replace BSD Handler xref with BSD Signal Handling.
4886f341
RH
6463
64642014-11-17 Richard Henderson <rth@redhat.com>
6465
6466 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
6467 (_FP_PACK_RAW_2): Remove.
6468 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
6469 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
6470 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
6471 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
6472 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
6473 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
6474 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
6475 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
6476 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
6477 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
6478 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
6479 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
6480 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
6481 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
6482 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
6483 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
6484
0781a777
RM
64852014-11-14 Roland McGrath <roland@hack.frob.com>
6486
6487 * signal/signal.h [__USE_MISC]
6488 (struct sigvec): Remove type.
6489 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
6490 (sigvec): Remove declaration.
6491 * sysdeps/posix/sigvec.c: Moved ...
6492 * signal/sigvec.c: ... here, replacing old file.
6493 (struct sigvec): New type, copied from old signal.h definition.
6494 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
6495 (__sigvec): Convert definition to prototype.
6496 (sigvec): Replace weak_alias with compat_symbol.
6497 * signal/Versions (libc: GLIBC_2.21): New version set.
6498 * include/signal.h: Remove __sigvec declaration.
6499 * sysdeps/unix/bsd/sigvec.c: Remove file.
6500 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
6501 * manual/signal.texi (BSD Handler): Remove subsection.
6502 Move siginterrupt up to ...
6503 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
6504 (Blocking in BSD): Fold subsection into its parent.
6505 * NEWS: Mention sigvec removal.
6506
a4733812
JM
65072014-11-14 Joseph Myers <joseph@codesourcery.com>
6508
5ae4fe60
JM
6509 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
6510 (DLA_FMS): Make definition conditional only on [__FMA4__].
6511 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
6512 definition.
6513
6a0dd472
JM
6514 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
6515 Make definition conditional only on [PROF].
6516 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
6517 definition.
6518 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
6519 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
6520
a4733812
JM
6521 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
6522 !__GNUC__].
6523 * include/signal.h (__sigpause): Move declaration above call to
6524 libc_hidden_proto.
6525 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
6526 variable.
6527 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
6528 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
6529
cf7246dd
DM
65302014-11-14 David S. Miller <davem@davemloft.net>
6531
6532 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
6533 Define before including <string/memcpy.c> and <string/mempcpy.c>.
6534
c1b0aadc
JM
65352014-11-14 Joseph Myers <joseph@codesourcery.com>
6536
4863355a
JM
6537 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
6538 * configure: Regenerated.
6539 * manual/install.texi (Tools for Compilation): Document a
6540 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
6541 compiler verified to work.
6542 * INSTALL: Regenerated.
6543
c1b0aadc
JM
6544 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
6545 redeclare with asm name.
6546 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
6547 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
6548 including <string.h>.
6549 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
6550 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
6551 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
6552 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
6553 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
6554 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
6555 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
6556
2a1cfd94
JM
65572014-11-13 Joseph Myers <joseph@codesourcery.com>
6558
bf438382
JM
6559 * stdlib/strtol.c (__strtol): Use prototype definition.
6560
2a1cfd94
JM
6561 [BZ #17594]
6562 * stdlib/strtol.c (SYM__): New macro.
6563 (SYM__1): Likewise.
6564 (__strtol): Likewise.
6565 (strtol): Rename to __strtol and define as weak alias of
6566 __strtol. Use libc_hidden_weak.
6567
20ed0d26
SL
65682014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
6569
6570 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
6571 Use numbered labels in inline assembly.
6572
53244a4e
SL
65732014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
6574
6575 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
6576 Add setjmp LIBC_PROBE.
6577 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
6578 Likewise.
6579 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
6580 Add longjmp, longjmp_target LIBC_PROBE.
6581 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
6582 Likewise.
6583
47df8251
SL
65842014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
6585
6586 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
6587 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
6588 to get rid of unused variable warning.
6589
618cebef
SL
65902014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
6591
6592 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
6593 Check for unwind_backtrace == NULL only in SHARED case.
6594 (__backchain_backtrace): Compile only in SHARED case.
6595 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
6596 Likewise.
6597 (__backchain_backtrace): Declare as static.
6598
c6aab2cb
RM
65992014-11-12 Roland McGrath <roland@hack.frob.com>
6600
6601 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
6602 (__libc_multiple_threads_ptr): Variable moved ...
6603 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
6604
5a6fa4d7
JM
66052014-11-12 Joseph Myers <joseph@codesourcery.com>
6606
24f4f825
JM
6607 * conform/GlibcConform.pm: New file.
6608 * conform/conformtest.pl: Use GlibcConform module.
6609 * conform/linknamespace.pl: New file.
6610 * conform/list-header-symbols.pl: Likewise.
6611 * conform/Makefile (linknamespace-symlists-base): New variable.
6612 (linknamespace-symlists-tests): Likewise.
6613 (linknamespace-header-base): Likewise.
6614 (linknamespace-header-tests): Likewise.
6615 (tests-special): Add new tests.
6616 ($(linknamespace-symlists-tests)): New rule.
6617 (linknamespace-libs): New variable.
6618 ($(objpfx)symlist-stdlibs): New rule.
6619 ($(linknamespace-header-tests)): Likewise.
6620 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
6621 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
6622 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
6623 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
6624 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
6625 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
6626 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
6627 (test-xfail-ISO/math.h/linknamespace): Likewise.
6628 (test-xfail-ISO/signal.h/linknamespace): Likewise.
6629 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
6630 (test-xfail-ISO/time.h/linknamespace): Likewise.
6631 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
6632 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
6633 (test-xfail-ISO99/math.h/linknamespace): Likewise.
6634 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
6635 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
6636 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
6637 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
6638 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
6639 (test-xfail-ISO11/math.h/linknamespace): Likewise.
6640 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
6641 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
6642 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
6643 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
6644 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
6645 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
6646 (test-xfail-XPG3/math.h/linknamespace): Likewise.
6647 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
6648 (test-xfail-XPG3/search.h/linknamespace): Likewise.
6649 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
6650 (test-xfail-XPG3/time.h/linknamespace): Likewise.
6651 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
6652 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
6653 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
6654 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
6655 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
6656 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
6657 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
6658 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
6659 (test-xfail-XPG4/math.h/linknamespace): Likewise.
6660 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
6661 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
6662 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
6663 (test-xfail-XPG4/search.h/linknamespace): Likewise.
6664 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
6665 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
6666 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
6667 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
6668 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
6669 (test-xfail-XPG4/time.h/linknamespace): Likewise.
6670 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
6671 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
6672 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
6673 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
6674 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
6675 (test-xfail-POSIX/math.h/linknamespace): Likewise.
6676 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
6677 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
6678 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
6679 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
6680 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
6681 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
6682 (test-xfail-POSIX/time.h/linknamespace): Likewise.
6683 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
6684 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
6685 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
6686 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
6687 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
6688 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
6689 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
6690 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
6691 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
6692 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
6693 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
6694 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
6695 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
6696 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
6697 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
6698 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
6699 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
6700 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
6701 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
6702 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
6703 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
6704 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
6705 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
6706 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
6707 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
6708 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
6709 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
6710 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
6711 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
6712 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
6713 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
6714 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
6715 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
6716 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
6717 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
6718 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
6719 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
6720 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
6721 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
6722 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
6723 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
6724 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
6725 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
6726 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
6727 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
6728 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
6729 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
6730 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
6731 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
6732 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
6733 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
6734 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
6735 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
6736 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
6737 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
6738 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
6739 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
6740 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
6741 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
6742 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
6743 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
6744 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
6745 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
6746 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
6747 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
6748 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
6749 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
6750 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
6751 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
6752 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
6753 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
6754 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
6755 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
6756 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
6757 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
6758 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
6759 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
6760 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
6761 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
6762 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
6763 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
6764 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
6765 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
6766 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
6767 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
6768 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
6769 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
6770 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
6771 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
6772 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
6773 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
6774 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
6775 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
6776 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
6777 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
6778 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
6779 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
6780 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
6781
cc67478e
JM
6782 [BZ #17589]
6783 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
6784 of fgets_unlocked.
6785
9975e3d3
JM
6786 [BZ #17585]
6787 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
6788 (memmem): Rename to __memmem and define as weak alias of
6789 __memmem. Use libc_hidden_weak.
6790 (__memmem): Use libc_hidden_def.
6791 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
6792 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
6793 memmem.
6794
c4eae752
JM
6795 [BZ #17582]
6796 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
6797 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
6798 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
6799 and define as weak alias of __fgets_unlocked. Use
6800 libc_hidden_weak.
6801 (__fgets_unlocked): Use libc_hidden_def.
6802 * include/stdio.h (__fgets_unlocked): Declare. Use
6803 libc_hidden_proto.
6804 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
6805 __fgets_unlocked instead of fgets_unlocked.
6806 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
6807 (GET_NPROCS_CONF_PARSER): Likewise.
6808 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
6809 (GET_NPROCS_CONF_PARSER): Likewise.
6810
01cad84e
JM
6811 [BZ #17574]
6812 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
6813 weak alias of __wmemset. Use libc_hidden_weak.
6814 (__wmemset): Use libc_hidden_def.
6815 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
6816 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
6817 of wmemset.
6818
939da411
JM
6819 [BZ #17573]
6820 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
6821 with asm name __mempcpy.
6822 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
6823
293d9a41
JM
6824 [BZ #17572]
6825 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
6826 and define as weak alias of __rawmemchr.
6827 (__rawmemchr): Do not define as strong alias of rawmemchr.
6828
bef8fd60
JM
6829 [BZ #17571]
6830 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
6831 alias of __qsort_r.
6832 (qsort): Call __qsort_r instead of qsort_r.
6833 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
6834 (__qsort_r): Declare. Call libc_hidden_proto.
6835 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
6836 instead of qsort_r.
6837 * nscd/gai.c (__qsort_r): Define to qsort_r.
6838 * posix/tst-rfc3484.c (__qsort_r): Likewise.
6839 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
6840 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
6841
c52ff39e
JM
6842 [BZ #17570]
6843 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
6844 define as weak alias of __malloc_info.
6845
2f5c1b00
JM
6846 [BZ #17584]
6847 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
6848 as weak alias of __rewinddir. Don't use libc_hidden_def.
6849 (__rewinddir): Use libc_hidden_def.
6850 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
6851 as weak alias of __rewinddir. Don't use libc_hidden_def.
6852 (__rewinddir): Use libc_hidden_def.
6853 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
6854 weak alias of __rewinddir. Don't use libc_hidden_def.
6855 (__rewinddir): Use libc_hidden_def.
6856 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
6857 (__rewinddir): Use libc_hidden_proto.
6858 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
6859 rewinddir.
6860 (__getcwd): Use __rewinddir instead of rewinddir.
6861
5a6fa4d7
JM
6862 [BZ #17583]
6863 * libio/fileno.c (fileno): Rename to __fileno and define as weak
6864 alias of __fileno. Use libc_hidden_weak.
6865 (__fileno): Use libc_hidden_def.
6866 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
6867 * libio/ftello.c (ftello): Rename to __ftello and define as weak
6868 alias of __ftello.
6869 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
6870 __ftello.
6871 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
6872 (__fread_unlocked): Define as strong alias of _IO_fread. Use
6873 libc_hidden_def.
6874 (fread_unlocked): Don't use libc_hidden_ver.
6875 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
6876 and define as weak alias of __fread_unlocked. Don't use
6877 libc_hidden_def.
6878 (__fread_unlocked): Use libc_hidden_def.
6879 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
6880 (ftello): Don't use libc_hidden_proto.
6881 (__ftello): Declare. Use libc_hidden_proto.
6882 (fread_unlocked): Don't use libc_hidden_proto.
6883 (__fread_unlocked): Declare. Use libc_hidden_proto.
6884 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
6885 and __ftello instead of fileno, fread_unlocked and ftello.
6886
2581b98e
SP
68872012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6888
6889 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
6890 GOT12.
6891 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
6892 Likewise.
6893 (_dl_start_user): Likewise.
6894 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
6895
533bb7c2
SP
68962014-11-12 Carlos O'Donell <carlos@redhat.com>
6897 Siddhesh Poyarekar <siddhesh@redhat.com>
6898
6899 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
6900 Move argv and envp down instead of moving argc up.
6901 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
6902
fffa1cf8
LH
69032014-11-12 Leonhard Holz <leonhard.holz@web.de>
6904
6905 [BZ #17506]
6906 * test-skeleton.c (main): Return successful if one of
6907 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
6908 * string/tst-strcoll-overflow.c: Define expected status.
6909
fb89b46d
TU
69102014-11-12 Tatiana Udalova <t.udalova@samsung.com>
6911
6912 [BZ #17475]
6913 * locale/iso-639.def: Define Bhili and Tulu language codes.
6914
5c40c3ba
AH
69152014-11-11 Alan Hayward <alan.hayward@arm.com>
6916
6917 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
6918
b17fe01b 69192014-11-10 Renlin Li <Renlin.Li@arm.com>
80085def
RL
6920
6921 [BZ #17555]
6922 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
6923
bd805071
AS
69242014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
6925
6926 * configure.ac: Updated check of minimal required version to
6927 2.22.
6928 * manual/install.texi (Tools for Compilation): Updated version
6929 number.
6930 * configure: Regenerated.
6931 * INSTALL: Likewise.
6932
1400983e
AS
69332014-11-07 Andreas Schwab <schwab@linux-m68k.org>
6934
6935 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
6936 __tls_get_addr.
6937
2c46a66a
JM
69382014-11-07 Joseph Myers <joseph@codesourcery.com>
6939
6940 * include/sys/wait.h (__libc_waitpid): Remove declaration.
6941 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
6942 (__waitpid): Don't define as alias. Use libc_hidden_def not
6943 libc_hidden_weak.
6944 (waitpid): Define as alias of __waitpid.
6945 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
6946 __waitpid.
6947 (__waitpid): Don't define as alias. Use libc_hidden_def not
6948 libc_hidden_weak.
6949 (waitpid): Define as alias of __waitpid.
6950 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
6951 __libc_waitpid alias.
6952 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
6953 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
6954 Likewise.
6955 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
6956 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
6957 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
6958 alias.
6959 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
6960 __waitpid.
6961 (__waitpid): Don't define as alias. Use libc_hidden_def not
6962 libc_hidden_weak.
6963 (waitpid): Define as alias of __waitpid.
6964
da53d6db
CD
69652014-11-06 Carlos O'Donell <carlos@redhat.com>
6966
a2887bdb
CD
6967 * manual/llio.texi: Add comment that write safety has been
6968 fixed in Linux.
6969
da53d6db
CD
6970 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
6971 (localplt-build-dso): Add elf/ld.so.
6972 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
6973 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
6974 and free for ld.so.
6975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
6976 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
6977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
6978 Likewise.
6979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
6980 Likewise.
6981 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
6982 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
6983 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
6984 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
6985 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
6986 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
6987 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
6988 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
6989 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
6990 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
6991 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
6992
9cf27b8d
JM
69932014-11-05 Joseph Myers <joseph@codesourcery.com>
6994
6995 [BZ #14132]
6996 * include/libc-symbols.h (INTUSE): Remove macro.
6997 (INTDEF): Likewise.
6998 (INTVARDEF): Likewise.
6999 (_INTVARDEF): Likewise.
7000 (INTDEF2): Likewise.
7001 (INTVARDEF2): Likewise.
7002 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
7003 rtld_hidden_def instead of INTVARDEF.
7004 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
7005 (_dl_starting_up_internal): Remove declaration.
7006 (_dl_starting_up): Use rtld_hidden_proto.
7007 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
7008 declaration.
7009 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
7010 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
7011 _dl_starting_up.
7012 * elf/dl-writev.h (_dl_writev): Likewise.
7013 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
7014 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
7015 _dl_starting_up_internal.
7016
af83568d
AZ
70172014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7018
7019 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
7020 test-skeleton.c.
7021
b01ee67c
WN
70222014-11-05 Will Newton <will.newton@linaro.org>
7023
7024 * benchtests/Makefile: (bench-malloc): Add malloc thread
7025 scalability benchmark.
7026 * benchtests/bench-malloc-threads.c: New file.
7027
be9d4ccc
RE
70282014-11-05 Richard Earnshaw <rearnsha@arm.com>
7029
7030 * sysdeps/aarch64/strchrnul.S: New file.
7031
7110166d
AZ
70322014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7033
7034 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
7035 definition.
7036 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
7037 Likwise.
7038 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
7039 Likewise.
7040 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
7041 Likewise.
7042 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
7043 Likewise.
7044 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
7045 Likewise.
7046
70472014-11-05 Arjun Shankar <arjun.is@lostca.se>
29955b5d
AS
7048
7049 * catgets/test-gencat.c: Use test-skeleton.c.
7050 * catgets/tst-catgets.c: Likewise.
7051 * csu/tst-empty.c: Likewise.
7052 * elf/tst-audit2.c: Likewise.
7053 * elf/tst-global1.c: Likewise.
7054 * elf/tst-pathopt.c: Likewise.
7055 * elf/tst-piemod1.c: Likewise.
7056 * elf/tst-tls10.c: Likewise.
7057 * elf/tst-tls11.c: Likewise.
7058 * elf/tst-tls12.c: Likewise.
7059 * gnulib/tst-gcc.c: Likewise.
7060 * iconvdata/tst-e2big.c: Likewise.
7061 * iconvdata/tst-loading.c: Likewise.
7062 * iconv/tst-iconv1.c: Likewise.
7063 * iconv/tst-iconv2.c: Likewise.
7064 * inet/test-inet6_opt.c: Likewise.
7065 * inet/tst-gethnm.c: Likewise.
7066 * inet/tst-network.c: Likewise.
7067 * inet/tst-ntoa.c: Likewise.
7068 * intl/tst-codeset.c: Likewise.
7069 * intl/tst-gettext2.c: Likewise.
7070 * intl/tst-gettext3.c: Likewise.
7071 * intl/tst-ngettext.c: Likewise.
7072 * intl/tst-translit.c: Likewise.
7073 * io/test-stat.c: Likewise.
7074 * libio/test-fmemopen.c: Likewise.
7075 * libio/tst-freopen.c: Likewise.
7076 * libio/tst-sscanf.c: Likewise.
7077 * libio/tst-ungetwc1.c: Likewise.
7078 * libio/tst-ungetwc2.c: Likewise.
7079 * libio/tst-widetext.c: Likewise.
7080 * localedata/tst-ctype.c: Likewise.
7081 * localedata/tst-digits.c: Likewise.
7082 * localedata/tst-leaks.c: Likewise.
7083 * localedata/tst-mbswcs1.c: Likewise.
7084 * localedata/tst-mbswcs2.c: Likewise.
7085 * localedata/tst-mbswcs3.c: Likewise.
7086 * localedata/tst-mbswcs4.c: Likewise.
7087 * localedata/tst-mbswcs5.c: Likewise.
7088 * localedata/tst-setlocale.c: Likewise.
7089 * localedata/tst-trans.c: Likewise.
7090 * localedata/tst-wctype.c: Likewise.
7091 * localedata/tst-xlocale1.c: Likewise.
7092 * login/tst-grantpt.c: Likewise.
7093 * malloc/tst-calloc.c: Likewise.
7094 * malloc/tst-malloc.c: Likewise.
7095 * malloc/tst-mallocstate.c: Likewise.
7096 * malloc/tst-mcheck.c: Likewise.
7097 * malloc/tst-mtrace.c: Likewise.
7098 * malloc/tst-obstack.c: Likewise.
7099 * math/atest-exp2.c: Likewise.
7100 * math/atest-exp.c: Likewise.
7101 * math/atest-sincos.c: Likewise.
7102 * math/test-matherr.c: Likewise.
7103 * math/test-misc.c: Likewise.
7104 * math/test-powl.c: Likewise.
7105 * math/tst-definitions.c: Likewise.
7106 * misc/tst-dirname.c: Likewise.
7107 * misc/tst-efgcvt.c: Likewise.
7108 * misc/tst-fdset.c: Likewise.
7109 * misc/tst-hsearch.c: Likewise.
7110 * misc/tst-mntent2.c: Likewise.
7111 * nptl/tst-sem7.c: Likewise.
7112 * nptl/tst-sem8.c: Likewise.
7113 * nptl/tst-sem9.c: Likewise.
7114 * nss/test-netdb.c: Likewise.
7115 * posix/tst-fnmatch.c: Likewise.
7116 * posix/tst-getlogin.c: Likewise.
7117 * posix/tst-gnuglob.c: Likewise.
7118 * posix/tst-mmap.c: Likewise.
7119 * pwd/tst-getpw.c: Likewise.
7120 * resolv/tst-inet_ntop.c: Likewise.
7121 * rt/tst-timer.c: Likewise.
7122 * stdio-common/test-fseek.c: Likewise.
7123 * stdio-common/test-popen.c: Likewise.
7124 * stdio-common/test-vfprintf.c: Likewise.
7125 * stdio-common/tst-cookie.c: Likewise.
7126 * stdio-common/tst-fileno.c: Likewise.
7127 * stdio-common/tst-gets.c: Likewise.
7128 * stdio-common/tst-obprintf.c: Likewise.
7129 * stdio-common/tst-perror.c: Likewise.
7130 * stdio-common/tst-sprintf2.c: Likewise.
7131 * stdio-common/tst-sprintf3.c: Likewise.
7132 * stdio-common/tst-sprintf.c: Likewise.
7133 * stdio-common/tst-swprintf.c: Likewise.
7134 * stdio-common/tst-tmpnam.c: Likewise.
7135 * stdio-common/tst-unbputc.c: Likewise.
7136 * stdio-common/tst-wc-printf.c: Likewise.
7137 * stdlib/tst-environ.c: Likewise.
7138 * stdlib/tst-fmtmsg.c: Likewise.
7139 * stdlib/tst-limits.c: Likewise.
7140 * stdlib/tst-rand48-2.c: Likewise.
7141 * stdlib/tst-rand48.c: Likewise.
7142 * stdlib/tst-random2.c: Likewise.
7143 * stdlib/tst-random.c: Likewise.
7144 * stdlib/tst-strtol.c: Likewise.
7145 * stdlib/tst-strtoll.c: Likewise.
7146 * stdlib/tst-tls-atexit.c: Likewise.
7147 * stdlib/tst-xpg-basename.c: Likewise.
7148 * string/test-ffs.c: Likewise.
7149 * string/tst-bswap.c: Likewise.
7150 * string/tst-inlcall.c: Likewise.
7151 * string/tst-strtok.c: Likewise.
7152 * string/tst-strxfrm.c: Likewise.
7153 * sysdeps/x86_64/tst-audit10.c: Likewise.
7154 * sysdeps/x86_64/tst-audit3.c: Likewise.
7155 * sysdeps/x86_64/tst-audit4.c: Likewise.
7156 * sysdeps/x86_64/tst-audit5.c: Likewise.
7157 * time/tst-ftime_l.c: Likewise.
7158 * time/tst-getdate.c: Likewise.
7159 * time/tst-mktime3.c: Likewise.
7160 * time/tst-mktime.c: Likewise.
7161 * time/tst-posixtz.c: Likewise.
7162 * time/tst-strptime2.c: Likewise.
7163 * time/tst-strptime3.c: Likewise.
7164 * wcsmbs/tst-btowc.c: Likewise.
7165 * wcsmbs/tst-mbrtowc.c: Likewise.
7166 * wcsmbs/tst-mbsrtowcs.c: Likewise.
7167 * wcsmbs/tst-wchar-h.c: Likewise.
7168 * wcsmbs/tst-wcpncpy.c: Likewise.
7169 * wcsmbs/tst-wcrtomb.c: Likewise.
7170 * wcsmbs/tst-wcsnlen.c: Likewise.
7171 * wcsmbs/tst-wcstof.c: Likewise.
7172
2004e7fb
JM
71732014-11-04 Joseph Myers <joseph@codesourcery.com>
7174
ab97ee8f
JM
7175 [BZ #14132]
7176 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
7177 INTDEF.
7178 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
7179 declaration.
7180 (_dl_mcount): Use rtld_hidden_proto.
7181 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
7182 _dl_mcount.
7183 * elf/rtld.c (_rtld_global_ro): Likewise.
7184
c5684fdb
JM
7185 [BZ #14132]
7186 * elf/dl-init.c (_dl_init): Don't use INTDEF.
7187 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
7188 of _dl_init_internal.
7189 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
7190 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
7191 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
7192 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
7193 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
7194 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
7195 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
7196 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
7197 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
7198 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
7199 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
7200 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
7201 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
7202 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
7203 * sysdeps/tile/dl-start.S (_start): Likewise.
7204 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
7205 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
7206
4243cbea
JM
7207 [BZ #14132]
7208 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
7209 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
7210 (rtld_progname): Make macro definition unconditional.
7211 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
7212 INTDEF.
7213 (dlmopen_doit): Do not use INTUSE with _dl_argv.
7214 (dl_main): Likewise.
7215 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
7216 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
7217 instead of _dl_argv_internal.
7218 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
7219 __GI__dl_argv instead of INTUSE(_dl_argv).
7220 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
7221 __GI__dl_argv instead of _dl_argv_internal.
7222
2004e7fb
JM
7223 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
7224 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
7225 macro.
7226 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
7227 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
7228 New macro.
7229 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
7230 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
7231 macro.
7232 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
7233 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
7234
97827bfc
AS
72352014-11-04 Andreas Schwab <schwab@suse.de>
7236
7237 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
7238
5e4df284
AZ
72392014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7240
7241 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
7242 mtvsrd instruction in binary form.
7243
04b76b5a
AS
72442014-11-03 Andreas Schwab <schwab@suse.de>
7245
7246 [BZ #17522]
7247 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
7248 for less than MB_LEN_MAX use a local buffer of that size.
7249 * libio/tst-fputws.c: New file.
7250 * libio/Makefile (tests): Add tst-fputws.
7251
4c6da7da
JM
72522014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
7253
7254 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
7255 the size of the fpu_fr.fpu_dregs[] array.
7256
1679ba8e
JM
72572014-11-01 Joseph Myers <joseph@codesourcery.com>
7258
7259 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
7260 (__nanosleep): Do not define as alias.
7261 (nanosleep): Define as alias of __nanosleep.
7262 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
7263 __libc_nanosleep name.
7264
2626c183
JM
72652014-10-31 Joseph Myers <joseph@codesourcery.com>
7266
7267 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
7268 install.texi in comment.
7269
7f981fc2
TR
72702014-10-31 Torvald Riegel <triegel@redhat.com>
7271
7272 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
7273 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
7274 ... add here and use lwsync or sync ...
7275 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
7276 ... and add here using lwsync.
7277
d6f373d2
MF
72782014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
7279
7280 * elf/dl-machine-reject-phdr.h: New file.
7281 * elf/dl-load.c: #include that.
7282 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
7283 if that returned true.
7284
67c37987
RM
72852014-10-31 Roland McGrath <roland@hack.frob.com>
7286
7287 [BZ #17496]
7288 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
7289 gen-as-const-headers chunk. Add a big scare comment after the last
7290 safe place to touch before-compile.
7291
94a42455 72922014-10-31 Joseph Myers <joseph@codesourcery.com>
f62ff286 7293
f3f5d895
JM
7294 * manual/install.texi (Tools for Compilation): Update autoconf
7295 version requirements.
7296 * INSTALL: Regenerated.
7297
f62ff286
JM
7298 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
7299 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
7300 (__libc_pselect): Likewise.
94a42455
JM
7301
7302 [BZ #14138]
7303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
7304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
7305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
7306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
7307
ff9dbdc0
TR
73082014-10-31 Torvald Riegel <triegel@redhat.com>
7309
7310 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
7311 correct barrier instruction.
7312 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
7313 Likewise.
7314 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
7315 Likewise.
7316
b4f66884
RM
73172014-10-30 Roland McGrath <roland@hack.frob.com>
7318
7319 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
7320 after defining inlines. Instead, just use parens to defeat macro
7321 expansion of __isctype in its declaration.
7322
e19c95fd
JM
73232014-10-30 Joseph Myers <joseph@codesourcery.com>
7324
7325 * include/sys/uio.h (__libc_readv): Remove declaration.
7326 (__libc_writev): Likewise.
7327 * misc/readv.c (__libc_readv): Rename to __readv.
7328 (__readv): Do not define as alias.
7329 (readv): Define as alias of __readv.
7330 * misc/writev.c (__libc_writev): Rename to __writev.
7331 (__writev): Do not define as alias.
7332 (writev): Define as alias of __writev.
7333 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
7334 (__readv): Do not define as alias.
7335 (readv): Define unconditionally as alias of __readv.
7336 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
7337 (__writev): Do not define as alias.
7338 (writev): Define unconditionally as alias of __writev.
7339 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
7340 name.
7341 (writev): Do not define __libc_writev name.
7342
65b00b6c
RM
73432014-10-30 Roland McGrath <roland@hack.frob.com>
7344
7345 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
7346 (convert_charseq): New function, broken out of ...
7347 (use_from_charmap): ... here. Call it.
7348 (use_to_charmap): Use convert_charseq and free instead of duplicating
7349 its code with a variable-length stack struct.
7350
d4e157aa
JM
73512014-10-30 Joseph Myers <joseph@codesourcery.com>
7352
7353 * include/fcntl.h (__libc_creat): Remove declaration.
7354 * io/creat.c (__libc_creat): Rename to creat.
7355 (creat): Do not define as alias.
7356 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
7357 of creat instead of __libc_creat.
7358 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
7359 to creat.
7360 (creat): Do not define as alias.
7361 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
7362 __libc_creat.
7363 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
7364 __libc_creat name.
7365 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
7366 Likewise.
7367
0c6891a0
CD
73682014-10-29 Carlos O'Donell <carlos@redhat.com>
7369
7370 * manual/llio.texi: Add comments discussing why write() may be
7371 considered MT-unsafe on Linux.
7372
cc00cece
CD
73732014-10-28 Carlos O'Donell <carlos@redhat.com>
7374
7375 * dl-load.c (local_strdup): Remove.
7376 (expand_dynamic_string_token): Use __strdup.
7377 (decompose_rpath): Likewise.
7378 (_dl_map_object): Likewise.
7379
51e623f2
JM
73802014-10-28 Joseph Myers <joseph@codesourcery.com>
7381
7382 [BZ #14132]
7383 * sysdeps/generic/unwind-dw2-fde.c
7384 (__register_frame_info_bases_internal): Do not declare.
7385 (__register_frame_info_table_bases_internal): Likewise.
7386 (__deregister_frame_info_bases_internal): Likewise.
7387 (__register_frame_info_bases): Declare and use hidden_proto before
7388 definition. Use hidden_def instead of INTDEF.
7389 (__register_frame_info_table_bases): Likewise.
7390 (__deregister_frame_info_bases): Likewise.
7391 (__register_frame_info): Do not use INTUSE.
7392 (__register_frame): Likewise.
7393 (__register_frame_info_table): Likewise.
7394 (__register_frame_table): Likewise.
7395 (__deregister_frame_info): Likewise.
7396 (__deregister_frame): Likewise.
7397
03d41216
GC
73982014-10-27 Gratian Crisan <gratian.crisan@ni.com>
7399
7400 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7401 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
7402 not undefine.
7403 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
7404 Likewise.
7405 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
7406 Likewise.
7407
a4b3624d
JM
74082014-10-27 Joseph Myers <joseph@codesourcery.com>
7409
7410 [BZ #14138]
7411 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
7412 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
7413 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
7414 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
7415 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
7416 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
7417 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
7418 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
7419 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
7420 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
7421 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
7422 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
7423 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
7424 syscall.
7425 (setfsuid): Likewise.
7426 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
7427 (setfsuid): Likewise.
7428 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
7429 (setfsuid): Likewise.
7430 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
7431 Likewise.
7432 (setfsuid): Likewise.
7433 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
7434 (setfsuid): Likewise.
7435 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
7436 Likewise.
7437 (setfsuid): Likewise.
7438
3574f2fd
AS
74392014-10-27 Andreas Schwab <schwab@suse.de>
7440
7441 [BZ #17501]
7442 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
7443 check for Slow_SSE4_2 feature bit.
7444 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
7445 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
7446 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
7447 Likewise. Fix check for Fast_Unaligned_Load feature bit.
7448
70996a37
RM
74492014-10-24 Roland McGrath <roland@hack.frob.com>
7450
461a7b1e
RM
7451 * configure.ac: Validate compiler version with a empirical test of
7452 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
7453 $CC -v output.
7454 * configure: Regenerated.
7455
70996a37
RM
7456 * inet/htons.c (htons): Prototypify.
7457 * inet/htonl.c (htonl): Likewise.
7458
e80514b5
WD
74592014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
7460
7461 * string/strncat.c (strncat): Improve performance by using strlen.
7462
6e46de42
WD
74632014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
7464
7465 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
7466
6a9ad2fa
WD
74672014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
7468
7469 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
7470 Call libc_fetestexcept_aarch64.
7471
1c8810ed
WD
74722014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
7473
7474 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
7475 Call libc_feholdexcept_aarch64.
7476
8b1af712
WD
74772014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
7478
7479 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
7480 Call get_rounding_mode.
7481
a7b00c11
WD
74822014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
7483
7484 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
7485 Simplify logic.
7486
3a84f1a6
WD
74872014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
7488
7489 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
7490 Simplify logic.
7491
48eb7a94
JM
74922014-10-24 Joseph Myers <joseph@codesourcery.com>
7493
c8bc4038
JM
7494 [BZ #14138]
7495 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
7496 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
7497 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
7498 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
7499 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
7500 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
7501 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
7502 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
7503 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
7504 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
7505 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
7506 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
7507 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
7508 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
7509 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
7510 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
7511 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
7512 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
7513 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
7514 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
7515 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
7516 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
7517 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
7518 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
7519 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
7520 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
7521 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
7522 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
7523 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
7524 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
7525 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
7526 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
7527 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
7528 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
7529 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
7530 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
7531 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
7532 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
7533 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
7534 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
7535 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
7536 syscall.
7537 (geteuid): Likewise.
7538 (getgid): Likewise.
7539 (getuid): Likewise.
7540 (getresgid): Likewise.
7541 (getresuid): Likewise.
7542 (getgroups): Likewise.
7543 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
7544 (geteuid): Likewise.
7545 (getgid): Likewise.
7546 (getuid): Likewise.
7547 (getresgid): Likewise.
7548 (getresuid): Likewise.
7549 (getgroups): Likewise.
7550 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
7551 (geteuid): Likewise.
7552 (getgid): Likewise.
7553 (getuid): Likewise.
7554 (getresgid): Likewise.
7555 (getresuid): Likewise.
7556 (getgroups): Likewise.
7557 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
7558 Likewise.
7559 (geteuid): Likewise.
7560 (getgid): Likewise.
7561 (getuid): Likewise.
7562 (getresgid): Likewise.
7563 (getresuid): Likewise.
7564 (getgroups): Likewise.
7565 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
7566 (geteuid): Likewise.
7567 (getgid): Likewise.
7568 (getuid): Likewise.
7569 (getresgid): Likewise.
7570 (getresuid): Likewise.
7571 (getgroups): Likewise.
7572 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
7573 Likewise.
7574 (geteuid): Likewise.
7575 (getgid): Likewise.
7576 (getuid): Likewise.
7577 (getgroups): Likewise.
7578
48eb7a94
JM
7579 [BZ #14138]
7580 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
7581 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
7582 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
7583 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
7584 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
7585 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
7586 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
7587 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
7588 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
7589 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
7590 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
7591 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
7592 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
7593 __chown.
7594 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
7595 (lchown): Likewise.
7596 (fchown): Likewise.
7597 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
7598 Likewise.
7599 (lchown): Likewise.
7600 (fchown): Likewise.
7601 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
7602 (lchown): Likewise.
7603 (fchown): Likewise.
7604 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
7605 Likewise.
7606 (lchown): Likewise.
7607 (fchown): Likewise.
7608
ea9a7c8b
WD
76092014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
7610
7611 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
7612 Simplify logic.
7613
e226de33
WD
76142014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
7615
7616 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
7617 Cleanup logic.
7618
6e3d8ed3
WD
76192014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
7620
7621 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
7622 Remove unused include.
7623
eb04247d
WD
76242014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
7625
7626 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
7627 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
7628 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
7629 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
7630
13d84554
CD
76312014-10-23 Carlos O'Donell <carlos@systemhalted.org>
7632 Helge Deller <deller@gmx.de>
7633
7634 [BZ #17508]
7635 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
7636 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
7637 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
7638
15f9c5df
JM
76392014-10-23 Joseph Myers <joseph@codesourcery.com>
7640
7641 [BZ #14132]
7642 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
7643 Remove macro definition.
7644 (__ashrdi3_v_glibc20): Likewise.
7645 (__lshrdi3_v_glibc20): Likewise.
7646 (__cmpdi2_v_glibc20): Likewise.
7647 (__ucmpdi2_v_glibc20): Likewise.
7648 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
7649 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
7650 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
7651 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
7652 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
7653 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
7654
c6dfed24
RM
76552014-10-22 Roland McGrath <roland@hack.frob.com>
7656
7657 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
7658 old GNU extension [0] syntax.
7659 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
7660 alloca rather than an array member with variable length.
7661 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
7662 * nscd/nscd.c (invalidate_db): New function, broken out of ...
7663 (parse_opt): ... here. Likewise use alloca there.
7664 Validate the -i argument before checking for rootness.
7665 (send_shutdown): New function, broken out of ...
7666 (parse_opt): ... here.
7667
8c2b1ed8
RM
76682014-10-22 Roland McGrath <roland@hack.frob.com>
7669
7670 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
7671 macro to get at the _rt_local_ro field.
7672 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
7673 ([PIC] case) or _dl_hwcap ([!PIC] case).
7674 * sysdeps/arm/setjmp.S: Likewise.
7675
7676 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
7677 * sysdeps/arm/configure.ac: New check to define it.
7678 * sysdeps/arm/configure: Regenerated.
7679 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
7680 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
7681 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
7682 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
7683 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
7684 Use move/movt pair instead of a load.
7685 (LDST_GLOBAL): Macro removed.
7686 (LDR_GLOBAL): New macro replaces it.
7687 (LDR_HIDDEN): New macro.
7688 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
7689 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
7690
7691 * setjmp/tst-setjmp-static.c: New file.
7692 * setjmp/Makefile (tests): Add it.
7693 (tests-static): New variable.
7694
b5af9297
MR
76952014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
7696
7697 [BZ #17485]
7698 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
7699
a13d0d74
JM
77002014-10-21 Joseph Myers <joseph@codesourcery.com>
7701
7702 [BZ #14132]
7703 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
7704
f05e73f6
RM
77052014-10-21 Roland McGrath <roland@hack.frob.com>
7706
7707 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
7708
6ab1d1ea
RM
77092014-10-20 Roland McGrath <roland@hack.frob.com>
7710
7711 * io/fts.c (dirent_not_directory): New function.
7712 (fts_build): Call it.
7713
ab49e763
RM
77142014-10-20 Roland McGrath <roland@hack.frob.com>
7715
e436eb79
RM
7716 * nptl/version.c (__nptl_main): Use normal __write rather than
7717 INTERNAL_SYSCALL.
7718 (banner): Update copyright years.
7719
6af246cf
RM
7720 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
7721 gettimeofday.
7722 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
7723 * nptl/pthread_cond_timedwait.c: Likewise.
7724 * nptl/pthread_mutex_timedlock.c: Likewise.
7725 * nptl/sem_timedwait.c: Likewise.
7726
ab49e763
RM
7727 * sysdeps/nptl/bits/libc-lock.h
7728 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
7729 (__libc_lock_init_recursive): Return void, not 0.
7730 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
7731 (__libc_rwlock_init): Likewise.
7732 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
7733
f50277c1
TR
77342014-10-20 Torvald Riegel <triegel@redhat.com>
7735
7736 [BZ #15215]
7737 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
7738 (__pthread_once_slow): ... here.
7739 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
7740 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
7741
63668b70
TR
77422014-10-20 Torvald Riegel <triegel@redhat.com>
7743
7744 [BZ #15215]
7745 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
7746 __PTHREAD_ONCE_FORK_GEN_INCR): New.
7747 * sysdeps/nptl/fork.c (__libc_fork): Use them.
7748 * nptl/pthread_once.c (__pthread_once): Likewise.
7749 Update comments.
7750
42b7f5d4
JM
77512014-10-20 Joseph Myers <joseph@codesourcery.com>
7752
7753 [BZ #14138]
7754 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
7755 name.
7756 (writev): Use __libc_writev as strong name.
7757 * sysdeps/unix/sysv/linux/readv.c: Remove file.
7758 * sysdeps/unix/sysv/linux/writev.c: Likewise.
7759
b0643088
RM
77602014-10-17 Roland McGrath <roland@hack.frob.com>
7761
114c4e09
RM
7762 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
7763
674b8978
RM
7764 * sysdeps/i386/nptl/tls.h
7765 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
7766 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
7767 New macros.
7768 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
7769 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
7770 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
7771 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
7772 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
7773 Call CHECK_THREAD_SYSINFO instead of doing an assert.
7774
184ee940
RM
7775 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
7776 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
7777 on [__NR_futex].
7778 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
7779 broken out of ...
7780 (__pthread_mutex_init): ... here. Call it.
7781 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
7782 Conditionalize PI cases on [__NR_futex].
7783 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
7784 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
7785 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
7786
327ae257
RM
7787 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
7788 conditional on [SIGSETXID].
7789 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
7790 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
7791 is defined. Likewise for SIGSETXID.
7792 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
7793 Conditionalize definitions on [SIGSETXID].
7794 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
7795 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
7796 unblocking on [SIGCANCEL].
7797
b0643088
RM
7798 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
7799 [__NR_set_robust_list].
7800
33cc770b
SP
78012014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7802
7803 * string/strcoll_l.c (get_next_seq): Fix up formatting.
7804 (do_compare): Likewise.
7805
0742aef6
LH
78062014-10-17 Leonhard Holz <leonhard.holz@web.de>
7807
7808 [BZ #15884]
7809 * string/strcoll_l.c: Don't include stdio.h.
7810 (coll_seq): Remove members idxarr and rulearr.
7811 (get_next_seq_cached): Remove function.
7812 (get_next_seq): Likewise.
7813 (get_next_seq_nocache): Rename to get_next_seq.
7814 (do_compare): Remove function.
7815 (do_compare_nocache): Rename to do_compare.
7816 (STRCOLL): Remove weight and rules cache.
7817
ee54ce44
RM
78182014-10-16 Roland McGrath <roland@hack.frob.com>
7819
7820 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
7821 * sysdeps/arm/sfp-machine.h: ... to here.
7822 * sysdeps/arm/Implies: Remove arm/soft-fp.
7823
a75d3b02
JM
78242014-10-14 Joseph Myers <joseph@codesourcery.com>
7825
7826 * conform/data/sys/utsname.h-data (*_t): Allow.
7827 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
7828 [POSIX] (WEXITED): Do not expect constant.
7829 [POSIX] (WSTOPPED): Likewise.
7830 [POSIX] (WNOHANG): Likewise.
7831 [POSIX] (WNOWAIT): Likewise.
7832 [POSIX] (siginfo_t): Do not expect type or elements.
7833 [POSIX] (pid_t): Do not expect type.
7834 [POSIX] (signal.h): Do not allow header.
7835 [POSIX] (sys/resource.h): Likewise.
7836 [POSIX] (si_*): Do not allow pattern.
7837 [POSIX] (W*): Likewise.
7838 [POSIX] (P_*): Likewise.
7839 [POSIX] (BUS_*): Likewise.
7840 [POSIX] (CLD_*): Likewise.
7841 [POSIX] (FPE_*): Likewise.
7842 [POSIX] (ILL_*): Likewise.
7843 [POSIX] (POLL_*): Likewise.
7844 [POSIX] (SEGV_*): Likewise.
7845 [POSIX] (SI_*): Likewise.
7846 [POSIX] (TRAP_*): Likewise.
7847 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
7848 variable.
7849
fda389c8
SP
78502014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
7851
7852 [BZ #12926]
7853 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
7854 infinite loop when __recvmsg returns 0.
7855
6bc6bd3b
JM
78562014-10-10 Joseph Myers <joseph@codesourcery.com>
7857
fcb32af1
JM
7858 * CANCEL-FCT-WAIVE: Remove file.
7859 * CANCEL-FILE-WAIVE: Likewise.
7860
6bc6bd3b
JM
7861 [BZ #14132]
7862 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
7863 instead of INTVARDEF.
7864 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
7865 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
7866 rtld_hidden_data_def instead of INTVARDEF.
7867 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
7868 * elf/dl-deps.c (expand_dst): Likewise.
7869 * elf/dl-load.c (_dl_dst_count): Likewise.
7870 (_dl_dst_substitute): Likewise.
7871 (decompose_rpath): Likewise.
7872 (_dl_init_paths): Likewise.
7873 (open_path): Likewise.
7874 (_dl_map_object): Likewise.
7875 * elf/rtld.c (dl_main): Likewise.
7876 (process_dl_audit): Likewise.
7877 (process_envvars): Likewise.
7878 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
7879 Remove declaration.
7880 (__libc_enable_secure): Use rtld_hidden_proto.
7881
b8c80a7e
KS
78822014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7883
7884 * elf/dl-load.c
7885 (add_path): New function broken out of _dl_rtld_di_serinfo.
7886 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
7887
ff12c11f
JM
78882014-10-09 Joseph Myers <joseph@codesourcery.com>
7889
5c0508a3
JM
7890 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
7891 parentheses around macro arguments.
7892 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
7893 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
7894 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
7895 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
7896 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
7897 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
7898 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
7899 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
7900 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
7901 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
7902 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
7903 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
7904 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
7905 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
7906 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
7907 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
7908 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
7909 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
7910 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
7911 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
7912 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
7913 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
7914 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
7915 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
7916 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
7917 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
7918 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
7919 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
7920 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
7921 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
7922 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
7923 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
7924 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
7925 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
7926 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
7927 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
7928 Likewise.
7929 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
7930 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
7931 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
7932 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
7933 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
7934 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
7935 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
7936 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
7937 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
7938 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
7939 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
7940 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
7941 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
7942 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
7943 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
7944 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
7945 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
7946 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
7947 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
7948 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
7949 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
7950 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
7951 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
7952 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
7953 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
7954 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
7955 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
7956 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
7957 (_FP_FRAC_SRS_1): Likewise.
7958 (_FP_FRAC_CLZ_1): Likewise.
7959 (_FP_MUL_MEAT_1_imm): Likewise.
7960 (_FP_MUL_MEAT_1_wide): Likewise.
7961 (_FP_MUL_MEAT_1_hard): Likewise.
7962 (_FP_SQRT_MEAT_1): Likewise.
7963 (_FP_FRAC_ASSEMBLE_1): Likewise.
7964 (_FP_FRAC_DISASSEMBLE_1): Likewise.
7965 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
7966 (__FP_CLZ_2): Likewise.
7967 (_FP_MUL_MEAT_2_wide): Likewise.
7968 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
7969 (_FP_MUL_MEAT_2_gmp): Likewise.
7970 (_FP_MUL_MEAT_2_120_240_double): Likewise.
7971 (_FP_SQRT_MEAT_2): Likewise.
7972 (_FP_FRAC_ASSEMBLE_2): Likewise.
7973 (_FP_FRAC_DISASSEMBLE_2): Likewise.
7974 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
7975 (_FP_FRAC_CLZ_4): Likewise.
7976 (_FP_MUL_MEAT_4_wide): Likewise.
7977 (_FP_MUL_MEAT_4_gmp): Likewise.
7978 (_FP_SQRT_MEAT_4): Likewise.
7979 (_FP_FRAC_ASSEMBLE_4): Likewise.
7980 (_FP_FRAC_DISASSEMBLE_4): Likewise.
7981 * soft-fp/op-common.h (_FP_CMP): Likewise.
7982 (_FP_CMP_EQ): Likewise.
7983 (_FP_CMP_UNORD): Likewise.
7984 (_FP_TO_INT): Likewise.
7985 (_FP_FROM_INT): Likewise.
7986 [!__FP_CLZ] (__FP_CLZ): Likewise.
7987 (_FP_DIV_HELP_imm): Likewise.
7988 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
7989 Likewise.
7990 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
7991 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
7992 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
7993 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
7994 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
7995 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
7996 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
7997 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
7998 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
7999 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
8000 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
8001 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
8002 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
8003 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
8004 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
8005 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
8006 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
8007 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
8008 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
8009 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
8010 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
8011 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
8012 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
8013 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
8014 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
8015 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
8016 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
8017 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
8018 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
8019 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
8020 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
8021 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
8022 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
8023 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
8024 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
8025 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
8026 (FP_UNPACK_RAW_SP): Likewise.
8027 (FP_PACK_RAW_S): Likewise.
8028 (FP_PACK_RAW_SP): Likewise.
8029 (FP_UNPACK_S): Likewise.
8030 (FP_UNPACK_SP): Likewise.
8031 (FP_UNPACK_SEMIRAW_S): Likewise.
8032 (FP_UNPACK_SEMIRAW_SP): Likewise.
8033 (FP_PACK_S): Likewise.
8034 (FP_PACK_SP): Likewise.
8035 (FP_PACK_SEMIRAW_S): Likewise.
8036 (FP_PACK_SEMIRAW_SP): Likewise.
8037 (_FP_SQRT_MEAT_S): Likewise.
8038 (FP_CMP_S): Likewise.
8039 (FP_CMP_EQ_S): Likewise.
8040 (FP_CMP_UNORD_S): Likewise.
8041 (FP_TO_INT_S): Likewise.
8042 (FP_FROM_INT_S): Likewise.
8043
a736ec37
JM
8044 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
8045
ff12c11f
JM
8046 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
8047 (FP_EX_INVALID_IMZ): Likewise.
8048 (FP_EX_INVALID_IMZ_FMA): Likewise.
8049 (FP_EX_INVALID_ISI): Likewise.
8050 (FP_EX_INVALID_ZDZ): Likewise.
8051 (FP_EX_INVALID_IDI): Likewise.
8052 (FP_EX_INVALID_SQRT): Likewise.
8053 (FP_EX_INVALID_CVI): Likewise.
8054 (FP_EX_INVALID_VC): Likewise.
8055 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
8056 "invalid" exceptions.
8057 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
8058 (_FP_ADD_INTERNAL): Likewise.
8059 (_FP_MUL): Likewise.
8060 (_FP_FMA): Likewise.
8061 (_FP_DIV): Likewise.
8062 (_FP_CMP_CHECK_NAN): Likewise.
8063 (_FP_SQRT): Likewise.
8064 (_FP_TO_INT): Likewise.
8065 (FP_EXTEND): Likewise.
8066
b6dcfe8c
AM
80672014-10-09 Allan McRae <allan@archlinux.org>
8068
8069 * po/fr.po: Update French translation from translation project.
8070
2d6a47ba
JM
80712014-10-09 Joseph Myers <joseph@codesourcery.com>
8072
cb831245
JM
8073 [BZ #14132]
8074 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
8075 of INTDEF.
8076 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
8077 (__cxa_atexit): Use libc_hidden_proto.
8078 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
8079
5deeb190
JM
8080 [BZ #14132]
8081 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
8082 declaration.
8083 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
8084 [!_ISOMAC] (__iswspace_l_internal): Likewise.
8085 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
8086 [!_ISOMAC] (__iswctype_internal): Likewise.
8087 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
8088 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
8089 alias.
8090 (fcntl): Remove __fcntl_internal alias.
8091 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
8092 __connect_internal alias.
8093 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
8094 Likewise.
8095
454ac701
JM
8096 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
8097 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
8098 FP_DENORM_ZERO.
8099 (_FP_CHECK_FLUSH_ZERO): New macro.
8100 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
8101 (_FP_CMP): Likewise.
8102 (_FP_CMP_EQ): Likewise.
8103 (_FP_TO_INT): Do not set inexact for subnormal arguments if
8104 FP_DENORM_ZERO.
8105 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
8106 (FP_TRUNC): Likewise.
8107
0022e688
JM
8108 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
8109 treated as invalid conversion, not as normal exponent.
8110
73e28d9c
JM
8111 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
8112 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
8113 (_FP_CMP_EQ): Likewise.
8114 (_FP_CMP_UNORD): Likewise.
8115 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
8116 (FP_CMP_EQ_D): Likewise.
8117 (FP_CMP_UNORD_D): Likewise.
8118 * soft-fp/extended.h (FP_CMP_E): Likewise.
8119 (FP_CMP_EQ_E): Likewise.
8120 (FP_CMP_UNORD_E): Likewise.
8121 * soft-fp/quad.h (FP_CMP_Q): Likewise.
8122 (FP_CMP_EQ_Q): Likewise.
8123 (FP_CMP_UNORD_Q): Likewise.
8124 * soft-fp/single.h (FP_CMP_S): Likewise.
8125 (FP_CMP_EQ_S): Likewise.
8126 (FP_CMP_UNORD_S): Likewise.
8127 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
8128 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
8129 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
8130 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
8131 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
8132 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
8133 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
8134 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
8135 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
8136 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
8137 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
8138 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
8139 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
8140 to FP_CMP_Q.
8141 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
8142 FP_CMP_Q.
8143 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
8144 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
8145 FP_CMP_EQ_Q.
8146 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
8147 FP_CMP_Q.
8148 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
8149 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
8150 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
8151 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
8152 FP_CMP_EQ_Q.
8153 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
8154 FP_CMP_Q.
8155 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
8156 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
8157 FP_CMP_EQ_Q.
8158 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
8159 FP_CMP_Q.
8160 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
8161 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
8162 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
8163 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
8164 FP_CMP_EQ_Q.
8165
43059f42
JM
8166 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
8167 a subnormal result, set the underflow exception if trapping on
8168 underflow is enabled.
8169 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
8170 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
8171 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
8172 redefine to 0.
8173 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
8174 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
8175 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
8176 * soft-fp/extendxftf2.c (__extendxftf2): Use
8177 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
8178
2d6a47ba
JM
8179 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
8180 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
8181 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
8182 FP_HANDLE_EXCEPTIONS.
8183 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
8184 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
8185 FP_HANDLE_EXCEPTIONS.
8186 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
8187 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
8188 FP_HANDLE_EXCEPTIONS.
8189 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
8190 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
8191 FP_HANDLE_EXCEPTIONS.
8192
620f462e
JM
81932014-10-08 Joseph Myers <joseph@codesourcery.com>
8194
8195 [BZ #14132]
8196 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
8197 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
8198 use INTUSE.
8199 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
8200 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
8201 Remove alias.
8202 (__adjtimex): Define using libc_hidden_ver.
8203 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
8204 Remove declaration.
8205 (ntp_gettime): Call __adjtimex directly.
8206 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
8207 Remove declaration.
8208 (ntp_gettimex): Call __adjtimex directly.
8209 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
8210 __adjtimex_internal alias.
8211
c763c5d2
RM
82122014-10-08 Roland McGrath <roland@hack.frob.com>
8213
8214 [BZ #17460]
8215 * nscd/nscd.c (more_help): Rewrite list of tables collection
8216 using xstrdup and asprintf.
8217
8218 * nscd/nscd_conf.c: Remove local xstrdup declaration.
8219
7b8fb2b8
RM
82202014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
8221 Roland McGrath <roland@hack.frob.com>
8222
8223 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
8224 (do_lookup_unique): ... local function 'enter' here; update callers.
8225
abb280f7
JM
82262014-10-06 Joseph Myers <joseph@codesourcery.com>
8227
f7b42517
JM
8228 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
8229 compat_symbol calls on [SHARED].
8230 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
8231 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
8232 Remove.
8233 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
8234 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
8235 (oldsetrlimit): Remove.
8236 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
8237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
8238 (lchown): New syscall entry.
8239 (oldsetrlimit): Remove.
8240 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
8241 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
8242 (oldsetrlimit): Remove.
8243 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
8244
abb280f7
JM
8245 [BZ #14138]
8246 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
8247 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
8248 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
8249 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
8250 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
8251 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
8252 (fchown): Likewise.
8253 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
8254 (fchown): Likewise.
8255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
8256 Likewise.
8257
47d46237
AZ
82582014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8259
8260 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
8261 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
8262 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
8263 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
8264 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
8265 Likewise.
8266 (__old_sem_post): Likewise.
8267
82682014-10-06 Chris Metcalf <cmetcalf@tilera.com>
1c4c1a6f 8269
845a7343
CM
8270 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
8271 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
8272 HAVE_CLOCK_GETTIME_VSYSCALL macros.
8273 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
8274 Use INLINE_VSYSCALL macro.
8275 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
8276 __vdso_clock_gettime.
8277 * sysdeps/unix/sysv/linux/tile/init-first.c
8278 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
8279 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
8280 __vdso_clock_gettime.
8281
83d641ef
CM
8282 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
8283 to set up frame more cleanly.
8284
d9cd52e6
CM
8285 * sysdeps/tile/memcmp.c: New file.
8286
4b68ea11
CM
8287 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
8288
c86f7b80
CM
8289 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
8290 * sysdeps/tile/tilegx/strcasestr.c: New file.
8291 * sysdeps/tile/tilegx/strnlen.c: New file.
8292 * sysdeps/tile/tilegx/strstr.c: New file.
8293
1c4c1a6f
CM
8294 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
8295
99d86ea3
AS
82962014-10-06 Arjun Shankar <arjun.is@lostca.se>
8297
8298 * nptl/tst-setuid3.c: Write errors to stdout.
8299
06210a44
KS
83002014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
8301
8302 * elf/dl-deps.c
8303 (preload): New functions broken out of _dl_map_object_deps.
8304 (_dl_map_object_deps): Remove a nested function. Update call sites.
8305
6268f532
JM
83062014-10-01 Joseph Myers <joseph@codesourcery.com>
8307
8308 [BZ #14138]
8309 * sysdeps/unix/sysv/linux/execve.c: Remove file.
8310 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
8311
b925285f
SE
83122014-10-01 Steve Ellcey <sellcey@mips.com>
8313
8314 * sysdeps/mips/strcmp.S: New.
8315
754a15c6
JM
83162014-09-30 Joseph Myers <joseph@codesourcery.com>
8317
8318 [BZ #14138]
8319 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
8320 (linkat): Likewise.
8321 (mkdirat): Likewise.
8322 (readlinkat): Likewise.
8323 (renameat): Likewise.
8324 (symlinkat): Likewise.
8325 (unlinkat): Likewise.
8326 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
8327 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
8328 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
8329 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
8330 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
8331 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
8332 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
8333
85bb81c9
WN
83342014-09-30 Will Newton <will.newton@linaro.org>
8335
dc6fe23b
WN
8336 * math/math.h: Define long double math functions if
8337 _LIBC_TEST is defined.
8338 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
8339
85bb81c9
WN
8340 * localedata/Makefile: Move assignment to tests-special
8341 into an ifdef testing run-built-tests.
8342 * timezone/Makefile: Likewise.
8343
b7e02da4
JM
83442014-09-29 Joseph Myers <joseph@codesourcery.com>
8345
8346 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
8347 with $(BASH) not $(SHELL).
8348
62058ce6
CD
83492014-09-29 Carlos O'Donell <carlos@redhat.com>
8350 Matthew LeGendre <legendre1@llnl.gov>
8351
8352 [BZ #17411]
8353 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
8354 l_reloc_result.
8355
8e257a29
KS
83562014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
8357
8358 * stdio-common/printf_fp.c
8359 (hack_digit): New function, broken out of ...
8360 (__printf_fp): ... local function here. Update call sites.
8361 hack_digit now takes an additional parameter that is a pointer
8362 to a struct of the referenced locals. Those locals moved inside
8363 the struct and references updated.
8364
f4a58f0d
L
83652014-09-29 H.J. Lu <hongjiu.lu@intel.com>
8366
8367 * aclocal.m4: Require autoconf 2.69.
8368 * configure: Regenerated.
8369 * sysdeps/aarch64/configure: Likewise.
8370 * sysdeps/alpha/configure: Likewise.
8371 * sysdeps/arm/armv7/configure: Likewise.
8372 * sysdeps/arm/configure: Likewise.
8373 * sysdeps/ia64/configure: Likewise.
8374 * sysdeps/mach/configure: Likewise.
8375 * sysdeps/mips/configure: Likewise.
8376 * sysdeps/s390/configure: Likewise.
8377 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
8378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
8379
8380 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
8381 file.
8382 * sysdeps/ia64/configure.ac: Likewise.
8383
93ae1eba
JM
83842014-09-26 Joseph Myers <joseph@codesourcery.com>
8385
1810d3ab
JM
8386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
8387 specify symbol version for ld.so. Do not include entry for
8388 libpthread.
8389 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
8390 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
8391 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
8392
93ae1eba
JM
8393 [BZ #14171]
8394 * Makeconfig [$(build-shared) = yes]
8395 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
8396 makefiles.
8397 [$(build-shared) = yes && $(soversions.mk-done) = t]
8398 ($(common-objpfx)gnu/lib-names.h): Remove rule.
8399 [$(build-shared) = yes && $(soversions.mk-done) = t]
8400 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
8401 to Makerules.
8402 [$(build-shared) = yes && $(soversions.mk-done) = t]
8403 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
8404 here.
8405 [$(build-shared) = yes && $(soversions.mk-done) = t]
8406 (common-generated): Don't append gnu/lib-names.h and
8407 gnu/lib-names.stmp here.
8408 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
8409 (lib-names-h-abi): New variable.
8410 [$(build-shared) = yes && $(soversions.mk-done) = t]
8411 (lib-names-stmp-abi): Likewise.
8412 [$(build-shared) = yes && $(soversions.mk-done) = t &&
8413 abi-variants] (before-compile): Append
8414 $(common-objpfx)$(lib-names-h-abi).
8415 [$(build-shared) = yes && $(soversions.mk-done) = t &&
8416 abi-variants] (common-generated): Append gnu/lib-names.h.
8417 [$(build-shared) = yes && $(soversions.mk-done) = t &&
8418 abi-variants] (install-others-nosubdir): Depend on
8419 $(inst_includedir)/$(lib-names-h-abi).
8420 [$(build-shared) = yes && $(soversions.mk-done) = t &&
8421 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
8422 [$(build-shared) = yes && $(soversions.mk-done) = t]
8423 ($(common-objpfx)$(lib-names-h-abi)): New rule.
8424 [$(build-shared) = yes && $(soversions.mk-done) = t]
8425 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
8426 [$(build-shared) = yes && $(soversions.mk-done) = t]
8427 (common-generated): Append $(lib-names-h-abi) and
8428 $(lib-names-stmp-abi).
8429 * scripts/lib-names.awk: Do not handle multi being set.
8430 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
8431 Remove variable.
8432 (abi-lp64_be-ld-soname): Likewise.
8433 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
8434 Likewise.
8435 (abi-hard-ld-soname): Likewise.
8436 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
8437 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
8438 Remove variable.
8439 (abi-o32_hard-ld-soname): Likewise.
8440 (abi-o32_soft_2008-ld-soname): Likewise.
8441 (abi-o32_hard_2008-ld-soname): Likewise.
8442 (abi-n32_soft-ld-soname): Likewise.
8443 (abi-n32_hard-ld-soname): Likewise.
8444 (abi-n32_soft_2008-ld-soname): Likewise.
8445 (abi-n32_hard_2008-ld-soname): Likewise.
8446 (abi-n64_soft-ld-soname): Likewise.
8447 (abi-n64_hard-ld-soname): Likewise.
8448 (abi-n64_soft_2008-ld-soname): Likewise.
8449 (abi-n64_hard_2008-ld-soname): Likewise.
8450 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
8451 Likewise.
8452 (abi-64-v2-ld-soname): Likewise.
8453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
8454 ld.so entries.
8455 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
8456 variable.
8457 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
8458 entry.
8459 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
8460 variable.
8461 (abi-64-ld-soname): Likewise.
8462 (abi-x32-ld-soname): Likewise.
8463 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
8464 entry.
8465 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
8466
68870f12
JM
84672014-09-23 Joseph Myers <joseph@codesourcery.com>
8468
8469 [BZ #14138]
8470 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
8471 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
8472 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
8473 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
8474 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
8475 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
8476 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
8477 syscall entry for GLIBC_2.2 symbol version.
8478 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
8479 Likewise.
8480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
8481 (setrlimit): Likewise.
8482 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
8483 Likewise.
8484
ea58f202
WN
84852014-09-23 Will Newton <will.newton@linaro.org>
8486
8487 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
8488 _LINUX_ARM_SYSDEP_H include guard too.
8489 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
8490 define.
8491
69eb9a18
RV
84922014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
8493
8494 * sysdeps/unix/sysv/linux/eventfd.c:
8495 Make first argument unsigned.
8496 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
8497 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
8498
20e5a5f7
OB
84992014-09-20 Ondřej Bílka <neleai@seznam.cz>
8500
8501 * socket/recvmmsg.c (recvmmsg): Drop const argument.
8502 * socket/sys/socket.h: Likewise
8503 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
8504
d3c827e7
AK
85052014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8506
8507 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
8508
fe1cc35a
AS
85092014-09-17 Arjun Shankar <arjun.is@lostca.se>
8510
8511 * time/tst-ftime.c: New test.
8512 * time/Makefile (tests): Add tst-ftime.
8513
4e8afe69
JM
85142014-09-17 Joseph Myers <joseph@codesourcery.com>
8515
c4fe3ea7
JM
8516 * soft-fp/extended.h: Fix comment formatting.
8517 * soft-fp/op-1.h: Likewise.
8518 * soft-fp/op-2.h: Likewise.
8519 * soft-fp/op-4.h: Likewise.
8520 * soft-fp/op-8.h: Likewise.
8521 * soft-fp/op-common.h: Likewise.
8522 * soft-fp/soft-fp.h: Likewise.
8523
4e8afe69
JM
8524 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
8525
af296fcd
JM
85262014-09-16 Joseph Myers <joseph@codesourcery.com>
8527
8528 [BZ #6652]
8529 * Makeconfig (soversions-default-setname): Remove variable.
8530 ($(common-objpfx)soversions.i): Don't pass default_setname to
8531 soversions.awk.
8532 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
8533 oldest_abi to abi-versions.awk.
8534 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
8535 * config.make.in (oldest-abi): Remove variable.
8536 * configure.ac (--enable-oldest-abi): Remove configure option.
8537 * configure: Regenerated.
8538 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
8539 text.
8540 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
8541 * scripts/soversions.awk: Do not handle default_setname variable.
8542 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
8543 variable.
8544 * sysdeps/mach/hurd/configure: Regenerated.
8545 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
8546 variable.
8547 * sysdeps/unix/sysv/linux/configure: Regenerated.
8548
545583d6
SP
85492014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8550
d330b980
SP
8551 * elf/Makefile (CFLAGS-interp.c): Remove.
8552 ($(elf-objpfx)runtime-linker.h): Generate header with linker
8553 path string.
8554 * elf/interp.c: Include generated runtime-linker.h
8555
02657da2
SP
8556 * Makerules (lib%.so): Don't include $(+interp) in
8557 prerequisites.
8558 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
8559 * dlfcn/eval.c: Remove file.
8560
653b1080
SP
8561 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
8562 macros.
8563
602f80ec
SP
8564 [BZ #17266]
8565 * misc/sys/cdefs.h: Define __extern_always_inline for clang
8566 4.2 and newer.
8567
545583d6
SP
8568 [BZ #17370]
8569 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
8570
884ddc50
SP
85712014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8572 Jakub Jelinek <jakub@redhat.com>
8573
8574 [BZ #17266]
8575 * libio/stdio.h: Check definition of __fortify_function
8576 instead of __extern_always_inline to include bits/stdio2.h.
8577 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
8578 check if __extern_always_inline is defined.
8579 [__USE_MISC || __USE_XOPEN]: Likewise.
8580 [__USE_ISOC99] Likewise.
8581 * misc/sys/cdefs.h (__fortify_function): Define only if
8582 __extern_always_inline is defined.
8583 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
8584 __extern_always_inline and __extern_inline only for g++-4.3
8585 and newer or a compatible gcc.
8586
a7b87268
AS
85872014-09-15 Andreas Schwab <schwab@linux-m68k.org>
8588
8589 [BZ #17371]
8590 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
8591 last change to handle zero prefix length.
8592
3f41521d
SP
85932014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8594
61fe374a
SP
8595 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
8596 _SC_REGEX_VERSION.
8597
3f41521d
SP
8598 * posix/getconf.c (vars): Add _POSIX_IPV6 and
8599 _POSIX_RAW_SOCKETS.
8600
d8f879ee
AM
86012014-09-13 Allan McRae <allan@archlinux.org>
8602
8603 * po/ru.po: Update Russian translation from translation project.
8604
c079afb7
RM
86052014-09-12 Roland McGrath <roland@hack.frob.com>
8606
a62b3c15
RM
8607 * locale/programs/locale.c (show_locale_vars): Inline local function
8608 into its sole call site. Clean up some style nits.
8609 (print_item): New function, broken out of ...
8610 (show_info): ... local function here. Clean up style nits.
8611
d7e49b19
RM
8612 * locale/programs/ld-ctype.c (set_one_default): New function, broken
8613 out of ...
8614 (set_class_defaults): ... local function set_default here.
8615 Define set_default as a macro locally to pass constant parameters.
8616 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
8617 rather than a shared local.
8618
c079afb7
RM
8619 * stdlib/rpmatch.c (try): New function, broken out of ...
8620 (rpmatch): ... local function here. Also, prototypify definition.
8621
0bd72468
JM
86222014-09-12 Joseph Myers <joseph@codesourcery.com>
8623
ba90e050
JM
8624 * scripts/soversions.awk: Do not handle configuration names.
8625 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
8626 vendor and os variables to soversions.awk.
8627 * configure.ac: Do not modify gnu-* host_os.
8628 * configure: Regenerated
8629 * shlib-versions: Remove first column with configuration names.
8630 * nptl/shlib-versions: Likewise.
8631 * nptl_db/shlib-versions: Likewise.
8632 * sysdeps/hppa/shlib-versions: Likewise.
8633 * sysdeps/m68k/shlib-versions: Likewise.
8634 * sysdeps/mach/hurd/shlib-versions: Likewise.
8635 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
8636 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
8637 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
8638 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
8639 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
8640 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
8641 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
8642 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
8643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
8644 Likewise.
8645 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
8646 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
8647 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
8648 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
8649 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
8650 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
8651 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
8652 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
8653
73a39112
JM
8654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
8655 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
8656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
8657 Regenerated.
8658 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
8659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
8660 Condition symbol version definitions on [HAVE_ELFV2_ABI].
8661
c729e7c1
JM
8662 * shlib-versions: Remove OS-specific entries. Moved to files in
8663 sysdeps.
8664 * sysdeps/mach/hurd/shlib-versions: New file.
8665 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
8666
dc932a24
JM
8667 * nptl/shlib-versions: Remove architecture-specific entries.
8668 Moved to files in sysdeps.
8669 * shlib-versions: Likewise.
8670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
8671 file.
8672 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
8673 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
8674 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
8675 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
8676
0bd72468
JM
8677 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
8678 (UDP_NO_CHECK6_RX): Likewise.
8679
920238e0
SP
86802014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8681
8682 * sysdeps/posix/sysconf.c (__sysconf): Spell
8683 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
8684
ba7b4d29
FW
86852014-08-12 Florian Weimer <fweimer@redhat.com>
8686
8687 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
8688 loading.
8689 * iconv/Versions (__gconv_transliterate): Export for use from
8690 gconv modules.
8691 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
8692 (struct __gconv_trans_data, __gconv_trans_fct,
8693 __gconv_trans_context_fct, __gconv_trans_query_fct,
8694 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
8695 definitions.
8696 (struct __gconv_step_data): Remove __trans member.
8697 (__gconv_transliterate): Declaration moved from gconv_int.h. No
8698 longer hidden. Remove unused trans_data argument.
8699 * iconv/gconv_int.h (struct trans_struct): Remove definition.
8700 (__gconv_translit_find): Remove declaration.
8701 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
8702 prototype.
8703 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
8704 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
8705 trans_data argument. Add hidden definition.
8706 (__gconv_translit_find): Remove.
8707 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
8708 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
8709 * iconv/skeleton.c: Remove transliteration initialization.
8710 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
8711 __gconv_step_data initialization.
8712 * libio/iofwide.c (__libio_translit_): Remove.
8713 (_IO_fwide): Adjust struct __gconv_step_data initialization.
8714 * wcsmbs/btowc.c (__btowc): Likewise.
8715 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
8716 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
8717 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
8718 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
8719 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
8720 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
8721 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
8722 * wcsmbs/wctob.c (wctob): Likewise.
8723
5379aebd
SP
87242014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8725
8726 [BZ #16194]
8727 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
8728 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
8729 register usage.
8730 * sysdeps/x86/Makefile: Adjust.
8731
8c0ab919
RM
87322014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
8733 Roland McGrath <roland@hack.frob.com>
8734
8735 * locale/weight.h: Add include guard.
8736 (findidx): Make static rather than auto; take new parameters
8737 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
8738 * locale/weightwc.h: Likewise.
8739 * posix/fnmatch_loop.c
8740 (FCT): Change type of EXTRA from int32_t to wint_t.
8741 Don't include either header inside the function.
8742 Call FINDIDX rather than findidx, and pass new arguments.
8743 #undef FINDIDX at the end of the file.
8744 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
8745 FINDIDX before including fnmatch_loop.c for the non-wide version.
8746 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
8747 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
8748 for the wide version.
8749 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
8750 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
8751 Pass new arguments to findidx.
8752 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
8753 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
8754 Don't #include it inside the function. Pass new arguments to findidx.
8755 * posix/regex_internal.h
8756 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
8757 (re_string_elem_size_at): Don't #include it inside the function.
8758 Pass new arguments to findidx.
8759 * string/strcoll_l.c: #include WEIGHT_H at top level.
8760 (get_next_seq): Don't #include it inside the function.
8761 Pass new arguments to findidx.
8762 (get_next_seq_nocache): Likewise.
8763 * string/strxfrm_l.c: #include WEIGHT_H at top level.
8764 (STRXFRM): Don't #include it inside the function.
8765 Pass new arguments to findidx.
8766
52ffbdf2
FW
87672014-09-11 Florian Weimer <fweimer@redhat.com>
8768
8769 [BZ #17344]
8770 * malloc/malloc.c (unlink): Turn asserts into a call to
8771 malloc_printerr.
8772
984c0ea9
TL
87732014-09-11 Tim Lammens <tim.lammens@gmail.com>
8774
8775 [BZ #17370]
8776 * libio/wfileops (do_ftell_wide): Free OUT.
8777
3daee107
CM
87782014-09-10 Chris Metcalf <cmetcalf@tilera.com>
8779
8780 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
8781
58b930ae
SP
87822014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8783
8784 [BZ #17363]
8785 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
8786 group if the current group is empty.
8787
3b473fec
AZ
87882014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8789
71ae8647
AZ
8790 * benchtests/bench-memset.c (test_main): Add more test from size
8791 from 32 to 512 bytes.
8792 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8793 Add POWER8 memset object.
8794 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8795 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
8796 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
8797 implementation.
8798 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
8799 Likewise.
8800 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
8801 multiarch POWER8 memset optimization.
8802 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
8803 POWER8 memset optimization.
8804
3b473fec
AZ
8805 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8806 Remove bzero multiarch objects.
8807 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
8808 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
8809 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
8810 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
8811 Remove define.
8812 [__bzero]: Redefine to specific name.
8813 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
8814 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
8815 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
8816 define.
8817 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
8818 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
8819
e6fb9587
FW
88202014-09-10 Florian Weimer <fweimer@redhat.com>
8821
8822 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
8823 warnings into errors.
8824
8825 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
8826 __cxa_thread_atexit_impl prototype.
8827
9d3a350b
SE
88282014-09-09 Steve Ellcey <sellcey@mips.com>
8829
8830 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
8831 Fix capitalization of error message.
8832
0febba23
SE
88332014-09-09 Steve Ellcey <sellcey@mips.com>
8834
8835 * sysdeps/mips/preconfigure: Modify ABI tests.
8836
645a0e9c
CD
88372014-09-07 Carlos O'Donell <carlos@systemhalted.org>
8838
8839 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
8840
d83f0734
CD
88412014-09-07 Roland McGrath <roland@hack.frob.com>
8842 Carlos O'Donell <carlos@systemhalted.org>
8843
8844 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
8845 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
8846 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
8847 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
8848 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
8849 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
8850 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
8851 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
8852 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
8853 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
8854 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
8855 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
8856 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
8857 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
8858 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
8859 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
8860 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
8861 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
8862 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
8863 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
8864 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
8865 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
8866 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
8867 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
8868 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
8869 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
8870 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
8871 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
8872 Deconditionalize the code that was previously under [RESET_PID].
8873 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
8874 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
8875 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
8876 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
8877 include sysdep.h.
8878
21c83793
AM
88792014-09-08 Allan McRae <allan@archlinux.org>
8880
8881 * version.h (RELEASE): Set to "development".
8882 (VERSION): Set to "2.20.90"
8883
1cd9b65c
AM
88842014-09-07 Allan McRae <allan@archlinux.org
8885
b8079dd0
AM
8886 * version.h (RELEASE): Set to "stable".
8887 (VERSION): Set to "2.20"
8888 * include/features.h (__GLIBC_MINOR__): Set to 20.
8889
c46303ef
AM
8890 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
8891 Liebler.
8892
1cd9b65c
AM
8893 * po/ko.po: Update Korean translation from translation project.
8894
8622092d
CM
88952014-09-06 Chris Metcalf <cmetcalf@tilera.com>
8896
8897 [BZ #17354]
8898 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
8899 macro for handling signed relocations.
8900
41488498
FW
89012014-09-03 Florian Weimer <fweimer@redhat.com>
8902
8903 [BZ #17325]
8904 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
8905 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
8906 assert.
8907 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
8908 * iconvdata/ibm935.c (BODY): Likewise.
8909 * iconvdata/ibm937.c (BODY): Likewise.
8910 * iconvdata/ibm939.c (BODY): Likewise.
8911 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
8912 assert.
8913 * iconvdata/Makefile (iconv-test.out): Pass module list to test
8914 script.
8915 * iconvdata/run-iconv-test.sh: New test loop for checking for
8916 decoder crashers.
8917
a78b712d
KR
89182014-09-02 Khem Raj <raj.khem@gmail.com>
8919
8920 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
8921 libm_hidden_ver.
8922
cb08abc6
AM
89232014-09-01 Allan McRae <allan@archlinux.org>
8924
2c31e102
AM
8925 * po/eo.po: Update Esperanto translation from translation project.
8926
cb08abc6
AM
8927 * po/ca.po: Update Catalan translation from translation project.
8928
17a62de1
ST
89292014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
8930
8931 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
8932 __proc_dostop call.
8933
9570bc53
MW
89342014-08-27 Mark Wielaard <mjw@redhat.com>
8935
8936 [BZ #17319]
8937 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
8938 to call set_thread_area instead of hand written asm.
8939 (__NR_set_thread_area): Removed define.
8940 (TLS_FLAG_WRITABLE): Likewise.
8941 (__ASSUME_SET_THREAD_AREA): Remove check.
8942 (TLS_EBX_ARG): Remove define.
8943 (TLS_LOAD_EBX): Likewise.
8944
b0f955c9
ST
89452014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
8946
8947 Simplify atomicity of socket creation in bind.
8948
8949 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
8950 looking up the name after linking the file.
8951
529bf515
AM
89522014-08-27 Allan McRae <allan@archlinux.org>
8953
8954 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
8955
a1a6a401
FW
89562014-08-26 Florian Weimer <fweimer@redhat.com>
8957
8958 [BZ #17187]
8959 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
8960 trans_compare, open_translit, __gconv_translit_find):
8961 Remove module loading code.
8962
686ab290
AM
89632014-08-26 Allan McRae <allan@archlinux.org>
8964
e4e7cfd2
AM
8965 * po/vi.po: Update Vietnamese translation from translation project.
8966
6aa09f71
AM
8967 * po/uk.po: Update Ukrainian translation from translation project.
8968
edc0660e
AM
8969 * po/fr.po: Update French translation from translation project.
8970
7eea72ac
AM
8971 * po/ru.po: Update Russian translation from translation project.
8972
93c49eff
AM
8973 * po/pl.po: Update Polish translation from translation project.
8974
46acaf63
AM
8975 * po/cs.po: Update Czech translation from translation project.
8976
a9f5ce98
AM
8977 * po/de.po: Update German translation from translation project.
8978
373f2b78
AM
8979 * po/bg.po: Update Bulgarian translation from translation project.
8980
e7548bd8
AM
8981 * po/sv.po: Update Sweedish translation from translation project.
8982
c526bf4d
AM
8983 * po/nl.po: Update Dutch translation from translation project.
8984
686ab290
AM
8985 * po/es.po: Update Spanish translation from translation project.
8986
eb72478a
SP
89872014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8988
dd763fdb
SP
8989 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
8990
318c7a58
SP
8991 * catgets/Makefile (CPPFLAGS-gencat): Remove.
8992 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
8993 (CPPFLAGS-iconvconfig): Likewise.
8994 * timezone/Makefile (CPPFLAGS-zic): Likewise.
8995
eb72478a
SP
8996 * include/libc-symbols.h: Remove unnecessary check for
8997 NOT_IN_libc.
8998 * nptl/pthreadP.h: Likewise.
8999 * sysdeps/aarch64/setjmp.S: Likewise.
9000 * sysdeps/alpha/setjmp.S: Likewise.
9001 * sysdeps/arm/sysdep.h: Likewise.
9002 * sysdeps/i386/setjmp.S: Likewise.
9003 * sysdeps/m68k/setjmp.c: Likewise.
9004 * sysdeps/posix/getcwd.c: Likewise.
9005 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
9006 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
9007 * sysdeps/s390/s390-32/setjmp.S: Likewise.
9008 * sysdeps/s390/s390-64/setjmp.S: Likewise.
9009 * sysdeps/sh/sh3/setjmp.S: Likewise.
9010 * sysdeps/sh/sh4/setjmp.S: Likewise.
9011 * sysdeps/unix/alpha/sysdep.h: Likewise.
9012 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
9013 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9014 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
9015 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
9017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9018 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9019 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9020 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9021 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9022 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9023 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
9024 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9025 * sysdeps/x86_64/setjmp.S: Likewise.
9026
d44a052c
JM
90272014-08-13 Joseph Myers <joseph@codesourcery.com>
9028
9029 [BZ #17263]
9030 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
9031 <stdint.h>.
9032 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
9033 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
9034
508ce3ac
SP
90352014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
9036
e44c8b0e
SP
9037 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
9038
508ce3ac
SP
9039 [BZ #17262]
9040 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
9041 and __x86_64__ when disabling x87 inline functions.
9042
b4acef1f
L
90432014-08-12 H.J. Lu <hongjiu.lu@intel.com>
9044
9045 [BZ #17259]
9046 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
9047 asm statement with __cpuid_count.
9048
61b1ef6e
MF
90492014-08-12 Mike Frysinger <vapier@gentoo.org>
9050
9051 * configure.ac: Change __ehdr_start code to dereference the struct.
9052 Run readelf on the output to look for relocations.
9053 * configure: Regenerated.
9054
898c62f4
JM
90552014-08-12 Joseph Myers <joseph@codesourcery.com>
9056
9057 [BZ #17261]
9058 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
9059 value to 0.
9060 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
9061
9a8a5720
RM
90622014-08-12 Roland McGrath <roland@hack.frob.com>
9063
9064 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
9065
4e75751c
BO
90662014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
9067
9068 [BZ #16892]
9069 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
9070 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
9071
bb2ce416
SA
90722014-08-12 Sean Anderson <seanga2@gmail.com>
9073
9074 * malloc/malloc.c: Fix typo in comment.
9075
7950a4ee
AM
90762014-08-09 Allan McRae <allan@archlinux.org>
9077
9078 * Regenerate libc.po.
9079
f469c49f
MF
90802014-08-08 Mike Frysinger <vapier@gentoo.org>
9081
9082 * intl/tst-gettext2.sh: Check every lang file for creation.
9083
656b84c2
WD
90842014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
9085
9086 * sysdeps/aarch64/fpu/math_private.h
9087 (libc_feholdsetround_noex_aarch64_ctx): New function.
9088
538e9e45
W
90892014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
9090
9091 * sysdeps/arm/armv6/strcpy.S (strcpy):
9092 Fix performance issue in misaligned cases.
9093
d4795e4a
AZ
90942014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9095
9096 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
9097 Move definition from termios.h.
9098 (struct termio): Likewise.
9099 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
9100 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
9101 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
9102 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
9103 Likewise.
9104 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
9105 Move definition to ioctl-types.h
9106 (struct termio): Likewise.
9107 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
9108 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
9109 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
9110 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
9111 Likewise.
9112
64accb62
RH
91132014-08-05 Richard Henderson <rth@redhat.com>
9114
27bb6dc0
RH
9115 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
9116 exceptions.
9117 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
9118 Add fraiseexcpt.
9119 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
9120 Use __feraiseexcept.
9121 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
9122 Protect libm symbols with IS_IN_libm.
9123
64accb62
RH
9124 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
9125
e5292691
BO
91262014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
9127
9128 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
9129
5b4bd2d4
WN
91302014-08-04 Will Newton <will.newton@linaro.org>
9131
9132 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
9133 file.
9134
fcadaeef
MF
91352014-08-04 Mike Frysinger <vapier@gentoo.org>
9136
9137 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
9138 variants for each function.
9139
43a94c64
RM
91402014-08-04 Roland McGrath <roland@hack.frob.com>
9141
9142 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
9143 appended ...
9144 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
9145 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
9146 appended ...
9147 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
9148 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
9149 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
9150 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
9151 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
9152 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
9153 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
9154 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
9155 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
9156 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
9157 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
9158 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
9159 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
9160 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
9161 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
9162 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
9163 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
9164 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
9165 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
9166 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
9167 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
9168 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
9169 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
9170 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
9171 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
9172 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
9173 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
9174 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
9175 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
9176 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
9177 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
9178 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
9179 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
9180 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
9181 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
9182 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
9183 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
9184 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
9185 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
9186 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
9187 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
9188 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
9189 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
9190 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
9191 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
9192 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
9193 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
9194 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
9195 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
9196 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
9197 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
9198 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
9199 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
9200 Update #include.
9201 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
9202 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
9203
8f3c1fa4
RM
92042014-08-04 Roland McGrath <roland@hack.frob.com>
9205
9206 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
9207 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
9208 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
9209 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
9210 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
9211 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
9212
ca08746f
RM
92132014-08-04 Roland McGrath <roland@hack.frob.com>
9214
9215 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
9216 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
9217 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9218 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
9219
9c925ff9
RM
92202014-08-04 Roland McGrath <roland@hack.frob.com>
9221
9222 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
9223 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
9224 (__libc_vfork): Define function under this name.
9225 (__vfork): Define as an alias.
9226 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
9227 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
9228
e641054c
RM
92292014-08-04 Roland McGrath <roland@hack.frob.com>
9230
9231 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
9232 that was previously under [RESET_PID].
9233 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
9234
dacdc867
AS
92352014-08-04 Andreas Schwab <schwab@suse.de>
9236
9237 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
9238
41f725ff
MF
92392014-08-03 Mike Frysinger <vapier@gentoo.org>
9240
9241 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
9242 (main): Likewise.
9243
277cfb31
RM
92442014-08-01 Roland McGrath <roland@hack.frob.com>
9245
9246 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
9247
4896f049
RH
92482014-08-01 Richard Henderon <rth@redhat.com>
9249
9250 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
9251 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
9252 typo in exact zero test.
9253 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9254 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
9255 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9256
6f64e7d7
RM
92572014-08-01 Roland McGrath <roland@hack.frob.com>
9258
9259 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
9260 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
9261 * sysdeps/arm/sysdep.h: ... here.
9262 [!__ASSEMBLER__]: Include <stdint.h>.
9263
3f3dd810
SP
92642014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
9265
a476ac4b
SP
9266 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
9267 (HAVE_WCTYPE_H): Likewise.
9268 (HAVE_ISWCTYPE): Likewise.
9269 (ENABLE_NLS): Likewise.
9270 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
9271 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
9272
78dd658a
SP
9273 * posix/regex_internal.c: Check if DEBUG is defined and is
9274 set.
9275
3f3dd810
SP
9276 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
9277 (HAVE_MBSRTOWCS): Likewise.
9278 * posix/fnmatch.c: Include string.h unconditionally.
9279
95ee7fb1
SL
92802014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
9281
9282 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
9283 reversal.
9284
23fe486b
RM
92852014-07-31 Roland McGrath <roland@hack.frob.com>
9286
f61a113f
RM
9287 * sysdeps/generic/safe-fatal.h: New file.
9288 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
9289 * nptl/forward.c: Include it.
9290 (__pthread_unwind): Use __safe_fatal as default action, rather
9291 than a bogus use of INTERNAL_SYSCALL that could never work.
9292
9fe7e787
RM
9293 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
9294 * configure.ac (libc_cv_builtin_trap): New test.
9295 * configure: Regenerated.
9296 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
9297 (ABORT_INSTRUCTION): Define using __builtin_trap.
9298
23fe486b
RM
9299 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
9300 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
9301 * sysdeps/nptl/nptl-signals.h: New file.
9302 * nptl/pthreadP.h: Include <nptl-signals.h>.
9303
f349489e
SL
93042014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
9305
9306 * sysdeps/s390/s390-64/utf16-utf32-z9.c
9307 (ONE_DIRECTION): Define.
9308 * sysdeps/s390/s390-64/utf8-utf16-z9.c
9309 (ONE_DIRECTION): Define.
9310 * sysdeps/s390/s390-64/utf8-utf32-z9.c
9311 (ONE_DIRECTION): Define.
9312
2f438e20
SL
93132014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
9314
9315 * sysdeps/s390/Makefile: Delete file.
9316 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
9317 * sysdeps/s390/__longjmp.c: Delete file.
9318 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
9319 Remove fields __flags and __reserved.
9320 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
9321 and add versioning.
9322 * sysdeps/s390/rtld-__longjmp.c: Delete file.
9323 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
9324 * sysdeps/s390/rtld-setjmp.S: Likewise.
9325 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
9326 * sysdeps/s390/s390-32/__longjmp.c: ... here.
9327 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
9328 * sysdeps/s390/s390-32/setjmp.S: ... here.
9329 Add versioning.
9330 (__sigsetjmp): Remove setting __flags field.
9331 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
9332 * sysdeps/s390/s390-64/__longjmp.c: ... here.
9333 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
9334 * sysdeps/s390/s390-64/setjmp.S: ... here.
9335 Add versioning.
9336 (__sigsetjmp): Remove setting __flags field.
9337 * sysdeps/s390/setjmp.S: Delete file.
9338 * sysdeps/s390/sigjmp.c: Likewise.
9339 * sysdeps/s390/v1-longjmp.c: Likewise.
9340 * sysdeps/s390/v1-setjmp.h: Likewise.
9341 * sysdeps/s390/v1-sigjmp.c: Likewise.
9342 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
9343 Remove v1-longjmp_chk.
9344 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
9345 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
9346 Include debug/longjmp_chk.c and add versioning.
9347 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
9348 Include nptl/pt-longjmp.c and add versioning.
9349 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
9350 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
9351 Include __longjmp.c.
9352 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
9353 Move to ...
9354 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
9355 (__getcontext): Remove setting __flags field.
9356 Add versioning.
9357 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
9358 Don't restore upper high grps.
9359 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
9360 Likewise.
9361 (__swapcontext): Remove setting uc_flags field.
9362 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
9363 Delete file.
9364 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
9365 Include __longjmp.c.
9366 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
9367 Move to ...
9368 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
9369 (__getcontext): Remove setting __flags field.
9370 Add versioning.
9371 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
9372 (__swapcontext): Remove setting uc_flags field.
9373 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
9374 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
9375 Remove fields uc_high_gprs and __reserved.
9376 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
9377 New file with reverted content.
9378 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
9379 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
9380 Regenerated.
9381 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
9382 Regenerated.
9383
6c9578a2
AS
93842014-07-31 Andreas Schwab <schwab@suse.de>
9385
9386 * config.h.in (HAVE_IFUNC): Define to 0.
9387 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
9388 definedness.
9389
05f3633d
LM
93902014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
9391
9392 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9393 memmove-avx-unaligned, memcpy-avx-unaligned and
9394 mempcpy-avx-unaligned.
9395 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9396 Add tests for AVX memcpy functions.
9397 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
9398 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
9399 memcpy_chk.
9400 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
9401 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
9402 memmove_chk.
9403 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
9404 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
9405 mempcpy_chk.
9406 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
9407 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
9408 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
9409
a53fbd8e
AZ
94102013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9411
9412 [BZ #17213]
9413 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
9414 powerpc64le.
9415
0961f7e1
JL
94162014-07-29 Jeff Layton <jlayton@poochiereds.net>
9417
9418 [BZ #16839]
9419 * manual/llio.texi: Add section about open file description locks.
9420 * manual/examples/ofdlocks.c: Example of open file description
9421 lock usage.
9422 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
9423 F_OFD_SETLK, and F_OFD_SETLKW.
9424
cc5fb300
AM
94252014-07-23 Allan McRae <allan@archlinux.org>
9426
9427 * po/es.po: Update Spanish translation from translation project.
9428
23329dca
AS
94292014-07-18 Andreas Schwab <schwab@linux-m68k.org>
9430
9431 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
9432
9c82da17
MR
94332014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
9434
9435 [BZ #17078]
9436 * sysdeps/arm/dl-machine.h (elf_machine_rela)
9437 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
9438 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
9439
29c4f53e
JM
94402014-07-17 Joseph Myers <joseph@codesourcery.com>
9441
831b9896
JM
9442 [BZ #17088]
9443 * math/fesetenv.c (__fesetenv)
9444 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
9445 * math/feupdateenv.c (__feupdateenv)
9446 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
9447
b21c2d50
JM
9448 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
9449 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
9450 (__ASSUME_SOCKETCALL): Do not define.
9451
067764ef
JM
9452 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
9453 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
9454 (__ASSUME_SOCKETCALL): Do not define.
9455 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
9456 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
9457 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
9458 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
9459 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9460 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
9461 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9462 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9463
642530c1
JM
9464 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
9465 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
9466 (__ASSUME_SOCKETCALL): Do not define.
9467 (__ASSUME_IPC64): Define unconditionally.
9468 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
9469 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
9470 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
9471 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9472 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
9473 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9474 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
9475 Likewise.
9476
03f77315
JM
9477 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
9478 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
9479 (__ASSUME_SOCKETCALL): Do not define.
9480 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
9481 (__ASSUME_FUTEX_LOCK_PI): Likewise.
9482 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
9483 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
9484 (__ASSUME_REQUEUE_PI): Define unconditionally.
9485 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
9486 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
9487 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9488 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
9489 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9490 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9491
083b1f7c
JM
9492 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
9493 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
9494 (__ASSUME_SOCKETCALL): Do not define.
9495 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
9496 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9497 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9498 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
9499 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9500 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9501
5be44ea6
JM
9502 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
9503 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
9504 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
9505 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
9506 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9507 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
9508 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9509 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
9510 (__ASSUME_GETCPU_SYSCALL): Likewise.
9511
d95ffd4c
JM
9512 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
9513 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
9514 cases for individual architectures.
9515 * sysdeps/gnu/configure: Regenerated.
9516 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
9517 LIBC_SLIBDIR_RTLDDIR.
9518 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
9519 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
9520 LIBC_SLIBDIR_RTLDDIR.
9521 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
9522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
9523 LIBC_SLIBDIR_RTLDDIR.
9524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
9525 Regenerated.
9526 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
9527 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
9528 file.
9529 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
9530 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
9531 file.
9532 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
9533 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
9534 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
9535 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
9536
29c4f53e
JM
9537 * sysdeps/aarch64/shlib-versions: Move to ...
9538 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
9539 * sysdeps/alpha/shlib-versions: Move to ...
9540 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
9541 * sysdeps/arm/shlib-versions: Move to ...
9542 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
9543 * sysdeps/hppa/shlib-versions: Move all contents except for
9544 libgcc_s entry to ...
9545 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
9546 entry from ...
9547 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
9548 * sysdeps/ia64/shlib-versions: Move to ...
9549 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
9550 entry from ...
9551 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
9552 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
9553 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
9554 * sysdeps/microblaze/shlib-versions: Move to ...
9555 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
9556 * sysdeps/mips/shlib-versions: Move to ...
9557 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
9558 entry from ...
9559 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
9560 * sysdeps/tile/shlib-versions: Move to ...
9561 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
9562 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
9563 from ...
9564 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
9565 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
9566 entry from ...
9567 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
9568
32bead5b
WN
95692014-07-17 Will Newton <will.newton@linaro.org>
9570
57977c4b
WN
9571 * sysdeps/arm/bits/atomic.h
9572 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
9573 (__arch_compare_and_exchange_bool_16_int): Likewise.
9574 (__arch_compare_and_exchange_bool_64_int): Likewise.
9575
32bead5b
WN
9576 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
9577 into an #else block.
9578
37fccd41
RM
95792014-07-16 Roland McGrath <roland@hack.frob.com>
9580
9581 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
9582 just Linux configurations. Test empirically that the compiler sets
9583 __ARM_EABI__, rather than using the tuple to decide.
9584 * sysdeps/arm/preconfigure: Regenerated.
9585 * sysdeps/unix/sysv/linux/arm/configure: File removed.
9586 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
9587 contents appended ...
9588 * sysdeps/arm/configure.ac: ... here.
9589 * sysdeps/arm/configure: Regenerated.
9590
b365f3ec
RM
95912014-07-15 Roland McGrath <roland@hack.frob.com>
9592
8badf496
RM
9593 * nptl/pthread_kill.c: New file.
9594 * nptl/pthread_sigmask.c: New file.
9595 * nptl/pthread_sigqueue.c: New file.
9596
3df6f22e
RM
9597 * sysdeps/nptl/lowlevellock.h: New file.
9598 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
9599 * sysdeps/nptl/lowlevellock-futex.h: New file.
9600
b365f3ec
RM
9601 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
9602 Remove dead declarations.
9603
f2fef657
L
96042014-07-14 H.J. Lu <hongjiu.lu@intel.com>
9605
9606 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
9607 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
9608 config-cflags-avx2.
9609 * sysdeps/x86_64/configure.ac: Likewise.
9610 * sysdeps/i386/configure: Regenerated.
9611 * sysdeps/x86_64/configure: Likewise.
9612 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9613 memset-avx2 only if config-cflags-avx2 is yes.
9614 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9615 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
9616 defined.
9617 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
9618 only if HAVE_AVX2_SUPPORT is defined.
9619 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9620
f6c44d47
AM
96212014-07-14 Alan Modra <amodra@gmail.com>
9622
9623 [BZ #17153]
9624 * elf/elf.h (DT_PPC64_NUM): Correct value.
9625 * NEWS: Add to fixed bug list.
9626
7ee03f00
JM
96272014-07-13 Jim Meyering <meyering@fb.com>
9628
9629 [BZ 17150]
9630 regex: don't deref NULL upon heap allocation failure
9631 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
9632 failure in one more place.
9633 To trigger the segfault, configure grep -with-included-regex,
9634 build it, and run these commands:
9635 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
9636
9d39d517
AS
96372014-07-13 Andreas Schwab <schwab@linux-m68k.org>
9638
9639 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
9640
a75b89b7
RH
96412014-07-11 Richard Henderson <rth@redhat.com>
9642
9643 * sysdeps/aarch64/libm-test-ulps: Update.
9644
771eb141
FW
96452014-07-10 Florian Weimer <fweimer@redhat.com>
9646
9647 [BZ #17135]
9648 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
9649 * nptl/allocatestack.c (__nptl_setxid_error): New function.
9650 (__nptl_setxid): Initialize error member. Call
9651 __nptl_setxid_error.
9652 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
9653 * nptl/descr.h (struct xid_command): Add error member.
9654 * nptl/tst-setuid3.c: New file.
9655 * nptl/Makefile (tests): Add it.
9656
bc1da176
AZ
96572014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9658
9659 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
9660 New define.
9661 (__lll_trylock): Use __lll_base_trylock.
9662 (__lll_cond_trylock): Likewise.
9663
887865fc
RM
96642014-07-10 Roland McGrath <roland@hack.frob.com>
9665
c0c6bac9
RM
9666 * nptl/pthread_create.c (start_thread): Use atomic_or and
9667 lll_futex_wake directly rather than lll_robust_dead.
9668 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
9669 (lll_robust_dead): Macro removed.
6a42be57 9670 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
c0c6bac9
RM
9671 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
9672 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
9673 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
9674 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
9675 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
9676 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
9677 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
9678 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
9679 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
9680 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
9681 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
9682 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
9683 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
9684 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
9685
887865fc
RM
9686 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
9687 Use atomic_compare_and_exchange_val_acq directly rather than
9688 lll_robust_trylock.
9689 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
9690 (__lll_robust_trylock, lll_robust_trylock): Removed.
9691 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
9692 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
9693 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
9694 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
9695 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
9696 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
9697 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
9698 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
9699 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
9700 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
9701 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
9702 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
9703 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
9704 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
9705
58536726
FW
97062014-07-02 Florian Weimer <fweimer@redhat.com>
9707
9708 * manual/locale.texi (Locale Names): New section documenting
9709 locale name syntax. Adjust menu and node chaining accordingly.
9710 (Choosing Locale): Reference Locale Names, Locale Categories.
9711 Mention setting LC_ALL=C. Reflect that name syntax is now
9712 documented.
9713 (Locale Categories): New section title. Reference Locale Names.
9714 LC_ALL is an environment variable, but not a category.
9715 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
9716 description, now in Locale Name. Reference that section. Locale
9717 name syntax is now documented.
9718
4e8f95a0
FW
97192014-07-02 Florian Weimer <fweimer@redhat.com>
9720
9721 [BZ #17137]
9722 * locale/findlocale.c (name_present, valid_locale_name): New
9723 functions.
9724 (_nl_find_locale): Use the loc_name variable to store name
9725 candidates. Call name_present and valid_locale_name to check and
9726 validate locale names. Return an error if the locale is invalid.
9727
d1836456
FW
97282014-07-02 Florian Weimer <fweimer@redhat.com>
9729
9730 * locale/setlocale.c (setlocale): Use strdup for allocating
9731 composite name copy.
9732
d69b7f5a
SP
97332014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9734
888c679b
SP
9735 Sync up with gnulib.
9736 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
9737 [!_LIBC && ENABLE_NLS]: Include gettext.h.
9738 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
9739 and _GL_ARG_NONNULL.
9740 [USE_UNLOCKED_IO]: Include unlocked-io.h.
9741 [!_LIBC]: Include code for Windows and Cygwin.
9742 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
9743 Include prototype for int strerror_r.
9744 [!_LIBC] (is_open): New function.
9745 (flush_stdout): New function.
9746 (print_errno_message): Use it.
9747 (error): Likewise.
9748 (error_at_line): Likewise.
9749 (error_tail) Add function attribute macros. Use
9750 __builtin_expect.
9751
180e0e4b
SP
9752 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
9753
d22f1fe2
SP
9754 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
9755
12f2254b
SP
9756 * io/ftw.c: Include sys/param.h unconditionally.
9757
c3c7c360
SP
9758 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
9759
d62aa75a
SP
9760 [BZ #17125]
9761 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
9762 libc_freeres_ptr.
9763 (freecache): New function to free CACHE on exit.
9764
d69b7f5a
SP
9765 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
9766 initialization.
9767
5efe06a1
DM
97682014-07-09 David S. Miller <davem@davemloft.net>
9769
9770 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9771
7000d82e
DM
9772 * sysdeps/sparc/nptl/internaltypes.h: Delete.
9773 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
9774 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
9775 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
9776 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
9777 * sysdeps/sparc/nptl/sem_init.c: Likewise.
9778 * sysdeps/sparc/nptl/sem_post.c: Likewise.
9779 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
9780 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
9781 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
9782 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
9783 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
9784 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
9785
c213442d
AS
97862014-07-09 Andreas Schwab <schwab@suse.de>
9787
4a2552c3
AS
9788 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
9789 output.
9790 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
9791 (do_test): Likewise.
9792
c213442d
AS
9793 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
9794
82374e65
WN
97952014-07-09 Will Newton <will.newton@linaro.org>
9796
9797 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
9798 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
9799 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
9800 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
9801 * sysdeps/hppa/start.S (_start): Likewise.
9802
6680738a
SP
98032014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
9804
6ee3eab4
SP
9805 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
9806
6680738a
SP
9807 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
9808 defined.
9809
80b5c505
SP
98102014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9811
e35c53e3
SP
9812 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
9813 after checking that it is non-NULL.
9814
80b5c505
SP
9815 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
9816
91f4b564
AZ
98172014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9818
27b75f56
AZ
9819 * sysdeps/powerpc/memmove.c: Remove file.
9820 * sysdeps/powerpc/powerpc32/power4/memcopy.h
9821 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
9822 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
9823 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
9824 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
9825 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
9826 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
9827 string memmove instead of removed powerpc one.
9828
e7f95bb5
AZ
9829 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
9830 [weak_alias]: Fix compiler warning due trailing data.
9831 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
9832 [weak_alias]: Likewise.
9833 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
9834 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
9835
91f4b564
AZ
9836 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9837 (__libc_ifunc_impl_list): Add memmove functions.
9838
7c33f1e5
SP
98392014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9840
9841 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
9842 Remove code.
9843 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
9844 Likewise
9845 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
9846 Likewise
9847 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
9848 Likewise
9849 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
9850 Likewise
9851 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
9852 Likewise
9853 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
9854 Likewise
9855 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
9856 Likewise
9857 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
9858 Likewise
9859 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
9860 Likewise
9861 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
9862 Likewise
9863 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
9864 Likewise
9865 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
9866 Likewise
9867 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
9868 Likewise
9869 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
9870 Likewise
9871 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
9872 Likewise
9873 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
9874 Likewise
9875
3f17b03b
AZ
98762014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9877
87868c24
AZ
9878 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
9879 to avoid alignment traps in non-cacheable memory.
9880 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
9881
07aedd78
AZ
9882 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
9883 multiarch objects.
9884 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
9885 file: multiarch power7 memmove.
9886 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
9887 multiarch default memmove.
9888 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
9889 multiarch memove for powerpc32/power4.
9890
17762f66
AZ
9891 * string/bcopy.c: Use full path to include memmove.c.
9892 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
9893 multiarch objects.
9894 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
9895 bcopy for powerpc64.
9896 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
9897 bcopy for powerpc64.
9898 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
9899 and memmove implementations.
9900 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
9901 optimized multiarch memmove for POWER7/powerpc64.
9902 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
9903 default multiarch memmove for powerpc64.
9904 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
9905 multiarch for powerpc64.
9906 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
9907 for POWER7/powerpc64.
9908 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
9909 memmove for POWER7/powerpc64.
9910
d6f68bbe
AZ
9911 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
9912 glibc default one.
9913
3f17b03b
AZ
9914 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
9915 __ELF_NATIVE_CLASS equal to 64.
9916
08192659
RM
99172014-07-07 Roland McGrath <roland@hack.frob.com>
9918
f4c4021b
RM
9919 * sysdeps/nptl/lowlevellock.h: File removed.
9920
f083450f
RM
9921 * NEWS: NPTL is no longer an add-on!
9922 * nptl/internaltypes.h: Moved ...
9923 * sysdeps/nptl/internaltypes.h: ... here.
9924 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
9925 * sysdeps/nptl/fork.c: Likewise.
9926 * sysdeps/nptl/gai_misc.h: Likewise.
9927 * sysdeps/nptl/librt-cancellation.c: Likewise.
9928 * sysdeps/nptl/jmp-unwind.c: Likewise.
9929 * sysdeps/nptl/setxid.h: Likewise.
9930 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
9931 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
9932 * sysdeps/unix/sysv/linux/arm/Implies: New file.
9933 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
9934 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
9935 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
9936 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
9937 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
9938 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
9939 * sysdeps/unix/sysv/linux/mips/Implies: New file.
9940 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
9941 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
9942 * sysdeps/unix/sysv/linux/sh/Implies: New file.
9943 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
9944 * sysdeps/unix/sysv/linux/tile/Implies: New file.
9945 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
9946 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
9947 * nptl/Makeconfig: Moved ...
9948 * sysdeps/nptl/Makeconfig: ... here.
9949 * nptl/configure: File removed.
9950 * nptl/ANNOUNCE: File removed.
9951 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
9952 * sysdeps/unix/sysv/linux/configure: Regenerated.
9953
08192659
RM
9954 * nptl/Makefile (routines): Add libc_pthread_init,
9955 libc_multiple_threads, register-atfork and unregister-atfork.
9956 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
9957 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
9958 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
9959 pthread-pi-defines.sym, structsem.sym.
9960 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
9961 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
9962 [$(subdir) = nptl] (tests): Add tst-setgetname.
9963 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
9964 * sysdeps/unix/sysv/linux/sigaction.c: Just include
9965 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
9966 [!LIBC_SIGACTION]: Remove aliases.
9967 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
9968 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
9969 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
9970 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
9971 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
9972 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
9973 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
9974 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
9975 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
9976 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
9977 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
9978 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
9979 __libc_allocate_rtsig_private.
9980 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
9981 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
9982 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
9983 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
9984 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
9985 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
9986 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
9987 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
9988 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
9989 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
9990 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
9991 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
9992 * nptl/internaltypes.h: ... here.
9993 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
9994 * sysdeps/nptl/jmp-unwind.c: ... here.
9995 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
9996 * nptl/libc-lowlevellock.c: ... here.
9997 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
9998 * nptl/libc_multiple_threads.c: ... here.
9999 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
10000 * nptl/libc_pthread_init.c: ... here.
10001 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
10002 * nptl/lowlevelbarrier.sym: ... here.
10003 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
10004 * nptl/lowlevelcond.sym: ... here.
10005 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
10006 * nptl/lowlevellock.c: ... here.
10007 * nptl/lowlevellock.h: Moved ...
10008 * sysdeps/nptl/lowlevellock.h: ... here.
10009 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
10010 * nptl/lowlevelrobustlock.c: ... here.
10011 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
10012 * nptl/lowlevelrobustlock.sym: ... here.
10013 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
10014 * nptl/lowlevelrwlock.sym: ... here.
10015 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
10016 * nptl/pt-fork.c: ... here.
10017 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
10018 * nptl/pthread-pi-defines.sym: ... here.
10019 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
10020 * nptl/pthread_attr_getaffinity.c: ... here.
10021 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
10022 * nptl/pthread_attr_setaffinity.c: ... here.
10023 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
10024 * nptl/pthread_mutex_cond_lock.c: ... here.
10025 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
10026 Update #include.
10027 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
10028 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
10029 * nptl/pthread_once.c: ... here, replacing old file.
10030 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
10031 * nptl/pthread_yield.c: ... here.
10032 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
10033 * nptl/register-atfork.c: ... here.
10034 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
10035 * nptl/sem_post.c: ... here.
10036 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
10037 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
10038 * nptl/sem_timedwait.c: ... here.
10039 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
10040 * nptl/sem_trywait.c: ... here.
10041 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
10042 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
10043 * nptl/sem_wait.c: ... here.
10044 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
10045 * nptl/structsem.sym: ... here.
10046 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
10047 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
10048 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
10049 * nptl/unregister-atfork.c: ... here.
10050 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
10051 * nptl/unwindbuf.sym: ... here.
10052 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
10053 * sysdeps/nptl/fork.c: ... here.
10054 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
10055 * sysdeps/nptl/fork.h: ... here.
10056 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
10057 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
10058 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
10059 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
10060 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
10061 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
10062 * sysdeps/unix/sysv/linux/getpid.c: ... here.
10063 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
10064 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
10065 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
10066 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
10067 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
10068 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
10069 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
10070 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
10071 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
10072 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
10073 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
10074 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
10075 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
10076 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
10077 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
10078 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
10079 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
10080 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
10081 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
10082 * sysdeps/unix/sysv/linux/raise.c: ... here.
10083 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
10084 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
10085 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
10086 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
10087 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
10088 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
10089 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
10090 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
10091 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
10092 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
10093 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
10094 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
10095 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
10096 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
10097 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
10098
96baf6ff
SP
100992014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10100
10101 * sysdeps/generic/memcopy.h: Add comment for
10102 MEMCPY_OK_FOR_FWD_MEMMOVE.
10103
6b7b14b2
WN
101042014-07-04 Will Newton <will.newton@linaro.org>
10105
1570a72b
WN
10106 * string/memchr.c: Merge from gnulib.
10107 [_LIBC]: Remove conditionals.
10108 (__ptr_t): Remove define.
10109 (LONG_MAX_32_BITS): Likewise.
10110 (LONG_MAX): Likewise.
10111 (MEMCHR): Use ANSI prototype and optimize algorithm.
10112
6b7b14b2
WN
10113 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
10114
38851324
SP
101152014-07-03 Roland McGrath <roland@hack.frob.com>
10116
3d9eb57c
RM
10117 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
10118 (lll_futex_timed_wait_bitset): Fix syscall argument count.
10119
78b984ae
RM
10120 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
10121 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
10122 in a bare environment with no <stdlib.h> installed.
10123 * sysdeps/nptl/configure: Regenerated.
10124
2d5976a5
RM
10125 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
10126
c1f5acd4
RM
10127 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
10128 AC_EGREP_CPP for kernel header checks, so they only succeed if
10129 including <linux/version.h> actually works right.
10130 * sysdeps/unix/sysv/linux/configure: Regenerated.
10131
4d614fe5
RM
10132 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
10133 value so it's not diagnosed as unused.
10134
38851324
SP
10135 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
10136 thing) with "ifeq ($(subdir),rt)".
10137
b3ec00e5
RH
101382014-07-03 Richard Henderson <rth@redhat.com>
10139
69862e25
RH
10140 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
10141 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
10142 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
10143
d5e16ade
RH
10144 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
10145 (math_force_eval): New.
10146
ca7b945c
RH
10147 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
10148 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
10149
cd1175a3
RH
10150 * sysdeps/alpha/fpu/s_round.c: Remove file.
10151 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
10152
b3ec00e5
RH
10153 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
10154 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
10155 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
10156 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
10157 (_dl_start, print_statistics): Likewise.
10158 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
10159 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
10160
10161 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
10162 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
10163 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
10164 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
10165 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
10166 (HP_SMALL_TIMING_AVAIL): Define.
10167 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
10168 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
10169 (HP_SMALL_TIMING_AVAIL): Define.
10170 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
10171 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
10172
10173 * sysdeps/aarch64/hp-timing.h: New file.
10174
10175 * sysdeps/generic/hp-timing.h: Remove dead comment.
10176 * sysdeps/generic/hp-timing-common.h: New file.
10177 * sysdeps/alpha/hp-timing.h: Include it.
10178 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
10179 * sysdeps/i386/i686/hp-timing.h: Likewise.
10180 * sysdeps/ia64/hp-timing.h: Likewise.
10181 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
10182 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
10183 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
10184 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
10185 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
10186 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
10187 (hp_timing_t): New.
10188
10189 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
10190 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
10191 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
10192 * elf/rtld.c (_dl_start_final): Likewise.
10193 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
10194 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
10195 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
10196 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
10197 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
10198 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
10199 (HP_TIMING_DIFF_INIT): Remove.
10200 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
10201 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
10202 (HP_TIMING_DIFF_INIT): Remove.
10203 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
10204 * sysdeps/i386/i686/hp-timing.c: Remove file.
10205 * sysdeps/x86_64/hp-timing.c: Remove file.
10206 * sysdeps/ia64/hp-timing.c: Remove file.
10207 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
10208 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
10209 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
10210 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
10211
10212 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
10213 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
10214 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
10215 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
10216 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
10217 (HP_TIMING_ACCUM): Remove.
10218 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
10219 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
10220 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
10221
10222 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
10223 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
10224 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
10225 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
10226 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
10227 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
10228 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
10229 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
10230
10231 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
10232
225f410f
MR
102332014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
10234
10235 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
10236
3247f285
SP
102372014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10238
10239 Sync up with gettext.
10240 * intl/loadmsgcat.c: Define O_BINARY if not defined.
10241 [_MSC_VER]: Include malloc.h
10242 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
10243 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
10244 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
10245 TEMP_FAILURE_RETRY. Cast return of alloca.
10246 [!_LIBC] Call gl_rwlock_init.
10247 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
10248
d12704c7
SP
102492014-07-02 Roland McGrath <roland@hack.frob.com>
10250
10251 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
10252 before checking its value.
10253
99f8dc92
SP
102542014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10255
05fdac77
SP
10256 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
10257
99f8dc92
SP
10258 * debug/memcpy_chk.c: Don't include pagecopy.h.
10259 * debug/mempcpy_chk.c: Likewise.
10260 * string/memcpy.c: Likewise.
10261 * string/memmove.c: Likewise.
10262 * sysdeps/powerpc/memmove.c: Likewise.
10263 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
10264 definition of PAGE_COPY_FWD_MAYBE here...
10265 * sysdeps/generic/pagecopy.h: ... from here.
10266 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
10267
bc8ea385
VR
102682014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
10269 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10270
10271 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
10272 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
10273 optimizations.
10274 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10275 (__libc_ifunc_impl_list): Likewise.
10276 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
10277 multiarch strcat for PPC64.
10278 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
10279 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
10280
fe5f34e4
RM
102812014-07-02 Roland McGrath <roland@hack.frob.com>
10282
10283 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
10284
256aa665
SP
102852014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10286
d4eb8195
SP
10287 * intl/loadmsgcat.c: Remove declaration of
10288 get_sysdep_segment_value.
10289 (get_sysdep_segment_value): Use ISO C style.
10290 (_nl_load_domain): Use ISO C style. Get rid of redundant
10291 semicolon. Fix typo and formatting in comment.
10292 (_nl_unload_domain): Use ISO C style.
10293
256aa665
SP
10294 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
10295
b100f9aa
WN
102962014-07-02 Will Newton <will.newton@linaro.org>
10297
10298 * malloc/obstack.c: Merge from gnulib master.
10299 [HAVE_CONFIG_H]: Remove conditional code.
10300 [!_LIBC]: Include config.h.
10301 [!ELIDE_CODE]: Don't include inttypes.h, include
10302 stdint.h unconditionally.
10303 (print_and_abort): Mark as _Noreturn.
10304 (_obstack_allocated_p): Mark as __attribute_pure__.
10305 (obstack_free): Rename to __obstack_free.
10306 [!__attribute__]: Remove conditional code.
10307 * malloc/obstack.h: Merge from gnulib master.
10308 [__cplusplus]: Move conditional down.
10309 [!__attribute_pure__]: Define __attribute_pure__ here
10310 if it is not already defined.
10311 (_obstack_memory_used): Mark as __attribute_pure__.
10312 [!__obstack_free]: Define as obstack_free.
10313 [__GNUC__]: Remove check for ancient NeXT gcc.
10314
c4c41244
PE
103152014-07-02 Will Newton <will.newton@linaro.org>
10316 Paul Eggert <eggert@cs.ucla.edu>
10317
10318 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
10319
e1e041c4
SP
103202014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10321
10322 * resolv/gethnamaddr.c: Add comment warning that the file is
10323 not maintained.
10324
ccf431ff
CD
103252014-07-01 Carlos O'Donell <carlos@redhat.com>
10326
d34570a6
CD
10327 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
10328 entries.
10329
ccf431ff
CD
10330 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
10331 entry for aio_cancel and aio_cancel64.
10332 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
10333 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
10334 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
10335 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
10336 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
10337 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
10338 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
10339 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
10340 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
10341 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
10342 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
10343 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
10344 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
10345
ca06321d
RM
103462014-07-01 Roland McGrath <roland@hack.frob.com>
10347
10348 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
10349 * nptl/pthread_mutex_lock.c: Likewise.
10350 * nptl/pthread_mutex_timedlock.c: Likewise.
10351 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
10352
a1ac3184
RH
103532014-07-01 Richard henderson <rth@redhat.com>
10354
631021e0
RH
10355 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
10356 (__isnan, __isnanl): Remove.
10357 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
10358
a1ac3184
RH
10359 * sysdeps/alpha/fpu/libm-test-ulps: Update.
10360
0c1d731f
SL
103612014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
10362
10363 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10364
76985d3e
SP
103652014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
10366
10367 * resolv/nss_dns/dns-host.c (getanswer_r)
10368 [MULTI_PTRS_ARE_ALIASES]: Remove code.
10369
b0cb3096
JM
103702014-07-01 Joseph Myers <joseph@codesourcery.com>
10371
10372 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10373 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
10374 undefine.
10375 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
10376 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
10377
4d76cb39
RM
103782014-07-01 Roland McGrath <roland@hack.frob.com>
10379
10380 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
10381 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
10382
10383 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
10384 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
10385
10386 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
10387 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
10388 ... here.
10389 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
10390 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
10391
10392 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
10393 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
10394 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
10395 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
10396
10397 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
10398 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
10399 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
10400 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
10401 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
10402 Moved ...
10403 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
10404 ... here.
10405 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
10406 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
10407 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
10408 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
10409 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
10410 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
10411 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
10412 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
10413 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
10414 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
10415 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
10416 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
10417 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
10418 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
10419 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
10420 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
10421 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
10422 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
10423 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
10424 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
10425 ... here.
10426 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
10427 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
10428 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
10429 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
10430 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
10431 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
10432 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
10433 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
10434
0cdcad17
DH
104352014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
10436
10437 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
10438 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
10439 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
10440 Add sysdep.
10441
9b71d0e3
AZ
104422014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10443
10444 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10445
665390c2
JM
104462014-06-30 Joseph Myers <joseph@codesourcery.com>
10447
ae05a9d7
JM
10448 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
10449 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10450
a7672a2f
JM
10451 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10452
665390c2
JM
10453 * sysdeps/arm/libm-test-ulps: Regenerated.
10454
d7a05d07
MR
104552014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
10456 Roland McGrath <roland@hack.frob.com>
10457
10458 * test-skeleton.c (signal_handler): Kill the whole process group
10459 before killing the child individually.
10460 (main): Report any failure on `setpgid'.
10461
46f1d8a6
RM
104622014-06-30 Roland McGrath <roland@hack.frob.com>
10463
10464 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
10465 from _TLS_H to _ARM_NPTL_TLS_H.
10466 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
10467 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
10468
9c37ec0b
JM
104692014-06-30 Joseph Myers <joseph@codesourcery.com>
10470
ce9c5b3e
JM
10471 [BZ #16539]
10472 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
10473 (__expm1l): Return argument unchanged when small but not
10474 subnormal.
10475
3a6e9887
JM
10476 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
10477 include macro name.
10478 (_FP_UNPACK_RAW_1_P): Likewise.
10479 (_FP_PACK_RAW_1): Likewise.
10480 (_FP_PACK_RAW_1_P): Likewise.
10481 (_FP_MUL_MEAT_1_wide): Likewise.
10482 (_FP_MUL_MEAT_DW_1_hard): Likewise.
10483 (_FP_MUL_MEAT_1_hard): Likewise.
10484 (_FP_DIV_MEAT_1_imm): Likewise.
10485 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
10486 (_FP_DIV_MEAT_1_udiv): Likewise.
10487 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
10488 (_FP_UNPACK_RAW_2): Likewise.
10489 (_FP_UNPACK_RAW_2_P): Likewise.
10490 (_FP_PACK_RAW_2): Likewise.
10491 (_FP_PACK_RAW_2_P): Likewise.
10492 (_FP_MUL_MEAT_DW_2_wide): Likewise.
10493 (_FP_MUL_MEAT_2_wide): Likewise.
10494 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
10495 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
10496 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
10497 (_FP_MUL_MEAT_2_gmp): Likewise.
10498 (_FP_DIV_MEAT_2_udiv): Likewise.
10499 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
10500 (_FP_FRAC_SRL_4): Likewise.
10501 (_FP_FRAC_SRST_4): Likewise.
10502 (_FP_FRAC_SRS_4): Likewise.
10503 (_FP_UNPACK_RAW_4): Likewise.
10504 (_FP_UNPACK_RAW_4_P): Likewise.
10505 (_FP_PACK_RAW_4): Likewise.
10506 (_FP_PACK_RAW_4_P): Likewise.
10507 (_FP_MUL_MEAT_DW_4_wide): Likewise.
10508 (_FP_MUL_MEAT_4_wide): Likewise.
10509 (_FP_MUL_MEAT_4_gmp): Likewise.
10510 (umul_ppppmnnn): Likewise.
10511 (_FP_DIV_MEAT_4_udiv): Likewise.
10512 (__FP_FRAC_ADD_4): Likewise.
10513 (__FP_FRAC_SUB_3): Likewise.
10514 (__FP_FRAC_SUB_4): Likewise.
10515 (__FP_FRAC_DEC_3): Likewise.
10516 (__FP_FRAC_DEC_4): Likewise.
10517 (__FP_FRAC_ADDI_4): Likewise.
10518 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
10519 (_FP_FRAC_SRL_8): Likewise.
10520 (_FP_FRAC_SRS_8): Likewise.
10521
9c37ec0b
JM
10522 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
10523 include macro name.
10524 (FP_UNPACK_RAW_EP): Likewise.
10525 (FP_PACK_RAW_E): Likewise.
10526 (FP_PACK_RAW_EP): Likewise.
10527 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
10528 (_FP_ISSIGNAN): Likewise.
10529 (_FP_ADD_INTERNAL): Likewise.
10530 (_FP_FMA): Likewise.
10531 (_FP_CMP): Likewise.
10532 (_FP_SQRT): Likewise.
10533 (_FP_TO_INT): Likewise.
10534 (_FP_FROM_INT): Likewise.
10535 (FP_EXTEND): Likewise.
10536 (_FP_DIV_MEAT_N_loop): Likewise.
10537
2125f674
MR
105382014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
10539
10540 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
10541 throughout.
10542
edea4028
JM
105432014-06-29 Joseph Myers <joseph@codesourcery.com>
10544
10545 [BZ #17097]
10546 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
10547 result with correct sign in case of exponents that produce
10548 overflow except for X very close to 1.
10549
dd0ba018
PE
105502014-06-28 Paul Eggert <eggert@cs.ucla.edu>
10551
10552 mktime: merge #if/#ifdef usage from glibc
10553 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
10554 as that works with both Glibc's and Gnulib's style.
10555 See thread starting at Siddhesh Poyarekar's bug report at:
10556 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
10557
64df73c2
SP
105582014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10559
10560 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
10561 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
10562 * sysdeps/tile/tilegx/memmove.c: Remove file.
10563
f1eafb41
JM
105642014-06-27 Joseph Myers <joseph@codesourcery.com>
10565
10566 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
10567 abi-name definition.
10568 * scripts/soversions.awk: Do not handle or generate ABI lines.
10569 * shlib-versions: Remove ABI entries.
10570 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
10571 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
10572
58eb0862
RM
105732014-06-27 Roland McGrath <roland@hack.frob.com>
10574
37caf178
RM
10575 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
10576 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
10577 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
10578 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
10579 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
10580 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
10581 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
10582 Moved ...
10583 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
10584 ... here.
10585 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
10586 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
10587 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
10588 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
10589 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
10590 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
10591 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
10592 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
10593 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
10594 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
10595 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
10596 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
10597 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
10598 Moved ...
10599 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
10600 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
10601 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
10602 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
10603 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
10604 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
10605 Moved ...
10606 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
10607 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
10608 Moved ...
10609 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
10610 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
10611 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
10612 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
10613 Moved ...
10614 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
10615 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
10616 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
10617 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
10618 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
10619 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
10620 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
10621 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
10622 Moved ...
10623 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
10624 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
10625 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
10626 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
10627 Moved ...
10628 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
10629 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
10630 Moved ...
10631 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
10632 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
10633 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
10634 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
10635 Moved ...
10636 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
10637 ... here.
10638 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
10639 Identical file removed.
10640 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
10641 Moved ...
10642 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
10643 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
10644 Identical file removed.
10645 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
10646 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
10647 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
10648 Moved ...
10649 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
10650 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
10651 Identical file removed.
10652 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
10653 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
10654 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
10655 Identical file removed.
10656 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
10657 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
10658 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
10659 Identical file removed.
10660 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
10661 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
10662 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
10663 Identical file removed.
10664 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
10665 Moved ...
10666 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
10667 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
10668 Identical file removed.
10669 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
10670 Moved ...
10671 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
10672 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
10673 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
10674 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
10675 Identical file removed.
10676 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
10677 Moved ...
10678 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
10679 ... here.
10680 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
10681 Identical file removed.
10682 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
10683 Moved ...
10684 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
10685 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
10686 Identical file removed.
10687 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
10688 Moved ...
10689 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
10690 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
10691 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
10692 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
10693 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
10694 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
10695 Moved ...
10696 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
10697 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
10698 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
10699
58eb0862
RM
10700 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
10701 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
10702 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
10703 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
10704 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
10705
6f12d062
AS
107062014-06-27 Arjun Shankar <arjun.is@lostca.se>
10707
10708 [BZ #17092]
10709 * nscd/nscd.c (monitor_child): Return exit status of child
10710 instead of return value from wait syscall.
10711
be254932
JM
107122014-06-27 Joseph Myers <joseph@codesourcery.com>
10713
cb403c34
JM
10714 * configure.ac (libc_commonpagesize): Remove variable.
10715 (libc_relro_required): Likewise.
10716 (libc_cv_z_relro): Remove configure test.
10717 * configure: Regenerated.
10718 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
10719 variable.
10720 (libc_relro_required): Likewise.
10721 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
10722 (libc_relro_required): Likewise.
10723 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
10724 (libc_relro_required): Likewise.
10725 * sysdeps/arm/preconfigure: Regenerated.
10726 * sysdeps/ia64/preconfigure: Remove file.
10727 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
10728 variable.
10729 (libc_relro_required): Likewise.
10730
be254932
JM
10731 [BZ #16561]
10732 [BZ #16562]
10733 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
10734 (__ieee754_yn): Set FE_TONEAREST mode internally and then
10735 recompute overflowing results in original rounding mode.
10736 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
10737 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
10738 recompute overflowing results in original rounding mode.
10739 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
10740 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
10741 recompute overflowing results in original rounding mode.
10742 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
10743 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
10744 recompute overflowing results in original rounding mode.
10745 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
10746 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
10747 recompute overflowing results in original rounding mode.
10748 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
10749 (libc_feholdsetround_ctx): New macro.
10750 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
10751 * sysdeps/i386/fpu/libm-test-ulps: Update.
10752 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
10753
b351d85a
JM
107542014-06-26 Joseph Myers <joseph@codesourcery.com>
10755
10756 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
10757 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
10758 corresponding .cpsetup call.
10759
3cb4de47
RM
107602014-06-26 Roland McGrath <roland@hack.frob.com>
10761
10762 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
10763 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
10764 * sysdeps/arm/Makefile [$(subdir) = csu]
10765 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
10766 (static-only-routines): Add aeabi_read_tp here.
10767 (shared-only-routines): Add libc-aeabi_read_tp here.
10768 (CFLAGS-libc-start.c): Add -fexceptions here.
10769 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
10770 (sysdep_routines, static-only-routines, shared-only-routines):
10771 Don't add to these here.
10772 (CFLAGS-libc-start.c): Likewise.
10773
10774 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
10775 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
10776 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
10777 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
10778 * sysdeps/arm/Makefile [$(subdir) = rt]
10779 (librt-sysdep_routines, librt-shared-only-routines):
10780 Append rt-aeabi_unwind_cpp_pr1 here.
10781 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
10782 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
10783 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
10784 (libpthread-sysdep_routines, libpthread-shared-only-routines):
10785 Append nptl-aeabi_unwind_cpp_pr1 here.
10786 (tests): Filter out tst-cleanupx4 here.
10787 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
10788 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
10789 Don't do those here.
10790
354426bb
JM
107912014-06-26 Joseph Myers <joseph@codesourcery.com>
10792
10793 * scripts/list-sources.sh: Do not handle ports specially.
10794
28b0a8c9
RM
107952014-06-26 Roland McGrath <roland@hack.frob.com>
10796
a3dd035d
RM
10797 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
10798 * sysdeps/arm/feupdateenv.c: Likewise.
10799
28b0a8c9
RM
10800 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
10801
e66a8203
JM
108022014-06-26 Joseph Myers <joseph@codesourcery.com>
10803
10804 * manual/texinfo.tex: Update to version 2014-05-05.10 with
10805 trailing whitespace removed.
10806 * scripts/config.guess: Update to version 2014-03-23.
10807 * scripts/config.sub: Update to version 2014-05-01
10808 * scripts/install-sh: Update to version 2013-12-25.23.
10809 * scripts/move-if-change: Update from gnulib.
10810
74171115
SP
108112014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10812
b97c9ce5
SP
10813 * debug/memmove_chk.c: Remove pagecopy.h include.
10814
4000f892
SP
108152014-06-26 Paul Eggert <eggert@cs.ucla.edu>
10816
74171115
SP
10817 * time/mktime.c (leapyear): Remove inline keyword. The code is now
10818 identical to gnulib mktime.
10819
a8779c28
JM
108202014-06-26 Joseph Myers <joseph@codesourcery.com>
10821
e64708de
JM
10822 * configure.ac: Do not test for machine being rs6000. Do not test
10823 for powerpc*-*soft.
10824 * configure: Regenerated.
10825
6a9350c8 10826 [BZ #11505]
a8779c28
JM
10827 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
10828 test.
10829 * configure: Regenerated.
10830 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
10831 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
10832 Remove configure test.
10833 * sysdeps/arm/configure: Regenerated.
10834 * sysdeps/nptl/configure.ac: Do not check
10835 libc_cv_asm_cfi_directives.
10836 * sysdeps/nptl/configure: Regenerated.
10837 * sysdeps/x86_64/nptl/configure.ac: Remove file.
10838 * sysdeps/x86_64/nptl/configure: Remove generated file.
10839 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
10840 unconditional.
10841 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
10842
2aac0a86
SP
108432014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10844
059bf913
SP
10845 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
10846 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
10847 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
10848 it is defined.
10849
4cf5b6d0
SP
10850 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
10851 instead of whether it is defined.
10852 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
10853 * sysdeps/hppa/dl-machine.h: Likewise.
10854 * sysdeps/ia64/dl-machine.h: Likewise.
10855 * sysdeps/m68k/dl-machine.h: Likewise.
10856 * sysdeps/microblaze/dl-machine.h: Likewise.
10857 * sysdeps/mips/dl-machine.: Likewise.
10858 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
10859 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
10860 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
10861 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
10862 * sysdeps/sh/dl-machine.h: Likewise.
10863 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10864 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10865 * sysdeps/tile/dl-machine.h: Likewise.
10866 * sysdeps/x86_64/dl-machine.h: Likewise.
10867
2aac0a86
SP
10868 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
10869 code.
10870 (verify_persistent_db): Likewise.
10871
6ad2df0b
RM
108722014-06-26 Roland McGrath <roland@hack.frob.com>
10873
d8a483f3
RM
10874 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
10875 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
10876 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
10877 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
10878 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
10879 Moved ...
10880 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
10881 ... here.
10882 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
10883 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
10884 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
10885 Identical file removed.
10886 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
10887 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
10888 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
10889 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
10890 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
10891 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
10892 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
10893 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
10894 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
10895 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
10896 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10897 Moved ...
10898 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
10899 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
10900 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
10901 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
10902 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
10903 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
10904 Moved ...
10905 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
10906 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
10907 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
10908 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
10909 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
10910 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
10911 Identical file removed.
10912 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
10913 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
10914 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
10915 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
10916 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
10917 Moved ...
10918 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
10919 ... here.
10920 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
10921 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
10922 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
10923 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
10924 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
10925 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
10926 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
10927 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
10928 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
10929 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
10930 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10931 Moved ...
10932 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
10933 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
10934 Moved ...
10935 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
10936 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
10937 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
10938 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
10939 Moved ...
10940 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
10941 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
10942 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
10943
52ae23b4
RM
10944 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
10945 folded into ...
10946 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
10947 * sysdeps/unix/sysv/linux/s390/Versions
10948 (libpthread: GLIBC_2.19): New version set.
10949 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
10950 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
10951 (librt: GLIBC_2.3.3): New version set.
10952 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
10953 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
10954 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
10955 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
10956 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
10957 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
10958 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
10959 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
10960 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
10961 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
10962 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
10963 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
10964 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
10965 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
10966 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
10967 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
10968 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
10969 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
10970 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
10971 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
10972 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
10973 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
10974 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
10975 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
10976 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
10977 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
10978 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
10979 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
10980 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
10981 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
10982 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
10983 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
10984 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
10985 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
10986 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
10987 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
10988 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
10989 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
10990 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
10991 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
10992 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
10993 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
10994 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
10995 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
10996 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
10997
39507e4a
RM
10998 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
10999 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
11000 (__libc_vfork): Define the function under this name.
11001 [!NOT_IN_libc] (__vfork): Make this an alias.
11002 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
11003 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
11004 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
11005 (__libc_vfork): Define the function under this name.
11006 [!NOT_IN_libc] (__vfork): Make this an alias.
11007 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
11008 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
11009 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
11010 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
11011 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
11012 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
11013
e549ee56
RM
11014 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
11015 code that was previously under [RESET_PID].
11016 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
11017 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
11018 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
11019
6ad2df0b
RM
11020 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
11021 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
11022 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
11023 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
11024 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
11025 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
11026 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
11027 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
11028 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
11029 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
11030 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
11031 Moved ...
11032 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
11033 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
11034 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
11035 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
11036 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
11037 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
11038 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
11039 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
11040 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
11041 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
11042 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
11043 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
11044 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
11045 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
11046 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
11047 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
11048 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
11049 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
11050 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
11051 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
11052 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
11053 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
11054 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
11055 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
11056 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
11057 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
11058 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
11059 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
11060 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
11061
7c1c1d8e
RM
110622014-06-25 Roland McGrath <roland@hack.frob.com>
11063
11064 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
11065 that was previously under [RESET_PID].
11066 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
11067
3e239be6
JM
110682014-06-25 Joseph Myers <joseph@codesourcery.com>
11069
74385da5
JM
11070 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
11071 not undefine and redefine.
11072 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
11073 [O_CLOEXEC]: Make code unconditional.
11074 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
11075 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
11076 <kernel-features.h>.
11077 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
11078 conditional variable definition.
11079 (shm_open) [O_CLOEXEC]: Make code unconditional.
11080 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
11081 code.
11082
c2570a0b
JM
11083 * configure.ac (USE_REGPARMS): Don't define here.
11084 * configure: Regenerated.
11085 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
11086 * sysdeps/i386/configure: Regenerated.
11087
11b076bb
JM
11088 * nptl/createthread.c: Don't include kernel-features.h.
11089 * nptl/pthread_cancel.c: Likewise.
11090 * nptl/pthread_condattr_setclock.c: Likewise.
11091 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
11092 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
11093 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
11094 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
11095 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
11096 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
11097 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
11098 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
11099 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
11100 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
11101 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
11102 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
11103 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
11104 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
11105 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
11106 * nscd/gai.c: Likewise.
11107 * nss/nss_db/db-open.c: Likewise.
11108 * sysdeps/generic/ldsodefs.h: Likewise.
11109 * sysdeps/sh/nptl/tls.h: Likewise.
11110 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
11111 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
11112 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
11113 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
11114 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
11115 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
11116 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
11117 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
11118 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
11119 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
11120 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
11121 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
11122 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
11123 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
11124 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
11125 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
11126 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
11127 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
11128 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
11129 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
11130 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
11131 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
11132 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
11133 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
11134 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
11135 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
11136 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
11137 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
11138 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
11139 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
11140 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
11141 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
11142 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
11143 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
11144 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
11145 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
11146 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
11147 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
11148 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
11149 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
11150 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
11151 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
11152 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
11153 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
11154 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
11155 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
11156 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
11157 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
11158 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
11159 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
11160 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
11161 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
11162 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
11163 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
11164 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
11165 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
11166 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
11167 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
11168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
11169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
11170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
11171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
11172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
11173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
11174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
11175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
11176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
11177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
11178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
11179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
11180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
11181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
11182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
11183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
11184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
11185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
11186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
11187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
11188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
11189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
11190 * sysdeps/unix/sysv/linux/pread.c: Likewise.
11191 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
11192 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
11193 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
11194 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
11195 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
11196 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
11197 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
11198 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
11199 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
11200 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
11201 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
11202 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
11203 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
11204 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
11205 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
11206 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
11207 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
11208 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
11209 * sysdeps/unix/sysv/linux/system.c: Likewise.
11210 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
11211 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
11212 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
11213 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
11214 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
11215 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
11216 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
11217
92072d57
JM
11218 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
11219 * configure: Regenerated.
11220 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
11221
3e239be6
JM
11222 * configure.ac (base_machine): Do not set specially for particular
11223 machines here.
11224 * configure: Regenerated.
11225 * sysdeps/powerpc/preconfigure: Move machine and base_machine
11226 settings from configure.ac.
11227 * sysdeps/i386/preconfigure: New file.
11228 * sysdeps/s390/preconfigure: Likewise.
11229 * sysdeps/sh/preconfigure: Likewise.
11230 * sysdeps/sparc/preconfigure: Likewise.
11231
06d50baa
RM
112322014-06-25 Roland McGrath <roland@hack.frob.com>
11233
74836003
RM
11234 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
11235 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
11236 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
11237 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
11238 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
11239 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
11240 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
11241 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
11242 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
11243 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
11244 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
11245 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
11246 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
11247 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
11248 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
11249 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
11250 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
11251 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
11252 * sysdeps/sparc/sparc64/Makefile: ... appended here.
11253
11254 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
11255 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
11256 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
11257 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
11258 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
11259 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
11260 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
11261 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
11262 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
11263 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
11264 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
11265 * sysdeps/sparc/sparc32/sem_post.c: ... here.
11266 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
11267 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
11268 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
11269 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
11270 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
11271 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
11272 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
11273 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
11274 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
11275 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
11276 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
11277 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
11278 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
11279 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
11280 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
11281 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
11282 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
11283 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
11284 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
11285 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
11286 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
11287 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
11288 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
11289 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
11290 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
11291 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
11292
06d50baa
RM
11293 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
11294 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
11295 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
11296 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
11297 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
11298 Moved ...
11299 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
11300 ... here.
11301 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
11302 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
11303 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
11304 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
11305 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
11306 Moved ...
11307 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
11308 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
11309 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
11310 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
11311 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
11312 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
11313 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
11314 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
11315 Moved ...
11316 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
11317 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
11318 Moved ...
11319 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
11320 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
11321 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
11322 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
11323 Moved ...
11324 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
11325 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
11326 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
11327 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
11328 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
11329 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
11330 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
11331 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
11332 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
11333 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
11334 Moved ...
11335 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
11336 ... here.
11337 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
11338 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
11339 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
11340 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
11341 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
11342 Moved ...
11343 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
11344 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
11345 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
11346 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
11347 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
11348 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
11349 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
11350 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
11351 Moved ...
11352 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
11353 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
11354 Moved ...
11355 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
11356 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
11357 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
11358 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
11359 Moved ...
11360 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
11361 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
11362 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
11363 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
11364 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
11365
a4ccbc9b
JM
113662014-06-25 Joseph Myers <joseph@codesourcery.com>
11367
0828edbf
JM
11368 * timezone/checktab.awk: Update from tzcode 2014e.
11369 * timezone/private.h: Likewise.
11370 * timezone/tzfile.h: Likewise.
11371 * timezone/zdump.c: Likewise.
11372 * timezone/zic.c: Likewise.
11373
a4ccbc9b
JM
11374 * sysdeps/unix/sysv/linux/kernel-features.h
11375 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
11376 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
11377 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
11378 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
11379 Remove conditional code.
11380
9aea0cb8
WN
113812014-06-25 Will Newton <will.newton@linaro.org>
11382
11383 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
11384 (_dl_arm_cap_flags): Add HWCAP2 values.
11385 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
11386 (_DL_HWCAP_COUNT): Increase to 37.
11387 (_DL_HWCAP_LAST): New define.
11388 (_DL_HWCAP2_LAST): New define.
11389 (_dl_procinfo): Add support for printing
11390 AT_HWCAP2 entries.
11391 (_dl_string_hwcap): Use _dl_hwcap_string.
11392
6eaa65ce
AZ
113932014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11394
11395 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11396
0f5b7185
JM
113972014-06-25 Joseph Myers <joseph@codesourcery.com>
11398
cfd2ea50
JM
11399 * README: Do not mention ports directory.
11400
cecf2ed4
JM
11401 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
11402 Remove macro.
11403 * sysdeps/unix/sysv/linux/futimes.c: Do not include
11404 <kernel-features.h>.
11405 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
11406 conditional variable definition.
11407 (__futimes): Update comment.
11408 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
11409 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
11410
a638de82
JM
11411 [BZ #16560]
11412 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
11413 arguments close to 0.
11414 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
11415 Likewise.
11416 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
11417 Likewise.
11418 * math/auto-libm-test-in: Add more tests of exp10.
11419 * math/auto-libm-test-out: Regenerated.
11420 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11421
0f5b7185
JM
11422 * sysdeps/unix/sysv/linux/kernel-features.h
11423 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
11424 * sysdeps/unix/sysv/linux/readv.c: Do not include
11425 <kernel-features.h>.
11426 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
11427 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
11428 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
11429 unconditional.
11430 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
11431 conditional code.
11432 * sysdeps/unix/sysv/linux/writev.c: Do not include
11433 <kernel-features.h>.
11434 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
11435 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
11436 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
11437 unconditional.
11438 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
11439 conditional code.
11440
c7aec4be
WN
114412014-06-25 Will Newton <will.newton@linaro.org>
11442
11443 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
11444 comment changes throughout the file. Remove checks
11445 for HAVE_*_H definitions that are not required.
11446 (__gen_tempname): Call abort if an unknown kind value is
11447 passed.
11448
c5241f95
AS
114492014-06-25 Andreas Schwab <schwab@suse.de>
11450
11451 [BZ #17086]
11452 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
11453 scalbln, scalblnf, scalblnl in libc.
11454
911422da
SP
114552014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11456
11457 [BZ #17086]
11458 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
11459 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
11460 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
11461
0d749bbe
RM
114622014-06-24 Roland McGrath <roland@hack.frob.com>
11463
11464 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
11465 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
11466 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
11467 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
11468 Update #include.
11469 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
11470 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
11471 Update #include.
11472 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
11473 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
11474 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
11475 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
11476 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
11477 * sysdeps/x86/bits/pthreadtypes.h: ... here.
11478 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
11479 * sysdeps/x86/bits/semaphore.h: ... here.
11480 * sysdeps/x86/nptl/elide.h: Moved ...
11481 * sysdeps/x86/elide.h: ... here.
11482 * sysdeps/x86_64/nptl/Implies: File removed.
11483 * sysdeps/i386/nptl/Implies: File removed.
11484
0ea5d373
JM
114852014-06-24 Joseph Myers <joseph@codesourcery.com>
11486
4060283d
JM
11487 [BZ #16539]
11488 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
11489 return the argument for normal arguments with exponent below -64.
11490 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
11491 Likewise.
11492 * math/auto-libm-test-in: Add another test of expm1.
11493 * math/auto-libm-test-out: Regenerated.
11494
e7dd3c8c
JM
11495 [BZ #16287]
11496 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
11497 calling __erfcl for arguments at least 16.
11498 * math/auto-libm-test-in: Add more tests of erf.
11499 * math/auto-libm-test-out: Regenerated.
11500
0ea5d373
JM
11501 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
11502 individual architectures.
11503 * sysdeps/unix/sysv/linux/configure: Regenerated.
11504 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
11505 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
11506 * sysdeps/unix/sysv/linux/powerpc/configure.ac
11507 (ldd_rewrite_script): Define variable.
11508 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
11509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
11510 file.
11511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
11512 generated file.
11513 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
11514 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
11515 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
11516 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
11517 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
11518 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
11519 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
11520 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
11521
2307e126
SP
115222014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11523
11524 [BZ #17084]
11525 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
11526 Rename member __data.d to __data.__elision_data.
11527
c0a4ed77
W
115282014-06-24 Wilco <wdijkstr@arm.com>
11529
11530 * NEWS: Add 16918 to fixed bug list.
11531
b8c00573
W
115322014-06-24 Wilco <wdijkstr@arm.com>
11533
11534 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
11535
b5570d92
W
115362014-06-24 Wilco <wdijkstr@arm.com>
11537
11538 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
11539 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
11540 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
11541 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
11542 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
11543 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
11544 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
11545 Use _FPU_MASK_RM.
11546
947bdca2
W
115472014-06-24 Wilco <wdijkstr@arm.com>
11548
11549 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
11550
00f669ed
W
115512014-06-24 Wilco <wdijkstr@arm.com>
11552
11553 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
11554 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
11555 * sysdeps/arm/fesetround.c (fesetround): Remove space.
11556 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
11557
db59bad3
W
115582014-06-24 Wilco <wdijkstr@arm.com>
11559
11560 [BZ #16918]
11561 * sysdeps/arm/feupdateenv.c (feupdateenv):
11562 Rewrite to reduce FPSCR accesses and fix return value.
11563
001f7b77
W
115642014-06-24 Wilco <wdijkstr@arm.com>
11565
11566 * sysdeps/arm/fclrexcpt.c (feclearexcept):
11567 Optimize to avoid unnecessary FPSCR writes.
11568 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
11569 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
11570 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
11571 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
11572
4841e6a6
W
115732014-06-24 Wilco <wdijkstr@arm.com>
11574
11575 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
11576 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
11577 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
11578 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
11579 Call libc_fetestexcept_vfp.
11580 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
11581 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
11582 __SOFTFP__ ifdef so that they can be built for softfp.
11583
0813022c
SP
115842014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11585
08e5862f
SP
11586 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
11587 argument type signed char.
11588
0813022c
SP
11589 * Makerules (check-abi): Dump diff of symlist if the test
11590 fails.
11591
3fc7236a
RM
115922014-06-23 Roland McGrath <roland@hack.frob.com>
11593
aba8ef95
RM
11594 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
11595 using abort.
11596
3fc7236a
RM
11597 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
11598 Remove unused variable ST.
11599
4da6db51
JM
116002014-06-23 Joseph Myers <joseph@codesourcery.com>
11601
4648909d
JM
11602 [BZ #16354]
11603 [BZ #17061]
11604 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
11605 small arguments before calling __expm1.
11606 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
11607 small arguments before calling __expm1f.
11608 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
11609 small arguments before calling __expm1l.
11610 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
11611 Likewise.
11612 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
11613 * math/auto-libm-test-in: Add more cosh tests. Do not allow
11614 spurious underflow for some cosh tests.
11615 * math/auto-libm-test-out: Regenerated.
11616 * sysdeps/i386/fpu/libm-test-ulps: Update.
11617
46a3d3c7
JM
11618 [BZ #17050]
11619 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
11620 (__ieee754_y1): Set errno if return value overflows.
11621 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
11622 (__ieee754_y1f): Set errno if return value overflows.
11623 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
11624 (__ieee754_y1l): Set errno if return value overflows.
11625 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
11626 (__ieee754_y1l): Set errno if return value overflows.
11627 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
11628 * math/auto-libm-test-out: Regenerated.
11629
863893ec
JM
11630 * math/gen-auto-libm-tests.c: Document use of
11631 ignore-zero-inf-sign.
11632 (input_flag_type): Add value flag_ignore_zero_inf_sign.
11633 (input_flags): Add ignore-zero-inf-sign.
11634 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
11635 * math/gen-libm-test.pl (generate_testfile): Handle
11636 ignore-zero-inf-sign.
11637 * math/auto-libm-test-in: Mark some cpow tests with
11638 ignore-zero-inf-sign and some with xfail-rounding.
11639 * math/auto-libm-test-out: Regenerated.
11640 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
11641 * sysdeps/i386/fpu/libm-test-ulps: Update.
11642 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11643
4da6db51
JM
11644 [BZ #16315]
11645 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
11646 overflowing or underflowing operations take place with sign of
11647 result.
11648 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
11649 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
11650 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
11651 (__ieee754_pow): Recompute overflowing and underflowing results in
11652 original rounding mode.
11653 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
11654 (__powl_helper): Allow negative argument X and scale negated value
11655 as needed. Avoid passing value outside [-1, 1] to f2xm1.
11656 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
11657 overflowing or underflowing operations take place with sign of
11658 result.
11659 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
11660 Include <math.h>.
11661 * math/auto-libm-test-in: Add more tests of pow.
11662 * math/auto-libm-test-out: Regenerated.
11663 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
11664 (pow_tonearest_test_data): Remove.
11665 (pow_test_tonearest): Likewise.
11666 (pow_towardzero_test_data): Likewise.
11667 (pow_test_towardzero): Likewise.
11668 (pow_downward_test_data): Likewise.
11669 (pow_test_downward): Likewise.
11670 (pow_upward_test_data): Likewise.
11671 (pow_test_upward): Likewise.
11672 (main): Don't call removed functions.
11673 * sysdeps/i386/fpu/libm-test-ulps: Update.
11674 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11675
5686b236
RM
116762014-06-23 Roland McGrath <roland@hack.frob.com>
11677
11678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
11679 Moved ...
11680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
11681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11682 Moved ...
11683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
11684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
11685 Moved ...
11686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
11687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
11688 Moved ...
11689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
11690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
11691 File removed.
11692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
11693 File removed.
11694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
11695 File removed.
11696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
11697 File removed.
11698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
11699 File removed.
11700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
11701 File removed.
11702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
11703 File removed.
11704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
11705 File removed.
11706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
11707 File removed.
11708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
11709 File removed.
11710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
11711 File removed.
11712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
11713 File removed.
11714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
11715 Moved ...
11716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
11717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
11718 Moved ...
11719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
11720 ... here.
11721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
11722 Moved ...
11723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
11724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
11725 Moved ...
11726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
11727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
11728 Moved ...
11729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
11730 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
11731 Moved ...
11732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
11733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
11734 Moved ...
11735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
11736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
11737 Moved ...
11738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
11739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
11740 Moved ...
11741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
11742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
11743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
11744 ... here.
11745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
11746 Moved ...
11747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
11748 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
11749 Moved ...
11750 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
11751 ... here.
11752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
11753 Moved ...
11754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11755 ... here.
11756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
11757 Moved ...
11758 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
11759 ... here.
11760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
11761 Moved ...
11762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
11763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
11764 Moved ...
11765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
11766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
11767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
11768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
11769 Moved ...
11770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
11771 ... here.
11772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
11773 Moved ...
11774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
11775 ... here.
11776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
11777 Moved ...
11778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
11779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
11780 Moved ...
11781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
11782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
11783 Moved ...
11784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
11785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11786 Moved ...
11787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
11788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
11789 Moved ...
11790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
11791 ... here.
11792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
11793 Moved ...
11794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
11795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
11796 Moved ...
11797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
11798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
11799 Moved ...
11800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
11801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
11802 Moved ...
11803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
11804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
11805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
11806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
11807 Moved ...
11808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
11809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
11810 Moved ...
11811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
11812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
11813 Moved ...
11814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
11815 ... here.
11816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11817 Moved ...
11818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
11819 ... here.
11820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
11821 Moved ...
11822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
11823 ... here.
11824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
11825 Moved ...
11826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
11827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
11828 Moved ...
11829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
11830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
11831 Moved ...
11832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
11833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
11834 Moved ...
11835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
11836 ... here.
11837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
11838 Moved ...
11839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
11840 ... here.
11841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
11842 Moved ...
11843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
11844 ... here.
11845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
11846 Moved ...
11847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
11848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
11849 Moved ...
11850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
11851
e6d90d67
WD
118522014-06-23 Will Newton <will.newton@linaro.org>
11853 Wilco <wdijkstr@arm.com>
11854
11855 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
11856 implementation. Include get-rounding-mode.h.
11857 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
11858 [!libc_feholdsetround_noex_ctx]: Define
11859 libc_feholdsetround_noex_ctx.
11860 [!libc_feholdsetround_noexf_ctx]: Define
11861 libc_feholdsetround_noexf_ctx.
11862 [!libc_feholdsetround_noexl_ctx]: Define
11863 libc_feholdsetround_noexl_ctx.
11864 (libc_feholdsetround_ctx): New function.
11865 (libc_feresetround_ctx): New function.
11866 (libc_feholdsetround_noex_ctx): New function.
11867 (libc_feresetround_noex_ctx): New function.
11868
d42df555
RM
118692014-06-23 Roland McGrath <roland@hack.frob.com>
11870
88a46474
RM
11871 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
11872 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
11873 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
11874 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
11875 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
11876 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
11877
15bed472
RM
11878 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
11879 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
11880 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
11881 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
11882 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
11883 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
11884 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
11885 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
11886 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
11887 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
11888 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
11889 Moved ...
11890 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
11891 ... here.
11892 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
11893 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
11894 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
11895 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
11896 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
11897 Moved ...
11898 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
11899 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
11900 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
11901 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
11902 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
11903 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
11904 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
11905 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
11906 Moved ...
11907 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
11908 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
11909 Moved ...
11910 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
11911 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
11912 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
11913 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
11914 Moved ...
11915 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
11916 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
11917 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
11918 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
11919 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
11920 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
11921 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
11922 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
11923 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
11924 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
11925 Moved ...
11926 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
11927 ... here.
11928 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
11929 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
11930 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
11931 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
11932 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
11933 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
11934 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
11935 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
11936 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
11937 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
11938 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
11939 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
11940 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
11941 Moved ...
11942 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
11943 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
11944 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
11945 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
11946 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
11947 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
11948 Moved ...
11949 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
11950 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
11951 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
11952 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
11953 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
11954
d42df555
RM
11955 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
11956 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
11957 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
11958 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
11959 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
11960 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
11961 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
11962 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
11963 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
11964 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
11965 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
11966 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
11967 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
11968 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
11969 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
11970 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
11971 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
11972 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
11973 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
11974 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
11975 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
11976 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
11977 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
11978 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
11979 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
11980 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
11981 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
11982 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
11983
76e5216e
JM
119842014-06-23 Joseph Myers <joseph@codesourcery.com>
11985
11986 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
11987 (FALLOC_FL_COLLAPSE_RANGE): New macro.
11988 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
11989 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
11990 (IPV6_PMTUDISC_INTERFACE): Likewise.
11991 (IPV6_PMTUDISC_OMIT): Likewise.
11992
7a81cbcc
AS
119932014-06-23 Andreas Schwab <schwab@suse.de>
11994
11995 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
11996 Remove unused errout label.
11997
db224009
AZ
119982014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11999
12000 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
12001 macro: hardware supports Vector Crypto instructions.
12002
f393b4aa
WN
120032014-06-23 Will Newton <will.newton@linaro.org>
12004
cc7d0447
WN
12005 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
12006 rather than __builtin_expect.
12007
d6d06225
WN
12008 * elf/dl-lookup.c (undefined_msg): Remove variable.
12009 (_dl_lookup_symbol_x): Replace undefined_msg with string
12010 literal.
12011
f393b4aa
WN
12012 * elf/dl-lookup.c (do_lookup_unique): New function.
12013 (do_lookup_x): Move STB_GNU_UNIQUE handling code
12014 to a separate function.
12015
ac60763e
AS
120162014-06-23 Andreas Schwab <schwab@suse.de>
12017
12018 [BZ #17079]
12019 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
12020 before reading the next line.
12021
c5c13355
WN
120222014-06-23 Will Newton <will.newton@linaro.org>
12023
12024 * test-skeleton.c (signal_handler): Use printf and %m
12025 rather than perror. Use printf rather than fprintf to
12026 stderr. Use puts rather than fputs to stderr.
12027 (main): Likewise.
12028
bd3675f9
LC
120292014-06-22 Ludovic Courtès <ludo@gnu.org>
12030
12031 * nscd/nscd.c (thread_info_t): Remove typedef.
12032 (thread_info): Remove variable.
12033
d03efb2f
AM
120342014-06-21 Allan McRae <allan@archlinux.org>
12035
12036 * NEWS: Mention CVE-2014-4043.
12037
bc4a86fa
RM
120382014-06-20 Roland McGrath <roland@hack.frob.com>
12039
dc9a54f8
RM
12040 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
12041 * nptl/smp.h: ... here.
12042
bd7022c4
RM
12043 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
12044
26ffd5e6
RM
12045 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
12046 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
12047 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
12048 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
12049
93a6d082
RM
12050 * nptl/allocatestack.c: Include <stack-aliasing.h>.
12051 * nptl/stack-aliasing.h: New file.
12052 * sysdeps/i386/i686/stack-aliasing.h: New file.
12053 * sysdeps/i386/i686/nptl/Makefile: File removed.
12054 * sysdeps/x86_64/stack-aliasing.h: New file.
12055 * sysdeps/x86_64/nptl/Makefile
12056 (CFLAGS-pthread_create.c): Variable removed.
12057
bc4a86fa
RM
12058 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
12059 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
12060 old file.
12061 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
12062 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
12063 old file.
12064
2272ffc1
JM
120652014-06-21 Joseph Myers <joseph@codesourcery.com>
12066
12067 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12068 (__ASSUME_SIGFRAME_V2): Remove macro.
12069 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
12070 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
12071 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
12072 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
12073 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
12074 Declare as function. Remove conditional macro definitions.
12075 (__default_rt_sa_restorer): Likewise.
12076 (__default_sa_restorer_v1): Remove declaration.
12077 (__default_sa_restorer_v2): Likewise.
12078 (__default_rt_sa_restorer_v1): Likewise.
12079 (__default_rt_sa_restorer_v2): Likewise.
12080 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
12081 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
12082 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
12083
4b88139b
RM
120842014-06-20 Roland McGrath <roland@hack.frob.com>
12085
12086 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
12087 (libpthread-routines): Add sysdep.
12088 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
12089 * sysdeps/unix/sysv/linux/sparc/Versions
12090 (libpthread: GLIBC_2.3.3): New version set.
12091 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
12092 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
12093 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
12094 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
12095 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
12096 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
12097 Moved ...
12098 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
12099 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
12100 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
12101 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
12102 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
12103 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
12104 * sysdeps/sparc/nptl/sem_init.c: ... here.
12105 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
12106 * sysdeps/sparc/nptl/sem_post.c: ... here.
12107 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
12108 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
12109 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
12110 * sysdeps/sparc/nptl/sem_wait.c: ... here.
12111 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
12112 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
12113 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
12114 (libpthread-routines): Add cpu_relax.
12115 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
12116 File removed.
12117 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
12118 (librt: GLIBC_2.3.3): New version set.
12119 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
12120 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
12121 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
12122 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
12123 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
12124 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
12125 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
12126 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
12127 Moved ...
12128 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
12129 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
12130 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
12131 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
12132 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
12133 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
12134 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
12135 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
12136 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
12137 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
12138 Moved ...
12139 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
12140 Update #include.
12141 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
12142 Moved ...
12143 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
12144 Update #include.
12145 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
12146 Moved ...
12147 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
12148 Update #include.
12149 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
12150 Moved ...
12151 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
12152 Update #include.
12153 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
12154 Moved ...
12155 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
12156 Update #include.
12157 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
12158 Moved ...
12159 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
12160 Update #include.
12161 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
12162 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
12163 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
12164 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
12165 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
12166 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
12167 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
12168 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
12169 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
12170 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
12171 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
12172 Moved ...
12173 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
12174 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
12175 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
12176 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
12177 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
12178
d7109027
JM
121792014-06-20 Joseph Myers <joseph@codesourcery.com>
12180
9bc6103d
JM
12181 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
12182 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
12183 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
12184 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
12185 * nscd/nscd.c: Likewise.
12186 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
12187 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
12188 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
12189 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
12190
d7109027
JM
12191 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
12192 <kernel-features.h>.
12193 (init_mq_netlink): Remove conditional have_sock_cloexec
12194 definitions. Remove code conditional on have_sock_cloexec < 0.
12195 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
12196 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
12197 * sysdeps/unix/sysv/linux/opensock.c: Do not include
12198 <kernel-features.h>.
12199 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
12200 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
12201
d92d8f8a
L
122022014-06-20 H.J. Lu <hongjiu.lu@intel.com>
12203
12204 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12205 Add tests for memset_chk and memset.
12206
12207 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
12208 with AVX2_Usable.
12209
4e6d2347
MR
122102014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
12211
257ce712
MR
12212 [BZ #16046]
12213 * elf/tst-dl-iter-static.c: New file.
12214 * elf/Makefile (tests-static): Add tst-dl-iter-static.
12215
4e6d2347
MR
12216 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
12217 error.
12218
a2a76afe
JM
122192014-06-20 Joseph Myers <joseph@codesourcery.com>
12220
7fd00f99
JM
12221 * sysdeps/unix/sysv/linux/kernel-features.h
12222 (__ASSUME_F_GETOWN_EX): Remove macro.
12223 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
12224 <kernel-features.h>.
12225 (miss_F_GETOWN_EX): Remove variable or macro.
12226 (do_fcntl): Do not check miss_F_GETOWN_EX.
12227 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
12228
4a103975
JM
12229 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
12230 Remove macro.
12231 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
12232 [!__ASSUME_AT_RANDOM]: Remove conditional code.
12233 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
12234
a2a76afe
JM
12235 * sysdeps/unix/sysv/linux/kernel-features.h
12236 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
12237 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
12238 [ADJ_OFFSET_SS_READ]: Make code unconditional.
12239 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
12240
90e5dd48
MR
122412014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
12242
12243 [BZ #17075]
12244 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
12245 Fix calculation of the symbol's value.
12246 * sysdeps/arm/tst-armtlsdescloc.c: New file.
12247 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
12248 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
12249 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
12250 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
12251 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
12252 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
12253 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
12254 (modules-names): Add `tst-armtlsdescmod',
12255 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
12256 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
12257 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
12258 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
12259 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
12260 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
12261 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
12262 ($(objpfx)tst-armtlsdescloc): New dependency.
12263 ($(objpfx)tst-armtlsdescextnow): Likewise.
12264 ($(objpfx)tst-armtlsdescextlazy): Likewise.
12265 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
12266 TLS scheme support.
12267 * sysdeps/arm/configure: Regenerate.
12268
809fdf0d
JM
122692014-06-20 Joseph Myers <joseph@codesourcery.com>
12270
12271 * include/fcntl.h (__atfct_seterrno): Remove prototype.
12272 (__atfct_seterrno_2): Likewise.
12273 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
12274 <kernel-features.h>.
12275 (__ASSUME_ATFCTS): Do not undefine and redefine.
12276 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
12277 (__have_atfcts): Remove conditional definition.
12278 (__fxstatat([__NR_fstatat64]: Make code unconditional.
12279 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
12280 unreachable if [__ASSUME_ATFCTS].
12281 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
12282 not undefine and redefine.
12283 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
12284 <kernel-features.h>.
12285 (faccessat) [__NR_faccessat]: Make code unconditional.
12286 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
12287 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
12288 <kernel-features.h>.
12289 (fchmodat) [__NR_fchmodat]: Make code unconditional.
12290 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
12291 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
12292 <kernel-features.h>.
12293 (fchownat) [__NR_fchownat]: Make code unconditional.
12294 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
12295 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
12296 <kernel-features.h>.
12297 (futimesat) [__NR_futimesat]: Make code unconditional.
12298 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
12299 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
12300 <kernel-features.h>.
12301 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
12302 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
12303 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
12304 <kernel-features.h>.
12305 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
12306 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
12307 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
12308 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
12309 <kernel-features.h>.
12310 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
12311 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
12312 * sysdeps/unix/sysv/linux/linkat.c: Do not include
12313 <kernel-features.h>.
12314 (linkat) [__NR_linkat]: Make code unconditional.
12315 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
12316 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
12317 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
12318 <kernel-features.h>.
12319 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
12320 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
12321 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
12322 <kernel-features.h>.
12323 (mkdirat) [__NR_mkdirat]: Make code unconditional.
12324 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
12325 * sysdeps/unix/sysv/linux/openat.c: Do not include
12326 <kernel-features.h>.
12327 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
12328 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
12329 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
12330 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
12331 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
12332 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
12333 <kernel-features.h>.
12334 (readlinkat) [__NR_readlinkat]: Make code unconditional.
12335 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
12336 result of INLINE_SYSCALL directly, not via int variable.
12337 * sysdeps/unix/sysv/linux/renameat.c: Do not include
12338 <kernel-features.h>.
12339 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
12340 (renameat) [__NR_renameat]: Make code unconditional.
12341 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
12342 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
12343 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
12344 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
12345 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
12346 (__ASSUME_ATFCTS): Do not undefine and redefine.
12347 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
12348 <kernel-features.h>.
12349 (symlinkat) [__NR_symlinkat]: Make code unconditional.
12350 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
12351 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
12352 <kernel-features.h>.
12353 (unlinkat) [__NR_unlinkat]: Make code unconditional.
12354 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
12355 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
12356 (__ASSUME_ATFCTS): Do not undefine and redefine.
12357 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
12358 <kernel-features.h>.
12359 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
12360 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
12361 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
12362 <kernel-features.h>.
12363 (__xmknodat) [__NR_mknodat]: Make code unconditional.
12364 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
12365
224c6c51
L
123662014-06-20 H.J. Lu <hongjiu.lu@intel.com>
12367
12368 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
12369
aa6ec754
AS
123702014-06-20 Andreas Schwab <schwab@linux-m68k.org>
12371
12372 [BZ #17069]
12373 * posix/regcomp.c (parse_reg_exp): Deallocate partially
12374 constructed tree before returning error.
12375 * posix/bug-regexp36.c: Expand test case.
12376
d8c2869d
SL
123772014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
12378
3ef6b850
SL
12379 [BZ #6803]
12380 * math/libm-test.inc (scalbln_test_date):
12381 Add errno expectations.
12382 * math/w_scalblnf.c: New File.
12383 Add wrapper which checks for setting errno to ERANGE.
12384 Add weak_alias for corresponding scalbln function.
12385 * math/w_scalbln.c: Likewise.
12386 * math/w_scalblnl.c: Likewise.
12387 * math/Makefile (libm-calls): Add w_scalbln.
12388 * sysdeps/ieee754/flt-32/s_scalblnf.c:
12389 Remove weak_alias for corresponding scalbln function.
12390 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
12391 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
12392 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
12393 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12394 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
12395 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
12396 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
12397 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
12398 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
12399 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
12400 Remove long_double_symbol for scalblnl function in libm, libc.
12401 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
12402 Add wrapper which checks for setting errno to ERANGE.
12403 Add long_double_symbol for scalblnl function in libm, libc.
12404 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
12405 Remove long_double_symbol for scalblnl in libm.
12406 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
12407 Add wrapper which checks for setting errno to ERANGE.
12408 Add long_double_symbol for scalblnl function in libm.
12409 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
12410 Do not use wrapper because of own implementation.
12411
c8daec5c
L
124122014-06-19 H.J. Lu <hongjiu.lu@intel.com>
12413
12414 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
12415 3 bytes for __pad1 for x32.
12416 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
12417
5c74e47c
LM
124182014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
12419 H.J. Lu <hongjiu.lu@intel.com>
12420
12421 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
12422 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
12423 * sysdeps/x86_64/multiarch/memset.S: Likewise.
12424 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12425 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
12426
4d43ef1e
AS
124272014-06-19 Andreas Schwab <schwab@linux-m68k.org>
12428
12429 [BZ #17069]
12430 * posix/regcomp.c (parse_expression): Deallocate partially
12431 constructed tree before returning error.
12432 * posix/Makefile.c (tests): Add bug-regex36.
12433 (generated): Add bug-regex36.mtrace.
12434 (tests-special): Add $(objpfx)bug-regex36-mem.out
12435 (bug-regex36-ENV): New variable.
12436 ($(objpfx)bug-regex36-mem.out): New rule.
12437 * posix/bug-regex36.c: New file.
12438
51a7380b
WN
124392014-06-19 Will Newton <will.newton@linaro.org>
12440
12441 * malloc/malloc.c (systrim): If extra is zero then return
12442 early.
12443
91b84fe5
SP
124442014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12445
12446 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
12447
f940b965
RE
124482014-06-19 Richard Earnshaw <rearnsha@arm.com>
12449
12450 * sysdeps/aarch64/strchr.S: New file.
12451
4ba7a00f
JM
124522014-06-18 Joseph Myers <joseph@codesourcery.com>
12453
12454 [BZ #17022]
12455 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
12456 from arguments -2 or below.
12457 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
12458 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
12459
b3a9f56b
AS
124602014-06-18 Andreas Schwab <schwab@suse.de>
12461
12462 [BZ #17062]
12463 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
12464 of a bracket expr not to run off the end of the string.
12465 * posix/Makefile (tests): Add tst-fnmatch3.
12466 * posix/tst-fnmatch3.c: New file.
12467
85d89278
JM
124682014-06-18 Joseph Myers <joseph@codesourcery.com>
12469
12470 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
12471 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
12472 [$(cross-compiling) = no]: Likewise.
12473 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
12474 [$(cross-compiling) = no]: Likewise.
12475
754c5a08
RS
124762014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12477
12478 [BZ #17031]
12479 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
12480 double, adjusted for any remainder from the high double.
12481 * math/libm-test.inc (nearbyint): Add tests.
12482 (rint): Likewise.
12483
556f529d
AZ
124842014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12485
12486 * nptl/sysdeps/powerpc/Makefile: Moved ...
12487 * sysdeps/powerpc/nptl/Makefile: ... here.
12488 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
12489 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
12490 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
12491 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
12492 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
12493 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
12494 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
12495 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
12496 * nptl/sysdeps/powerpc/tls.h: Moved ...
12497 * sysdeps/powerpc/nptl/tls.h: ... here.
12498
91c03c53
JM
124992014-06-16 Joseph Myers <joseph@codesourcery.com>
12500
12501 [BZ #16681]
12502 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
12503 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
12504 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
12505 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
12506 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
12507 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
12508 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
12509 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
12510 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
12511
a76e63c5
AS
125122014-06-17 Andreas Schwab <schwab@linux-m68k.org>
12513
12514 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
12515
f2f6d82f
AS
125162014-06-16 Andreas Schwab <schwab@linux-m68k.org>
12517
ea8a15f6
AS
12518 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
12519 defined operator.
12520
f2f6d82f
AS
12521 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
12522 $TIMEOUTFACTOR.
12523
a7291117
FW
125242014-06-16 Florian Weimer <fweimer@redhat.com>
12525
12526 [BZ #17058]
12527 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
12528 non-executed part of the test.
12529
3d7c00e3
AS
125302014-06-16 Andreas Schwab <schwab@suse.de>
12531
12532 * string/bits/string2.h (strdup, strndup): Update feature guard.
12533
6957fb31
DM
125342014-06-14 David S. Miller <davem@davemloft.net>
12535
12536 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12537
11b9e55b
AS
125382014-06-14 Andreas Schwab <schwab@linux-m68k.org>
12539
1d2a0492
AS
12540 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
12541 that was previously under [RESET_PID].
12542 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
12543
11b9e55b
AS
12544 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
12545 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
12546 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
12547 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12548 (__libc_vfork): New strong alias.
12549 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
12550
0f6901d0
AK
125512014-06-14 Andi Kleen <ak@linux.intel.com>
12552
12553 * sysdeps/generic/elide.h: New file.
12554
38bbbb9f
SL
125552014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
12556
12557 * Makefile (installed-headers): Adjust path of pthread.h header.
12558
45193bb8
RM
125592014-06-13 Roland McGrath <roland@hack.frob.com>
12560
9a25fd1e
RM
12561 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
12562 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
12563 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
12564 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
12565
4004f7e4
RM
12566 * nptl/sysdeps/s390/Makefile: Moved ...
12567 * sysdeps/s390/nptl/Makefile: ... here.
12568 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
12569 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
12570 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
12571 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
12572 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
12573 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
12574 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
12575 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
12576 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
12577 * sysdeps/s390/nptl/pthreaddef.h: ... here.
12578 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
12579 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
12580 * nptl/sysdeps/s390/tls.h: Moved ...
12581 * sysdeps/s390/nptl/tls.h: ... here.
12582
45193bb8
RM
12583 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
12584 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
12585
f6fdf533
DM
125862014-06-13 David S. Miller <davem@davemloft.net>
12587
12588 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
12589 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
12590 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
12591 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
12592 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
12593 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
12594 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
12595 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
12596 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
12597 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
12598 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
12599 Remove RESET_PID cpp guards.
12600 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
12601 Remove RESET_PID cpp guards.
12602 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
12603
f5d71e14
AS
126042014-06-13 Andreas Schwab <schwab@linux-m68k.org>
12605
12606 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
12607 __sp to uintptr_t.
12608
b7aa8caa
AK
126092014-06-13 Andi Kleen <ak@linux.intel.com>
12610
4b266200
AZ
12611 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
12612 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
12613 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
12614 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
12615 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
12616 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
12617 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
12618 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
12619 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
12620 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
12621 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
12622 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
12623 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
12624 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
12625 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
12626 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
12627 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
12628 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
12629 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
12630 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
12631
12632 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
12633 (pthread_rwlock_rdlock): Add elision.
12634 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
12635 (pthread_rwlock_wrlock): Add elision.
12636 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
12637 (pthread_rwlock_trywrlock): Add elision.
12638 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
12639 (pthread_rwlock_tryrdlock): Add elision.
12640 * nptl/pthread_rwlock_unlock.c: Include elide.h.
12641 (pthread_rwlock_tryrdlock): Add elision unlock.
12642 * nptl/sysdeps/pthread/pthread.h:
12643 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
12644 (PTHREAD_RWLOCK_INITIALIZER,
12645 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
12646 Handle new elision field.
12647 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
12648 * sysdeps/arm/nptl/bits/pthreadtypes.h
12649 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12650 * sysdeps/sh/nptl/bits/pthreadtypes.h
12651 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12652 * sysdeps/tile/nptl/bits/pthreadtypes.h
12653 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12654 * sysdeps/a/nptl/bits/pthreadtypes.h
12655 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12656 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
12657 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12658 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
12659 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12660 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
12661 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12662 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
12663 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12664 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
12665 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12666 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
12667 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12668 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
12669 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12670 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
12671 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12672 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
12673 (elision_init): Set try_xbegin to zero when no RTM.
12674 * sysdeps/x86/nptl/bits/pthreadtypes.h
12675 (pthread_rwlock_t): Change __pad1 to __rwelision.
12676 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 12677
a832bdd3
AK
126782014-06-13 Andi Kleen <ak@linux.intel.com>
12679
12680 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
12681 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
12682 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
12683 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
12684
995a46bb
MI
126852014-06-13 Meador Inge <meadori@codesourcery.com>
12686
12687 [BZ #16996]
03ed7738 12688 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
12689 that the cached result has been set before returning it.
12690
45262aee
RM
126912014-06-12 Roland McGrath <roland@hack.frob.com>
12692
febf6cc5
RM
12693 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
12694 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
12695 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
12696 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
12697 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
12698 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
12699
e2682246
RM
12700 * nptl/sysdeps/sparc/Makefile: Moved ...
12701 * sysdeps/sparc/nptl/Makefile: ... here.
12702 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
12703 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
12704 * nptl/sysdeps/sparc/tls.h: Moved ...
12705 * sysdeps/sparc/nptl/tls.h: ... here.
12706 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
12707 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
12708 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
12709 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
12710 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
12711 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
12712 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
12713 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
12714 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
12715 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
12716 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
12717 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
12718 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
12719 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
12720 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
12721 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
12722 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
12723 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
12724 Update #include.
12725 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
12726 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
12727 Update #include.
12728 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
12729 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
12730 Update #include.
12731 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
12732 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
12733 Update #include.
12734
b0725f43
RM
12735 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
12736
b14368b8
RM
12737 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
12738 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
12739
c5620eb3
RM
12740 * sysdeps/pthread/posix-timer.h: Include <list.h>.
12741 (struct list_links): Type removed.
12742 (struct thread_node, struct timer_node): Replace struct list_links
12743 with struct list_head.
12744 (list_unlink_ip): Likewise.
12745 * sysdeps/pthread/timer_routines.c
12746 (timer_free_list, thread_free_list, thread_active_list): Likewise.
12747 (list_append, list_insbefore): Likewise.
12748 (list_init): Function removed.
12749 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
12750 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
12751 * sysdeps/pthread/Makefile: ... here, new file.
12752
12753 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
12754 * sysdeps/nptl/Implies: ... here.
12755 * sysdeps/unix/sysv/linux/Implies: Add nptl.
12756 * nptl/sysdeps/pthread/list.h: Moved ...
12757 * include/list.h: ... here.
12758 * nptl/sysdeps/pthread/createthread.c: Moved ...
12759 * nptl/createthread.c: ... here.
12760 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
12761 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
12762 * nptl/pt-longjmp.c: ... here.
12763 * nptl/sysdeps/pthread/Makefile: Moved ...
12764 * sysdeps/nptl/Makefile: ... here.
12765 * nptl/sysdeps/pthread/Subdirs: Moved ...
12766 * sysdeps/nptl/Subdirs: ... here.
12767 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
12768 * sysdeps/nptl/aio_misc.h: ... here.
12769 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
12770 * sysdeps/nptl/bits/libc-lock.h: ... here.
12771 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
12772 * sysdeps/nptl/bits/libc-lockP.h: ... here.
12773 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
12774 * sysdeps/nptl/bits/stdio-lock.h: ... here.
12775 * nptl/sysdeps/pthread/configure: Moved ...
12776 * sysdeps/nptl/configure: ... here.
12777 * nptl/sysdeps/pthread/configure.ac: Moved ...
12778 * sysdeps/nptl/configure.ac: ... here.
12779 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
12780 * sysdeps/nptl/gai_misc.h: ... here.
12781 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
12782 * sysdeps/nptl/librt-cancellation.c: ... here.
12783 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
12784 * sysdeps/nptl/malloc-machine.h: ... here.
12785 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
12786 * sysdeps/nptl/pthread-functions.h: ... here.
12787 * nptl/sysdeps/pthread/pthread.h: Moved ...
12788 * sysdeps/nptl/pthread.h: ... here.
12789 * nptl/sysdeps/pthread/setxid.h: Moved ...
12790 * sysdeps/nptl/setxid.h: ... here.
12791 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
12792 * sysdeps/nptl/sigfillset.c: ... here.
12793 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
12794 * sysdeps/nptl/tcb-offsets.h: ... here.
12795 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
12796 * sysdeps/nptl/tst-mqueue8x.c: ... here.
12797 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
12798 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
12799 * nptl/sysdeps/pthread/allocalim.h: Moved ...
12800 * sysdeps/pthread/allocalim.h: ... here.
12801 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
12802 * sysdeps/pthread/bits/sigthread.h: ... here.
12803 * nptl/sysdeps/pthread/flockfile.c: Moved ...
12804 * sysdeps/pthread/flockfile.c: ... here.
12805 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
12806 * sysdeps/pthread/ftrylockfile.c: ... here.
12807 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
12808 * sysdeps/pthread/funlockfile.c: ... here.
12809 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
12810 * sysdeps/pthread/posix-timer.h: ... here.
12811 * nptl/sysdeps/pthread/timer_create.c: Moved ...
12812 * sysdeps/pthread/timer_create.c: ... here.
12813 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
12814 * sysdeps/pthread/timer_delete.c: ... here.
12815 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
12816 * sysdeps/pthread/timer_getoverr.c: ... here.
12817 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
12818 * sysdeps/pthread/timer_gettime.c: ... here.
12819 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
12820 * sysdeps/pthread/timer_routines.c: ... here.
12821 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
12822 * sysdeps/pthread/timer_settime.c: ... here.
12823 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
12824 * sysdeps/pthread/tst-timer.c: ... here.
12825 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
12826 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
12827
e876b090
RM
12828 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
12829 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
12830
f6b07b3d
RM
12831 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
12832 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
12833 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
12834 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
12835 Update #include target.
12836 * nptl/sysdeps/i386/i686/Makefile: Moved ...
12837 * sysdeps/i386/i686/nptl/Makefile: ... here.
12838 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
12839 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
12840 Update #include target.
12841 * nptl/sysdeps/i386/i686/tls.h: Moved ...
12842 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
12843 * nptl/sysdeps/i386/Makefile: Moved ...
12844 * sysdeps/i386/nptl/Makefile: ... here.
12845 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
12846 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
12847 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
12848 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
12849 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
12850 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
12851 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
12852 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
12853 * sysdeps/i386/nptl/pthreaddef.h: ... here.
12854 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
12855 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
12856 * nptl/sysdeps/i386/tls.h: Moved ...
12857 * sysdeps/i386/nptl/tls.h: ... here.
12858
45262aee
RM
12859 * sysdeps/sh/Makefile [$(subdir) = csu]
12860 (gen-as-const-headers): Add tcb-offsets.sym.
12861 * nptl/sysdeps/sh/Makefile: File removed.
12862 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
12863 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
12864 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
12865 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
12866 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
12867 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
12868 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
12869 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
12870 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
12871 * sysdeps/sh/nptl/pthreaddef.h: ... here.
12872 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
12873 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
12874 * nptl/sysdeps/sh/tls.h: Moved ...
12875 * sysdeps/sh/nptl/tls.h: ... here.
12876 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
12877 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
12878 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
12879 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
12880 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
12881 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
12882 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
12883 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
12884 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
12885 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
12886 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
12887 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
12888 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
12889 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
12890 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
12891 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
12892 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
12893 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
12894 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
12895 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
12896 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
12897 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
12898 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
12899 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
12900 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
12901 Moved ...
12902 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
12903 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
12904 Moved ...
12905 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
12906 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
12907 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
12908 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
12909 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
12910 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
12911 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
12912 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
12913 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
12914 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
12915 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
12916 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
12917 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
12918 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
12919 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
12920 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
12921 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
12922 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
12923 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
12924
35a5e3e3
SL
129252014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
12926
12927 * posix/spawn_faction_addopen.c: Include string.h.
12928
14642b85
RM
129292014-06-11 Roland McGrath <roland@hack.frob.com>
12930
12931 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
12932 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
12933 * nptl/sysdeps/x86_64/Makefile: Moved ...
12934 * sysdeps/x86_64/nptl/Makefile: ... here.
12935 * nptl/sysdeps/x86_64/configure: Moved ...
12936 * sysdeps/x86_64/nptl/configure: ... here.
12937 * nptl/sysdeps/x86_64/configure.ac: Moved ...
12938 * sysdeps/x86_64/nptl/configure.ac: ... here.
12939 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
12940 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
12941 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
12942 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
12943 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
12944 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
12945 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
12946 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
12947 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
12948 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
12949 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
12950 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
12951 * nptl/sysdeps/x86_64/tls.h: Moved ...
12952 * sysdeps/x86_64/nptl/tls.h: ... here.
12953 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
12954 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
12955 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
12956 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
12957
12958 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
12959
31c44fea
AZ
129602014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12961
12962 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12963
e81a4f9a
JM
129642014-06-11 Joseph Myers <joseph@codesourcery.com>
12965
12966 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
12967 type.
12968 [POSIX] (off_t): Likewise.
12969 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
12970 [POSIX] (S_ISBLK): Require macro.
12971 [POSIX] (S_ISCHR): Likewise.
12972 [POSIX] (S_ISDIR): Likewise.
12973 [POSIX] (S_ISFIFO): Likewise.
12974 [POSIX] (S_ISREG): Likewise.
12975 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
12976 optional-macro.
12977 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
12978 type.
12979 [POSIX] (time_t): Likewise.
12980 [POSIX] (timer_t): Likewise.
12981
89e435f3
FW
129822014-06-11 Florian Weimer <fweimer@redhat.com>
12983
12984 [BZ #17048]
12985 * posix/spawn_int.h (struct __spawn_action): Make the path string
12986 non-const to support deallocation.
12987 * posix/spawn_faction_addopen.c
12988 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
12989 * posix/spawn_faction_destroy.c
12990 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
12991 path in all spawn_do_open actions.
12992 * posix/tst-spawn.c (do_test): Exercise the copy operation in
12993 posix_spawn_file_actions_addopen.
12994
c3a2ebe1
CM
129952014-06-11 Chris Metcalf <cmetcalf@tilera.com>
12996
12997 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
12998 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
12999 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
13000 conditional code always true.
13001 (__libc_vfork): New alias.
13002
9503784a
RM
130032014-06-11 Roland McGrath <roland@hack.frob.com>
13004
c9cab3d2
RM
13005 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
13006 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
13007
d3996c79
RM
13008 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
13009
ba5ec611
RM
13010 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
13011 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
13012
f12b4814
RM
13013 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
13014 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
13015
9503784a
RM
13016 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
13017 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
13018
e23d3d26
VR
130192014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
13020
13021 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
13022 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
13023 multiarch strcmp for PPC64.
13024 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
13025 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
13026 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
13027 multiarch optimizations.
13028 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13029 (__libc_ifunc_impl_list): Likewise.
13030
42b1161e
SP
130312014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13032
13033 * benchtests/scripts/validate_benchout.py: New script.
13034 * benchtests/Makefile (bench-func): Call it.
13035 * benchtests/scripts/benchout.schema.json: New file.
13036
2d0fc4dc
CM
130372014-06-10 Chris Metcalf <cmetcalf@tilera.com>
13038
4a594c34
AZ
13039 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
13040 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
13041 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
13042 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
13043 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
13044 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
13045 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
13046 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
13047 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
13048 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
13049 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
13050 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
13051 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
13052 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
13053 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
13054 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
13055 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 13056 Moved ...
4a594c34 13057 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 13058 ... here.
4a594c34 13059 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 13060 Moved ...
4a594c34
AZ
13061 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
13062 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 13063 Moved ...
4a594c34 13064 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 13065 ... here.
4a594c34 13066 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 13067 Moved ...
4a594c34 13068 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 13069 ... here.
4a594c34 13070 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 13071 Moved ...
4a594c34
AZ
13072 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
13073 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 13074 Moved ...
4a594c34 13075 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 13076 ... here.
4a594c34 13077 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 13078 Moved ...
4a594c34 13079 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 13080 ... here.
4a594c34 13081 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 13082 Moved ...
4a594c34
AZ
13083 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
13084 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 13085 Moved ...
4a594c34 13086 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 13087 ... here.
4a594c34 13088 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 13089 Moved ...
4a594c34 13090 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 13091 ... here.
4a594c34 13092 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 13093 Moved ...
4a594c34 13094 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 13095 ... here.
4a594c34 13096 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 13097 Moved ...
4a594c34
AZ
13098 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
13099 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 13100 Moved ...
4a594c34 13101 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 13102 ... here.
4a594c34 13103 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 13104 Moved ...
4a594c34 13105 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 13106 ... here.
4a594c34 13107 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 13108 Moved ...
4a594c34 13109 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 13110 ... here.
4a594c34 13111 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 13112 Moved ...
4a594c34
AZ
13113 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
13114 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 13115 Moved ...
4a594c34 13116 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 13117 ... here.
4a594c34 13118 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 13119 Moved ...
4a594c34 13120 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 13121 ... here.
4a594c34 13122 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 13123 Moved ...
4a594c34
AZ
13124 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
13125 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 13126 Moved ...
4a594c34 13127 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 13128 ... here.
4a594c34 13129 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 13130 Moved ...
4a594c34
AZ
13131 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
13132 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 13133 Moved ...
4a594c34
AZ
13134 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
13135 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 13136 Moved ...
4a594c34 13137 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 13138 ... here.
4a594c34 13139 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 13140 Moved ...
4a594c34 13141 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 13142 ... here.
4a594c34 13143 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 13144 Moved ...
4a594c34 13145 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 13146 ... here.
4a594c34 13147 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 13148 Moved ...
4a594c34
AZ
13149 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
13150 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 13151 Moved ...
4a594c34 13152 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 13153 ... here.
4a594c34 13154 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 13155 Moved ...
4a594c34 13156 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 13157 ... here.
4a594c34
AZ
13158 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
13159 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
13160 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
13161 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
13162 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 13163 Moved ...
4a594c34 13164 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 13165 ... here.
4a594c34
AZ
13166 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
13167 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
13168 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
13169 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
13170 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
13171 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
13172 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
13173 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
13174 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
13175 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
13176 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
13177 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
13178 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 13179 Moved ...
4a594c34
AZ
13180 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
13181 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 13182 Moved ...
4a594c34
AZ
13183 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
13184 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
13185 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
13186 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 13187 Moved ...
4a594c34
AZ
13188 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
13189 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
13190 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
13191 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
13192 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
13193 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
13194 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 13195
0570cfed
W
131962014-06-10 Wilco <wdijkstr@arm.com>
13197
13198 * math/test-fenv-return.c: New file.
13199 * math/Makefile: Add new test test-fenv-return.
13200
f8ba1b56
JM
132012014-06-10 Joseph Myers <joseph@codesourcery.com>
13202
13203 [BZ #17042]
13204 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
13205 when x - 1 is zero.
13206 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
13207 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
13208 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
13209 0.0L for an argument of 1.0L.
13210 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
13211 Likewise.
13212 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
13213 value when x - 1 is zero.
13214 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
13215 * sysdeps/i386/fpu/libm-test-ulps: Update.
13216 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13217
2c3520d9
BO
132182014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
13219
13220 [BZ #15119]
13221 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
13222
acaa4d24
RM
132232014-06-09 Roland McGrath <roland@hack.frob.com>
13224
13225 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
13226 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
13227
962b744d
RM
132282014-06-09 Roland McGrath <roland@hack.frob.com>
13229
d752f0cc
RM
13230 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
13231 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
13232
34eda6d1
RM
13233 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
13234 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
13235
50f0a637
RM
13236 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
13237 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
13238
08f41f04
RM
13239 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
13240 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
13241
962b744d
RM
13242 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
13243 if not already defined.
13244 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
13245 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
13246 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
13247 (TLS_INIT_TP): Use it.
13248 (TLS_DEFINE_INIT_TP): New macro.
13249 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
13250
09f19b05
JM
132512014-06-09 Joseph Myers <joseph@codesourcery.com>
13252
13253 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
13254 constant.
13255 [POSIX] (IXANY): Likewise.
13256 [POSIX] (OLCUC): Likewise.
13257 [POSIX || POSIX2008] (CBAUD): Do not allow.
13258 [POSIX || POSIX2008] (DEFECHO): Likewise.
13259 [POSIX || POSIX2008] (ECHOCTL): Likewise.
13260 [POSIX || POSIX2008] (ECHOKE): Likewise.
13261 [POSIX || POSIX2008] (ECHOPRT): Likewise.
13262 [POSIX || POSIX2008] (EXTA): Likewise.
13263 [POSIX || POSIX2008] (EXTB): Likewise.
13264 [POSIX || POSIX2008] (FLUSHO): Likewise.
13265 [POSIX || POSIX2008] (LOBLK): Likewise.
13266 [POSIX || POSIX2008] (PENDIN): Likewise.
13267 [POSIX || POSIX2008] (SWTCH): Likewise.
13268 [POSIX || POSIX2008] (VDISCARD): Likewise.
13269 [POSIX || POSIX2008] (VDSUSP): Likewise.
13270 [POSIX || POSIX2008] (VLNEXT): Likewise.
13271 [POSIX || POSIX2008] (VREPRINT): Likewise.
13272 [POSIX || POSIX2008] (VSTATUS): Likewise.
13273 [POSIX || POSIX2008] (VWERASE): Likewise.
13274 (B*): Change to B[0123456789]*.
13275 * conform/data/time.h-data [POSIX || UNIX98]
13276 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
13277 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
13278 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
13279 [POSIX] (tm_*): Do not allow.
13280
686554bf
JM
132812014-06-07 Joseph Myers <joseph@codesourcery.com>
13282
13283 * Makefile (install): Don't set LANGUAGE.
13284 * Makefile.in (install): Likewise.
13285 * assert/Makefile (test-assert-ENV): Remove variable.
13286 (test-assert-perr-ENV): Likewise.
13287 * elf/Makefile (neededtest4-ENV): Likewise.
13288 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
13289 [$(cross-compiling) = no]: Don't set LANGUAGE.
13290 * io/ftwtest-sh (LANG): Remove variable.
13291 * libio/Makefile (tst-widetext-ENV): Likewise.
13292 * manual/install.texi (Running make install): Don't refer to
13293 environment settings for make install.
13294 * INSTALL: Regenerated.
13295 * nptl/tst-tls6.sh: Don't set LANG.
13296 * posix/globtest.sh (LANG): Remove variable.
13297 * string/Makefile (tester-ENV): Likewise.
13298 (inl-tester-ENV): Likewise.
13299 (noinl-tester-ENV): Likewise.
13300 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
13301 [$(cross-compiling) = no]: Don't set LANGUAGE.
13302 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
13303 without explicit environment settings.
13304
68e6b6b1
RM
133052014-06-06 Roland McGrath <roland@hack.frob.com>
13306
13307 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
13308 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
13309 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
13310 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
13311
4d3ae034
CM
133122014-06-06 Chris Metcalf <cmetcalf@tilera.com>
13313
13314 * crypt/crypt-private.h [DOS]: Add some includes taken from the
13315 other files in the crypt directory.
13316 * crypt/crypt.c: Remove duplicate includes.
13317 * crypt/crypt-entry.c: Likewise.
13318 * crypt/crypt_util.c: Likewise.
13319
8540f6d2
JM
133202014-06-06 Joseph Myers <joseph@codesourcery.com>
13321
13322 * Makeconfig (run-program-env): New variable.
13323 (run-program-prefix-before-env): Likewise.
13324 (run-program-prefix-after-env): Likewise.
13325 (run-program-prefix): Define in terms of new variables.
13326 (built-program-cmd-before-env): New variable.
13327 (built-program-cmd-after-env): Likewise.
13328 (built-program-cmd): Define in terms of new variables.
13329 (test-program-prefix-before-env): New variable.
13330 (test-program-prefix-after-env): Likewise.
13331 (test-program-prefix): Define in terms of new variables.
13332 (test-program-cmd-before-env): New variable.
13333 (test-program-cmd-after-env): Likewise.
13334 (test-program-cmd): Define in terms of new variables.
13335 * Rules (make-test-out): Use $(run-program-env).
13336 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
13337 (help): Do not mention environment variables. Mention
13338 --timeoutfactor option.
13339 (timeoutfactor): New variable.
13340 (blacklist_exports): Remove function.
13341 (exports): Remove variable.
13342 (command): Do not include ${exports}.
13343 * manual/install.texi (Configuring and compiling): Do not mention
13344 test wrappers preserving environment variables. Mention that last
13345 assignment to a variable must take precedence.
13346 * INSTALL: Regenerated.
13347 * benchtests/Makefile (run-bench): Use $(run-program-env).
13348 * catgets/Makefile ($(objpfx)test1.cat): Use
13349 $(built-program-cmd-before-env), $(run-program-env) and
13350 $(built-program-cmd-after-env).
13351 ($(objpfx)test2.cat): Do not specify environment variables
13352 explicitly.
13353 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
13354 $(run-program-env) and $(built-program-cmd-after-env).
13355 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
13356 $(run-program-env) and $(test-program-cmd-after-env).
13357 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
13358 explicitly.
13359 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
13360 run_program_env and test_program_cmd_after_env arguments.
13361 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
13362 * elf/tst-pathopt.sh: Use run_program_env argument.
13363 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
13364 $(test-wrapper-env) and $(run-program-env).
13365 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
13366 run_program_env arguments.
13367 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
13368 * intl/Makefile ($(objpfx)tst-gettext.out): Use
13369 $(test-program-prefix-before-env), $(run-program-env) and
13370 $(test-program-prefix-after-env).
13371 ($(objpfx)tst-gettext2.out): Likewise.
13372 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
13373 run_program_env and test_program_prefix_after_env arguments.
13374 * intl/tst-gettext2.sh: Likewise.
13375 * intl/tst-gettext4.sh: Do not set environment variables
13376 explicitly.
13377 * intl/tst-gettext6.sh: Likewise.
13378 * intl/tst-translit.sh: Likewise.
13379 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
13380 $(test-program-prefix-before-env), $(run-program-env) and
13381 $(test-program-prefix-after-env).
13382 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
13383 run_program_env and test_program_prefix_after_env arguments.
13384 * math/Makefile (run-regen-ulps): Use $(run-program-env).
13385 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
13386 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
13387 explicitly with each use of ${test_wrapper_env}.
13388 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
13389 $(test-program-prefix-before-env), $(run-program-env) and
13390 $(test-program-prefix-after-env).
13391 * posix/tst-getconf.sh: Do not set environment variables
13392 explicitly.
13393 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
13394 run_program_env and test_program_prefix_after_env arguments.
13395 * stdio-common/tst-printf.sh: Do not set environment variables
13396 explicitly.
13397 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
13398 $(test-program-prefix-before-env), $(run-program-env) and
13399 $(test-program-prefix-after-env).
13400 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
13401 run_program_env and test_program_prefix_after_env arguments.
13402 Split $test calls into $test_pre and $test.
13403 * timezone/Makefile (build-testdata): Use
13404 $(built-program-cmd-before-env), $(run-program-env) and
13405 $(built-program-cmd-after-env).
13406
ed36bfa1
AZ
134072014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13408
13409 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
13410 strlen for non SHARED builds.
13411
fc75bf46
SP
134122014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13413
13414 * nptl/allocatestack.c (check_list): Inlined function...
13415 (__reclaim_stacks): ... here.
13416
d89b3d80
OB
134172014-06-05 Ondřej Bílka <neleai@seznam.cz>
13418
13419 [BZ #15698]
13420 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
13421 memory overrun.
13422
2bf18041
JM
134232014-06-05 Joseph Myers <joseph@codesourcery.com>
13424
13425 * Rules (make-test-out): Include
13426 LOCPATH=$(common-objpfx)localedata in default environment.
13427 * debug/Makefile (tst-chk1-ENV): Remove variable.
13428 (tst-chk2-ENV): Likewise.
13429 (tst-chk3-ENV): Likewise.
13430 (tst-chk4-ENV): Likewise.
13431 (tst-chk5-ENV): Likewise.
13432 (tst-chk6-ENV): Likewise.
13433 (tst-lfschk1-ENV): Likewise.
13434 (tst-lfschk2-ENV): Likewise.
13435 (tst-lfschk3-ENV): Likewise.
13436 (tst-lfschk4-ENV): Likewise.
13437 (tst-lfschk5-ENV): Likewise.
13438 (tst-lfschk6-ENV): Likewise.
13439 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
13440 (tst-iconv7-ENV): Likewise.
13441 * intl/Makefile (LOCPATH-ENV): Likewise.
13442 (tst-codeset-ENV): Likewise.
13443 (tst-gettext3-ENV): Likewise.
13444 (tst-gettext5-ENV): Likewise.
13445 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
13446 (tst-fopenloc-ENV): Likewise.
13447 (tst-fgetws-ENV): Remove variable.
13448 (tst-ungetwc1-ENV): Likewise.
13449 (tst-ungetwc2-ENV): Likewise.
13450 (bug-ungetwc2-ENV): Likewise.
13451 (tst-swscanf-ENV): Likewise.
13452 (bug-ftell-ENV): Likewise.
13453 (tst-fgetwc-ENV): Likewise.
13454 (tst-fseek-ENV): Likewise.
13455 (tst-ftell-partial-wide-ENV): Likewise.
13456 (tst-ftell-active-handler-ENV): Likewise.
13457 (tst-ftell-append-ENV): Likewise.
13458 * posix/Makefile (tst-fnmatch-ENV): Likewise.
13459 (tst-regexloc-ENV): Likewise.
13460 (bug-regex1-ENV): Likewise.
13461 (tst-regex-ENV): Likewise.
13462 (tst-regex2-ENV): Likewise.
13463 (bug-regex5-ENV): Likewise.
13464 (bug-regex6-ENV): Likewise.
13465 (bug-regex17-ENV): Likewise.
13466 (bug-regex18-ENV): Likewise.
13467 (bug-regex19-ENV): Likewise.
13468 (bug-regex20-ENV): Likewise.
13469 (bug-regex22-ENV): Likewise.
13470 (bug-regex23-ENV): Likewise.
13471 (bug-regex25-ENV): Likewise.
13472 (bug-regex26-ENV): Likewise.
13473 (bug-regex30-ENV): Likewise.
13474 (bug-regex32-ENV): Likewise.
13475 (bug-regex33-ENV): Likewise.
13476 (bug-regex34-ENV): Likewise.
13477 (bug-regex35-ENV): Likewise.
13478 (tst-rxspencer-ENV): Likewise.
13479 (tst-rxspencer-no-utf8-ENV): Likewise.
13480 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
13481 (tst-sscanf-ENV): Likewise.
13482 (tst-swprintf-ENV): Likewise.
13483 (tst-swscanf-ENV): Likewise.
13484 (test-vfprintf-ENV): Likewise.
13485 (scanf13-ENV): Likewise.
13486 (bug14-ENV): Likewise.
13487 (tst-grouping-ENV): Likewise.
13488 * stdlib/Makefile (tst-strtod-ENV): Likewise.
13489 (tst-strtod3-ENV): Likewise.
13490 (tst-strtod4-ENV): Likewise.
13491 (tst-strtod5-ENV): Likewise.
13492 (testmb2-ENV): Likewise./
13493 * string/Makefile (tst-strxfrm-ENV): Likewise.
13494 (tst-strxfrm2-ENV): Likewise.
13495 (bug-strcoll1-ENV): Likewise.
13496 (test-strcasecmp-ENV): Likewise.
13497 (test-strncasecmp-ENV): Likewise.
13498 * time/Makefile (tst-strptime-ENV): Likewise.
13499 (tst-ftime_l-ENV): Likewise.
13500 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
13501 (tst-mbrtowc-ENV): Likewise.
13502 (tst-wcrtomb-ENV): Likewise.
13503 (tst-mbrtowc2-ENV): Likewise.
13504 (tst-c16c32-1-ENV): Likewise.
13505 (tst-mbsnrtowcs-ENV): Likewise.
13506
cd1fb604
OB
135072014-06-05 Ondřej Bílka <neleai@seznam.cz>
13508
13509 * manual/resource.texi (How to get information about the memory
13510 subsystem?): Fix typo.
13511 Reported by Peon de la Parra Ivan <peon@keba.com>
13512
b42eca7d
GY
135132014-06-03 Guo Yixuan <culu.gyx@gmail.com>
13514
13515 [BZ #16882]
13516 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
13517 (pthread_spin_lock): Branch out of spin loop to proper location.
13518 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
13519 (pthread_spin_lock): Likewise.
13520
902b71f9
DM
13521 * nptl/tst-spin4.c: New test.
13522 * nptl/Makefile (tests): Add tst-spin4.
13523
f9d2d032
AS
135242014-06-03 Andreas Schwab <schwab@suse.de>
13525
13526 [BZ #15946]
13527 * resolv/res_send.c (send_dg): Reload file descriptor after
13528 calling reopen.
13529
cf7bfd28
SL
135302014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
13531
13532 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13533
111cc714
RH
135342014-06-03 Richard Henderson <rth@redhat.com>
13535
89b4bd6b
RH
13536 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
13537 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
13538 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
13539 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
13540 in the SAVE_PID block.
13541 (__libc_vfork): New alias.
71840409 13542 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 13543
111cc714
RH
13544 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
13545 child in registers, not on the stack. Remove RESET_PID conditionals.
13546 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
13547
ccc39911
MS
135482014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
13549
13550 * sysdeps/aarch64/libm-test-ulps: Regenerate.
13551
693096cc
W
135522014-06-03 Wilco <wdijkstr@arm.com>
13553
13554 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
13555 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
13556 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
13557 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
13558 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
13559 Likewise.
13560
0b4366bc
W
135612014-06-03 Wilco <wdijkstr@arm.com>
13562
13563 * sysdeps/aarch64/fpu/math_private.h
13564 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
13565 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
13566 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
13567 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
13568 Fix declarations.
13569
8747cd03
KS
135702014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
13571
13572 * crypt/crypt-private.h: Include ufc-crypt.h.
13573 (__b64_from_24bit): Declare extern.
13574 * crypt/crypt_util.c(__b64_from_24bit): New function.
13575 (b64t): New static const variable.
13576 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
13577 (b64t): Remove variable.
13578 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
13579 * crypt/sha256-crypt.c: Include crypt-private.h.
13580 (b64t): Remove variable.
13581 (__sha256_crypt_r): Remove b64_from_24bit and replace
13582 with __b64_from_24bit.
13583 * crypt/sha512-crypt.c: Likewise.
13584
d936d379
RM
135852014-06-02 Roland McGrath <roland@hack.frob.com>
13586
13587 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
13588 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
13589 Label the code __libc_vfork rather than __vfork.
13590 [!NOT_IN_libc] (vfork): Define as weak alias.
13591 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
13592 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
13593 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
13594
9fa76613
SP
135952014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13596
13597 * malloc/malloc.c (malloc_info): Fix format specifier for
13598 n_mmaps.
13599
a88dadbe
W
136002014-06-02 Wilco <wdijkstr@arm.com>
13601
13602 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
13603 FPCR write.
13604
c95b3011
W
136052014-06-02 Wilco <wdijkstr@arm.com>
13606
13607 [BZ #17009]
13608 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
13609 Rewrite to reduce FPCR/FPSR accesses.
13610
6b4d7a90
DM
136112014-06-01 David S. Miller <davem@davemloft.net>
13612
13613 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13614
30f3d07c
DM
136152014-05-31 David S. Miller <davem@davemloft.net>
13616
13617 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
13618 to occur in round to nearest mode when |x| >= 2.0
13619
74f31c18
RH
136202014-05-30 Richard Henderson <rth@twiddle.net>
13621
f0712b54
RH
13622 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
13623 (PSEUDO_RET_NOERRNO): Remove.
13624 (ret): Don't redefine.
13625 (ret_NOERRNO): Define in terms of ret.
13626 (ret_ERRVAL): Likewise.
13627
74f31c18
RH
13628 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
13629 use of PSEUDO_RET; perform the error check directly.
13630
30477995
MM
136312014-05-30 Marko Myllynen <myllynen@redhat.com>
13632
13633 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
13634 with __int128_t.
13635
62a58816
SP
136362014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13637
13638 * malloc/malloc (malloc_info): Fix formatting.
13639
4d653a59
SP
136402014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13641 Roland McGrath <roland@hack.frob.com>
13642
13643 * malloc/malloc (malloc_info): Also print mmapped statistics.
13644
5190c17f
RM
136452014-05-30 Roland McGrath <roland@hack.frob.com>
13646
13647 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
13648 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
13649
987c0269
OB
136502014-05-30 Ondřej Bílka <neleai@seznam.cz>
13651
13652 * malloc/malloc.c (malloc_info): Inline mi_arena.
13653
af4e8ef9
RH
136542014-05-29 Richard Henderson <rth@twiddle.net>
13655
1670e207
RH
13656 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
13657 Remove comma before expanding ASM_ARGS_##nr.
13658 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
13659 Make _x0 a strict output; make _x8 a strict input; adjust expansion
13660 of ASM_ARGS_##nr.
13661 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
13662 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
13663 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
13664 (ASM_ARGS_1): Add leading comma.
13665
11a28aee
RH
13666 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
13667 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
13668 to __errno_location.
13669 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
13670 Remove the expected plt for __errno_location.
13671
a17e5ffb 13672 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 13673 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
13674 call to __read_tp.
13675
b5be4597
RH
13676 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
13677 Always allocate 64 bytes of stack frame. Use ldp/stp to create
13678 it and break it down.
13679 (DOCARGS_0, DOCARGS_1): Do nothing.
13680 (DOCARGS_2): Update to store into the new stack frame.
13681 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
13682 (UNDOCARGS_1): Update to restore from the new stack frame.
13683 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
13684 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
13685
645d44ab
RH
13686 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
13687 (SINGLE_THREAD_P): New parameter for result regno.
13688 (PSEUDO): Update to match; use cbz instead of beq.
13689
a8b4f04a
RH
13690 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
13691 Use ENTRY to define the _nocancel entry point. Share the syscall
13692 and syscall error check paths with the cancel path.
13693 (PSEUDO_END): New.
13694
af4e8ef9
RH
13695 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
13696 whitespace; tabs before and after asm mnemonics.
13697
26b0d2e1
EW
136982014-05-29 Eric Wong <normalperson@yhbt.net>
13699
13700 [BZ #15132]
13701 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13702 Call fstat64 or stat64 internally, depending on arguments passed.
13703 Replace stat buffer argument with file descriptor argument.
13704 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
13705 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
13706 Pass fd to __internal_statvfs instead of calling fstat64.
13707 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
13708 Pass fd to __internal_statvfs64 instead of calling fstat64.
13709 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
13710 Pass -1 to __internal_statvfs instead of calling stat64.
13711 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
13712 Pass -1 to __internal_statvfs64 instead of calling stat64.
13713
1efe2bd9
RM
137142014-05-28 Roland McGrath <roland@hack.frob.com>
13715
0d3b7a19
RM
13716 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
13717 that was previously under [RESET_PID].
13718 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
13719
1efe2bd9
RM
13720 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
13721 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
13722
a6bea3ca
RM
137232014-05-27 Roland McGrath <roland@hack.frob.com>
13724
30b6629e
RM
13725 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
13726
a6bea3ca
RM
13727 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
13728 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
13729
3dfb9a5c
OB
137302014-05-27 Ondřej Bílka <neleai@seznam.cz>
13731
13732 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
13733
774f9285
AS
137342014-05-27 Andreas Schwab <schwab@suse.de>
13735
13736 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
13737 TLS_INIT_TP macro.
13738 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
13739 * elf/rtld.c (init_tls, dl_main): Likewise.
13740 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
13741 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
13742 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
13743 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
13744 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
13745 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
13746 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
13747 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
13748 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
13749 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
13750 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
13751 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
13752 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
13753 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
13754 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
13755 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
13756 * sysdeps/generic/tls.h: Update description.
13757
36ffe739
WN
137582014-05-27 Will Newton <will.newton@linaro.org>
13759
13760 [BZ #16990]
13761 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
13762 and restore r2 rather than just restoring.
13763
2482ae43
SP
137642014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13765
13766 [BZ #16724]
13767 * libio/tst-ftell-append.c: New test case.
13768 * libio/Makefile (tests): Add test case.
13769 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
13770 append mode.
13771 * libio/wfileops.c (do_ftell_wide): Likewise.
13772
3d1024e8
AZ
137732014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13774
bab90016
AZ
13775 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13776
c7a8d667
AZ
13777 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
13778 ...
13779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
13780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
13781 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
13782 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
13783 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
13784 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
13785 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
13786 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
13787 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
13788 Moved ...
13789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
13790 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
13791 Moved ...
13792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
13793 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
13794 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
13795 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
13796 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
13797 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
13798 ...
13799 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
13800 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
13801 Moved ...
13802 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
13803 here.
13804 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
13805 ...
13806 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
13807 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
13808 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
13809
daee7851
AZ
13810 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
13811 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
13812 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
13813 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
13814
50a40819
AZ
13815 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
13816 merge into ...
13817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
13818 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
13819 ...
13820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
13821 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
13822 ...
13823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
13824 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
13825 Moved ...
13826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
13827 here.
13828 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
13829 Moved ...
13830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
13831 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
13832 Moved ...
13833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
13834
8464c2a1
AZ
13835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
13836 conditional [RESET_PID].
13837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
13838 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
13839 removed.
13840 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
13841 removed.
13842
3d1024e8
AZ
13843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
13844 <tcb-offsets.h>.
13845 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13846 (__libc_vfork): New strong alias.
13847 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
13848 removed.
13849 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
13850 Removed.
13851
13852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
13853 <tcb-offsets.h>.
13854 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
13855 (__libc_vfork): New strong alias.
13856 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
13857 removed.
13858 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
13859 removed.
13860
fdfd175d
CD
138612014-05-26 Carlos O'Donell <carlos@redhat.com>
13862
13863 * malloc/malloc.c (mi_arena): New function.
13864 (malloc_info): Remove nested function mi_arena. Call non-nosted
13865 function mi_arena.
13866
d298c416
AZ
138672014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13868
13869 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
13870 by insrwi.
13871 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
13872 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
13873 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
13874 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
13875 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
13876 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
13877 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
13878
b60ea6ff
AS
138792014-05-26 Andreas Schwab <schwab@suse.de>
13880
13881 [BZ #16984]
13882 * locale/programs/repertoire.c (repertoire_read): Add slash
13883 between I18NPATH element and file name.
13884 * locale/programs/locfile.c (locfile_read): Likewise.
13885
67365926
SL
138862014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
13887
13888 * nptl/pthread_mutexattr_settype.c
13889 (__pthread_mutexattr_settype):
13890 Disable lock elision for PTHREAD_MUTEX_NORMAL.
13891
f8bdf1f0
SL
138922014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
13893
13894 * nptl/tst-mutex5 (do_test):
13895 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
13896
15eaf6ff
SP
138972014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13898
13899 * benchtests/README: Document 'init' directive.
13900 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
13901 BENCH_INIT.
13902 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
13903 (parse_file): Recognize 'init' directive.
13904
75f11331
KM
139052014-05-26 Kyle McMartin <kyle@redhat.com>
13906
13907 [BZ #16796]
13908 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
13909 alignment of struct pthread.
13910
c3ec475c
SP
139112014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13912
13913 [BZ #16878]
13914 * nscd/netgroupcache.c (addgetnetgrentX): Look for
13915 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
13916 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
13917 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
13918
82aab97c
RH
139192014-05-25 Richard Henderson <rth@twiddle.net>
13920
aa2f176d
RH
13921 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
13922 (SINGLE_THREAD_P_PIC): Remove.
13923 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
13924 (SINGLE_THREAD_P_PIC): Remove.
13925
ca3cfa40
RH
13926 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
13927 branch to syscall error ...
13928 (PSEUDO): ... here.
13929 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
13930 from __local_syscall_error to .Lsyscall_error.
13931 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
13932 (SYSCALL_ERROR): Update label name.
13933
6e6c2d01
RH
13934 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
13935 Do not use DOARGS/UNDOARGS.
13936 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
13937 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
13938 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
13939 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
13940 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
13941
c69abcee
RH
13942 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
13943 block comment.
13944
82aab97c
RH
13945 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
13946 define if !NOT_IN_libc.
13947 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
13948 define with non-default symbol versions.
13949
8820e3ac
RH
139502014-05-23 Richard Henderson <rth@twiddle.net>
13951
900e445f
RH
13952 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
13953 (vfork, __vfork): Define via compat_symbol.
13954
8820e3ac
RH
13955 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
13956 [!HAVE_IFUNC] (vfork_compat): Remove.
13957 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
13958
e59252a5
JM
139592014-05-23 Joseph Myers <joseph@codesourcery.com>
13960
13961 [BZ #16978]
13962 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
13963 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
13964 variable.
13965
132c7f5f
RH
139662014-05-23 Richard Henderson <rth@twiddle.net>
13967
bc89e962
RH
13968 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
13969 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
13970 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
13971 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
13972
13973 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
13974 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
13975 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
13976 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
13977 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
13978 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
13979 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
13980 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
13981 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
13982 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
13983 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
13984 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
13985 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
13986 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
13987 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
13988 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
13989 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
13990 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
13991 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
13992 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
13993 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
13994 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
13995 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
13996 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
13997 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
13998 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
13999 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
14000 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
14001 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
14002 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
14003 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
14004 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
14005 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
14006 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
14007 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
14008 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
14009 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
14010 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
14011 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
14012 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
14013 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
14014 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
14015 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
14016 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
14017 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
14018 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
14019 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
14020 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
14021 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
14022 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
14023 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
14024 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
14025 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
14026 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
14027 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
14028 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
14029
e2fa4bc2
RH
14030 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
14031 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
14032 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
14033 before exiting on error.
14034 (__libc_vfork): New strong alias.
14035 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
14036 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
14037
279b24e2
RH
14038 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
14039 that was previously under [RESET_PID].
14040 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
14041
132c7f5f
RH
14042 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
14043
b72592e7
JM
140442014-05-23 Joseph Myers <joseph@codesourcery.com>
14045
14046 [BZ #16977]
14047 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
14048 value when x - 1 is zero.
14049 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
14050 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
14051 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
14052 0.0L for an argument of 1.0L.
14053 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
14054 Likewise.
14055 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
14056 value when x - 1 is zero.
14057 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
14058 * sysdeps/i386/fpu/libm-test-ulps: Update.
14059 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14060
2302d679
RV
140612014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
14062
14063 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
14064 alphasort and versionsort.
14065
32999d63
AZ
140662014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14067
14068 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
14069 macro.
14070 [copysignf]: Likewise.
14071
019324d0
SP
140722014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
14073
14074 * crypt/md5-crypt.c: Fix formatting.
14075
34fff5c2
KS
140762014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
14077
14078 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
14079 (b64_from_24bit): New function.
14080
3d2badac
AZ
140812014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14082
14083 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
14084 libc_hidden_builtin_def to ifunc.
14085 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
14086 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
14087
f7bb179f 140882014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
14089
14090 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
14091 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
14092
4134b50d
JM
140932014-05-21 Joseph Myers <joseph@codesourcery.com>
14094
bb7d0337
JM
14095 * nscd/Depend (linuxthreads): Remove.
14096 (nptl): Add.
14097 * resolv/Depend (linuxthreads): Remove.
14098 * rt/Depend (linuxthreads): Remove.
14099
4134b50d
JM
14100 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
14101 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
14102 $(common-objpfx)elf/.
14103 (link-libc-before-gnulib): Likewise.
14104 (elfobjdir): Remove variable.
14105 * Makefile (install): Use $(elf-objpfx) instead of
14106 $(common-objpfx)elf/.
14107 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
14108 $(elfobjdir)/.
14109 (link-libc-deps): Likewise.
14110 ($(common-objpfx)libc.so): Likewise.
14111 ($(common-objpfx)linkobj/libc.so): Likewise.
14112 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
14113 instead of $(common-objpfx)elf/.
14114 (symbolic-link-list): Likewise.
14115 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
14116 [$(cross-compiling) = no]: Likewise.
14117 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
14118 $(elfobjdir)/.
14119 (static-gnulib-arch): Likewise.
14120 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
14121 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
14122 $(common-objpfx)elf/.
14123
3612eb8f
RH
141242014-05-21 Richard Henderson <rth@redhat.com>
14125
a6b3657b
RH
14126 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
14127 (SINGLE_THREAD_P): Use the correct width load. Fold
14128 into the ldr offset.
14129
3612eb8f
RH
14130 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
14131 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
14132
175cef41
JM
141332014-05-20 Joseph Myers <joseph@codesourcery.com>
14134
14135 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
14136 (libgcc_s_resume): Use __attribute_used__.
14137 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
14138 Likewise.
14139
e13bccd3
AZ
141402014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14141
14142 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
14143 optimization when used with float constants.
14144
7c112a38
AZ
14145 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14146
ae75a883
AJ
141472014-05-20 Aurelien Jarno <aurelien@aurel32.net>
14148
14149 [BZ #16915]
14150 * locale/nl_langinfo_l.c: Make direct reference to every
14151 _nl_current_CATEGORY symbol.
14152 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
14153 (tests-static): Add tst-langinfo-static.
14154 (tests-special): Add tst-langinfo-static.out.
14155 ($(objpfx)tst-langinfo.out): Redirect output.
14156 ($(objpfx)tst-langinfo-static.out): New.
14157 * localedata/tst-langinfo.sh: Send output to stdout.
14158 * localedata/tst-langinfo-static.c: New file.
14159
4406c41c
AJ
14160 [BZ #16965]
14161 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
14162 when the shift amount is modulo the limb size.
14163
4c0a1e63
RH
141642014-05-20 Richard Henderson <rth@redhat.com>
14165
de9d8f20
RH
14166 [BZ #16967]
14167 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
14168 Change type of sa_flags from unsigned int to int.
14169
4c0a1e63
RH
14170 [BZ #16966]
14171 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
14172
14173 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
14174
a60339aa
WN
141752014-05-20 Will Newton <will.newton@linaro.org>
14176
14177 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
14178 Test the return value of the system call in the nocancel case.
14179
7d05a816
YR
141802014-05-20 Will Newton <will.newton@linaro.org>
14181 Yvan Roux <yvan.roux@linaro.org>
14182
14183 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
14184 #include of asm/ptrace.h.
14185 (PTRACE_GET_THREAD_AREA): Remove #undef.
14186 (PTRACE_GETHBPREGS): Likewise.
14187 (PTRACE_SETHBPREGS): Likewise.
14188 (struct user_regs_struct): New structure.
14189 (struct user_fpsimd_struct): New structure.
14190 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
14191 #include of asm/ptrace.h and second #include of sys/user.h.
14192 (PTRACE_GET_THREAD_AREA): Remove #undef.
14193 (PTRACE_GETHBPREGS): Likewise.
14194 (PTRACE_SETHBPREGS): Likewise.
14195 (ELF_NGREG): Use new struct user_regs_struct.
14196 (elf_fpregset_t): Use new struct user_fpsimd_struct.
14197
af121e37
AZ
141982014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14199
14200 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
14201 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
14202
834caf06
JM
142032014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
14204
14205 [BZ #16958]
14206 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
14207 membar to avoid block loads/stores to overlap previous stores.
14208
e184a918
RH
142092014-05-17 Richard Henderson <rth@redhat.com>
14210
14211 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
14212 Create the __##syscall_name##_nocancel entry point.
14213 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
14214 Remove; let the sysdep-cancel.h code create it.
14215
f56c7a6a
DM
142162014-05-17 David S. Miller <davem@davemloft.net>
14217
14218 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
14219 Protect with __USE_GNU.
14220 (TIOCSET_TEMPT): Likewise.
14221 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
14222 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
14223 these are already provided in bits/ioctl-types.h
14224
f75616b2
RM
142252014-05-16 Roland McGrath <roland@hack.frob.com>
14226
3edeca86
RM
14227 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
14228 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
14229
f75616b2
RM
14230 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
14231 Use wait4 regardless of [__NR_waitpid].
14232
deb0f7f6
MR
142332014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
14234
14235 PR libgcc/60166
14236 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
14237 (_FP_NANSIGN_Q): Set the quiet bit.
14238
79520f4b
JM
142392014-05-16 Joseph Myers <joseph@codesourcery.com>
14240
14241 * benchtests/Makefile
14242 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
14243 not $(common-objpfx)math/libm.so.
14244 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
14245 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
14246 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
14247 $(common-objpfx)dlfcn/libdl.so.
14248 ($(objpfx)tst-audit8): Depend on $(libm), not
14249 $(common-objpfx)math/libm.so.
14250 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
14251 not $(common-objpfx)dlfcn/libdl.so.
14252 * math/Makefile
14253 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
14254 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
14255 [$(build-shared) = yes].
14256 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
14257 $(common-objpfx)nptl/libpthread.so.
14258 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
14259 $(common-objpfx)math/libm.so$(libm.so-version) or
14260 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
14261 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
14262 $(common-objpfx)dlfcn/libdl.so.
14263 * setjmp/Makefile (link-libm): Remove variable.
14264 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
14265 * stdio-common/Makefile (link-libm): Remove variable.
14266 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
14267 * stdlib/Makefile (link-libm): Remove variable.
14268 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
14269 ($(objpfx)tst-strtod-round): Likewise.
14270 ($(objpfx)tst-tininess): Likewise.
14271 ($(objpfx)tst-strtod-underflow): Likewise.
14272 ($(objpfx)tst-strtod6): Likewise.
14273 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
14274 $(libdl), not $(common-objpfx)nptl/libpthread.so and
14275 $(common-objpfx)dlfcn/libdl.so.
14276
026b0fe4
AZ
142772014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14278
14279 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
14280 BSD terminal modes definitions.
14281
def4bcb2
RM
142822014-05-16 Roland McGrath <roland@hack.frob.com>
14283
fe39b021
RM
14284 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
14285 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
14286
1d1fc46e 14287 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
14288 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
14289 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
14290 Don't do #include_next.
14291 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
14292 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
14293 Don't do #include_next.
14294 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
14295 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
14296 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
14297 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
14298
c72399fb
AM
142992014-05-16 Allan McRae <allan@archlinux.org>
14300
d51d659d
AM
14301 * po/sv.po: Update Swedish translation from translation project.
14302
c72399fb
AM
14303 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
14304 in sed expression.
14305
d0583c40
AJ
143062014-05-16 Aurelien Jarno <aurelien@aurel32.net>
14307
14308 [BZ #16917]
14309 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
14310 errno if the TIOCGPTN ioctl fails with an error different than
14311 EINVAL.
14312 * login/tst-ptsname.c: New file.
14313 * login/Makefile (tests): Add tst-ptsname.
14314
d16e6ec7
AJ
14315 [BZ #16943]
14316 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
14317 and prlimit64.
14318
cf26a0cb
SP
143192014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14320
14321 [BZ #16849]
14322 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
14323 herrno to return EAI_AGAIN.
14324
5675da1e
RM
143252014-05-14 Roland McGrath <roland@hack.frob.com>
14326
a5d87b3d
RM
14327 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
14328 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
14329 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
14330 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
14331 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
14332 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
14333 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
14334 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
14335 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
14336 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
14337 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
14338 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
14339 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
14340 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
14341 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
14342 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
14343 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
14344 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
14345 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
14346 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
14347 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
14348 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
14349 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
14350 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
14351 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
14352 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
14353 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
14354 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
14355 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
14356 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
14357 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
14358 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
14359 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
14360 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
14361 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
14362 Moved ...
14363 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
14364 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
14365 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
14366 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
14367 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
14368 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
14369 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
14370 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
14371 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
14372 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
14373 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
14374 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
14375 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
14376 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
14377 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
14378 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
14379 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
14380 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
14381 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
14382 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
14383 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
14384 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
14385 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
14386 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
14387 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
14388 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
14389 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
14390 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
14391 Moved ...
14392 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
14393 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
14394 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
14395 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
14396 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
14397 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
14398 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
14399 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
14400 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
14401 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
14402 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
14403 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
14404 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
14405 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
14406 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
14407 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
14408 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
14409 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
14410 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
14411 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
14412 Moved ...
14413 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
14414 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
14415 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
14416
039890a6
RM
14417 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
14418 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
14419 (libpthread-sysdep_routines): Add elision-related stuff here instead.
14420 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
14421 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
14422 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
14423 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
14424 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
14425 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
14426 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
14427 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
14428 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
14429 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
14430 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
14431 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
14432 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
14433 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
14434 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
14435 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
14436 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
14437 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
14438 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
14439 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
14440 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
14441 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
14442 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
14443 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
14444 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
14445 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
14446 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
14447 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
14448
65c89320
RM
14449 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
14450 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
14451
348f8e8c
RM
14452 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
14453 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
14454 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
14455 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
14456 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
14457 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
14458 Moved ...
14459 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
14460 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
14461 Moved ...
14462 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
14463 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
14464 Moved ...
14465 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
14466 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
14467 Moved ...
14468 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
14469 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
14470 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
14471 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
14472 Moved ...
14473 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
14474 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
14475 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
14476 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
14477 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
14478 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
14479 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
14480 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
14481 Moved ...
14482 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
14483 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
14484 Moved ...
14485 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
14486 ... here.
14487 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
14488 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
14489 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
14490 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
14491 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
14492 Moved ...
14493 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
14494 ... here.
14495 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
14496 Moved ...
14497 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
14498 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
14499 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
14500 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
14501 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
14502 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
14503 Moved ...
14504 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
14505 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
14506 Moved ...
14507 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
14508 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
14509 Moved ...
14510 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
14511 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
14512 Moved ...
14513 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
14514 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
14515 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
14516 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
14517 Moved ...
14518 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
14519 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
14520 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
14521 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
14522 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
14523 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
14524 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
14525 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
14526 Moved ...
14527 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
14528 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
14529 Moved ...
14530 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
14531 ... here.
14532 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
14533 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
14534 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
14535 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
14536 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
14537 Moved ...
14538 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
14539 ... here.
14540 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
14541 Moved ...
14542 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
14543 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
14544 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
14545 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
14546 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
14547 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
14548 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
14549 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
14550 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
14551 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
14552 Moved ...
14553 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
14554 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
14555 Moved ...
14556 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
14557 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
14558 Moved ...
14559 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
14560 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
14561 Moved ...
14562 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
14563 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
14564 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
14565 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
14566 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
14567 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
14568 Moved ...
14569 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
14570 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
14571 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
14572 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
14573 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
14574 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
14575 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
14576 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
14577 Moved ...
14578 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
14579 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
14580 Moved ...
14581 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
14582 ... here.
14583 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
14584 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
14585 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
14586 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
14587 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
14588 Moved ...
14589 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
14590 ... here.
14591 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
14592 Moved ...
14593 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
14594 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
14595 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
14596 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
14597 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
14598 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
14599 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
14600 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
14601 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
14602 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
14603 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
14604
5085af05
RM
14605 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
14606 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
14607
708f0813
RM
14608 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
14609 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
14610
c96067bc
RM
14611 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
14612 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
14613 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
14614 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
14615 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
14616 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
14617 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
14618 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
14619 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
14620 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
14621 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
14622 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
14623 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
14624 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
14625 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
14626 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
14627 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
14628 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
14629 Moved ...
14630 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
14631 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
14632 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
14633 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
14634 Moved ...
14635 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
14636 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
14637 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
14638 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
14639 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
14640 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
14641 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
14642 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
14643 Moved ...
14644 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
14645 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
14646 Moved ...
14647 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
14648 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
14649 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
14650 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
14651 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
14652 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
14653 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
14654 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
14655 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
14656 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
14657 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
14658 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
14659 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
14660 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
14661 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
14662 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
14663 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
14664
ec136444
RM
14665 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
14666 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
14667 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
14668 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
14669 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
14670
2fbdf533
RM
14671 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
14672 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
14673 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
14674 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
14675 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
14676 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
14677 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
14678 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
14679 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
14680 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
14681
4c68138b
RM
14682 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
14683 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
14684
4eaae765
RM
14685 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
14686 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
14687 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
14688 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
14689 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
14690 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
14691 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
14692 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
14693 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
14694 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
14695 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
14696 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
14697 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
14698 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
14699 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
14700 Update #include.
14701 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
14702 Likewise.
14703 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
14704 Likewise.
14705 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
14706 Likewise.
14707 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
14708 Likewise.
14709 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
14710 Likewise.
14711 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
14712 Likewise.
14713 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
14714 Likewise.
14715 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
14716 Likewise.
14717 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
14718 Likewise.
4ef6befa
RM
14719 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
14720 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
14721 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
14722 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
14723 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
14724 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
14725 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
14726 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
14727 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
14728 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
14729 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
14730 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
14731 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
14732 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
14733 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 14734
941d7dfd
RM
14735 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
14736 that was previously under [RESET_PID].
14737 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
14738 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
14739 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
14740
1b731c35
RM
14741 * sysdeps/i386/nptl/Implies: New file.
14742 * sysdeps/x86_64/nptl/Implies: New file.
14743 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
14744 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
14745 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
14746 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
14747
e2787137
RM
14748 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
14749 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
14750 (__libc_vfork): New strong alias.
14751 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
14752 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
14753
14754 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
14755 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
14756 (__libc_vfork): New strong alias.
14757 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
14758 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
14759
5675da1e
RM
14760 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
14761 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
14762 (__libc_vfork): New strong alias.
14763 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
14764 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
14765 * nptl/pt-vfork.c: New file.
14766 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
14767 (libpthread: GLIBC_2.20): New version set (empty).
14768
4f02e2b8
WN
147692014-05-14 Will Newton <will.newton@linaro.org>
14770
14771 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
14772 rather than #if.
14773
0bf061d3
JM
147742014-05-14 Joseph Myers <joseph@codesourcery.com>
14775
1a84c3d6
JM
14776 [BZ #16564]
14777 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
14778 arguments with exponent 65 or above.
14779 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
14780 arguments 0x1p113L or above.
14781 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
14782 to arguments 0x1p107L or above.
14783 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
14784 positive arguments with exponent 65 or above.
14785 * math/auto-libm-test-in: Add more tests of log1p.
14786 * math/auto-libm-test-out: Regenerated.
14787
01dbacd2
JM
14788 [BZ #16928]
14789 * math/s_cacos.c (__cacos): Ensure zero real part of result from
14790 non-finite arguments is +0.
14791 * math/s_cacosf.c (__cacosf): Likewise.
14792 * math/s_cacosl.c (__cacosl): Likewise.
14793 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
14794 * sysdeps/i386/fpu/libm-test-ulps: Update.
14795 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14796
913d03c8
JM
14797 [BZ #16927]
14798 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
14799 value.
14800 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
14801 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
14802 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
14803 for explicit high bit of mantissa when testing for argument equal
14804 to 1.
14805 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
14806 * sysdeps/i386/fpu/libm-test-ulps: Update.
14807 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14808
0bf061d3
JM
14809 [BZ #16516]
14810 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
14811 (__erf): Scale by 16 instead of 8 in potentially underflowing
14812 case. Ensure exception if result actually underflows.
14813 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
14814 (__erff): Scale by 16 instead of 8 in potentially underflowing
14815 case. Ensure exception if result actually underflows.
14816 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
14817 (efx8): Remove variable.
14818 (__erfl): Scale by 16 instead of 8 in potentially underflowing
14819 case. Ensure exception if result actually underflows.
14820 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
14821 (efx8): Remove variable.
14822 (__erfl): Scale by 16 instead of 8 in potentially underflowing
14823 case. Ensure exception if result actually underflows.
14824 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
14825 (efx8): Remove variable.
14826 (__erfl): Scale by 16 instead of 8 in potentially underflowing
14827 case. Ensure exception if result actually underflows.
14828 * math/auto-libm-test-in: Add more tests of erf.
14829 * math/auto-libm-test-out: Regenerated.
14830
73ba67cb
AS
148312014-05-14 Andreas Schwab <schwab@suse.de>
14832
3d8c8bff
AS
14833 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
14834 Remove code conditionalized on USE___THREAD.
14835
73ba67cb
AS
14836 * config.h.in (HAVE_PT_CHOWN): Define as 0.
14837 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
14838 not definedness.
14839
5c521ecd
JM
148402014-05-14 Joseph Myers <joseph@codesourcery.com>
14841
5e7698c6
JM
14842 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
14843 Define unconditionally.
14844 (__ASSUME_O_CLOEXEC): Likewise.
14845 (__ASSUME_SOCK_CLOEXEC): Likewise.
14846 (__ASSUME_IN_NONBLOCK): Likewise.
14847 (__ASSUME_PIPE2): Likewise.
14848 (__ASSUME_EVENTFD2): Likewise.
14849 (__ASSUME_SIGNALFD4): Likewise.
14850 (__ASSUME_DUP3): Likewise.
14851 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14852 (__ASSUME_DUP3): Do not define.
14853 (__ASSUME_EVENTFD2): Likewise.
14854 (__ASSUME_IN_NONBLOCK): Likewise.
14855 (__ASSUME_O_CLOEXEC): Likewise.
14856 (__ASSUME_PIPE2): Likewise.
14857 (__ASSUME_SIGNALFD4): Likewise.
14858 (__ASSUME_SOCK_CLOEXEC): Likewise.
14859 (__ASSUME_UTIMES): Undefine.
14860 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14861 (__ASSUME_UTIMES): Do not define.
14862 (__ASSUME_O_CLOEXEC): Likewise.
14863 (__ASSUME_SOCK_CLOEXEC): Likewise.
14864 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
14865 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
14866 0x020621].
14867 (__ASSUME_PIPE2): Likewise.
14868 (__ASSUME_EVENTFD2): Likewise.
14869 (__ASSUME_SIGNALFD4): Likewise.
14870 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
14871 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
14872 Do not define.
14873 (__ASSUME_EVENTFD2): Likewise.
14874 (__ASSUME_SIGNALFD4): Likewise.
14875 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
14876 (__ASSUME_32BITUIDS): Likewise.
14877 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
14878 (__ASSUME_IPC64): Likewise.
14879 (__ASSUME_ST_INO_64_BIT): Likewise.
14880 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
14881 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
14882 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14883 (__ASSUME_UTIMES): Do not define.
14884 (__ASSUME_PSELECT): Likewise.
14885 (__ASSUME_PPOLL): Likewise.
14886 (__ASSUME_O_CLOEXEC): Likewise.
14887 (__ASSUME_SOCK_CLOEXEC): Likewise.
14888 (__ASSUME_IN_NONBLOCK): Likewise.
14889 (__ASSUME_PIPE2): Likewise.
14890 (__ASSUME_EVENTFD2): Likewise.
14891 (__ASSUME_SIGNALFD4): Likewise.
14892 (__ASSUME_DUP3): Likewise.
14893 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14894 (__ASSUME_UTIMES): Likewise.
14895 (__ASSUME_O_CLOEXEC): Likewise.
14896 (__ASSUME_SOCK_CLOEXEC): Likewise.
14897 (__ASSUME_IN_NONBLOCK): Likewise.
14898 (__ASSUME_PIPE2): Likewise.
14899 (__ASSUME_EVENTFD2): Likewise.
14900 (__ASSUME_SIGNALFD4): Likewise.
14901 (__ASSUME_DUP3): Likewise.
14902 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14903 (__ASSUME_UTIMES): Likewise.
14904 (__ASSUME_O_CLOEXEC): Likewise.
14905 (__ASSUME_SOCK_CLOEXEC): Likewise.
14906 (__ASSUME_IN_NONBLOCK): Likewise.
14907 (__ASSUME_PIPE2): Likewise.
14908 (__ASSUME_EVENTFD2): Likewise.
14909 (__ASSUME_SIGNALFD4): Likewise.
14910 (__ASSUME_DUP3): Likewise.
14911 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
14912 Likewise.
14913 (__ASSUME_UTIMES): Likewise.
14914 (__ASSUME_EVENTFD2): Likewise.
14915 (__ASSUME_SIGNALFD4): Likewise.
14916 * sysdeps/unix/sysv/linux/tile/kernel-features.h
14917 (__ASSUME_O_CLOEXEC): Likewise.
14918 (__ASSUME_SOCK_CLOEXEC): Likewise.
14919 (__ASSUME_IN_NONBLOCK): Likewise.
14920 (__ASSUME_PIPE2): Likewise.
14921 (__ASSUME_EVENTFD2): Likewise.
14922 (__ASSUME_SIGNALFD4): Likewise.
14923 (__ASSUME_DUP3): Likewise.
14924 (__ASSUME_UTIMES): Undefine.
14925
5c521ecd
JM
14926 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
14927 feclearexcept. Remove symbol versioning code.
14928 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
14929 symbol versioning code.
14930 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
14931 symbol versioning code.
14932 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
14933 feupdateenv. Remove symbol versioning code.
14934 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
14935 fegetexceptflag. Remove symbol versioning code.
14936 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
14937 fesetexceptflag. Remove symbol versioning code.
14938 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
14939 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
14940 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
14941 (__posix_fadvise64_l32): Remove prototype.
14942 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
14943 code.
14944
5da9dfad
RM
149452014-05-13 Roland McGrath <roland@hack.frob.com>
14946
14947 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
14948 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
14949 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
14950 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
14951
893b4f37
SK
149522014-05-13 Sami Kerola <kerolasa@iki.fi>
14953
14954 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
14955 current working directory
14956
e0db6517
RM
149572014-05-13 Roland McGrath <roland@hack.frob.com>
14958
58aa195d
RM
14959 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
14960 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
14961 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
14962 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
14963 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
14964 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
14965 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
14966 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
14967 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
14968 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
14969 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
14970 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
14971 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
14972 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
14973 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
14974 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
14975 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
14976 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
14977 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
14978 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
14979 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
14980 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
14981 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
14982 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
14983 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
14984 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
14985 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
14986 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
14987 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
14988 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
14989 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
14990 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
14991 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
14992 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
14993 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
14994 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
14995 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
14996 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
14997 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
14998 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
14999 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
15000 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
15001
8c6d01f0
RM
15002 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
15003 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
15004
15005 * sysdeps/unix/sysv/linux/arm/Makefile
15006 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
15007 Add rt-aeabi_unwind_cpp_pr1.
15008 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
15009 Add nptl-aeabi_unwind_cpp_pr1.
15010 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
15011 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
15012 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
15013 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
15014 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
15015 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
15016
15017 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
15018 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
15019 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
15020 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
15021
bba6da4e
RM
15022 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
15023 Deconditionalize the code that was previously under [RESET_PID].
15024 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
15025
e0db6517
RM
15026 * sysdeps/generic/exit-thread.h: New file.
15027 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
15028 * include/unistd.h (__exit_thread): Remove declaration.
15029 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
15030 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
15031 * csu/libc-start.c: Include <exit-thread.h>.
15032 (LIBC_START_MAIN): Pass no argument to __exit_thread.
15033 * nptl/pthread_create.c: Include <exit-thread.h>.
15034 (start_thread): Call __exit_thread in place of __exit_thread_inline.
15035 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
15036 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
15037 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
15038 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
15039 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
15040 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
15041 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
15042 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
15043 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
15044 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
15045 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
15046 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
15047 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
15048 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
15049 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
15050 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
15051
01eb16fd
AS
150522014-05-13 Andreas Schwab <schwab@suse.de>
15053
15054 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
15055
637461d9
JM
150562014-05-12 Joseph Myers <joseph@codesourcery.com>
15057
15058 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
15059 (__ASSUME_UTIMES): Do not condition on kernel version.
15060 (__ASSUME_PSELECT): Define unconditionally.
15061 (__ASSUME_PPOLL): Likewise.
15062 (__ASSUME_ATFCTS): Likewise.
15063 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
15064 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
15065 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
15066 (__ASSUME_UTIMENSAT): Define unconditionally.
15067 (__ASSUME_PRIVATE_FUTEX): Likewise.
15068 (__ASSUME_FALLOCATE): Likewise.
15069 (__ASSUME_O_CLOEXEC): Likewise.
15070 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
15071 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
15072 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
15073 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
15074 (__ASSUME_IN_NONBLOCK): Likewise.
15075 (__ASSUME_PIPE2): Likewise.
15076 (__ASSUME_EVENTFD2): Likewise.
15077 (__ASSUME_SIGNALFD4): Likewise.
15078 (__ASSUME_DUP3): Likewise.
15079 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
15080 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
15081 (__ASSUME_AT_RANDOM): Likewise.
15082 (__ASSUME_PREADV): Likewise.
15083 (__ASSUME_PWRITEV): Likewise.
15084 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
15085 (__ASSUME_F_GETOWN_EX): Define unconditionally.
15086 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
15087 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
15088 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
15089 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15090 (__ASSUME_O_CLOEXEC): Define unconditionally.
15091 (__ASSUME_PSELECT): Do not undefine conditionally.
15092 (__ASSUME_PPOLL): Likewise.
15093 (__ASSUME_ATFCTS): Likewise.
15094 (__ASSUME_SET_ROBUST_LIST): Likewise.
15095 (__ASSUME_UTIMENSAT): Likewise.
15096 (__ASSUME_FDATASYNC): Define unconditionally.
15097 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15098 (__ASSUME_SIGFRAME_V2): Likewise.
15099 )__ASSUME_EVENTFD2): Likewise.
15100 (__ASSUME_SIGNALFD4): Likewise.
15101 (__ASSUME_PSELECT): Do not undefine conditionally.
15102 (__ASSUME_PPOLL): Likewise.
15103 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15104 (__ASSUME_PSELECT): Define unconditionally.
15105 (__ASSUME_PPOLL): Likewise.
15106 (__ASSUME_O_CLOEXEC): Likewise.
15107 (__ASSUME_SOCK_CLOEXEC): Likewise.
15108 (__ASSUME_IN_NONBLOCK): Likewise.
15109 (__ASSUME_PIPE2): Likewise.
15110 (__ASSUME_EVENTFD2): Likewise.
15111 (__ASSUME_SIGNALFD4): Likewise.
15112 (__ASSUME_DUP3): Likewise.
15113 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15114 (__ASSUME_O_CLOEXEC): Likewise.
15115 (__ASSUME_SOCK_CLOEXEC): Likewise.
15116 (__ASSUME_IN_NONBLOCK): Likewise.
15117 (__ASSUME_PIPE2): Likewise.
15118 (__ASSUME_EVENTFD2): Likewise.
15119 (__ASSUME_SIGNALFD4): Likewise.
15120 (__ASSUME_DUP3): Likewise.
15121 * sysdeps/unix/sysv/linux/mips/kernel-features.h
15122 (__ASSUME_EVENTFD2): Likewise.
15123 (__ASSUME_SIGNALFD4): Likewise.
15124 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
15125
315eb1d8
AS
151262014-05-12 Andreas Schwab <schwab@suse.de>
15127
15128 [BZ #16932]
15129 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
15130 (_nss_nis_gethostbyname4_r): Return error if item length is larger
15131 than maximum RPC packet size.
15132 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
15133 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
15134 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
15135 (_nss_nis_getservbyport_r): Likewise.
15136
91df99f7
WN
151372014-05-12 Will Newton <will.newton@linaro.org>
15138
15139 * malloc/Makefile (tests): Add tst-mallopt.
15140 * malloc/tst-mallopt.c: New file.
15141
0a982a29
RM
151422014-05-09 Roland McGrath <roland@hack.frob.com>
15143
15144 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
15145 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
15146
0ded08a5
AZ
151472014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15148
15149 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
15150 (tst-tlsmod6.so): Likewise.
15151
55d4d550
RM
151522014-05-09 Roland McGrath <roland@hack.frob.com>
15153
15154 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
15155
77d08aca
JM
151562014-05-09 Joseph Myers <joseph@codesourcery.com>
15157
15158 [BZ #16064]
15159 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
15160 and <dl-procinfo.h>.
15161 (__fegetenv): Save SSE state in envp->__eip if supported.
15162 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
15163 envp->__eip if supported.
15164 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
15165 and <dl-procinfo.h>.
15166 (__fesetenv): Always set __eip, __cs_selector, __opcode,
15167 __data_offset and __data_selector in environment to 0. Set SSE
15168 state if supported.
15169 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
15170 test-fenv-sse.
15171 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
15172 -mfpmath=sse.
15173 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
15174
28162f4d
WN
151752014-05-09 Will Newton <will.newton@linaro.org>
15176
15177 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
15178 and libc_relro_required for ARM.
15179 * sysdeps/arm/preconfigure: Regenerate.
15180
5a414ff7
DV
151812014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
15182 Stefan Liebler <stli@linux.vnet.ibm.com>
15183
15184 * config.make.in (enable-lock-elision): New Makefile variable.
15185 * configure.ac: Likewise.
15186 * configure: Regenerate.
15187 * sysdeps/s390/configure.ac:
15188 Add check for gcc transactions support.
15189 * sysdeps/s390/configure: Regenerate.
15190 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
15191 Build elision files if enabled.
15192 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
15193 Add lock elision support for s390.
15194 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
15195 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
15196 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
15197 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
15198 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
15199 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
15200 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
15201 Likewise.
15202 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
15203 Likewise.
15204 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
15205 Likewise.
15206 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
15207 Likewise.
15208 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
15209 (__lll_timedlock_elision, __lll_lock_elision)
15210 (__lll_unlock_elision, __lll_trylock_elision)
15211 (lll_timedlock_elision, lll_lock_elision)
15212 (lll_unlock_elision, lll_trylock_elision): Add.
15213 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
15214 (pthread_mutex_t): Add lock elision support for s390.
15215
1a2f40e5
W
152162014-05-14 Wilco <wdijkstr@arm.com>
15217
15218 * sysdeps/arm/fclrexcpt.c: Cleanup.
15219 * sysdeps/arm/fedisblxcpt.c: Cleanup.
15220 * sysdeps/arm/feenablxcpt.c: Cleanup.
15221 * sysdeps/arm/fegetenv.c: Cleanup.
15222 * sysdeps/arm/fegetexcept.c: Cleanup.
15223 * sysdeps/arm/fegetround.c: Cleanup.
15224 * sysdeps/arm/feholdexcpt.c: Cleanup.
15225 * sysdeps/arm/fesetenv.c: Cleanup.
15226 * sysdeps/arm/fesetround.c: Cleanup.
15227 * sysdeps/arm/feupdateenv.c: Cleanup.
15228 * sysdeps/arm/fgetexcptflg.c: Cleanup.
15229 * sysdeps/arm/fraiseexcpt.c: Cleanup.
15230 * sysdeps/arm/fsetexcptflg.c: Cleanup.
15231 * sysdeps/arm/ftestexcept.c: Cleanup.
15232 * sysdeps/arm/get-rounding-mode.h: Cleanup.
15233 * sysdeps/arm/setfpucw.c: Cleanup.
15234
f63c86fe
WN
152352014-05-09 Will Newton <will.newton@linaro.org>
15236
15237 * sysdeps/arm/armv7/strcmp.S: New file.
15238 * NEWS: Mention addition of ARMv7 optimized strcmp.
15239
7a1a51b5
RM
152402014-05-08 Roland McGrath <roland@hack.frob.com>
15241
95afbbe5
RM
15242 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
15243 look for %.ac rather than %.in.
15244
15245 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
15246 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
15247 * sysdeps/mach/hurd/configure: Regenerated.
15248 * sysdeps/unix/sysv/linux/configure: Regenerated.
15249
7a1a51b5
RM
15250 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
15251
5057ad3b
SE
152522014-05-07 Steve Ellcey <sellcey@mips.com>
15253
15254 [BZ# 16922]
15255 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
15256 (LONG_SUB): Ditto.
15257 (PTR_SUB): Ditto.
15258
8dc97517
AS
152592014-05-07 Andreas Schwab <schwab@suse.de>
15260
15261 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
15262 when skipping over non-matching result from nscd.
15263
ce0c5b8f
OB
152642014-05-07 Ondřej Bílka <neleai@seznam.cz>
15265
15266 [BZ #16876]
15267 * nptl/sockperf.c (client): Check socket return value.
8dc97517 15268
a1189263
OB
15269 [BZ #16877]
15270 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
15271 nscd security class.
ce0c5b8f 15272
0f58d252
RM
152732014-05-06 Roland McGrath <roland@hack.frob.com>
15274
15275 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
15276 * sysdeps/arm/unwind.h: ... here.
15277
83df9ad0
AJ
152782014-05-06 Aurelien Jarno <aurelien@aurel32.net>
15279
ce0c5b8f
OB
15280 [BZ# 16916]
15281 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
15282 Define.
83df9ad0 15283
f360f94a
VR
152842014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
15285
15286 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
15287 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
15288 multiarch strncpy for PPC64.
15289 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
15290 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
15291 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
15292 multiarch optimizations.
15293 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15294 (__libc_ifunc_impl_list): Likewise.
15295 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
15296 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
15297 multiarch stpncpy for PPC64.
15298 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
15299 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
15300
978a41c3
AS
153012014-05-06 Andreas Schwab <schwab@suse.de>
15302
15303 [BZ #16912]
15304 * gmon/mcount.c (_MCOUNT_DECL): Use
15305 atomic_compare_and_exchange_bool_acq instead of
15306 catomic_compare_and_exchange_bool_acq.
15307
eb1ed03d
RM
153082014-05-05 Roland McGrath <roland@hack.frob.com>
15309
fe658845
RM
15310 * elf/Makefile (others, install-bin): Remove pldd.
15311 (pldd-modules): Variable removed.
15312 ($(objpfx)pldd): Target removed.
15313 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
15314 (others, install-bin): Append pldd here.
15315 ($(objpfx)pldd): New target.
15316
eb1ed03d
RM
15317 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
15318 to 0, so the first #if test emitted later doesn't see it undefined.
15319 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
15320 * sysdeps/gnu/errlist.c: Regenerated.
15321
19c4bec0
AZ
153222014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15323
15324 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
15325 [libc_hidden_builtin_def]: Define to empty value.
15326 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
15327 [libc_hidden_builtin_def]: Likewise.
15328 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
15329 [libc_hidden_builtin_def]: Likewise.
15330 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
15331 [libc_hidden_builtin_def]: Likewise.
15332 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
15333 __redirect_memcpy and define ifunc as default hidden symbol.
15334 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
15335 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
15336
7776e669
AC
153372014-05-04 Adam Conrad <adconrad@0c3.net>
15338
15339 * locale/iso-4217.def: Reintroduce XDR currency.
15340
d69aeb12
AM
153412014-05-04 Allan McRae <allan@archlinux.org>
15342
15343 * po/eo.po: Update Esperanto translation from translation project.
15344
8f1df5cf
CD
153452014-05-02 Carlos O'Donell <carlos@redhat.com>
15346
15347 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
15348 and FEATURE_INDEX_MAX to 1.
15349 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
15350
13e402e7
SE
153512014-05-01 Steve Ellcey <sellcey@mips.com>
15352
15353 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
15354 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
15355 * iconvdata/big5.c (ONE_DIRECTION): Define.
15356 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
15357 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
15358 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
15359 * iconvdata/cp932.c (ONE_DIRECTION): Define.
15360 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
15361 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
15362 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
15363 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
15364 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
15365 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
15366 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
15367 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
15368 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
15369 * iconvdata/gbk.c (ONE_DIRECTION): Define.
15370 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
15371 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
15372 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
15373 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
15374 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
15375 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
15376 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
15377 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
15378 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
15379 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
15380 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
15381 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
15382 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
15383 * iconvdata/iso646.c (ONE_DIRECTION): Define.
15384 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
15385 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
15386 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
15387 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
15388 * iconvdata/johab.c (ONE_DIRECTION): Define.
15389 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
15390 * iconvdata/sjis.c (ONE_DIRECTION): Define.
15391 * iconvdata/t.61.c (ONE_DIRECTION): Define.
15392 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
15393 * iconvdata/tscii.c (ONE_DIRECTION): Define.
15394 * iconvdata/uhc.c (ONE_DIRECTION): Define.
15395 * iconvdata/unicode.c (ONE_DIRECTION): Define.
15396 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
15397 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
15398 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
15399
c727f032
RM
154002014-05-01 Roland McGrath <roland@hack.frob.com>
15401
8f2f08d0
RM
15402 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
15403 (_IO_JUMPS_OFFSET): Define to 0.
15404
c727f032
RM
15405 * nptl/sysdeps/pthread/bits/libc-lock.h
15406 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
15407 (__libc_lock_define_initialized_recursive): Always define using
15408 initializer. Modern compilers treat uninitialized (implicit zero) and
15409 explicit zero initializers the same (i.e. put the datum in bss).
15410
a849e800
AS
154112014-05-01 Andreas Schwab <schwab@linux-m68k.org>
15412
15413 * nscd/nscd-client.h: Include <string.h>.
15414
5331255b
DM
154152014-05-01 David S. Miller <davem@davemloft.net>
15416
15417 [BZ #16885]
15418 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
15419 multiple zero bytes exist at the end of a string.
15420 Reported by Aurelien Jarno <aurelien@aurel32.net>
15421
15422 * string/test-strcmp.c (check): Add explicit test for situations where
15423 there are multiple zero bytes after the first.
15424
4fdfe821
AS
154252014-05-01 Andreas Schwab <schwab@linux-m68k.org>
15426
15427 [BZ #16890]
15428 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
15429 when compiling wprintf.
15430 * stdio-common/tstdiomisc.c (t3): New function.
15431 (main): Call it.
15432
0cdddc25
SE
154332014-05-01 Steve Ellcey <sellcey@mips.com>
15434
15435 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
15436 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
15437 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
15438 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
15439
6426d77e
SE
154402014-05-01 Steve Ellcey <sellcey@mips.com>
15441
15442 * stdlib/longlong.h: Updated from GCC.
15443
6d96f5e4
WN
154442014-05-01 Will Newton <will.newton@linaro.org>
15445 Bernard Ogden <bernie.ogden@linaro.org>
15446
7470db0c
WN
15447 * NEWS: Update fixed bug list.
15448
6d96f5e4
WN
15449 [BZ #15119]
15450 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
15451
211d653c
DM
154522014-04-30 David S. Miller <davem@davemloft.net>
15453
4fa262fa
DM
15454 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
15455 (libc_feholdexcept_setround_sparc_ctx): New function.
15456 (libc_fesetenv_sparc_ctx): Likewise.
15457 (libc_feupdateenv_sparc_ctx): Likewise.
15458 (libc_feholdsetround_sparc_ctx): Likewise.
15459 (libc_feholdexcept_setround_ctx): Define.
15460 (libc_feholdexcept_setroundf_ctx): Likewise.
15461 (libc_feholdexcept_setroundl_ctx): Likewise.
15462 (libc_fesetenv_ctx): Likewise.
15463 (libc_fesetenvf_ctx): Likewise.
15464 (libc_fesetenvl_ctx): Likewise.
15465 (libc_feupdateenv_ctx): Likewise.
15466 (libc_feupdateenvf_ctx): Likewise.
15467 (libc_feupdateenvl_ctx): Likewise.
15468 (libc_feresetround_ctx): Likewise.
15469 (libc_feresetroundf_ctx): Likewise.
15470 (libc_feresetroundl_ctx): Likewise.
15471 (libc_feholdsetround_ctx): Likewise.
15472 (libc_feholdsetroundf_ctx): Likewise.
15473 (libc_feholdsetroundl_ctx): Likewise.
15474
1d3d93ef
DM
15475 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
15476 with __USE_GNU instead of XOPEN cpp guards.
15477
8aa583c3
DM
15478 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
15479 0.
15480
211d653c
DM
15481 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
15482 with XOPEN cpp guards.
15483
60c8f1f6
JB
154842014-04-30 Julian Brown <julian@codesourcery.com>
15485
15486 [BZ #16888]
15487 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
15488 handling.
15489
9a461d46
JM
154902014-04-30 Joseph Myers <joseph@codesourcery.com>
15491
d0f5b3f8
JM
15492 [BZ #9894]
15493 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
15494 Change to 2.6.32.
15495 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
15496 * sysdeps/unix/sysv/linux/configure: Regenerated.
15497 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
15498 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
15499 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
15500 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
15501 * README: Update reference to required Linux kernel version.
15502 * manual/install.texi (Linux): Update reference to required Linux
15503 kernel headers version.
15504 * INSTALL: Regenerated.
15505
9a461d46
JM
15506 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
15507 header inclusion.
15508 [POSIX] (limits.h): Likewise.
15509 [POSIX] (math.h): Likewise.
15510 [POSIX] (sys/wait.h): Likewise.
15511 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
15512 function.
15513 [POSIX] (stddef.h): Do not allow header inclusion.
15514
1775babf
AZ
155152014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15516
57f41c40 15517 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 15518
8f630cca
YY
155192014-04-30 Yang Yingliang <yangyingliang@huawei.com>
15520
15521 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
15522 Return immediately after lll_futex_wake.
15523
1cdeb237
SP
155242014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15525
bc8f194c
SP
15526 [BZ #16791]
15527 * nscd/nscd-client.h (datahead_init_common): Initialize entire
15528 structure.
15529 (datahead_init_pos): Call datahead_init_common early.
15530 (datahead_init_neg): Likewise.
15531
1cdeb237
SP
15532 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
15533 datahead_init_neg): New functions.
15534 * nscd/aicache.c (addhstaiX): Use them.
15535 * nscd/grpcache.c (cache_addgr): Likewise.
15536 * nscd/hstcache.c (cache_addhst): Likewise.
15537 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15538 * nscd/netgroupcache.c (do_notfound): Likewise.
15539 (addgetnetgrentX): Likewise.
15540 (addinnetgrX): Likewise.
15541 * nscd/pwdcache.c (cache_addpw): Likewise.
15542 * nscd/servicescache.c (cache_addserv): Likewise.
15543
16b293a7
SP
155442014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15545 Atsushi Onoe <atsushi@onoe.org>
15546
15547 [BZ #14308]
15548 [BZ #12994]
15549 [BZ #13651]
15550 * resolv/res_query.c (__libc_res_nsearch): Return if at least
15551 one response is valid.
15552 * resolv/res_send.c (send_dg): Check for validity of other
15553 response if the current response is a referral.
15554
a28a9b94
SE
155552014-04-29 Steve Ellcey <sellcey@mips.com>
15556
15557 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
15558
2ca180e9
SL
155592014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
15560
15561 [BZ #16823]
15562 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
15563 Always divide by positive zero when computing -Inf result.
15564 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
15565 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
15566
18f2945a
AZ
155672014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15568
15569 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
15570 FPSCR if value do not change.
15571 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
15572 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
15573 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
15574 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
15575 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
15576 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
15577 function.
15578
5abebba4
CD
155792014-05-29 Carlos O'Donell <carlos@systemhalted.org>
15580
15581 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
15582 * sysdeps/unix/sysv/linux/hppa: Move directory from
15583 ports/systeps/unix/sysv/linux/hppa.
15584 * README: Update listing for hppa-*-linux-gnu.
15585
f7ed60c2
OB
155862014-04-28 Ondřej Bílka <neleai@seznam.cz>
15587
fff763a5
OB
15588 [BZ #16754]
15589 * manual/stdio.texi (Hook functions): Fix types of stream hook
15590 functions.
f7ed60c2
OB
15591 [BZ #16854]
15592 * socket/sys/socket.h: Fix typo in comment.
15593
df639d73
WD
155942014-04-28 Wilco <wdijkstr@arm.com>
15595
f7ed60c2 15596 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
15597 * sysdeps/arm/math_private.h: New file.
15598 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
15599
48332d82
L
156002014-04-25 H.J. Lu <hongjiu.lu@intel.com>
15601
15602 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
15603 with __int128_t.
15604 (La_x86_64_retval): Likewise.
15605
e5e0d9a4
IB
156062014-04-24 Ian Bolton <ian.bolton@arm.com>
15607
15608 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
15609 fpsr if value didn't change.
15610 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
15611 to fpcr if value didn't change.
15612 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
15613 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
15614 fpsr or fpcr if value didn't change.
15615 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
15616 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
15617 fpcr if value didn't change.
15618 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
15619 to fpsr if value didn't change.
15620
bacc75f7
SP
156212014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
15622
15623 * nptl/tst-sem3.c: Use test-skeleton.c
15624 (main): Rename to do_test. Use return instead of
15625 exit.
15626 * nptl/tst-sem4.c: Use test-skeleton.c
15627 (main): Rename to do_test.
15628
a059d359
DM
156292014-04-22 David S. Miller <davem@davemloft.net>
15630
15631 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
15632 (struct sigaction): New struct member __glibc_reserved0, change
15633 type of sa_flags to int.
15634
ea6c92f3
YZ
156352014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
15636
15637 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
15638 (COUNT_LEADING_ZEROS_0): Define for AArch64.
15639
766c4a36
SP
156402014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15641
15642 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
15643 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
15644
140cc7ab
VK
156452014-04-22 Will Newton <will.newton@linaro.org>
15646 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
15647
15648 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
15649 (__longjmp): Add longjmp and longjmp_target SystemTap
15650 probes.
15651 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
15652 (__sigsetjmp): Add setjmp SystemTap probe.
15653
c54e5cf7
CD
156542014-04-17 Carlos O'Donell <carlos@redhat.com>
15655
15656 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
15657 match manual order.
15658
75ffb047
AZ
156592014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15660
15661 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
15662
2cd925f7
AZ
15663 * sysdeps/powerpc/fpu/fenv_private.h
15664 (libc_feholdexcept_setroundl_ctx): Define to
15665 libc_feholdexcept_setround_ppc_ctx.
15666 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
15667 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
15668 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
15669 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
15670
39e6cd8d
IB
156712014-04-17 Ian Bolton <ian.bolton@arm.com>
15672
15673 * sysdeps/aarch64/math-tests.h: New file.
15674
f9281df9
SY
156752014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
15676
15677 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
15678 New.
15679 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15680 Check and set bit_AVX2_Usable.
15681 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
15682 macro.
15683 (bit_AVX2): Likewise.
15684 (index_AVX2_Usable): Likewise.
15685 (CPUID_AVX2): Likewise.
15686 (HAS_AVX2): Likewise.
15687
37d35007
WN
156882014-04-17 Will Newton <will.newton@linaro.org>
15689
7c677662
WN
15690 * manual/setjmp.texi (System V contexts): Add note that
15691 calling setcontext on a context created by a call to a
15692 signal handler is undefined. Update text to note that
15693 setcontext from a signal handler is possible but not
15694 recommended.
15695
37d35007 15696 [BZ #16629]
e04a4e9d
WN
15697 * stdlib/tst-setcontext.c: Include signal.h.
15698 (main): Check that the signal stack before and
15699 after swapcontext is the same.
15700
37d35007
WN
15701 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
15702 Re-implement to restore registers in user code and avoid
15703 rt_sigreturn system call.
15704
423a7160
W
157052014-04-17 Wilco <wdijkstr@arm.com>
15706
15707 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
15708 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
15709 * math/test-fenv.c: Skip exception trap tests on targets which only
15710 support non-stop mode.
15711
bc93ab29
IB
157122014-04-17 Ian Bolton <ian.bolton@arm.com>
15713 Wilco Dijkstra <wilco.dijkstra@arm.com>
15714
15715 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
15716 (libc_feholdsetround_aarch64_ctx)
15717 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
15718 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
15719 (libc_feresetround_ctx, libc_feresetroundf_ctx)
15720 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
15721 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
15722 (libc_feresetround_noexl_ctx): Define.
15723
95fc5fa3
RH
157242014-04-16 Richard Henderson <rth@redhat.com>
15725
ddb04724
RH
15726 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
15727
d77c0899
RH
15728 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
15729 unwind tables.
15730
a3df56fc
RH
15731 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
15732 const from the non-libc, non-ldso copy.
15733
95fc5fa3
RH
15734 * sysdeps/alpha/libm-test-ulps: Regenerate.
15735
7e0b6763
IB
157362014-04-16 Ian Bolton <ian.bolton@arm.com>
15737 Wilco Dijkstra <wilco.dijkstra@arm.com>
15738
15739 * sysdeps/aarch64/fpu/math_private.h: New file.
15740
a9ea2e0c
MS
157412014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
15742
15743 * sysdeps/aarch64/libm-test-ulps: Regenerate.
15744
ea8ba7cd
IZ
157452014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
15746
7e54fd04 15747 [BZ #16275]
ea8ba7cd
IZ
15748 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
15749 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
15750 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
15751 Intel MPX bound registers before _dl_profile_fixup.
15752 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
15753 registers after _dl_profile_fixup. Save and restore bound
15754 registers bnd0/bnd1 when calling _dl_call_pltexit.
15755 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
15756 (LR_BND_OFFSET): Likewise.
15757 (LRV_BND0_OFFSET): Likewise.
15758 (LRV_BND1_OFFSET): Likewise.
15759
9f2a4fbc
ST
157602014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
15761
15762 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
15763 to...
15764 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
15765 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
15766 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
15767 fields.
9f2a4fbc 15768
fd15a59b
ST
157692014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
15770
15771 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
15772
f19dfa0a
SL
157732014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
15774
15775 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15776
4fa8bc3b
SL
157772014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
15778
15779 [BZ #14770]
15780 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
15781 * sysdeps/s390/configure: Regenerate.
15782
8ea587db
SL
15783 [BZ #16824]
15784 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
15785 Set round-to-nearest internally to reduce error accumulation.
15786
aa5f0ff1
AM
157872014-04-16 Alan Modra <amodra@gmail.com>
15788
15789 [BZ #16740]
15790 [BZ #16619]
15791 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
15792 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 15793 * NEWS: Update fixed bug list.
aa5f0ff1 15794
bb9c256f
SP
157952014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15796
15797 * benchtests/Makefile: Depend on libraries in build directory.
15798 (bench-math): Separate out math tests.
15799 (bench-pthread): Separate out pthread tests.
15800 (bench): Include math and pthread tests.
15801
f737dfd0
CD
158022014-04-14 Carlos O'Donell <carlos@redhat.com>
15803
15804 [BZ #16831]
15805 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
15806 _dl_debug_initialize.
15807
0699f766
CD
15808 * configure.ac: Remove SELinux header check.
15809 * configure: Regenerate.
15810 * nscd/selinux.c (perms): Array of const char* to permission names.
15811 (nscd_request_avc_has_perm): Call security_deny_unknown to find
15812 default policy. Call string_to_security_class and string_to_av_perm to
15813 translate strings. Enforce default policy and call avs_has_perm with
15814 results of translated strings.
15815
809bd45f
DM
158162014-04-13 David S. Miller <davem@davemloft.net>
15817
15818 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15819
89e691f2
AM
158202014-04-12 Allan McRae <allan@archlinux.org>
15821
15822 [BZ #16838]
15823 * manual/string.texi (Collation Functions): Fix qsort argument
15824 order in example.
15825 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
15826
9c9daaeb
CM
158272014-04-11 Chris Metcalf <cmetcalf@tilera.com>
15828
15829 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
15830 Make the test a no-op if there are no exceptions defined.
15831
95561fb9
PP
158322014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
15833
fe8d072c 15834 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
15835 enable-hardcoded-path-in-tests
15836
970c602a
WN
158372014-04-11 Will Newton <will.newton@linaro.org>
15838
15839 * benchtests/Makefile (extra-objs): Add json-lib.o.
15840 (bench-func): Tidy up JSON output.
15841 * benchtests/bench-skeleton.c: Include json-lib.h.
15842 (main): Use JSON library functions to do output of
15843 benchmark results.
15844 * benchtests/bench-timing-type.c (main): Output the
15845 timing type simply, leaving formatting to the user.
15846 * benchtests/json-lib.c: New file.
15847 * benchtests/json-lib.h: Likewise.
15848
36875b06
TR
158492014-04-11 Torvald Riegel <triegel@redhat.com>
15850
15851 [BZ #15215]
15852 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
15853 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
15854 memory barriers. Add comments.
15855 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
15856 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
15857 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
15858 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
15859 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
15860 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
15861
579db35a
SL
158622014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
15863
15864 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
15865 * sysdeps/s390/s390-64/configure.ac: ... this ...
15866 * sysdeps/s390/configure.ac: ... to here.
15867 * sysdeps/s390/s390-32/configure: Delete file.
15868 * sysdeps/s390/s390-64/configure: Delete file.
15869 * sysdeps/s390/configure: Regenerate.
15870
c12e9f37
JAPH
158712014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
15872
15873 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
15874
439bda32
WN
158752014-04-11 Will Newton <will.newton@linaro.org>
15876
15877 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
15878 to zero if it is not defined elsewhere. (mtrim): Test
15879 the value of MALLOC_DEBUG with #if rather than #ifdef.
15880
6a5d6ea1
TR
158812014-04-10 Torvald Riegel <triegel@redhat.com>
15882
15883 * benchtests/pthread_once-inputs: New file.
15884 * benchtests/pthread_once-source.c: New file.
15885 * benchtests/README: Update documentation.
15886
a4c75cfd
IZ
158872014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
15888 H.J. Lu <hongjiu.lu@intel.com>
15889
7e54fd04 15890 [BZ #16275]
a4c75cfd
IZ
15891 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
15892 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
15893 * sysdeps/x86_64/configure: Regenerated.
15894 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
15895 macro.
15896 (REGISTER_SAVE_RAX): Likewise.
15897 (REGISTER_SAVE_RCX): Likewise.
15898 (REGISTER_SAVE_RDX): Likewise.
15899 (REGISTER_SAVE_RSI): Likewise.
15900 (REGISTER_SAVE_RDI): Likewise.
15901 (REGISTER_SAVE_R8): Likewise.
15902 (REGISTER_SAVE_R9): Likewise.
15903 (REGISTER_SAVE_BND0): Likewise.
15904 (REGISTER_SAVE_BND1): Likewise.
15905 (REGISTER_SAVE_BND2): Likewise.
15906 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
15907 bound registers when calling _dl_fixup.
15908
27822ce6
AZ
159092014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15910
15911 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
15912 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
15913 of its definition.
27822ce6
AZ
15914 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
15915 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
15916 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
15917 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
15918 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
15919 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
15920 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
15921
a88ddc90
PTB
159222014-04-09 Peter Brett <peter@peter-b.co.uk>
15923
15924 [BZ #15514]
15925 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
15926 pathconf(_PC_NAME_MAX).
15927
01f8eac2
AZ
159282014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15929
15930 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
15931 Remove macro usage.
15932 (__PTHREAD_SPINS): Move definition to ...
15933 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
15934 (__PTHREAD_SPINS): ... here.
15935 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
15936 (__PTHREAD_SPIN): Likewise.
15937 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
15938 (__PTHREAD_SPIN): Likewise.
15939 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
15940 (__PTHREAD_SPIN): Likewise.
15941 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
15942 (__PTHREAD_SPIN): Likewise.
15943 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
15944 (__PTHREAD_SPIN): Likewise.
15945 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
15946 (__PTHREAD_SPIN): Likewise.
15947 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
15948 (__PTHREAD_SPIN): Likewise.
15949 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
15950 (__PTHREAD_SPIN): Likewise.
15951 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
15952 (__PTHREAD_SPIN): Likewise.
15953 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
15954 (__PTHREAD_SPIN): Likewise.
15955 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
15956 (__PTHREAD_SPIN): Likewise.
15957 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
15958 (__PTHREAD_SPIN): Likewise.
15959
de21c33c
AZ
15960 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
15961 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
15962 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
15963 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
15964 imply folder.
15965 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
15966 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
15967 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
15968 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
15969 correct imply path.
15970 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
15971 strlen symbol for non multi-arch builds.
15972 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
15973 missing hidden_def and weak_alias.
15974
862c472e
CD
159752014-04-08 Carlos O'Donell <carlos@redhat.com>
15976
15977 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
15978
8667f90e
WN
159792014-04-07 Will Newton <will.newton@linaro.org>
15980
15981 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
15982 and contents. [!_LIBC] Remove #ifndef and contents.
15983 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
15984 * string/memccpy.c (__memccpy): Use ANSI prototype.
15985 * string/memfrob.c (memfrob): Likewise.
15986 * string/strcoll.c (STRCOLL): Likewise.
15987 * string/strlen.c (strlen): Likewise.
15988 * string/strtok.c (STRTOK): Likewise.
15989 * string/strcat.c: Remove unused #include of memcopy.h.
15990 (strcat): Use ANSI prototype.
15991 * string/strchr.c: Remove unused #include of memcopy.h.
15992 (strchr): Use ANSI prototype.
15993 * string/strcmp.c: Remove unused #include of memcopy.h.
15994 (strcmp): Use ANSI prototype.
15995 * string/strcpy.c: Remove unused #include of memcopy.h.
15996 (strcpy): Use ANSI prototype.
15997
7ffa9423
AZ
159982014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15999
16000 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
16001 * config.make.in (config-extra-cppflags): Set it from
16002 libc_extra_cppflags.
16003 * configure.ac (libc_extra_cflags): Make it accumulate over
16004 configure fragments.
16005 (libc_extra_cppflags): New flag.
16006 * configure. Regenerate.
16007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
16008 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
16009 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
16010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
16011
8bd70862
AZ
16012 [BZ #16815]
16013 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
16014 result for FE_DOWNWARD rounding mode.
16015 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
16016 Likewise.
16017 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16018
d42f3448
CM
160192014-04-04 Chris Metcalf <cmetcalf@tilera.com>
16020
16021 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
16022 in function argument name.
16023
1c21d115
DS
160242014-04-03 David Svoboda <svoboda@cert.org>
16025
16026 [BZ #5666]
16027 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
16028 explicitly.
16029
fcccd512
RM
160302014-04-03 Roland McGrath <roland@hack.frob.com>
16031
16032 * elf/dl-unmap-segments.h: New file.
16033 * sysdeps/generic/ldsodefs.h
16034 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
16035 * elf/dl-close.c: Include <dl-unmap-segments.h>.
16036 * elf/dl-fptr.c: Likewise.
16037 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
16038 * sysdeps/aarch64/tlsdesc.c: Likewise.
16039 * sysdeps/arm/tlsdesc.c: Likewise.
16040 * sysdeps/i386/tlsdesc.c: Likewise.
16041 * sysdeps/tile/dl-runtime.c: Likewise.
16042 * sysdeps/x86_64/tlsdesc.c: Likewise.
16043 * elf/dl-load.h: New file.
16044 * elf/dl-load.c: Include it.
16045 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
16046 Macros moved to dl-load.h.
16047 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
16048 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
16049 Use _dl_unmap_segments in place of __munmap.
16050 Break out segment-mapping loop into ...
16051 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
16052
f6488e2b
WN
160532014-04-03 Will Newton <will.newton@linaro.org>
16054
16055 * elf/dl-lookup.c (do_lookup_x): Remove comment
16056 referring to nested function and move variable
16057 declarations down to before first use.
16058
6f05bafe
JM
160592014-04-02 Joseph Myers <joseph@codesourcery.com>
16060
a84e78c8
JM
16061 [BZ #16799]
16062 [BZ #16800]
16063 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
16064 with 0 numerator.
16065 * math/s_catanf.c (__catanf): Likewise.
16066 * math/s_catanh.c (__catanh): Likewise.
16067 * math/s_catanhf.c (__catanhf): Likewise.
16068 * math/s_catanhl.c (__catanhl): Likewise.
16069 * math/s_catanl.c (__catanl): Likewise.
16070 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
16071 by positive zero when computing -Inf result.
16072 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
16073 (catanh_test): Likewise.
16074 * sysdeps/i386/fpu/libm-test-ulps: Update.
16075 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16076
6f05bafe
JM
16077 [BZ #16789]
16078 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
16079 instead of using underflowing value in computing result.
16080 * math/s_clog10.c (__clog10): Likewise.
16081 * math/s_clog10f.c (__clog10f): Likewise.
16082 * math/s_clog10l.c (__clog10l): Likewise.
16083 * math/s_clogf.c (__clogf): Likewise.
16084 * math/s_clogl.c (__clogl): Likewise.
16085 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
16086 (clog10_test): Likewise.
16087 * sysdeps/i386/fpu/libm-test-ulps: Update.
16088 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16089
b0abbc21
AM
160902014-04-02 Alan Modra <amodra@gmail.com>
16091
16092 [BZ #16739]
16093 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
16094 output when value is near a power of two. Use int64_t for lx and
16095 remove casts. Use decimal rather than hex exponent constants.
16096 Don't use long double multiplication when double will suffice.
16097 * math/libm-test.inc (nextafter_test_data): Add tests.
16098 * NEWS: Add 16739 and 16786 to bug list.
16099
af6b1797
AM
16100 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
16101
483818d7
AM
16102 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
16103
f6c55796
WN
161042014-04-01 Will Newton <will.newton@linaro.org>
16105
16106 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
16107 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
16108
13f7fe35
FW
161092014-04-01 Florian Weimer <fweimer@redhat.com>
16110
16111 [BZ #13347]
16112 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
16113 * nptl/tst-setuid2.c: New file.
16114 * nptl/Makefile (xtests): Add tst-setuid2.
16115
c859b32e
AM
161162014-04-01 Alan Modra <amodra@gmail.com>
16117
16118 [BZ #16786]
16119 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
16120
54fa2475
JM
161212014-03-31 Joseph Myers <joseph@codesourcery.com>
16122
8795b4a4
JM
16123 [BZ #6803]
16124 [BZ #6804]
16125 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
16126 set errno as appropriate.
16127 * math/w_scalbf.c (__scalbf): Likewise.
16128 * math/w_scalbl.c (__scalbl): Likewise.
16129 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
16130 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
16131 * math/libm-test.inc (scalb_test_data): Add errno expectations.
16132 Add more NaN tests.
16133
54fa2475
JM
16134 [BZ #16349]
16135 * math/w_atan2.c: Include <errno.h>.
16136 (__atan2): Set errno for result underflowing to zero.
16137 * math/w_atan2f.c: Include <errno.h>.
16138 (__atan2f): Set errno for result underflowing to zero.
16139 * math/w_atan2l.c: Include <errno.h>.
16140 (__atan2l): Set errno for result underflowing to zero.
16141 * math/auto-libm-test-in: Don't allow missing errno for some atan2
16142 tests.
16143 * math/auto-libm-test-out: Regenerated.
16144
757d9dd5
AZ
161452014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16146
16147 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
16148 Encode instruction correctly in little endian.
16149 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
16150 Likewise.
16151 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
16152 Likewise.
16153 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
16154 Likewise.
16155 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
16156 Likewise.
16157
d7a68734
JM
161582014-03-31 Joseph Myers <joseph@codesourcery.com>
16159
47c5adeb
JM
16160 [BZ #9894]
16161 * sysdeps/unix/sysv/linux/kernel-features.h
16162 [__sparc__ && !__arch64__ && !__sparc_v9__]
16163 (__ASSUME_SET_ROBUST_LIST): Do not define.
16164 [__sparc__ && !__arch64__ && !__sparc_v9__]
16165 (__ASSUME_FUTEX_LOCK_PI): Likewise.
16166 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
16167 Likewise.
16168 * sysdeps/unix/sysv/linux/arm/kernel-features.h
16169 (__ASSUME_FUTEX_LOCK_PI): Undefine.
16170 (__ASSUME_REQUEUE_PI): Likewise.
16171 (__ASSUME_SET_ROBUST_LIST): Likewise.
16172 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
16173 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
16174 Undefine.
16175 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16176 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
16177 Likewise.
16178 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
16179 Likewise.
16180 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
16181 Likewise.
16182 * sysdeps/unix/sysv/linux/mips/kernel-features.h
16183 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
16184 Undefine.
16185 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
16186 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
16187 Likewise.
16188
d7a68734
JM
16189 [BZ #16648]
16190 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16191 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
16192 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
16193
c760f5c2
WN
161942014-03-31 Will Newton <will.newton@linaro.org>
16195
16196 * benchtests/Makefile (bench): Add ffs and ffsll to list
16197 of tests.
16198 * benchtests/ffs-inputs: New file.
16199 * benchtests/ffsll-inputs: Likewise.
16200
ea6029b1
JM
162012014-03-29 Joseph Myers <joseph@codesourcery.com>
16202
16203 [BZ #16770]
16204 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
16205 too large before casting to int.
16206 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
16207 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
16208 * math/libm-test.inc (scalb_test_data): Add more tests.
16209
cf806aff
SP
162102014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16211
56737508
SP
16212 * benchtests/Makefile (DETAILED_OPT): New make option.
16213 (bench-func): Run benchmark program with -d if DETAILED_OPT is
16214 set.
16215 * benchtests/bench-skeleton.c: Include stdbool.h.
16216 (main): Store and print timings per input.
16217 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
16218 member to each argument value.
16219 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
16220 (_print_arg_data): Initialize per-input timing to 0.
16221
cb5e4aad
SP
16222 * benchtests/Makefile (timing-type): New binary.
16223 (bench-clean): Also remove bench-timing-type.
16224 (bench): New target for timing-type.
16225 (bench-func): Print output in JSON format.
16226 * benchtests/bench-skeleton.c (main): Print output in JSON
16227 format.
16228 * benchtests/bench-timing-type.c: New file.
16229 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
16230 (TIMING_PRINT_STATS): Remove.
16231 * benchtests/scripts/bench.py (_print_arg_data): Store variant
16232 name separately.
16233
cf806aff
SP
16234 * benchtests/bench-modf.c: Remove.
16235 * benchtests/modf-inputs: New inputs file.
16236
289e0779
JM
162372014-03-28 Joseph Myers <joseph@codesourcery.com>
16238
16239 [BZ #16362]
16240 * math/s_clog10.c (M_PI_LOG10E): New macro.
16241 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
16242 imaginary parts are 0.
16243 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
16244 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
16245 imaginary parts are 0.
16246 * math/s_clog10l.c (M_PI_LOG10El): New macro.
16247 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
16248 imaginary parts are 0.
16249 * math/libm-test.inc (clog10_test_data): Update expected results
16250 for when real and imaginary parts are 0.
16251
277ae3f1
PP
162522014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
16253
16254 * elf/dl-load.c: Finish conversion of __builtin_expect into
16255 __glibc_{un}likely.
16256
03a7091f
JM
162572014-03-27 Joseph Myers <joseph@codesourcery.com>
16258
16259 [BZ #16348]
16260 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
16261 1+x for argument with exponent below -67.
16262 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
16263 Likewise.
16264 * math/auto-libm-test-in: Add more tests of exp.
16265 * math/auto-libm-test-out: Regenerated.
16266
ea7d8b95
SP
162672014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16268
dd3022d7
SP
16269 [BZ #16759]
16270 * inet/getnetgrent_r.c (get_nonempty_val): New function.
16271 (nscd_getnetgrent): Use it.
16272
ea7d8b95
SP
16273 [BZ #16760]
16274 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
16275 of stpcpy.
16276
df5b85da
AK
162772014-03-27 Andi Kleen <ak@linux.intel.com>
16278
57f41c40
AS
16279 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
16280 (lll_robust_lock, lll_cond_lock, lll_timedlock)
16281 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
16282 (lll_robust_unlock): Remove out of line section. Use cfi
16283 intrinsics.
df5b85da 16284 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
16285 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
16286 (lll_robust_lock, lll_cond_lock, lll_timedlock)
16287 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
16288 (lll_robust_unlock): Remove out of line section. Use cfi
16289 intrinsics.
df5b85da
AK
16290 (LLL_STUB_UNWIND_INFO*): Remove.
16291
fbd6b5a4
SP
162922014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16293
16294 [BZ #16758]
16295 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
16296 blank values.
16297
1b26b855
PP
162982014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
16299
16300 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
16301
9be36fb8
JM
163022014-03-26 Joseph Myers <joseph@codesourcery.com>
16303
16304 [BZ #16198]
16305 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
16306 fnstenv.
16307 * math/test-fenv-preserve.c: New file.
16308 * math/Makefile (tests): Add test-fenv-preserve.
16309
60a2f3c1
WN
163102014-03-26 Will Newton <will.newton@linaro.org>
16311
16312 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
16313
a5e5f1e2
RM
163142014-03-25 Roland McGrath <roland@hack.frob.com>
16315
16316 * scripts/versionlist.awk: Partition the version sets and emit all
16317 GLIBC_* (sorted) before all others (sorted).
16318
00f4012a
JM
163192014-03-25 Joseph Myers <joseph@codesourcery.com>
16320
16321 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
16322 GLIBC_2.2.5 version.
16323
7bc5a741
AZ
163242014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16325
16326 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
16327 calls.
16328
7578473b
AZ
16329 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
16330 previous change.
16331
f3f1dab3
AZ
16332 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16333
6da36183
AS
163342014-03-25 Andreas Schwab <schwab@suse.de>
16335
16336 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
16337 label to be used after in6ailist is initialized.
16338
f3f1dab3 163392014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 16340
7578473b 16341 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
16342 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
16343
046651c1
JM
163442014-03-25 Joseph Myers <joseph@codesourcery.com>
16345
16346 [BZ #16357]
16347 [BZ #16599]
16348 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
16349 min_plus_half.
16350 (fp_formats): Update initializers.
16351 (init_fp_formats): Initialize new field.
16352 (output_for_one_input_case): Allow underflow for results up to
16353 min_plus_half.
16354 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
16355 * math/auto-libm-test-in: Don't mark some underflows from asin and
16356 atanh as spurious.
16357 * math/auto-libm-test-out: Regenerated.
16358 * sysdeps/i386/fpu/libm-test-ulps: Update.
16359 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16360
003e49ed
AS
163612014-03-25 Andreas Schwab <schwab@suse.de>
16362
16363 * libio/Makefile (tst-ftell-partial-wide-ENV)
16364 (tst-ftell-active-handler-ENV): Define.
16365
de031874
SL
163662014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
16367
16368 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
16369
55a81e3b
PP
163702014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
16371
16372 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
16373
f3426898
JM
163742014-03-24 Joseph Myers <joseph@codesourcery.com>
16375
16376 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
16377 * sysdeps/x86_64/fpu/multiarch/e_exp.c
16378 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
16379
a42faf59
PP
163802014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
16381
16382 [BZ #16634]
a42faf59 16383 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
16384 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
16385 (open_path): Change from boolean 'secure' to complete flag 'mode'
16386 (_dl_map_object): Adjust.
a42faf59
PP
16387 * elf/Makefile (tests): Add tst-dlopen-aout.
16388 * elf/tst-dlopen-aout.c: New test.
16389
50936127
SL
163902014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
16391
16392 [BZ #16714]
16393 * sysdeps/unix/sysv/linux/s390/bits/stat.h
16394 (struct stat): Rename member pad0 to __glibc_reserved0.
16395
26011b5c
SL
16396 [BZ #16712]
16397 * sysdeps/s390/s390-32/bits/wordsize.h
16398 (__WORDSIZE32_SIZE_ULONG): New define.
16399 * sysdeps/s390/s390-64/bits/wordsize.h
16400 (__WORDSIZE32_SIZE_ULONG): Likewise.
16401 * sysdeps/generic/stdint.h (SIZE_MAX):
16402 Define as UL if __WORDSIZE32_SIZE_ULONG.
16403
a2d86bf1
SL
16404 [BZ #16713]
16405 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
16406 (__glibc_reserved0): New variable.
16407 (sa_flags): Change type to int.
16408
78b6eebc
SL
16409 * posix/Makefile (before-compile): Use += before-compile instead
16410 of a :=.
16411
f1399b5a
SL
16412 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
16413 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
16414
a071766e
AS
164152014-03-20 Andreas Schwab <schwab@suse.de>
16416
16417 [BZ #16743]
16418 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
16419 non-matching result from nscd.
16420
27c673b8
SP
164212014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
16422
16423 * scripts/bench.py: Moved to ...
16424 * benchtests/scripts/bench.py: ... here.
16425 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
16426
44152e4b
AS
164272014-03-24 Andreas Schwab <schwab@suse.de>
16428
16429 [BZ #16002]
16430 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
16431 alloca_account and account alloca use for struct in6ailist.
16432
b376a11a
JM
164332014-03-24 Joseph Myers <joseph@codesourcery.com>
16434
16435 [BZ #16284]
16436 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
16437 rounding mode to recompute results that overflow to infinity or
16438 underflow to zero.
16439 * math/auto-libm-test-in: Don't mark tests as expected to fail for
16440 bug 16284.
16441 * math/auto-libm-test-out: Regenerated.
16442 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
16443 (ccosh_test): Likewise.
16444 (csin_test_data): Use plus_oflow.
16445 (csin_test): Use ALL_RM_TEST.
16446 (csinh_test_data): Use plus_oflow.
16447 (csinh_test): Use ALL_RM_TEST.
16448 * sysdeps/i386/fpu/libm-test-ulps: Update.
16449 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16450
f7be7376
JM
164512014-03-21 Joseph Myers <joseph@codesourcery.com>
16452
1ca2d03e
JM
16453 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
16454 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
16455 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
16456
f7be7376
JM
16457 [BZ #16731]
16458 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
16459 when x - 1 is zero.
16460 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
16461 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
16462 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
16463 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
16464 argument is 1.
16465 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
16466 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
16467 zero.
16468 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
16469 * sysdeps/i386/fpu/libm-test-ulps: Update.
16470 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16471
fdf4534d
SP
164722014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16473
df26ea53
SP
16474 * scripts/bench.pl: Remove file.
16475 * scripts/bench.py: New benchmark script.
16476 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
16477 * benchtests/README: Mention python dependency.
16478 * scripts/pylintrc: New file.
16479 * scripts/pylint: New file.
16480
fdf4534d
SP
16481 * bits/mathdef.h: Use #ifdef instead of #if.
16482 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
16483 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
16484 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
16485 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
16486 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
16487 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
16488
6f23d093
AZ
164892014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16490 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
16491
16492 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
16493 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
16494 and strpbrk-ppc64 objects.
16495 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16496 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
16497 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
16498 multiarch strpbrk for POWER7.
16499 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
16500 multiarch strpbrk for PPC64.
16501 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
16502 ifunc selector.
16503 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
16504 strpbrk for POWER7.
16505
8c92dfff
JM
165062014-03-20 Joseph Myers <joseph@codesourcery.com>
16507
16508 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
16509 (atan_test): Likewise.
16510 (atanh_test_data): Use NO_TEST_INLINE for two tests.
16511 (atanh_test): Use ALL_RM_TEST.
16512 (atan2_test_data): Likewise.
16513 (cabs_test): Likewise.
16514 (cacosh_test): Likewise.
16515 (carg_test): Likewise.
16516 (casin_test): Likewise.
16517 (casinh_test): Likewise.
16518 (cbrt_test): Likewise.
16519 (csqrt_test): Likewise.
16520 (erf_test): Likewise.
16521 (erfc_test): Likewise.
16522 (pow10_test): Likewise.
16523 (exp2_test): Likewise.
16524 (hypot_test): Likewise.
16525 (j0_test): Likewise.
16526 (j1_test): Likewise.
16527 (lgamma_test): Likewise.
16528 (gamma_test): Likewise.
16529 (sincos_test): Likewise.
16530 (tanh_test): Likewise.
16531 (y0_test): Likewise.
16532 (y1_test): Likewise.
16533 * sysdeps/i386/fpu/libm-test-ulps: Update.
16534 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16535
6eaf95cb
AZ
165362014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16537
a387428c
SP
16538 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
16539 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
16540 and strcspn-ppc64 objects.
16541 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16542 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
16543 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
16544 multiarch strcspn for POWER7.
16545 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
16546 multiarch strcspn for PPC64.
16547 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
16548 ifunc selector.
16549 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
16550 strcspn for POWER7.
16551
ae3a5dff
JM
165522014-03-20 Joseph Myers <joseph@codesourcery.com>
16553
16554 * math/gen-libm-test.pl (generate_testfile): Expect only function
16555 name as argument to AUTO_TESTS_* and pass results for all rounding
16556 modes to parse_args.
16557 (parse_auto_input): Separate inputs of automatic tests from
16558 outputs before storing in %auto_tests.
16559 * math/libm-test.inc (acos_test_data): Update call to
16560 AUTO_TESTS_f_f.
16561 (acos_test): Use ALL_RM_TEST.
16562 (acos_tonearest_test_data): Remove.
16563 (acos_test_tonearest): Likewise.
16564 (acos_towardzero_test_data): Likewise.
16565 (acos_test_towardzero): Likewise.
16566 (acos_downward_test_data): Likewise.
16567 (acos_test_downward): Likewise.
16568 (acos_upward_test_data): Likewise.
16569 (acos_test_upward): Likewise.
16570 (acosh_test_data): Update call to AUTO_TESTS_f_f.
16571 (asin_test_data): Likewise.
16572 (asin_test): Use ALL_RM_TEST.
16573 (asin_tonearest_test_data): Remove.
16574 (asin_test_tonearest): Likewise.
16575 (asin_towardzero_test_data): Likewise.
16576 (asin_test_towardzero): Likewise.
16577 (asin_downward_test_data): Likewise.
16578 (asin_test_downward): Likewise.
16579 (asin_upward_test_data): Likewise.
16580 (asin_test_upward): Likewise.
16581 (asinh_test_data): Update call to AUTO_TESTS_f_f.
16582 (atan_test_data): Likewise.
16583 (atanh_test_data): Likewise.
16584 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
16585 (cabs_test_data): Update call to AUTO_TESTS_c_f.
16586 (carg_test_data): Likewise.
16587 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
16588 (ccos_test_data): Update call to AUTO_TESTS_c_c.
16589 (ccosh_test_data): Likewise.
16590 (cexp_test_data): Likewise.
16591 (clog_test_data): Likewise.
16592 (clog10_test_data): Likewise.
16593 (cos_test_data): Update call to AUTO_TESTS_f_f.
16594 (cos_test): Use ALL_RM_TEST.
16595 (cos_tonearest_test_data): Remove.
16596 (cos_test_tonearest): Likewise.
16597 (cos_towardzero_test_data): Likewise.
16598 (cos_test_towardzero): Likewise.
16599 (cos_downward_test_data): Likewise.
16600 (cos_test_downward): Likewise.
16601 (cos_upward_test_data): Likewise.
16602 (cos_test_upward): Likewise.
16603 (cosh_test_data): Update call to AUTO_TESTS_f_f.
16604 (cosh_test): Use ALL_RM_TEST.
16605 (cosh_tonearest_test_data): Remove.
16606 (cosh_test_tonearest): Likewise.
16607 (cosh_towardzero_test_data): Likewise.
16608 (cosh_test_towardzero): Likewise.
16609 (cosh_downward_test_data): Likewise.
16610 (cosh_test_downward): Likewise.
16611 (cosh_upward_test_data): Likewise.
16612 (cosh_test_upward): Likewise.
16613 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
16614 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
16615 (ctan_test_data): Likewise.
16616 (ctan_test): Use ALL_RM_TEST.
16617 (ctan_tonearest_test_data): Remove.
16618 (ctan_test_tonearest): Likewise.
16619 (ctan_towardzero_test_data): Likewise.
16620 (ctan_test_towardzero): Likewise.
16621 (ctan_downward_test_data): Likewise.
16622 (ctan_test_downward): Likewise.
16623 (ctan_upward_test_data): Likewise.
16624 (ctan_test_upward): Likewise.
16625 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
16626 (ctanh_test): Use ALL_RM_TEST.
16627 (ctanh_tonearest_test_data): Remove.
16628 (ctanh_test_tonearest): Likewise.
16629 (ctanh_towardzero_test_data): Likewise.
16630 (ctanh_test_towardzero): Likewise.
16631 (ctanh_downward_test_data): Likewise.
16632 (ctanh_test_downward): Likewise.
16633 (ctanh_upward_test_data): Likewise.
16634 (ctanh_test_upward): Likewise.
16635 (erf_test_data): Update call to AUTO_TESTS_f_f.
16636 (erfc_test_data): Likewise.
16637 (exp_test_data): Likewise.
16638 (exp_test): Use ALL_RM_TEST.
16639 (exp_tonearest_test_data): Remove.
16640 (exp_test_tonearest): Likewise.
16641 (exp_towardzero_test_data): Likewise.
16642 (exp_test_towardzero): Likewise.
16643 (exp_downward_test_data): Likewise.
16644 (exp_test_downward): Likewise.
16645 (exp_upward_test_data): Likewise.
16646 (exp_test_upward): Likewise.
16647 (exp10_test_data): Update call to AUTO_TESTS_f_f.
16648 (exp10_test): Use ALL_RM_TEST.
16649 (exp10_tonearest_test_data): Remove.
16650 (exp10_test_tonearest): Likewise.
16651 (exp10_towardzero_test_data): Likewise.
16652 (exp10_test_towardzero): Likewise.
16653 (exp10_downward_test_data): Likewise.
16654 (exp10_test_downward): Likewise.
16655 (exp10_upward_test_data): Likewise.
16656 (exp10_test_upward): Likewise.
16657 (exp2_test_data): Update call to AUTO_TESTS_f_f.
16658 (expm1_test_data): Likewise.
16659 (expm1_test): Use ALL_RM_TEST.
16660 (expm1_tonearest_test_data): Remove.
16661 (expm1_test_tonearest): Likewise.
16662 (expm1_towardzero_test_data): Likewise.
16663 (expm1_test_towardzero): Likewise.
16664 (expm1_downward_test_data): Likewise.
16665 (expm1_test_downward): Likewise.
16666 (expm1_upward_test_data): Likewise.
16667 (expm1_test_upward): Likewise.
16668 (fma_test_data): Update call to AUTO_TESTS_fff_f.
16669 (fma_test): Use ALL_RM_TEST.
16670 (fma_towardzero_test_data): Remove.
16671 (fma_test_towardzero): Likewise.
16672 (fma_downward_test_data): Likewise.
16673 (fma_test_downward): Likewise.
16674 (fma_upward_test_data): Likewise.
16675 (fma_test_upward): Likewise.
16676 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
16677 (j0_test_data): Update call to AUTO_TESTS_f_f.
16678 (j1_test_data): Likewise.
16679 (jn_test_data): Update call to AUTO_TESTS_if_f.
16680 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
16681 (log_test_data): Update call to AUTO_TESTS_f_f.
16682 (log10_test_data): Likewise.
16683 (log1p_test_data): Likewise.
16684 (log2_test_data): Likewise.
16685 (pow_test_data): Update call to AUTO_TESTS_ff_f.
16686 (pow_tonearest_test_data): Likewise.
16687 (sin_test_data): Update call to AUTO_TESTS_f_f.
16688 (sin_test): Use ALL_RM_TEST.
16689 (sin_tonearest_test_data): Remove.
16690 (sin_test_tonearest): Likewise.
16691 (sin_towardzero_test_data): Likewise.
16692 (sin_test_towardzero): Likewise.
16693 (sin_downward_test_data): Likewise.
16694 (sin_test_downward): Likewise.
16695 (sin_upward_test_data): Likewise.
16696 (sin_test_upward): Likewise.
16697 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
16698 (sinh_test_data): Update call to AUTO_TESTS_f_f.
16699 (sinh_test): Use ALL_RM_TEST.
16700 (sinh_tonearest_test_data): Remove.
16701 (sinh_test_tonearest): Likewise.
16702 (sinh_towardzero_test_data): Likewise.
16703 (sinh_test_towardzero): Likewise.
16704 (sinh_downward_test_data): Likewise.
16705 (sinh_test_downward): Likewise.
16706 (sinh_upward_test_data): Likewise.
16707 (sinh_test_upward): Likewise.
16708 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
16709 (sqrt_test): Use ALL_RM_TEST.
16710 (sqrt_tonearest_test_data): Remove.
16711 (sqrt_test_tonearest): Likewise.
16712 (sqrt_towardzero_test_data): Likewise.
16713 (sqrt_test_towardzero): Likewise.
16714 (sqrt_downward_test_data): Likewise.
16715 (sqrt_test_downward): Likewise.
16716 (sqrt_upward_test_data): Likewise.
16717 (sqrt_test_upward): Likewise.
16718 (tan_test_data): Update call to AUTO_TESTS_f_f.
16719 (tan_test): Use ALL_RM_TEST.
16720 (tan_tonearest_test_data): Remove.
16721 (tan_test_tonearest): Likewise.
16722 (tan_towardzero_test_data): Likewise.
16723 (tan_test_towardzero): Likewise.
16724 (tan_downward_test_data): Likewise.
16725 (tan_test_downward): Likewise.
16726 (tan_upward_test_data): Likewise.
16727 (tan_test_upward): Likewise.
16728 (tanh_test_data): Update call to AUTO_TESTS_f_f.
16729 (tgamma_test_data): Likewise.
16730 (y0_test_data): Likewise.
16731 (y1_test_data): Likewise.
16732 (yn_test_data): Update call to AUTO_TESTS_if_f.
16733 (main): Do not call removed functions.
16734
d71aeee8
JM
167352014-03-19 Joseph Myers <joseph@codesourcery.com>
16736
16737 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
16738 (ldexp_test_data): Remove.
16739 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
16740 scalbn_test_data.
16741 (scalb_test): Use ALL_RM_TEST.
16742
baaf1ded
AS
167432014-03-19 Andreas Schwab <schwab@suse.de>
16744
16745 * nscd/nscd.service: Also invalidate netgroup cache on reload.
16746
b1115e91
JM
167472014-03-19 Joseph Myers <joseph@codesourcery.com>
16748
16749 [BZ #16649]
16750 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16751 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
16752 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
16753 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16754 (__ASSUME_PREADV): Undefine.
16755 (__ASSUME_PWRITEV): Likewise.
16756
0283ecca
RM
167572014-03-18 Roland McGrath <roland@hack.frob.com>
16758
7d375303
RM
16759 * bits/mman-linux.h: Add comment about non-Linux use.
16760 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
16761 bits/mman-linux.h resting place.
16762
0283ecca
RM
16763 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
16764 * bits/mman-linux.h: ... here.
16765
aebe1003
AZ
167662014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16767
16768 * conform/conformtest.pl: Add standard definition when calling C
16769 preprocessor on data files.
16770 (checknamespace): Remove unused variable.
16771
b29b6bb8
JM
167722014-03-18 Joseph Myers <joseph@codesourcery.com>
16773
16774 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
16775 minus_oflow, plus_uflow and minus_uflow in expected results.
16776 * math/libm-test.inc (scalbn_test_data): Add more tests of
16777 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
16778 minus_uflow.
16779 (scalbn_test): Use ALL_RM_TEST.
16780 (scalbln_test_data): Add more tests of negative arguments. Use
16781 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
16782 (scalbln_test): Use ALL_RM_TEST.
16783
c8f8fa15
RM
167842014-03-18 Roland McGrath <roland@hack.frob.com>
16785
16786 * scripts/abilist.awk: Ignore symbols marked with .hidden.
16787
fede7a5f
WN
167882014-03-18 Will Newton <will.newton@linaro.org>
16789
16790 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
16791 inaccurate comment.
16792
80cf0a58
JM
167932014-03-18 Joseph Myers <joseph@codesourcery.com>
16794
16795 * Makerules [!subdir] (check-abi): Exit with error status if a
16796 test failed.
16797
b3620862
JM
167982014-03-17 Joseph Myers <joseph@codesourcery.com>
16799
16800 * math/libm-test.inc (nearbyint_test_data): Include all tests used
16801 for rint. Include results for all rounding modes.
16802 (nearbyint_test): Use ALL_RM_TEST.
16803 (rint_test_data): Include all tests used for nearbyint.
16804
788bba36
WN
168052014-03-17 Will Newton <will.newton@linaro.org>
16806
04ec140a
WN
16807 * nptl/sysdeps/pthread/pthread.h: Revert previous
16808 change.
16809
7579d8d5
WN
16810 * sysdeps/generic/ldsodefs.h: Revert previous
16811 change.
16812
c15cf13a
WN
16813 * libio/genops.c: Revert previous change.
16814 * libio/libioP.h: Likewise.
16815 * stdio-common/vfprintf.c: Likewise.
16816
d0ac1324
WN
16817 * sysdeps/generic/math_private.h: Revert previous
16818 change.
16819
9290130a
WN
16820 * sysdeps/generic/math_private.h: Check whether
16821 HAVE_RM_CTX is defined with #ifdef rather
16822 than #if.
16823
afb466fc
WN
16824 * argp/argp-fmtstream.h: Check whether
16825 __STRICT_ANSI__ is defined with #ifdef rather
16826 than #if.
16827 * argp/argp.h: Likewise.
16828
f7efd7c3
WN
16829 * libio/genops.c: Check whether
16830 _IO_JUMPS_OFFSET is defined with #ifdef rather
16831 than #if.
16832 * libio/libioP.h: Likewise.
16833 * stdio-common/vfprintf.c: Likewise.
16834
53f1bed3
WN
16835 * sysdeps/generic/ldsodefs.h: Check whether
16836 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
16837 than #if.
16838
788bba36
WN
16839 * nptl/sysdeps/pthread/pthread.h: Check
16840 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
16841 its value.
16842
fcd89ebe
SP
168432014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
16844
ae42bbc5
SP
16845 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
16846 setting O_APPEND.
16847 * libio/tst-ftell-active-handler.c (do_append_test): Add a
16848 test case.
16849
ea33158c
SP
16850 [BZ #16680]
16851 * libio/fileops.c (_IO_file_open): Seek to end of file but
16852 don't cache the offset.
16853 (get_file_offset): Remove function.
16854 (do_ftell): Use cached offset when available.
16855 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
16856 don't cache the offset.
16857 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
16858 case.
16859 (do_one_test): Call it.
16860 (do_ftell_test): Fix up expected old offset for a+ mode.
16861 * libio/wfileops.c (do_ftell_wide): Used cached offset when
16862 available.
16863
b1dbb426
SP
16864 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
16865 up test status with function return status.
16866 (do_write_test): Likewise.
16867 (do_append_test): Likewise.
16868
fcd89ebe
SP
16869 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
16870 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
16871 Remove.
16872
9962a2d3
JM
168732014-03-17 Joseph Myers <joseph@codesourcery.com>
16874
16875 * math/gen-libm-test.pl (parse_args): Handle results specified for
16876 each rounding mode separately.
16877 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
16878 tests and results from lrint_tonearest_test_data,
16879 lrint_towardzero_test_data, lrint_downward_test_data and
16880 lrint_upward_test_data.
16881 (lrint_test): Use ALL_RM_TEST.
16882 (lrint_tonearest_test_data): Remove.
16883 (lrint_test_tonearest): Likewise.
16884 (lrint_towardzero_test_data): Likewise.
16885 (lrint_test_towardzero): Likewise.
16886 (lrint_downward_test_data): Likewise.
16887 (lrint_test_downward): Likewise.
16888 (lrint_upward_test_data): Likewise.
16889 (lrint_test_upward): Likewise.
16890 (llrint_test_data): Merge in per-rounding-mode tests and results
16891 from llrint_tonearest_test_data, llrint_towardzero_test_data,
16892 llrint_downward_test_data and llrint_upward_test_data.
16893 (llrint_test): Use ALL_RM_TEST.
16894 (llrint_tonearest_test_data): Remove.
16895 (llrint_test_tonearest): Likewise.
16896 (llrint_towardzero_test_data): Likewise.
16897 (llrint_test_towardzero): Likewise.
16898 (llrint_downward_test_data): Likewise.
16899 (llrint_test_downward): Likewise.
16900 (llrint_upward_test_data): Likewise.
16901 (llrint_test_upward): Likewise.
16902 (rint_test_data): Merge in per-rounding-mode tests and results
16903 from rint_tonearest_test_data, rint_towardzero_test_data,
16904 rint_downward_test_data and rint_upward_test_data. Add
16905 per-rounding-mode results for tests not in those arrays.
16906 (rint_test): Use ALL_RM_TEST.
16907 (rint_tonearest_test_data): Remove.
16908 (rint_test_tonearest): Likewise.
16909 (rint_towardzero_test_data): Likewise.
16910 (rint_test_towardzero): Likewise.
16911 (rint_downward_test_data): Likewise.
16912 (rint_test_downward): Likewise.
16913 (rint_upward_test_data): Likewise.
16914 (rint_test_upward): Likewise.
16915 (main): Don't call removed functions.
16916
5006148e
RM
169172014-03-14 Roland McGrath <roland@hack.frob.com>
16918
16919 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
16920 "Compiled on ..." crapola. It is anti-useful.
16921
d6fe5e58
JM
169222014-03-14 Joseph Myers <joseph@codesourcery.com>
16923
16924 * scripts/evaluate-test.sh: Handle fourth argument to determine
16925 whether test run should stop on failure.
16926 * Makeconfig (stop-on-test-failure): New variable.
16927 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
16928 $(stop-on-test-failure).
16929 * Makefile (tests): Give a summary of results from testing and
16930 exit with failure status if they include an ERROR or FAIL.
16931 (xtests): Likewise.
16932 * manual/install.texi (Configuring and compiling): Mention
16933 stop-on-test-failure=y.
16934 * INSTALL: Regenerated.
16935
498a2233
RM
169362014-03-14 Roland McGrath <roland@hack.frob.com>
16937
22dbc19d
RM
16938 * scripts/versionlist.awk: New file.
16939 * Makerules [$(build-shared) = yes]
16940 (postclean-generated): Add Versions.def, not Versions.def.v and
16941 Versions.def.v.i.
16942 ($(common-objpfx)Versions.def.v.i): Target removed.
16943 ($(common-objpfx)Versions.def): New target.
16944 ($(common-objpfx)Versions.all): Depend on that rather that
16945 $(common-objpfx)Versions.def.v.
16946 * Versions.def: File removed.
16947
498a2233
RM
16948 * Makeconfig (+gccwarn): Add -Wundef.
16949 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
16950 a dl-sysdep.h breaking its contract.
16951 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
16952 * include/stackinfo.h: New file.
16953 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
16954 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
16955 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
16956 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
16957 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
16958 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
16959 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16960 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16961 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16962 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16963 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16964 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
16965 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16966 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16967 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16968
c7de5025
AZ
169692014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16970
16971 [BZ #16707]
16972 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
16973 implementation.
16974 * math/libm-test.inc (round_test_data): Add more tests.
16975
98fb27a3
AZ
16976 [BZ #16706]
16977 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
16978 implementation.
16979 * math/libm-test.inc (nearbyint_test_data): Add more tests.
16980
374f7f61
AZ
16981 [BZ #16701]
16982 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
16983 implementation.
16984 * math/libm-test.inc (ceil_test_data): Add more tests.
16985
4655c291
AZ
16986 * math/libm-test.inc (trunc_test_data): Add more tests related to
16987 BZ#16414.
16988
d7329d4b
RM
169892014-03-14 Roland McGrath <roland@hack.frob.com>
16990
16991 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
16992 with #if rather than #ifdef.
16993 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
16994
aa4de9ce
L
169952014-03-14 H.J. Lu <hongjiu.lu@intel.com>
16996
16997 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
16998 first. Disable AVX-512 GCC support if assembler doesn't support
16999 it.
17000 * sysdeps/x86_64/configure: Regenerated.
17001
2e03fae7
CD
170022014-03-13 Carlos O'Donell <carlos@redhat.com>
17003
17004 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
17005 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
17006 (__old_pthread_attr_setstack): Likewise.
17007 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
17008 [!_STACK_GROWS_DOWN]: Likewise.
17009
43ca83ec
MF
170102014-03-13 Mike Frysinger <vapier@gentoo.org>
17011
17012 * config.make.in (have-bash2): Delete.
17013 * configure.ac (libc_cv_have_bash2): Delete.
17014 * configure: Regenerate.
17015 * elf/Makefile (common-ldd-rewrite): Rename to ...
17016 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
17017 (sh-ldd-rewrite): Delete.
17018 (bash-ldd-rewrite): Delete.
17019 (have-bash2): Delete checks.
57f41c40
AS
17020 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
17021 ldd-rewrite.
c66e48b4
MF
17022
17023 * config.make.in (have-ksh): Delete.
17024 (KSH): Delete.
17025 * configure.ac (libc_cv_have_ksh): Delete.
17026 * configure: Regenerate.
17027
b93834ef
MF
17028 * elf/Makefile: Delete $(have-ksh) check.
17029 ($(objpfx)sotruss): Change KSH to BASH.
17030 * elf/sotruss.ksh: Rename to ...
17031 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
17032 function style to match POSIX. Drop ksh vim mode setting.
17033
f3a4632a
MF
17034 * manual/time.texi (Specifying the Time Zone with TZ): Change
17035 Tuesday to Thursday.
17036
5896c8bd
MF
17037 * debug/tst-longjmp_chk2.c: Update header comment.
17038 (stackoverflow_handler): Add comment. Call assert on pass value.
17039
2d63a517
IZ
170402014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
17041
7e54fd04 17042 [BZ #16194]
2d63a517
IZ
17043 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
17044 (HAVE_AVX512_ASM_SUPPORT): Likewise.
17045 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
17046 (La_x86_64_vector): Add zmm.
17047 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
17048 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
17049 ($(objpfx)tst-audit10): New target.
17050 ($(objpfx)tst-audit10.out): Likewise.
17051 (tst-audit10-ENV): New.
17052 (AVX512-CFLAGS): Likewise.
17053 (CFLAGS-tst-audit10.c): Likewise.
17054 (CFLAGS-tst-auditmod10a.c): Likewise.
17055 (CFLAGS-tst-auditmod10b.c): Likewise.
17056 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
17057 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
17058 * sysdeps/x86_64/configure: Regenerated.
17059 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
17060 AVX-512 zmm register support.
17061 (_dl_x86_64_save_sse): Likewise.
17062 (_dl_x86_64_restore_sse): Likewise.
17063 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
17064 size vector registers.
17065 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
17066 (ZMM_SIZE): Likewise.
17067 * sysdeps/x86_64/tst-audit10.c: New file.
17068 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
17069 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
17070
44c4e5d5
RM
170712014-03-13 Roland McGrath <roland@hack.frob.com>
17072
17073 * configure.ac (HAVE_EHDR_START): New check.
17074 * configure: Regenerated.
17075 * config.h.in (HAVE_EHDR_START): New #undef.
17076 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
17077 assuming the lowest-addressed segment maps the start of the file.
17078
acd6e389
JM
170792014-03-13 Joseph Myers <joseph@codesourcery.com>
17080
17081 * INSTALL: Regenerated.
17082
6f918f36
WN
170832014-03-13 Will Newton <will.newton@linaro.org>
17084
17085 * manual/setjmp.texi (System V contexts): Improve
17086 clarity and grammar of documentation.
17087
798212a0
PP
170882014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
17089
17090 [BZ #16381]
798212a0 17091 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 17092 (tests-pie): Add tst-pie2.
798212a0
PP
17093 * elf/tst-pie2.c: New file.
17094 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
17095 for ET_EXEC.
17096 * elf/rtld.c (map_doit): Load executable as lt_executable.
17097 (dl_main): Likewise.
17098
abe6d90c
JM
170992014-03-12 Joseph Myers <joseph@codesourcery.com>
17100
17101 [BZ #16642]
17102 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17103 (__ASSUME_PSELECT): Undefine.
17104
dd3946c6
AZ
171052014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17106
17107 [BZ #16689]
17108 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
17109 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
17110 static build.
17111 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
17112 selector for static builds.
17113
c44496df
SP
171142014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
17115
17116 [BZ #16695]
17117 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
17118 key in the buffer.
17119
27c7220a
AZ
171202014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17121
57f41c40
AS
17122 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
17123 IFUNC selector for static builds.
27c7220a 17124
600fa361
JM
171252014-03-11 Joseph Myers <joseph@codesourcery.com>
17126
76c96cf7
JM
17127 * sysdeps/mips/math_private.h [__mips_hard_float]
17128 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
17129 libc_feresetround_mips_ctx.
17130 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
17131 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
17132 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
17133
600fa361
JM
17134 [BZ #16677]
17135 * math/s_nextafter.c (__nextafter): Do not return value from
17136 overflowing computation.
17137 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
17138 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
17139 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
17140 Likewise.
17141 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
17142 Likewise.
17143 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
17144 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
17145
d7706c32
RM
171462014-03-11 Roland McGrath <roland@hack.frob.com>
17147
17148 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
17149 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
17150 Move sfi_sp use from the load-multiple (that no longer sets sp) to
17151 the new mov targetting sp.
17152
4facea47
AZ
171532014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17154
17155 [BZ #16683]
17156 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
17157 Define it for static builds as well.
17158 (NO_BZERO_IMPL): Likewise.
17159
e65caf1f
VR
171602014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
17161
17162 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
17163 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
17164 multiarch strspn for PPC64.
17165 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
17166 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
17167 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17168 (__libc_ifunc_impl_list): Likewise.
17169 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
17170 multiarch optimizations
17171 * string/strspn.c (strspn): Using macro to redefine symbol name.
17172
ba9cc071
AZ
171732014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
17174 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17175
17176 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
17177 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
17178 multiarch strncat for PPC64.
17179 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
17180 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
17181 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17182 (__libc_ifunc_impl_list): Likewise.
17183 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
17184 multiarch optimizations
17185
8b4ff974
SP
171862014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17187
17188 [BZ #16639]
17189 * nscd/nscd.service: Make service type forking.
17190
54b46a4b
AZ
171912014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17192
17193 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
17194 sign in non default rounding modes.
17195 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
17196
e9996ef7
JM
171972014-03-08 Joseph Myers <joseph@codesourcery.com>
17198
17199 * math/libm-test.inc (ALL_RM_TEST): New macro.
17200 (ceil_test): Use ALL_RM_TEST.
17201 (cimag_test): Likewise.
17202 (conj_test): Likewise.
17203 (copysign_test): Likewise.
17204 (cproj_test): Likewise.
17205 (creal_test): Likewise.
17206 (fabs_test): Likewise.
17207 (floor_test): Likewise.
17208 (fmax_test): Likewise.
17209 (fmin_test): Likewise.
17210 (fmod_test): Likewise.
17211 (fpclassify_test): Likewise.
17212 (frexp_test): Likewise.
17213 (ilogb_test): Likewise.
17214 (isfinite_test): Likewise.
17215 (finite_test): Likewise.
17216 (isgreater_test): Likewise.
17217 (isgreaterequal_test): Likewise.
17218 (isinf_test): Likewise.
17219 (isless_test): Likewise.
17220 (islessequal_test): Likewise.
17221 (islessgreater_test): Likewise.
17222 (isnan_test): Likewise.
17223 (isnormal_test): Likewise.
17224 (issignaling_test): Likewise.
17225 (isunordered_test): Likewise.
17226 (logb_test): Likewise.
17227 (logb_downward_test_data): Remove.
17228 (logb_test_downward): Likewise.
17229 (lround_test): Use ALL_RM_TEST.
17230 (llround_test): Likewise.
17231 (modf_test): Likewise.
17232 (nexttoward_test): Likewise.
17233 (remainder_test): Likewise.
17234 (drem_test): Likewise.
17235 (remainder_tonearest_test_data): Likewise.
17236 (remainder_test_tonearest): Likewise.
17237 (drem_test_tonearest): Likewise.
17238 (remainder_towardzero_test_data): Likewise.
17239 (remainder_test_towardzero): Likewise.
17240 (drem_test_towardzero): Likewise.
17241 (remainder_downward_test_data): Likewise.
17242 (remainder_test_downward): Likewise.
17243 (drem_test_downward): Likewise.
17244 (remainder_upward_test_data): Likewise.
17245 (remainder_test_upward): Likewise.
17246 (drem_test_upward): Likewise.
17247 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
17248 (round_test): Use ALL_RM_TEST.
17249 (signbit_test): Likewise.
17250 (trunc_test): Likewise.
17251 (significand_test): Likewise.
17252 (main): Don't call removed functions.
17253
bc61d27c
JM
172542014-03-07 Joseph Myers <joseph@codesourcery.com>
17255
5c780849
JM
17256 [BZ #16674]
17257 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
17258 || __USE_XOPEN2K8].
17259 (ILL_ILLOPN): Likewise.
17260 (ILL_ILLADR): Likewise.
17261 (ILL_ILLTRP): Likewise.
17262 (ILL_PRVOPC): Likewise.
17263 (ILL_PRVREG): Likewise.
17264 (ILL_COPROC): Likewise.
17265 (ILL_BADSTK): Likewise.
17266 (FPE_INTDIV): Likewise.
17267 (FPE_INTOVF): Likewise.
17268 (FPE_FLTDIV): Likewise.
17269 (FPE_FLTOVF): Likewise.
17270 (FPE_FLTUND): Likewise.
17271 (FPE_FLTRES): Likewise.
17272 (FPE_FLTINV): Likewise.
17273 (FPE_FLTSUB): Likewise.
17274 (SEGV_MAPERR): Likewise.
17275 (SEGV_ACCERR): Likewise.
17276 (BUS_ADRALN): Likewise.
17277 (BUS_ADRERR): Likewise.
17278 (BUS_OBJERR): Likewise.
17279 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17280 (TRAP_TRACE): Likewise.
17281 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17282 __USE_XOPEN2K8].
17283 (CLD_KILLED): Likewise.
17284 (CLD_DUMPED): Likewise.
17285 (CLD_TRAPPED): Likewise.
17286 (CLD_STOPPED): Likewise.
17287 (CLD_CONTINUED): Likewise.
17288 (POLL_IN): Likewise.
17289 (POLL_OUT): Likewise.
17290 (POLL_MSG): Likewise.
17291 (POLL_ERR): Likewise.
17292 (POLL_PRI): Likewise.
17293 (POLL_HUP): Likewise.
17294 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
17295 Likewise.
17296 (ILL_ILLOPN): Likewise.
17297 (ILL_ILLADR): Likewise.
17298 (ILL_ILLTRP): Likewise.
17299 (ILL_PRVOPC): Likewise.
17300 (ILL_PRVREG): Likewise.
17301 (ILL_COPROC): Likewise.
17302 (ILL_BADSTK): Likewise.
17303 (FPE_INTDIV): Likewise.
17304 (FPE_INTOVF): Likewise.
17305 (FPE_FLTDIV): Likewise.
17306 (FPE_FLTOVF): Likewise.
17307 (FPE_FLTUND): Likewise.
17308 (FPE_FLTRES): Likewise.
17309 (FPE_FLTINV): Likewise.
17310 (FPE_FLTSUB): Likewise.
17311 (SEGV_MAPERR): Likewise.
17312 (SEGV_ACCERR): Likewise.
17313 (BUS_ADRALN): Likewise.
17314 (BUS_ADRERR): Likewise.
17315 (BUS_OBJERR): Likewise.
17316 (BUS_MCEERR_AR): Likewise.
17317 (BUS_MCEERR_AO): Likewise.
17318 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17319 (TRAP_TRACE): Likewise.
17320 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17321 __USE_XOPEN2K8].
17322 (CLD_KILLED): Likewise.
17323 (CLD_DUMPED): Likewise.
17324 (CLD_TRAPPED): Likewise.
17325 (CLD_STOPPED): Likewise.
17326 (CLD_CONTINUED): Likewise.
17327 (POLL_IN): Likewise.
17328 (POLL_OUT): Likewise.
17329 (POLL_MSG): Likewise.
17330 (POLL_ERR): Likewise.
17331 (POLL_PRI): Likewise.
17332 (POLL_HUP): Likewise.
17333 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
17334 (ILL_ILLOPN): Likewise.
17335 (ILL_ILLADR): Likewise.
17336 (ILL_ILLTRP): Likewise.
17337 (ILL_PRVOPC): Likewise.
17338 (ILL_PRVREG): Likewise.
17339 (ILL_COPROC): Likewise.
17340 (ILL_BADSTK): Likewise.
17341 (FPE_INTDIV): Likewise.
17342 (FPE_INTOVF): Likewise.
17343 (FPE_FLTDIV): Likewise.
17344 (FPE_FLTOVF): Likewise.
17345 (FPE_FLTUND): Likewise.
17346 (FPE_FLTRES): Likewise.
17347 (FPE_FLTINV): Likewise.
17348 (FPE_FLTSUB): Likewise.
17349 (SEGV_MAPERR): Likewise.
17350 (SEGV_ACCERR): Likewise.
17351 (BUS_ADRALN): Likewise.
17352 (BUS_ADRERR): Likewise.
17353 (BUS_OBJERR): Likewise.
17354 (BUS_MCEERR_AR): Likewise.
17355 (BUS_MCEERR_AO): Likewise.
17356 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17357 (TRAP_TRACE): Likewise.
17358 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17359 __USE_XOPEN2K8].
17360 (CLD_KILLED): Likewise.
17361 (CLD_DUMPED): Likewise.
17362 (CLD_TRAPPED): Likewise.
17363 (CLD_STOPPED): Likewise.
17364 (CLD_CONTINUED): Likewise.
17365 (POLL_IN): Likewise.
17366 (POLL_OUT): Likewise.
17367 (POLL_MSG): Likewise.
17368 (POLL_ERR): Likewise.
17369 (POLL_PRI): Likewise.
17370 (POLL_HUP): Likewise.
17371 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
17372 Likewise.
17373 (ILL_ILLOPN): Likewise.
17374 (ILL_ILLADR): Likewise.
17375 (ILL_ILLTRP): Likewise.
17376 (ILL_PRVOPC): Likewise.
17377 (ILL_PRVREG): Likewise.
17378 (ILL_COPROC): Likewise.
17379 (ILL_BADSTK): Likewise.
17380 (ILL_BADIADDR): Likewise.
17381 (ILL_BREAK): Likewise.
17382 (FPE_INTDIV): Likewise.
17383 (FPE_INTOVF): Likewise.
17384 (FPE_FLTDIV): Likewise.
17385 (FPE_FLTOVF): Likewise.
17386 (FPE_FLTUND): Likewise.
17387 (FPE_FLTRES): Likewise.
17388 (FPE_FLTINV): Likewise.
17389 (FPE_FLTSUB): Likewise.
17390 (FPE_DECOVF): Likewise.
17391 (FPE_DECDIV): Likewise.
17392 (FPE_DECERR): Likewise.
17393 (FPE_INVASC): Likewise.
17394 (FPE_INVDEC): Likewise.
17395 (SEGV_MAPERR): Likewise.
17396 (SEGV_ACCERR): Likewise.
17397 (SEGV_PSTKOVF): Likewise.
17398 (BUS_ADRALN): Likewise.
17399 (BUS_ADRERR): Likewise.
17400 (BUS_OBJERR): Likewise.
17401 (BUS_MCEERR_AR): Likewise.
17402 (BUS_MCEERR_AO): Likewise.
17403 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17404 (TRAP_TRACE): Likewise.
17405 (TRAP_BRANCH): Likewise.
17406 (TRAP_HWBKPT): Likewise.
17407 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17408 __USE_XOPEN2K8].
17409 (CLD_KILLED): Likewise.
17410 (CLD_DUMPED): Likewise.
17411 (CLD_TRAPPED): Likewise.
17412 (CLD_STOPPED): Likewise.
17413 (CLD_CONTINUED): Likewise.
17414 (POLL_IN): Likewise.
17415 (POLL_OUT): Likewise.
17416 (POLL_MSG): Likewise.
17417 (POLL_ERR): Likewise.
17418 (POLL_PRI): Likewise.
17419 (POLL_HUP): Likewise.
17420 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
17421 (ILL_ILLOPN): Likewise.
17422 (ILL_ILLADR): Likewise.
17423 (ILL_ILLTRP): Likewise.
17424 (ILL_PRVOPC): Likewise.
17425 (ILL_PRVREG): Likewise.
17426 (ILL_COPROC): Likewise.
17427 (ILL_BADSTK): Likewise.
17428 (FPE_INTDIV): Likewise.
17429 (FPE_INTOVF): Likewise.
17430 (FPE_FLTDIV): Likewise.
17431 (FPE_FLTOVF): Likewise.
17432 (FPE_FLTUND): Likewise.
17433 (FPE_FLTRES): Likewise.
17434 (FPE_FLTINV): Likewise.
17435 (FPE_FLTSUB): Likewise.
17436 (SEGV_MAPERR): Likewise.
17437 (SEGV_ACCERR): Likewise.
17438 (BUS_ADRALN): Likewise.
17439 (BUS_ADRERR): Likewise.
17440 (BUS_OBJERR): Likewise.
17441 (BUS_MCEERR_AR): Likewise.
17442 (BUS_MCEERR_AO): Likewise.
17443 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17444 (TRAP_TRACE): Likewise.
17445 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17446 __USE_XOPEN2K8].
17447 (CLD_KILLED): Likewise.
17448 (CLD_DUMPED): Likewise.
17449 (CLD_TRAPPED): Likewise.
17450 (CLD_STOPPED): Likewise.
17451 (CLD_CONTINUED): Likewise.
17452 (POLL_IN): Likewise.
17453 (POLL_OUT): Likewise.
17454 (POLL_MSG): Likewise.
17455 (POLL_ERR): Likewise.
17456 (POLL_PRI): Likewise.
17457 (POLL_HUP): Likewise.
17458 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
17459 (ILL_ILLOPN): Likewise.
17460 (ILL_ILLADR): Likewise.
17461 (ILL_ILLTRP): Likewise.
17462 (ILL_PRVOPC): Likewise.
17463 (ILL_PRVREG): Likewise.
17464 (ILL_COPROC): Likewise.
17465 (ILL_BADSTK): Likewise.
17466 (FPE_INTDIV): Likewise.
17467 (FPE_INTOVF): Likewise.
17468 (FPE_FLTDIV): Likewise.
17469 (FPE_FLTOVF): Likewise.
17470 (FPE_FLTUND): Likewise.
17471 (FPE_FLTRES): Likewise.
17472 (FPE_FLTINV): Likewise.
17473 (FPE_FLTSUB): Likewise.
17474 (SEGV_MAPERR): Likewise.
17475 (SEGV_ACCERR): Likewise.
17476 (BUS_ADRALN): Likewise.
17477 (BUS_ADRERR): Likewise.
17478 (BUS_OBJERR): Likewise.
17479 (BUS_MCEERR_AR): Likewise.
17480 (BUS_MCEERR_AO): Likewise.
17481 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17482 (TRAP_TRACE): Likewise.
17483 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17484 __USE_XOPEN2K8].
17485 (CLD_KILLED): Likewise.
17486 (CLD_DUMPED): Likewise.
17487 (CLD_TRAPPED): Likewise.
17488 (CLD_STOPPED): Likewise.
17489 (CLD_CONTINUED): Likewise.
17490 (POLL_IN): Likewise.
17491 (POLL_OUT): Likewise.
17492 (POLL_MSG): Likewise.
17493 (POLL_ERR): Likewise.
17494 (POLL_PRI): Likewise.
17495 (POLL_HUP): Likewise.
17496 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
17497 (ILL_ILLOPN): Likewise.
17498 (ILL_ILLADR): Likewise.
17499 (ILL_ILLTRP): Likewise.
17500 (ILL_PRVOPC): Likewise.
17501 (ILL_PRVREG): Likewise.
17502 (ILL_COPROC): Likewise.
17503 (ILL_BADSTK): Likewise.
17504 (FPE_INTDIV): Likewise.
17505 (FPE_INTOVF): Likewise.
17506 (FPE_FLTDIV): Likewise.
17507 (FPE_FLTOVF): Likewise.
17508 (FPE_FLTUND): Likewise.
17509 (FPE_FLTRES): Likewise.
17510 (FPE_FLTINV): Likewise.
17511 (FPE_FLTSUB): Likewise.
17512 (SEGV_MAPERR): Likewise.
17513 (SEGV_ACCERR): Likewise.
17514 (BUS_ADRALN): Likewise.
17515 (BUS_ADRERR): Likewise.
17516 (BUS_OBJERR): Likewise.
17517 (BUS_MCEERR_AR): Likewise.
17518 (BUS_MCEERR_AO): Likewise.
17519 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17520 (TRAP_TRACE): Likewise.
17521 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17522 __USE_XOPEN2K8].
17523 (CLD_KILLED): Likewise.
17524 (CLD_DUMPED): Likewise.
17525 (CLD_TRAPPED): Likewise.
17526 (CLD_STOPPED): Likewise.
17527 (CLD_CONTINUED): Likewise.
17528 (POLL_IN): Likewise.
17529 (POLL_OUT): Likewise.
17530 (POLL_MSG): Likewise.
17531 (POLL_ERR): Likewise.
17532 (POLL_PRI): Likewise.
17533 (POLL_HUP): Likewise.
17534 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
17535 (ILL_ILLOPN): Likewise.
17536 (ILL_ILLADR): Likewise.
17537 (ILL_ILLTRP): Likewise.
17538 (ILL_PRVOPC): Likewise.
17539 (ILL_PRVREG): Likewise.
17540 (ILL_COPROC): Likewise.
17541 (ILL_BADSTK): Likewise.
17542 (ILL_DBLFLT): Likewise.
17543 (ILL_HARDWALL): Likewise.
17544 (FPE_INTDIV): Likewise.
17545 (FPE_INTOVF): Likewise.
17546 (FPE_FLTDIV): Likewise.
17547 (FPE_FLTOVF): Likewise.
17548 (FPE_FLTUND): Likewise.
17549 (FPE_FLTRES): Likewise.
17550 (FPE_FLTINV): Likewise.
17551 (FPE_FLTSUB): Likewise.
17552 (SEGV_MAPERR): Likewise.
17553 (SEGV_ACCERR): Likewise.
17554 (BUS_ADRALN): Likewise.
17555 (BUS_ADRERR): Likewise.
17556 (BUS_OBJERR): Likewise.
17557 (BUS_MCEERR_AR): Likewise.
17558 (BUS_MCEERR_AO): Likewise.
17559 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17560 (TRAP_TRACE): Likewise.
17561 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17562 __USE_XOPEN2K8].
17563 (CLD_KILLED): Likewise.
17564 (CLD_DUMPED): Likewise.
17565 (CLD_TRAPPED): Likewise.
17566 (CLD_STOPPED): Likewise.
17567 (CLD_CONTINUED): Likewise.
17568 (POLL_IN): Likewise.
17569 (POLL_OUT): Likewise.
17570 (POLL_MSG): Likewise.
17571 (POLL_ERR): Likewise.
17572 (POLL_PRI): Likewise.
17573 (POLL_HUP): Likewise.
17574 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
17575 (ILL_ILLOPN): Likewise.
17576 (ILL_ILLADR): Likewise.
17577 (ILL_ILLTRP): Likewise.
17578 (ILL_PRVOPC): Likewise.
17579 (ILL_PRVREG): Likewise.
17580 (ILL_COPROC): Likewise.
17581 (ILL_BADSTK): Likewise.
17582 (FPE_INTDIV): Likewise.
17583 (FPE_INTOVF): Likewise.
17584 (FPE_FLTDIV): Likewise.
17585 (FPE_FLTOVF): Likewise.
17586 (FPE_FLTUND): Likewise.
17587 (FPE_FLTRES): Likewise.
17588 (FPE_FLTINV): Likewise.
17589 (FPE_FLTSUB): Likewise.
17590 (SEGV_MAPERR): Likewise.
17591 (SEGV_ACCERR): Likewise.
17592 (BUS_ADRALN): Likewise.
17593 (BUS_ADRERR): Likewise.
17594 (BUS_OBJERR): Likewise.
17595 (BUS_MCEERR_AR): Likewise.
17596 (BUS_MCEERR_AO): Likewise.
17597 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17598 (TRAP_TRACE): Likewise.
17599 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17600 __USE_XOPEN2K8].
17601 (CLD_KILLED): Likewise.
17602 (CLD_DUMPED): Likewise.
17603 (CLD_TRAPPED): Likewise.
17604 (CLD_STOPPED): Likewise.
17605 (CLD_CONTINUED): Likewise.
17606 (POLL_IN): Likewise.
17607 (POLL_OUT): Likewise.
17608 (POLL_MSG): Likewise.
17609 (POLL_ERR): Likewise.
17610 (POLL_PRI): Likewise.
17611 (POLL_HUP): Likewise.
17612 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
17613 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
17614
bc61d27c
JM
17615 [BZ #16670]
17616 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
17617 before #include of <time.h>.
17618 [!__USE_XOPEN2K] (__need_timespec): Likewise.
17619 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
17620 (test-xfail-UNIX98/sched.h/conform): Likewise.
17621
302949e2
MS
176222014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
17623
17624 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
17625 error absence of trapping exception support.
17626 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
17627
a00f522a
JM
176282014-03-07 Joseph Myers <joseph@codesourcery.com>
17629
6f99f280
JM
17630 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
17631 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
17632 * timezone/Makefile (testdata): Move definition above include of
17633 Rules.
17634 (test-zones): New variable.
17635 (tests-special): Add zone files.
17636 (build-testdata): Use $(evaluate-test).
17637
0b20a9e8
JM
17638 * elf/Makefile (tests-special): Rename tests to end with .out.
17639 ($(objpfx)noload-mem): Likewise.
17640 ($(objpfx)tst-leaks1-mem): Likewise.
17641 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
17642 * iconv/Makefile (xtests-special): Change test-iconvconfig to
17643 $(objpfx)test-iconvconfig.out.
17644 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
17645 set -e inside subshell and redirect output to file.
17646 * iconvdata/Makefile (generated): Rename tests to end with .out.
17647 Correct type.
17648 (tests-special): Rename tests to end with .out.
17649 ($(objpfx)mtrace-tst-loading): Likewise.
17650 * intl/Makefile (generated): Likewise.
17651 (tests-special): Likewise.
17652 ($(objpfx)mtrace-tst-gettext): Likewise.
17653 * misc/Makefile (generated): Likewise.
17654 (tests-special): Likewise.
17655 ($(objpfx)tst-error1-mem): Likewise.
17656 * nptl/Makefile (tests-special): Likewise.
17657 ($(objpfx)tst-stack3-mem): Likewise.
17658 (generated): Likewise.
17659 * posix/Makefile (generated): Likewise.
17660 (tests-special): Likewise.
17661 (xtests-special): Likewise.
17662 ($(objpfx)tst-fnmatch-mem): Likewise.
17663 ($(objpfx)bug-regex2-mem): Likewise.
17664 ($(objpfx)bug-regex14-mem): Likewise.
17665 ($(objpfx)bug-regex21-mem): Likewise.
17666 ($(objpfx)bug-regex31-mem): Likewise.
17667 ($(objpfx)tst-vfork3-mem): Likewise.
17668 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
17669 ($(objpfx)tst-pcre-mem): Likewise.
17670 ($(objpfx)tst-boost-mem): Likewise.
17671 ($(objpfx)bug-ga2-mem): Likewise.
17672 ($(objpfx)bug-glob2-mem): Likewise.
17673 * resolv/Makefile (generate): Likewise.
17674 (tests-special): Likewise.
17675 (xtests-special): Likewise.
17676 (generated): Likewise.
17677 ($(objpfx)mtrace-tst-leaks): Likewise.
17678 ($(objpfx)mtrace-tst-leaks2): Likewise.
17679
265d52ab
JM
17680 * scripts/merge-test-results.sh: New file.
17681 * Makefile (tests-special-notdir): New variable.
17682 (tests): Run merge-test-results.sh.
17683 (xtests): Likewise.
17684 * Rules (tests-special-notdir): New variable.
17685 (xtests-special-notdir): Likewise.
17686 (tests): Run merge-test-results.sh
17687 (xtests): Likewise.
17688
54ee292d
JM
17689 * Makeconfig (test-xfail-name): New variable.
17690 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
17691 compute variable name for expected failures.
17692 * conform/Makefile (conformtest-headers-data): New variable.
17693 (conformtest-standards): Likewise.
17694 (conformtest-headers-ISO): Likewise.
17695 (conformtest-headers-ISO99): Likewise.
17696 (conformtest-headers-ISO11): Likewise.
17697 (conformtest-headers-POSIX): Likewise.
17698 (conformtest-headers-XPG3): Likewise.
17699 (conformtest-headers-XPG4): Likewise.
17700 (conformtest-headers-UNIX98): Likewise.
17701 (conformtest-headers-XOPEN2K): Likewise.
17702 (conformtest-headers-POSIX2008): Likewise.
17703 (conformtest-headers-XOPEN2K8): Likewise.
17704 (conformtest-header-list-base): Likewise.
17705 (conformtest-header-list-tests): Likewise.
17706 (conformtest-header-base): Likewise.
17707 (conformtest-header-tests): Likewise.
17708 (tests-special): Add $(conformtest-header-list-tests). If
17709 [$(fast-check) && !$(cross-compiling)], add
17710 $(conformtest-header-tests) instead of
17711 $(objpfx)run-conformtest.out.
17712 (generated): Add $(conformtest-header-list-base). If
17713 [$(fast-check) && !$(cross-compiling)], add
17714 $(conformtest-header-base). Remove previous setting.
17715 ($(conformtest-header-list-tests)): New target.
17716 (test-xfail-run-conformtest): Remove variable.
17717 ($(objpfx)run-conformtest.out): Remove target.
17718 (test-xfail-ISO11/complex.h/conform): New variable.
17719 (test-xfail-ISO11/stdalign.h/conform): Likewise.
17720 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
17721 (test-xfail-XPG3/varargs.h/conform): Likewise.
17722 (test-xfail-XPG4/varargs.h/conform): Likewise.
17723 (test-xfail-UNIX98/varargs.h/conform): Likewise.
17724 (test-xfail-XPG4/ndbm.h/conform): Likewise.
17725 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
17726 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
17727 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
17728 (test-xfail-XPG3/fcntl.h/conform): Likewise.
17729 (test-xfail-XPG3/ftw.h/conform): Likewise.
17730 (test-xfail-XPG3/grp.h/conform): Likewise.
17731 (test-xfail-XPG3/langinfo.h/conform): Likewise.
17732 (test-xfail-XPG3/limits.h/conform): Likewise.
17733 (test-xfail-XPG3/pwd.h/conform): Likewise.
17734 (test-xfail-XPG3/search.h/conform): Likewise.
17735 (test-xfail-XPG3/signal.h/conform): Likewise.
17736 (test-xfail-XPG3/stdio.h/conform): Likewise.
17737 (test-xfail-XPG3/stdlib.h/conform): Likewise.
17738 (test-xfail-XPG3/string.h/conform): Likewise.
17739 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
17740 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
17741 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
17742 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
17743 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
17744 (test-xfail-XPG3/sys/types.h/conform): Likewise.
17745 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
17746 (test-xfail-XPG3/termios.h/conform): Likewise.
17747 (test-xfail-XPG3/time.h/conform): Likewise.
17748 (test-xfail-XPG3/unistd.h/conform): Likewise.
17749 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
17750 (test-xfail-XPG4/fcntl.h/conform): Likewise.
17751 (test-xfail-XPG4/langinfo.h/conform): Likewise.
17752 (test-xfail-XPG4/netdb.h/conform): Likewise.
17753 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
17754 (test-xfail-XPG4/signal.h/conform): Likewise.
17755 (test-xfail-XPG4/stdio.h/conform): Likewise.
17756 (test-xfail-XPG4/stdlib.h/conform): Likewise.
17757 (test-xfail-XPG4/stropts.h/conform): Likewise.
17758 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
17759 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
17760 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
17761 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
17762 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
17763 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
17764 (test-xfail-XPG4/sys/time.h/conform): Likewise.
17765 (test-xfail-XPG4/sys/types.h/conform): Likewise.
17766 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
17767 (test-xfail-XPG4/termios.h/conform): Likewise.
17768 (test-xfail-XPG4/ucontext.h/conform): Likewise.
17769 (test-xfail-XPG4/unistd.h/conform): Likewise.
17770 (test-xfail-XPG4/utmpx.h/conform): Likewise.
17771 (test-xfail-POSIX/sched.h/conform): Likewise.
17772 (test-xfail-POSIX/signal.h/conform): Likewise.
17773 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
17774 (test-xfail-POSIX/tar.h/conform): Likewise.
17775 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
17776 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
17777 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
17778 (test-xfail-UNIX98/netdb.h/conform): Likewise.
17779 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
17780 (test-xfail-UNIX98/sched.h/conform): Likewise.
17781 (test-xfail-UNIX98/signal.h/conform): Likewise.
17782 (test-xfail-UNIX98/stdio.h/conform): Likewise.
17783 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
17784 (test-xfail-UNIX98/stropts.h/conform): Likewise.
17785 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
17786 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
17787 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
17788 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
17789 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
17790 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
17791 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
17792 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
17793 (test-xfail-UNIX98/unistd.h/conform): Likewise.
17794 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
17795 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
17796 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
17797 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
17798 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
17799 (test-xfail-XOPEN2K/math.h/conform): Likewise.
17800 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
17801 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
17802 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
17803 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
17804 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
17805 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
17806 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
17807 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
17808 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
17809 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
17810 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
17811 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
17812 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
17813 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
17814 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
17815 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
17816 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
17817 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
17818 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
17819 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
17820 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
17821 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
17822 (test-xfail-POSIX2008/signal.h/conform): Likewise.
17823 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
17824 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
17825 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
17826 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
17827 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
17828 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
17829 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
17830 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
17831 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
17832 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
17833 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
17834 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
17835 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
17836 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
17837 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
17838 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
17839 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
17840 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
17841 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
17842 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
17843 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
17844 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
17845 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
17846 (conformtest-cc-flags): Likewise.
17847 ($(conformtest-header-tests): New target.
17848 * conform/check-header-lists.sh: New file.
17849 * conform/run-conformtest.sh: Remove.
17850
a00f522a
JM
17851 * conform/conformtest.pl: Allow ' and \ in values given for
17852 constants.
17853 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
17854 inclusion.
17855 [POSIX] (sys/types.h): Likewise.
17856 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
17857 inclusion.
17858 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
17859 inclusion.
17860 * conform/data/signal.h-data (SIGIO): Remove expectation.
17861 [XPG3] (SIGBUS): Do not expect.
17862 [POSIX || XPG3] (SIGPOLL): Likewise.
17863 [POSIX || XPG3] (SIGPROF): Likewise.
17864 [POSIX || XPG3] (SIGSYS): Likewise.
17865 [XPG3] (SIGTRAP): Likewise.
17866 [POSIX || XPG3] (SIGURG): Likewise.
17867 [POSIX || XPG3] (SIGVTALRM): Likewise.
17868 [POSIX || XPG3] (SIGXCPU): Likewise.
17869 [POSIX || XPG3] (SIGXFSZ): Likewise.
17870 [POSIX] (SA_SIGINFO): Expect.
17871 [XPG3] (siginfo_t): Do not expect type or contents.
17872 [POSIX] (si_pid): Do not expect element.
17873 [POSIX] (si_uid): Likewise.
17874 [POSIX] (si_addr): Likewise.
17875 [POSIX] (si_status): Likewise.
17876 [POSIX] (si_band): Likewise.
17877 [XPG4] (si_value): Likewise.
17878 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
17879 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
17880 [POSIX || XPG3] (ILL_ILLADR): Likewise.
17881 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
17882 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
17883 [POSIX || XPG3] (ILL_PRVREG): Likewise.
17884 [POSIX || XPG3] (ILL_COPROC): Likewise.
17885 [POSIX || XPG3] (ILL_BADSTK): Likewise.
17886 [POSIX || XPG3] (FPE_INTDIV): Likewise.
17887 [POSIX || XPG3] (FPE_INTOVF): Likewise.
17888 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
17889 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
17890 [POSIX || XPG3] (FPE_FLTUND): Likewise.
17891 [POSIX || XPG3] (FPE_FLTRES): Likewise.
17892 [POSIX || XPG3] (FPE_FLTINV): Likewise.
17893 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
17894 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
17895 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
17896 [POSIX || XPG3] (BUS_ADRALN): Likewise.
17897 [POSIX || XPG3] (BUS_ADRERR): Likewise.
17898 [POSIX || XPG3] (BUS_OBJERR): Likewise.
17899 [POSIX || XPG3] (CLD_EXITED): Likewise.
17900 [POSIX || XPG3] (CLD_KILLED): Likewise.
17901 [POSIX || XPG3] (CLD_DUMPED): Likewise.
17902 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
17903 [POSIX || XPG3] (CLD_STOPPED): Likewise.
17904 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
17905 [POSIX || XPG3] (POLL_IN): Likewise.
17906 [POSIX || XPG3] (POLL_OUT): Likewise.
17907 [POSIX || XPG3] (POLL_MSG): Likewise.
17908 [POSIX || XPG3] (POLL_ERR): Likewise.
17909 [POSIX || XPG3] (POLL_PRI): Likewise.
17910 [POSIX || XPG3] (POLL_HUP): Likewise.
17911 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
17912 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
17913 (SIG*): Do not allow.
17914 [XPG3] (si_*): Likewise.
17915 [XPG3] (SI_*): Likewise.
17916 [XPG3 || XPG4] (sigev_*): Likewise.
17917 [XPG3 || XPG4] (SIGEV_*): Likewise.
17918 [XPG3 || XPG4] (sival_*): Likewise.
17919 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
17920 [POSIX || XPG3] (BUS_*): Likewise.
17921 [POSIX || XPG3] (CLD_*): Likewise.
17922 [POSIX || XPG3] (FPE_*): Likewise.
17923 [POSIX || XPG3] (ILL_*): Likewise.
17924 [POSIX || XPG3] (POLL_*): Likewise.
17925 [POSIX || XPG3] (SEGV_*): Likewise.
17926 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
17927 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
17928 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
17929 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
17930 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
17931 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
17932 Specify type and value.
17933 (TVERSLEN): Likewise.
17934 (REGTYPE): Likewise.
17935 (AREGTYPE): Likewise.
17936 (LNKTYPE): Likewise.
17937 (SYMTYPE): Likewise.
17938 (CHRTYPE): Likewise.
17939 (BLKTYPE): Likewise.
17940 (DIRTYPE): Likewise.
17941 (FIFOTYPE): Likewise.
17942 (CONTTYPE): Likewise.
17943 (TSUID): Likewise.
17944 (TSGID): Likewise.
17945 (TSVTX): Likewise.
17946 (TUREAD): Likewise.
17947 (TUWRITE): Likewise.
17948 (TUEXEC): Likewise.
17949 (TGREAD): Likewise.
17950 (TGWRITE): Likewise.
17951 (TGEXEC): Likewise.
17952 (TOREAD): Likewise.
17953 (TOWRITE): Likewise.
17954 (TOEXEC): Likewise.
17955 [POSIX] (TSVTX): Expect constant.
17956
aa97dee1
JM
179572014-03-06 Joseph Myers <joseph@codesourcery.com>
17958
f214606a
JM
17959 * Makefile (tests): Change dependencies to ....
17960 (tests-special): ... additions to this variable.
17961 (tests): Depend on $(tests-special).
17962 * Makerules (check-abi-list): New variable.
17963 (check-abi): Depend on $(check-abi-list).
17964 [$(subdir) = elf] (tests-special): Add
17965 $(objpfx)check-abi-libc.out.
17966 [$(build-shared) = yes && subdir] (tests-special): Add
17967 $(check-abi-list).
17968 [$(build-shared) = yes && subdir] (tests): Do not depend on
17969 check-abi.
17970 * Rules (tests): Depend on $(tests-special).
17971 (xtests): Depend on $(xtests-special).
17972 * catgets/Makefile (tests): Change dependencies to ....
17973 (tests-special): ... additions to this variable.
17974 * conform/Makefile (tests): Change dependencies to ....
17975 (tests-special): ... additions to this variable.
17976 * elf/Makefile (tests): Change dependencies to ....
17977 (tests-special): ... additions to this variable.
17978 * grp/Makefile (tests): Change dependencies to ....
17979 (tests-special): ... additions to this variable.
17980 * iconv/Makefile (xtests): Change dependencies to ....
17981 (xtests-special): ... additions to this variable.
17982 * iconvdata/Makefile (tests): Change dependencies to ....
17983 (tests-special): ... additions to this variable.
17984 * intl/Makefile (tests): Change dependencies to ....
17985 (tests-special): ... additions to this variable. Also add
17986 $(objpfx)tst-gettext.out.
17987 * io/Makefile (tests): Change dependencies to ....
17988 (tests-special): ... additions to this variable.
17989 * libio/Makefile (tests): Change dependencies to ....
17990 (tests-special): ... additions to this variable.
17991 * malloc/Makefile (tests): Change dependencies to ....
17992 (tests-special): ... additions to this variable.
17993 * misc/Makefile (tests): Change dependencies to ....
17994 (tests-special): ... additions to this variable.
17995 * nptl/Makefile (tests): Change dependencies to ....
17996 (tests-special): ... additions to this variable.
17997 * nptl_db/Makefile (tests): Change dependencies to ....
17998 (tests-special): ... additions to this variable.
17999 * posix/Makefile (tests): Change dependencies to ....
18000 (tests-special): ... additions to this variable.
18001 (xtests): Change dependencies to ....
18002 (xtests-special): ... additions to this variable.
18003 * resolv/Makefile (tests): Change dependencies to ....
18004 (tests-special): ... additions to this variable.
18005 (xtests): Change dependencies to ....
18006 (xtests-special): ... additions to this variable.
18007 * stdio-common/Makefile (tests): Change dependencies to ....
18008 (tests-special): ... additions to this variable.
18009 (do-tst-unbputc): Remove target.
18010 (do-tst-printf): Likewise.
18011 * stdlib/Makefile (tests): Change dependencies to ....
18012 (tests-special): ... additions to this variable.
18013 * string/Makefile (tests): Change dependencies to ....
18014 (tests-special): ... additions to this variable.
18015 * sysdeps/x86/Makefile (tests): Change dependencies to ....
18016 (tests-special): ... additions to this variable.
18017
81700b53
JM
18018 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
18019 whole file.
18020 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
18021 whole file.
18022 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
18023 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
18024
2ea18461
JM
18025 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
18026 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
18027 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
18028 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
18029 * conform/data/libgen.h-data [XPG3]: Likewise.
18030 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
18031 * conform/data/ndbm.h-data [XPG3]: Likewise.
18032 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
18033 * conform/data/netdb.h-data [XPG3]: Likewise.
18034 * conform/data/netinet/in.h-data [XPG3]: Likewise.
18035 * conform/data/poll.h-data [XPG3]: Likewise.
18036 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
18037 * conform/data/strings.h-data [XPG3]: Likewise.
18038 * conform/data/stropts.h-data [XPG3]: Likewise.
18039 * conform/data/sys/mman.h-data [XPG3]: Likewise.
18040 * conform/data/sys/resource.h-data [XPG3]: Likewise.
18041 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
18042 Likewise.
18043 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
18044 * conform/data/sys/time.h-data [XPG3]: Likewise.
18045 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
18046 * conform/data/sys/uio.h-data [XPG3]: Likewise.
18047 * conform/data/sys/un.h-data [XPG3]: Likewise.
18048 * conform/data/syslog.h-data [XPG3]: Likewise.
18049 * conform/data/ucontext.h-data [XPG3]: Likewise.
18050 * conform/data/utmpx.h-data [XPG3]: Likewise.
18051 * conform/data/varargs.h-data [UNIX98]: Enable file.
18052
355bc986
JM
18053 * manual/Makefile (INSTALL_INFO): Remove variable setting.
18054
215db402
JM
18055 * math/libm-test.inc (struct test_f_f_data): Move expected results
18056 into structure for each rounding mode.
18057 (struct test_ff_f_data): Likewise.
18058 (struct test_ff_f_data_nexttoward): Likewise.
18059 (struct test_fi_f_data): Likewise.
18060 (struct test_fl_f_data): Likewise.
18061 (struct test_if_f_data): Likewise.
18062 (struct test_fff_f_data): Likewise.
18063 (struct test_c_f_data): Likewise.
18064 (struct test_f_f1_data): Likewise.
18065 (struct test_fF_f1_data): Likewise.
18066 (struct test_ffI_f1_data): Likewise.
18067 (struct test_c_c_data): Likewise.
18068 (struct test_cc_c_data): Likewise.
18069 (struct test_f_i_data): Likewise.
18070 (struct test_ff_i_data): Likewise.
18071 (struct test_f_l_data): Likewise.
18072 (struct test_f_L_data): Likewise.
18073 (struct test_fFF_11_data): Likewise.
18074 (RM_): New macro.
18075 (RM_FE_DOWNWARD): Likewise.
18076 (RM_FE_TONEAREST): Likewise.
18077 (RM_FE_TOWARDZERO): Likewise.
18078 (RM_FE_UPWARD): Likewise.
18079 (RUN_TEST_LOOP_f_f): Update references to expected results.
18080 (RUN_TEST_LOOP_2_f): Likewise.
18081 (RUN_TEST_LOOP_fff_f): Likewise.
18082 (RUN_TEST_LOOP_c_f): Likewise.
18083 (RUN_TEST_LOOP_f_f1): Likewise.
18084 (RUN_TEST_LOOP_fF_f1): Likewise.
18085 (RUN_TEST_LOOP_fI_f1): Likewise.
18086 (RUN_TEST_LOOP_ffI_f1): Likewise.
18087 (RUN_TEST_LOOP_c_c): Likewise.
18088 (RUN_TEST_LOOP_cc_c): Likewise.
18089 (RUN_TEST_LOOP_f_i): Likewise.
18090 (RUN_TEST_LOOP_f_i_tg): Likewise.
18091 (RUN_TEST_LOOP_ff_i_tg): Likewise.
18092 (RUN_TEST_LOOP_f_b): Likewise.
18093 (RUN_TEST_LOOP_f_b_tg): Likewise.
18094 (RUN_TEST_LOOP_f_l): Likewise.
18095 (RUN_TEST_LOOP_f_L): Likewise.
18096 (RUN_TEST_LOOP_fFF_11): Likewise.
18097 * math/gen-libm-test.pl (parse_args): Output four copies of
18098 expected results for each test.
18099
67737b8f
JM
18100 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18101 (__ASSUME_UTIMES): Remove.
18102 * sysdeps/unix/sysv/linux/tile/kernel-features.h
18103 (__ASSUME_UTIMES): Likewise.
18104
aa97dee1
JM
18105 * math/gen-auto-libm-tests.c: Update comment on output format.
18106 (output_for_one_input_case): Generate before-rounding and
18107 after-rounding information as conditions on output flags not
18108 floating-point format.
18109 * math/auto-libm-test-out: Regenerated.
18110 * math/gen-libm-test.pl (cond_value): New function.
18111 (or_cond_value): Use cond_value.
18112 (generate_testfile): Handle conditional exceptions.
18113
e6b6a857
JM
181142014-03-05 Joseph Myers <joseph@codesourcery.com>
18115
2f0a0f44
JM
18116 * math/libm-test.inc (max_valid_error): New variable.
18117 (init_max_error): Take new argument specifying whether function
18118 results are exactly determined. Set max_valid_error and bound
18119 other variables for errors based on this argument.
18120 (set_max_error): Do not record results above max_valid_error.
18121 (check_float_internal): Only accept errors of up to 0.5ulps if
18122 also at most max_valid_error.
18123 (START): Take new argument EXACT and pass it to init_max_error.
18124 (acos_test): Update call to START.
18125 (acos_test_tonearest): Likewise.
18126 (acos_test_towardzero): Likewise.
18127 (acos_test_downward): Likewise.
18128 (acos_test_upward): Likewise.
18129 (acosh_test): Likewise.
18130 (asin_test): Likewise.
18131 (asin_test_tonearest): Likewise.
18132 (asin_test_towardzero): Likewise.
18133 (asin_test_downward): Likewise.
18134 (asin_test_upward): Likewise.
18135 (asinh_test): Likewise.
18136 (atan_test): Likewise.
18137 (atanh_test): Likewise.
18138 (atan2_test): Likewise.
18139 (cabs_test): Likewise.
18140 (cacos_test): Likewise.
18141 (cacosh_test): Likewise.
18142 (carg_test): Likewise.
18143 (casin_test): Likewise.
18144 (casinh_test): Likewise.
18145 (catan_test): Likewise.
18146 (catanh_test): Likewise.
18147 (cbrt_test): Likewise.
18148 (ccos_test): Likewise.
18149 (ccosh_test): Likewise.
18150 (ceil_test): Likewise.
18151 (cexp_test): Likewise.
18152 (cimag_test): Likewise.
18153 (clog_test): Likewise.
18154 (clog10_test): Likewise.
18155 (conj_test): Likewise.
18156 (copysign_test): Likewise.
18157 (cos_test): Likewise.
18158 (cos_test_tonearest): Likewise.
18159 (cos_test_towardzero): Likewise.
18160 (cos_test_downward): Likewise.
18161 (cos_test_upward): Likewise.
18162 (cosh_test): Likewise.
18163 (cosh_test_tonearest): Likewise.
18164 (cosh_test_towardzero): Likewise.
18165 (cosh_test_downward): Likewise.
18166 (cosh_test_upward): Likewise.
18167 (cpow_test): Likewise.
18168 (cproj_test): Likewise.
18169 (creal_test): Likewise.
18170 (csin_test): Likewise.
18171 (csinh_test): Likewise.
18172 (csqrt_test): Likewise.
18173 (ctan_test): Likewise.
18174 (ctan_test_tonearest): Likewise.
18175 (ctan_test_towardzero): Likewise.
18176 (ctan_test_downward): Likewise.
18177 (ctan_test_upward): Likewise.
18178 (ctanh_test): Likewise.
18179 (ctanh_test_tonearest): Likewise.
18180 (ctanh_test_towardzero): Likewise.
18181 (ctanh_test_downward): Likewise.
18182 (ctanh_test_upward): Likewise.
18183 (erf_test): Likewise.
18184 (erfc_test): Likewise.
18185 (exp_test): Likewise.
18186 (exp_test_tonearest): Likewise.
18187 (exp_test_towardzero): Likewise.
18188 (exp_test_downward): Likewise.
18189 (exp_test_upward): Likewise.
18190 (exp10_test): Likewise.
18191 (exp10_test_tonearest): Likewise.
18192 (exp10_test_towardzero): Likewise.
18193 (exp10_test_downward): Likewise.
18194 (exp10_test_upward): Likewise.
18195 (pow10_test): Likewise.
18196 (exp2_test): Likewise.
18197 (expm1_test): Likewise.
18198 (expm1_test_tonearest): Likewise.
18199 (expm1_test_towardzero): Likewise.
18200 (expm1_test_downward): Likewise.
18201 (expm1_test_upward): Likewise.
18202 (fabs_test): Likewise.
18203 (fdim_test): Likewise.
18204 (floor_test): Likewise.
18205 (fma_test): Likewise.
18206 (fma_test_towardzero): Likewise.
18207 (fma_test_downward): Likewise.
18208 (fma_test_upward): Likewise.
18209 (fmax_test): Likewise.
18210 (fmin_test): Likewise.
18211 (fmod_test): Likewise.
18212 (fpclassify_test): Likewise.
18213 (frexp_test): Likewise.
18214 (hypot_test): Likewise.
18215 (ilogb_test): Likewise.
18216 (isfinite_test): Likewise.
18217 (finite_test): Likewise.
18218 (isgreater_test): Likewise.
18219 (isgreaterequal_test): Likewise.
18220 (isinf_test): Likewise.
18221 (isless_test): Likewise.
18222 (islessequal_test): Likewise.
18223 (islessgreater_test): Likewise.
18224 (isnan_test): Likewise.
18225 (isnormal_test): Likewise.
18226 (issignaling_test): Likewise.
18227 (isunordered_test): Likewise.
18228 (j0_test): Likewise.
18229 (j1_test): Likewise.
18230 (jn_test): Likewise.
18231 (ldexp_test): Likewise.
18232 (lgamma_test): Likewise.
18233 (gamma_test): Likewise.
18234 (lrint_test): Likewise.
18235 (lrint_test_tonearest): Likewise.
18236 (lrint_test_towardzero): Likewise.
18237 (lrint_test_downward): Likewise.
18238 (lrint_test_upward): Likewise.
18239 (llrint_test): Likewise.
18240 (llrint_test_tonearest): Likewise.
18241 (llrint_test_towardzero): Likewise.
18242 (llrint_test_downward): Likewise.
18243 (llrint_test_upward): Likewise.
18244 (log_test): Likewise.
18245 (log10_test): Likewise.
18246 (log1p_test): Likewise.
18247 (log2_test): Likewise.
18248 (logb_test): Likewise.
18249 (logb_test_downward): Likewise.
18250 (lround_test): Likewise.
18251 (llround_test): Likewise.
18252 (modf_test): Likewise.
18253 (nearbyint_test): Likewise.
18254 (nextafter_test): Likewise.
18255 (nexttoward_test): Likewise.
18256 (pow_test): Likewise.
18257 (pow_test_tonearest): Likewise.
18258 (pow_test_towardzero): Likewise.
18259 (pow_test_downward): Likewise.
18260 (pow_test_upward): Likewise.
18261 (remainder_test): Likewise.
18262 (drem_test): Likewise.
18263 (remainder_test_tonearest): Likewise.
18264 (drem_test_tonearest): Likewise.
18265 (remainder_test_towardzero): Likewise.
18266 (drem_test_towardzero): Likewise.
18267 (remainder_test_downward): Likewise.
18268 (drem_test_downward): Likewise.
18269 (remainder_test_upward): Likewise.
18270 (drem_test_upward): Likewise.
18271 (remquo_test): Likewise.
18272 (rint_test): Likewise.
18273 (rint_test_tonearest): Likewise.
18274 (rint_test_towardzero): Likewise.
18275 (rint_test_downward): Likewise.
18276 (rint_test_upward): Likewise.
18277 (round_test): Likewise.
18278 (scalb_test): Likewise.
18279 (scalbn_test): Likewise.
18280 (scalbln_test): Likewise.
18281 (signbit_test): Likewise.
18282 (sin_test): Likewise.
18283 (sin_test_tonearest): Likewise.
18284 (sin_test_towardzero): Likewise.
18285 (sin_test_downward): Likewise.
18286 (sin_test_upward): Likewise.
18287 (sincos_test): Likewise.
18288 (sinh_test): Likewise.
18289 (sinh_test_tonearest): Likewise.
18290 (sinh_test_towardzero): Likewise.
18291 (sinh_test_downward): Likewise.
18292 (sinh_test_upward): Likewise.
18293 (sqrt_test): Likewise.
18294 (sqrt_test_tonearest): Likewise.
18295 (sqrt_test_towardzero): Likewise.
18296 (sqrt_test_downward): Likewise.
18297 (sqrt_test_upward): Likewise.
18298 (tan_test): Likewise.
18299 (tan_test_tonearest): Likewise.
18300 (tan_test_towardzero): Likewise.
18301 (tan_test_downward): Likewise.
18302 (tan_test_upward): Likewise.
18303 (tanh_test): Likewise.
18304 (tgamma_test): Likewise.
18305 (trunc_test): Likewise.
18306 (y0_test): Likewise.
18307 (y1_test): Likewise.
18308 (yn_test): Likewise.
18309 (significand_test): Likewise.
18310
e6b6a857
JM
18311 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
18312 individual tests in comment.
18313 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
18314 (prev_max_error): New variable.
18315 (prev_real_max_error): Likewise.
18316 (prev_imag_max_error): Likewise.
18317 (compare_ulp_data): Don't refer to test names in comment.
18318 (find_test_ulps): Remove function.
18319 (find_function_ulps): Likewise.
18320 (find_complex_function_ulps): Likewise.
18321 (init_max_error): Take function name as argument. Look up ulps
18322 for that function.
18323 (print_ulps): Remove function.
18324 (print_max_error): Use prev_max_error instead of calling
18325 find_function_ulps.
18326 (print_complex_max_error): Use prev_real_max_error and
18327 prev_imag_max_error instead of calling find_complex_function_ulps.
18328 (check_float_internal): Take max_ulp parameter instead of calling
18329 find_test_ulps. Don't call print_ulps.
18330 (check_float): Update call to check_float_internal.
18331 (check_complex): Update calls to check_float_internal.
18332 (START): Pass argument to init_max_error.
18333 * math/gen-libm-test.pl (%results): Don't include "kind"
18334 information.
18335 (parse_ulps): Don't handle ulps of individual tests.
18336 (print_ulps_file): Likewise.
18337 (output_ulps): Likewise.
18338 * math/README.libm-test: Update.
18339 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
18340 individual tests.
18341 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
18342 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
18343 * sysdeps/arm/libm-test-ulps: Likewise.
18344 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
18345 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
18346 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
18347 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
18348 * sysdeps/microblaze/libm-test-ulps: Likewise.
18349 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
18350 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
18351 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18352 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
18353 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18354 * sysdeps/sh/libm-test-ulps: Likewise.
18355 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18356 * sysdeps/tile/libm-test-ulps: Likewise.
18357 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18358
45adef3c
JM
183592014-03-04 Joseph Myers <joseph@codesourcery.com>
18360
18361 * math/libm-test.inc (print_complex_max_error): Check separately
18362 whether real and imaginary errors are within allowed range and
18363 pass 0 to print_complex_function_ulps instead of value within
18364 allowed range.
18365
000232b9
SP
183662014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18367
d4b17258
SP
18368 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
18369 formatting.
18370 (get_handles_fopen): Likewise.
18371 (do_write_test): Likewise.
18372
091eff71
SP
18373 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
18374
fa3cd248
SP
18375 * libio/fileops.c (do_ftell): Use cached offset when
18376 available.
18377 * libio/iofwide.c (do_ftell_wide): Likewise.
18378 * libio/iofdopen.c (_IO_new_fdopen): Don't use
18379 _IO_file_attach.
18380 * libio/wfileops.c (_IO_fwide): Don't cache offset.
18381
000232b9
SP
18382 [BZ #16532]
18383 * libio/libioP.h (get_file_offset): New function.
18384 * libio/fileops.c (get_file_offset): Likewise.
18385 (do_ftell): Likewise.
18386 (_IO_new_file_seekoff): Split out ftell logic.
18387 * libio/wfileops.c (do_ftell_wide): Likewise.
18388 (_IO_wfile_seekoff): Split out ftell logic.
18389 * libio/tst-ftell-active-handler.c: New test case.
18390 * libio/Makefile (tests): Add it.
18391
116f4d1a
RM
183922014-03-03 Roland McGrath <roland@hack.frob.com>
18393
18394 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
18395 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
18396
532a6035
SP
183972014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
18398
18399 [BZ #16639]
18400 * nscd/connections.c (nscd_init): Call do_exit.
18401 (start_threads): Call do_exit and notify_parent.
18402 (begin_drop_privileges): Call do_exit.
18403 (finish_drop_privileges): Likewise.
18404 * nscd/selinux.c (preserve_capabilities): Likewise.
18405 (install_real_capabilities): Likewise.
18406 (nscd_selinux_enabled): Likewise.
18407 (avc_create_thread): Likewise.
18408 (avc_alloc_lock): Likewise.
18409 (nscd_avc_init): Likewise.
18410 * nscd/nscd.c (parent_fd): New static variable.
18411 (main): Create a pipe between parent and child processes.
18412 Skip closing parent_fd.
18413 (monitor_child): New function.
18414 (do_exit): Likewise.
18415 (notify_parent): Likewise.
18416 * nscd/nscd.h (notify_parent): Likewise.
18417 (do_exit): Likewise.
18418
d6285c9f
CD
184192014-03-03 Carlos O'Donell <carlos@redhat.com>
18420
18421 * malloc/malloc.c (__libc_calloc): Revert last change.
18422
2b85d2a0
AZ
184232014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18424
18425 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18426
c7debbdf
RS
184272014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18428
18429 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
18430 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
18431 implementation.
18432 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18433 (__libc_ifunc_impl_list): Likewise.
18434 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
18435 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
18436 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
18437 * string/strrchr.c: Define STRRCHR.
18438
235eed86
OB
184392014-02-28 Ondřej Bílka <neleai@seznam.cz>
18440
18441 * benchtest/bench-strtok.c (simple_strtok): Delete.
18442 (strtok_string): Use as benchmark.
18443 * string/strtok (STRTOK): New macro.
18444
8e25d1e7
CD
184452014-02-28 Carlos O'Donell <carlos@redhat.com>
18446
ef563f92
CD
18447 * manual/threads.texi: Add header and standard comments to all
18448 functions.
18449
8e25d1e7
CD
18450 * elf/dl-lookup.c (check_match): New function.
18451 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
18452 (do_lookup_x): Remove nested function check_match. Use non-nested
18453 function check_match.
18454
ff71cc37
RM
184552014-02-28 Roland McGrath <roland@hack.frob.com>
18456
f08e9a26
RM
18457 * csu/Makefile (generated, before-compile): Use += rather than =.
18458 * catgets/Makefile (generated, generated-dirs): Likewise.
18459 * debug/Makefile (generated): Likewise.
18460 * dlfcn/Makefile (generated): Likewise.
18461 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
18462 * iconvdata/Makefile (before-compile, generated): Likewise.
18463 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
18464 * libio/Makefile (generated): Likewise.
18465 * malloc/Makefile (generated): Likewise.
18466 * manual/Makefile (generated, generated-dirs): Likewise.
18467 * misc/Makefile (generated): Likewise.
18468 * posix/Makefile (generated): Likewise.
18469 * resolv/Makefile (generated): Likewise.
18470 * sunrpc/Makefile (generated, generated-dirs): Likewise.
18471 * timezone/Makefile (generated, generated-dirs): Likewise.
18472
ff71cc37
RM
18473 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
18474
fe13a20c
AZ
184752014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18476
57f41c40
AS
18477 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
18478 power8 implementation.
18479 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
18480 file: POWER8 llround ifunc implementation.
18481 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
18482 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
18483 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
18484 POWER8 llround implementation.
18485
57f41c40
AS
18486 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
18487 power8 implementation.
18488 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
18489 file: POWER8 llrint ifunc implementation.
18490 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
18491 Add POWER8 implementation.
1ad8950a
AZ
18492 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
18493 POWER8 llrint implementation.
18494
57f41c40
AS
18495 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
18496 power8 implementation.
18497 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
18498 file: POWER8 finite ifunc implementation.
18499 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
18500 Add POWER8 implementation.
cac626d6
AZ
18501 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
18502 Likewise.
18503 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
18504 POWER8 finite implementation.
18505 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
18506
57f41c40
AS
18507 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
18508 power8 implementation.
18509 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
18510 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
18511 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
18512 POWER8 implementation.
18513 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
18514 Likewise.
57f41c40
AS
18515 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
18516 isinf implementation.
4393fc11
AZ
18517 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
18518
57f41c40
AS
18519 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
18520 (INIT_ARCH): Add hwcap2 initialization.
18521 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
18522 power8 implementation.
18523 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
18524 file: POWER8 isnan ifunc implementation.
487972ae
AZ
18525 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
18526 POWER8 implementation.
18527 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
18528 Likewise.
57f41c40
AS
18529 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
18530 isnan implementation.
487972ae
AZ
18531 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
18532
7d92b787
JY
185332014-02-27 Joey Ye <joey.ye@arm.com>
18534
18535 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
18536 (_FP_NANFRAC_Q): Set to zero.
18537
1cadc858
SP
185382014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
18539
18540 [BZ #16623]
18541 * math/auto-libm-test-in: New test inputs.
18542 * math/auto-libm-test-out: Regenerate.
18543 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
18544 and DA.
18545 (__cos): Likewise.
18546 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
18547
f8c17e79
JM
185482014-02-27 Joseph Myers <joseph@codesourcery.com>
18549
18550 * scripts/evaluate-test.sh: Take new argument indicating whether
18551 failure is expected.
18552 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
18553 indicating whether failure is expected.
18554 * conform/Makefile (test-xfail-run-conformtest): New variable.
18555 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
18556 level.
18557 * posix/Makefile (test-xfail-annexc): New variable.
18558 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
18559
a5f891ac
JM
185602014-02-26 Joseph Myers <joseph@codesourcery.com>
18561
18562 * argp/Makefile: Include Makeconfig immediately after defining
18563 subdir.
18564 * assert/Makefile: Likewise.
18565 * benchtests/Makefile: Likewise.
18566 * catgets/Makefile: Likewise.
18567 * conform/Makefile: Likewise.
18568 * crypt/Makefile: Likewise.
18569 * csu/Makefile: Likewise.
18570 (all): Remove target.
18571 * ctype/Makefile: Include Makeconfig immediately after defining
18572 subdir.
18573 * debug/Makefile: Likewise.
18574 * dirent/Makefile: Likewise.
18575 * dlfcn/Makefile: Likewise.
18576 * gmon/Makefile: Likewise.
18577 * gnulib/Makefile: Likewise.
18578 * grp/Makefile: Likewise.
18579 * gshadow/Makefile: Likewise.
18580 * hesiod/Makefile: Likewise.
18581 * hurd/Makefile: Likewise.
18582 (all): Remove target.
18583 * iconvdata/Makefile: Include Makeconfig immediately after
18584 defining subdir.
18585 * inet/Makefile: Likewise.
18586 * intl/Makefile: Likewise.
18587 * io/Makefile: Likewise.
18588 * libio/Makefile: Likewise.
18589 (all): Remove target.
18590 * locale/Makefile: Include Makeconfig immediately after defining
18591 subdir.
18592 * login/Makefile: Likewise.
18593 * mach/Makefile: Likewise.
18594 (all): Remove target.
18595 * malloc/Makefile: Include Makeconfig immediately after defining
18596 subdir.
18597 (all): Remove target.
18598 * manual/Makefile: Include Makeconfig immediately after defining
18599 subdir.
18600 * math/Makefile: Likewise.
18601 * misc/Makefile: Likewise.
18602 * nis/Makefile: Likewise.
18603 * nss/Makefile: Likewise.
18604 * po/Makefile: Likewise.
18605 (all): Remove target.
18606 * posix/Makefile: Include Makeconfig immediately after defining
18607 subdir.
18608 * pwd/Makefile: Likewise.
18609 * resolv/Makefile: Likewise.
18610 * resource/Makefile: Likewise.
18611 * rt/Makefile: Likewise.
18612 * setjmp/Makefile: Likewise.
18613 * shadow/Makefile: Likewise.
18614 * signal/Makefile: Likewise.
18615 * socket/Makefile: Likewise.
18616 * soft-fp/Makefile: Likewise.
18617 * stdio-common/Makefile: Likewise.
18618 * stdlib/Makefile: Likewise.
18619 * streams/Makefile: Likewise.
18620 * string/Makefile: Likewise.
18621 * sunrpc/Makefile: Likewise.
18622 (all): Remove target.
18623 * sysvipc/Makefile: Include Makeconfig immediately after defining
18624 subdir.
18625 * termios/Makefile: Likewise.
18626 * time/Makefile: Likewise.
18627 * timezone/Makefile: Likewise.
18628 (all): Remove target.
18629 * wcsmbs/Makefile: Include Makeconfig immediately after defining
18630 subdir.
18631 * wctype/Makefile: Likewise.
18632
5b456e9d
SE
186332014-02-26 Steve Ellcey <sellcey@mips.com>
18634
18635 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
18636 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
18637 (libc_feholdexcept_setround_mips): Ditto.
18638 (libc_feholdsetround): New.
18639 (libc_feholdsetroundf): New.
18640 (libc_feholdsetroundl): New.
18641 (libc_feupdateenv_test_mips): New.
18642 (libc_feupdateenv_test): New.
18643 (libc_feupdateenv_testf): New.
18644 (libc_feupdateenv_testl): New.
18645 (libc_feresetround): New.
18646 (libc_feresetroundf): New.
18647 (libc_feresetroundl): New.
18648 (libc_fetestexcept_mips): New.
18649 (libc_fetestexcept): New.
18650 (libc_fetestexceptf): New.
18651 (libc_fetestexceptl): New.
18652 (HAVE_RM_CTX): New.
18653 (libc_feholdexcept_setround_mips_ctx): New.
18654 (libc_feholdexcept_setround_ctx): New.
18655 (libc_feholdexcept_setroundf_ctx): New.
18656 (libc_feholdexcept_setroundl_ctx): New.
18657 (libc_fesetenv_mips_ctx): New.
18658 (libc_fesetenv_ctx): New.
18659 (libc_fesetenv_ctxf): New.
18660 (libc_fesetenv_ctxl): New.
18661 (libc_feupdateenv_mips_ctx): New.
18662 (libc_feupdateenv_ctx): New.
18663 (libc_feupdateenvf_ctx): New.
18664 (libc_feupdateenvl_ctx): New.
18665 (libc_feholdsetround_mips_ctx): New.
18666 (libc_feholdsetround_ctx): New.
18667 (libc_feholdsetroundf_ctx): New.
18668 (libc_feholdsetroundl_ctx): New.
18669 (libc_feresetround_mips_ctx): New.
18670 (libc_feresetround_ctx): New.
18671 (libc_feresetroundf_ctx): New.
18672 (libc_feresetroundl_ctx): New.
18673
085d0e35
CD
186742014-02-26 Carlos O'Donell <carlos@redhat.com>
18675
f067bf1f
CD
18676 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
18677
085d0e35
CD
18678 * manual/ipc.texi: New file.
18679 * manual/Makefile (chapters): Add ipc.
18680 * manual/job.texi: Add "Inter-Process Communication" to next.
18681 * manual/process.texi: Add "Inter-Process Communication" to prev.
18682
86e58c08
AZ
186832014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18684
18685 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18686
4248f0da
OB
186872014-02-26 Ondřej Bílka <neleai@seznam.cz>
18688
18689 * malloc/malloc.c (__libc_calloc): Simplify implementation.
18690
cf822e3c
OB
18691 * manual/arith.texi: Fix spaces after sentences.
18692 * manual/charset.texi: Likewise.
18693 * manual/errno.texi: Likewise.
18694 * manual/install.texi: Likewise.
18695 * manual/llio.texi: Likewise.
18696 * manual/locale.texi: Likewise.
18697 * manual/maint.texi: Likewise.
18698 * manual/math.texi: Likewise.
18699 * manual/memory.texi: Likewise.
18700 * manual/message.texi: Likewise.
18701 * manual/probes.texi: Likewise.
18702 * manual/resource.texi: Likewise.
18703 * manual/signal.texi: Likewise.
18704 * manual/socket.texi: Likewise.
18705 * manual/stdio.texi: Likewise.
18706 * manual/string.texi: Likewise.
18707 * manual/time.texi: Likewise.
18708 * manual/users.texi: Likewise.
18709
ade40b10
CD
187102014-02-25 Carlos O'Donell <carlos@redhat.com>
18711
18712 [BZ #16632]
18713 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
18714 _DEFAULT_SOURCE is defined.
18715
d0503676
CD
187162014-02-25 Ulrich Drepper <drepper@gmail.com>
18717 Carlos O'Donell <carlos@redhat.com>
18718
18719 [BZ #16613]
18720 * elf/dl-tls.c (_dl_count_modids): New function.
18721 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
18722 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
18723 audit library and increment generation counter.
18724 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
18725 * elf/tst-audit9.c: New file.
18726 * elf/tst-auditmod9a.c: New file.
18727 * elf/tst-auditmod9b.c: New file.
18728 * elf/Makefile: Add rules to build and run tst-audit9.
18729
4cbf380c
FW
187302014-02-25 Florian Weimer <fweimer@redhat.com>
18731
18732 [BZ #15347]
18733 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
18734
80a56cc3
WN
187352014-02-25 Will Newton <will.newton@linaro.org>
18736
18737 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
18738 (__longjmp): Restore sp and lr before restoring callee
18739 saved registers. Add longjmp and longjmp_target
18740 SystemTap probe point.
18741 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
18742 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
18743 Define to zero to match jmpbuf layout.
18744 * sysdeps/arm/setjmp.S: Include stap-probe.h.
18745 (__sigsetjmp): Save sp and lr before saving callee
18746 saved registers. Add setjmp SystemTap probe point.
18747
3ea0f74e
SL
187482014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
18749
18750 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18751
b04acb26
AS
187522014-02-24 Andreas Schwab <schwab@suse.de>
18753
18754 [BZ #15804]
18755 * elf/pldd.c (wait_for_ptrace_stop): New function.
18756 (main): Call it after attaching.
18757
098ad55c
RM
187582014-02-22 Roland McGrath <roland@hack.frob.com>
18759
d4ec6ae1
RM
18760 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
18761 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
18762 Versions files is now verboten.
18763 * hurd/Versions (libc: GLIBC_2.0):
18764 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
18765 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
18766 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
18767 * mach/Versions: Likewise.
18768
098ad55c
RM
18769 * csu/Versions: Remove unused %include.
18770 * resolv/Versions: Likewise.
18771
acd7f096
JM
187722014-02-21 Joseph Myers <joseph@codesourcery.com>
18773
f0881698
JM
18774 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
18775 ($(objpfx)check-local-headers.out): Likewise.
18776 ($(objpfx)begin-end-check.out): Likewise.
18777 * Makerules (check-abi-%.out): Likewise.
18778 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
18779 ($(objpfx)test2.cat): Likewise.
18780 ($(objpfx)de/libc.cat): Likewise.
18781 ($(objpfx)test-gencat.out): Likewise.
18782 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
18783 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
18784 ($(objpfx)noload-mem): Likewise.
18785 ($(objpfx)tst-pathopt.out): Likewise.
18786 ($(objpfx)tst-rtld-load-self.out): Likewise.
18787 ($(objpfx)tst-array1-cmp.out): Likewise.
18788 ($(objpfx)tst-array1-static-cmp.out): Likewise.
18789 ($(objpfx)tst-array2-cmp.out): Likewise.
18790 ($(objpfx)tst-array3-cmp.out): Likewise.
18791 ($(objpfx)tst-array4-cmp.out): Likewise.
18792 ($(objpfx)tst-array5-cmp.out): Likewise.
18793 ($(objpfx)tst-array5-static-cmp.out): Likewise.
18794 ($(objpfx)check-textrel.out): Likewise.
18795 ($(objpfx)check-execstack.out): Likewise.
18796 ($(objpfx)check-localplt.out): Likewise.
18797 ($(objpfx)order2-cmp.out): Likewise.
18798 ($(objpfx)tst-leaks1-mem): Likewise.
18799 ($(objpfx)tst-leaks1-static-mem): Likewise.
18800 ($(objpfx)tst-initorder-cmp.out): Likewise.
18801 ($(objpfx)tst-initorder2-cmp.out): Likewise.
18802 ($(objpfx)tst-unused-dep.out): Likewise.
18803 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
18804 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
18805 * iconv/Makefile (test-iconvconfig): Likewise.
18806 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
18807 ($(objpfx)iconv-test.out): Likewise.
18808 ($(objpfx)tst-tables.out): Likewise.
18809 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
18810 ($(objpfx)tst-gettext.out): Likewise.
18811 ($(objpfx)tst-translit.out): Likewise.
18812 ($(objpfx)tst-gettext2.out): Likewise.
18813 ($(objpfx)tst-gettext4.out): Likewise.
18814 ($(objpfx)tst-gettext6.out): Likewise.
18815 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
18816 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
18817 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
18818 ($(objpfx)tst-fopenloc-mem.out): Likewise.
18819 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
18820 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
18821 * posix/Makefile ($(objpfx)globtest.out): Likewise.
18822 ($(objpfx)wordexp-tst.out): Likewise.
18823 ($(objpfx)annexc.out): Likewise.
18824 ($(objpfx)tst-fnmatch-mem): Likewise.
18825 ($(objpfx)bug-regex2-mem): Likewise.
18826 ($(objpfx)bug-regex14-mem): Likewise.
18827 ($(objpfx)bug-regex21-mem): Likewise.
18828 ($(objpfx)bug-regex31-mem): Likewise.
18829 ($(objpfx)tst-vfork3-mem): Likewise.
18830 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
18831 ($(objpfx)tst-pcre-mem): Likewise.
18832 ($(objpfx)tst-boost-mem): Likewise.
18833 ($(objpfx)tst-getconf.out): Likewise.
18834 ($(objpfx)bug-ga2-mem): Likewise.
18835 ($(objpfx)bug-glob2-mem): Likewise.
18836 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
18837 ($(objpfx)mtrace-tst-leaks2): Likewise.
18838 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
18839 ($(objpfx)tst-printf.out): Likewise.
18840 ($(objpfx)tst-setvbuf1.out): Likewise.
18841 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
18842 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
18843 ($(objpfx)tst-fmtmsg.out): Likewise.
18844 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
18845 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
18846
acd7f096
JM
18847 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
18848 * bits/sigaction.h [__USE_MISC]: Likewise.
18849 * bits/waitstatus.h: Update #endif comments.
18850 * ctype/ctype.h: Likewise.
18851 * dirent/dirent.h: Likewise.
18852 [__USE_MISC]: Remove redundant conditionals.
18853 * grp/grp.h: Update #endif comments.
18854 [__USE_GNU]: Remove redundant conditionals.
18855 [__USE_MISC]: Likewise.
18856 * inet/netinet/in.h [__USE_GNU]: Likewise.
18857 * io/sys/stat.h [__USE_MISC]: Likewise.
18858 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
18859 * libio/bits/stdio.h: Update #endif comments.
18860 [__USE_MISC]: Remove redundant conditionals.
18861 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
18862 * libio/stdio.h: Update #endif comments.
18863 [__USE_MISC]: Remove redundant conditionals.
18864 * math/bits/math-finite.h [__USE_MISC]: Likewise.
18865 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
18866 * math/math.h: Update #else and #endif comments.
18867 [__USE_MISC]: Remove redundant conditionals.
18868 * misc/sys/uio.h: Update #endif comments.
18869 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
18870 * posix/glob.h [__USE_MISC]: Likewise.
18871 * posix/sys/types.h: Update #endif comments.
18872 [__USE_MISC]: Remove redundant conditionals.
18873 * posix/sys/wait.h: Update #endif comments.
18874 [__USE_MISC]: Remove redundant conditionals.
18875 * posix/unistd.h: Update #endif comments.
18876 [__USE_MISC]: Remove redundant conditionals.
18877 * pwd/pwd.h [__USE_GNU]: Likewise.
18878 [__USE_MISC]: Likewise.
18879 * resolv/netdb.h [__USE_GNU]: Likewise.
18880 * signal/signal.h: Update #endif comments.
18881 [__USE_MISC]: Remove redundant conditionals.
18882 * stdlib/stdlib.h: Update #else and #endif comments.
18883 [__USE_MISC]: Remove redundant conditionals.
18884 [__USE_GNU]: Likewise.
18885 * string/bits/string2.h [__USE_MISC]: Likewise.
18886 * string/string.h: Update #endif comments.
18887 [__USE_MISC]: Remove redundant conditionals.
18888 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
18889 Likewise.
18890 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
18891 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
18892 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
18893 Likewise.
18894 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
18895 Likewise.
18896 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
18897 comments.
18898 [__USE_MISC]: Remove redundant conditionals.
18899 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
18900 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
18901 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
18902 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
18903 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
18904 Likewise.
18905 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
18906 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
18907 Likewise.
18908 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
18909 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
18910 Likewise.
18911 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
18912 Likewise.
18913 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
18914 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
18915 Likewise.
18916 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
18917 Likewise.
18918 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
18919 * sysdeps/x86/bits/string.h: Update #endif comments.
18920 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
18921 conditionals.
18922 * time/sys/time.h: Update #endif comments.
18923 * time/time.h: Likewise.
18924 [__USE_MISC]: Remove redundant conditionals.
18925
a5d82e4e
YG
189262014-02-21 Yury Gribov <y.gribov@samsung.com>
18927
18928 [BZ #16600]
18929 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
18930
9a80491d
AS
189312014-02-21 Andreas Schwab <schwab@linux-m68k.org>
18932
18933 * Versions.def (librt): Add GLIBC_2.17.
18934
105fa381
AC
189352014-02-21 Adam Conrad <adconrad@0c3.net>
18936
18937 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
18938 synonym for _SYS_AUXV_H to allow direct inclusion.
18939 * sysdeps/sparc/bits/hwcap.h: Likewise.
18940 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
18941 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
18942 * sysdeps/sparc/sysdep.h: Likewise.
18943
b8cd1c4e
SP
189442014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18945
18946 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
18947
bd939d23
RS
189482014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18949
18950 * benchtests/bench-strrchr.c: Print length instead of position.
18951
5d7b57ca
JM
189522014-02-20 Joseph Myers <joseph@codesourcery.com>
18953
bc688c10
JM
18954 [BZ #16611]
18955 * sysdeps/unix/sysv/linux/kernel-features.h
18956 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
18957 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
18958 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
18959 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
18960 Likewise.
18961 [__i386__ || __powerpc__ || __sh__ || __sparc__]
18962 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
18963 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
18964 (__ASSUME_SENDMMSG): Define instead of using previous
18965 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
18966 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18967 (__ASSUME_SENDMMSG_SYSCALL): Define.
18968 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18969 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
18970 Likewise.
18971 * sysdeps/unix/sysv/linux/arm/kernel-features.h
18972 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
18973 Likewise.
18974 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18975 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
18976 Likewise.
18977 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
18978 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
18979 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
18980 [__ASSUME_SENDMMSG]: Change conditionals to
18981 [__ASSUME_SENDMMSG_SOCKETCALL].
18982 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18983 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
18984 Define.
18985 * sysdeps/unix/sysv/linux/mips/kernel-features.h
18986 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
18987 Likewise.
18988 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
18989 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
18990 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
18991 [!__ASSUME_SENDMMSG]: Change conditional to
18992 [!__ASSUME_SENDMMSG_SOCKETCALL].
18993 * sysdeps/unix/sysv/linux/tile/kernel-features.h
18994 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
18995 Define.
18996
0e31b18c
JM
18997 [BZ #16610]
18998 * sysdeps/unix/sysv/linux/kernel-features.h
18999 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
19000 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
19001 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
19002 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
19003 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
19004 [__i386__ || __sparc__]
19005 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
19006 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
19007 (__ASSUME_RECVMMSG): Define instead of using previous
19008 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
19009 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
19010 (__ASSUME_RECVMMSG_SYSCALL): Define.
19011 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
19012 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
19013 Likewise.
19014 * sysdeps/unix/sysv/linux/arm/kernel-features.h
19015 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
19016 Likewise.
19017 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
19018 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
19019 Likewise.
19020 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
19021 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
19022 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
19023 [__ASSUME_RECVMMSG]: Change condition to
19024 [__ASSUME_RECVMMSG_SOCKETCALL].
19025 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19026 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
19027 Define.
19028 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
19029 * sysdeps/unix/sysv/linux/mips/kernel-features.h
19030 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
19031 Likewise.
19032 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
19033 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
19034 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
19035 [!__ASSUME_RECVMMSG]: Change condition to
19036 [!__ASSUME_RECVMMSG_SOCKETCALL].
19037 * sysdeps/unix/sysv/linux/tile/kernel-features.h
19038 (__ASSUME_RECVMMSG_SYSCALL): Define.
19039
dd481ccf
JM
19040 [BZ #16609]
19041 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
19042 __powerpc__ || __s390__ || __sh__ || __sparc__]
19043 (__ASSUME_SOCKETCALL): Define.
19044 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
19045 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
19046 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
19047 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
19048 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
19049 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
19050 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
19051 (__ASSUME_ACCEPT4): Define instead of using previous
19052 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
19053 __powerpc__ || __sparc__ || __s390__)] condition.
19054 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
19055 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
19056 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
19057 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
19058 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
19059 [!__ASSUME_ACCEPT4]: Change condition to
19060 [!__ASSUME_ACCEPT4_SOCKETCALL].
19061 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
19062 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
19063 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
19064 * sysdeps/unix/sysv/linux/arm/kernel-features.h
19065 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
19066 __ASSUME_ACCEPT4_SYSCALL.
19067 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
19068 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
19069 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
19070 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
19071 __ASSUME_ACCEPT4_SYSCALL.
19072 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
19073 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
19074 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
19075 [__ASSUME_ACCEPT4]: Change condition to
19076 [__ASSUME_ACCEPT4_SOCKETCALL].
19077 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19078 (__ASSUME_SOCKETCALL): Define.
19079 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
19080 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19081 (__ASSUME_SOCKETCALL): Define.
19082 (__ASSUME_ACCEPT4): Remove.
19083 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
19084 Define.
19085 * sysdeps/unix/sysv/linux/mips/kernel-features.h
19086 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
19087 Likewise.
19088 * sysdeps/unix/sysv/linux/tile/kernel-features.h
19089 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
19090
5d7b57ca
JM
19091 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
19092 macro.
19093 (HWCAP_ARM_LPAE): Likewise.
19094 (HWCAP_ARM_EVTSTRM): Likewise.
19095 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
19096 Add vpfd32, lpae and evtstrm.
19097 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
19098 Increase to 22.
19099
63689d61
JM
191002014-02-19 Joseph Myers <joseph@codesourcery.com>
19101
19102 * math/auto-libm-test-in: Add tests of clog10.
19103 * math/auto-libm-test-out: Regenerated.
19104 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
19105 * sysdeps/i386/fpu/libm-test-ulps: Update.
19106 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19107
ab09bf61
AS
191082014-02-18 Andreas Schwab <schwab@suse.de>
19109
19110 [BZ #16574]
19111 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
19112 Store non-zero if the second buffer was newly allocated.
19113 (send_dg): Likewise.
19114 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
19115 to send_vc and send_dg.
19116 (res_nsend): Pass NULL for ansp2_malloced.
19117 * resolv/res_query.c (__libc_res_nquery): Add parameter
19118 answerp2_malloced and pass it down to __libc_res_nsend.
19119 (res_nquery): Pass additional NULL to __libc_res_nquery.
19120 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
19121 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
19122 second answer buffer if answerp2_malloced was set.
19123 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
19124 (__libc_res_nquerydomain): Add parameter
19125 answerp2_malloced and pass it down to __libc_res_nquery.
19126 (res_nquerydomain): Pass additional NULL to
19127 __libc_res_nquerydomain.
19128 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
19129 additional NULL to __libc_res_nsend and __libc_res_nquery.
19130 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
19131 additional NULL to __libc_res_nsearch.
19132 (_nss_dns_gethostbyname4_r): Revert last change. Use new
19133 parameter of __libc_res_nsearch to check for separately allocated
19134 second buffer.
19135 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
19136 __libc_res_nquery.
19137 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
19138 additional NULL to __libc_res_nquery.
19139 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
19140 __libc_res_nsearch.
19141 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
19142 * include/resolv.h: Update prototypes of __libc_res_nquery,
19143 __libc_res_nsearch, __libc_res_nsend.
19144
a4fb7861
JM
191452014-02-18 Joseph Myers <joseph@codesourcery.com>
19146
c6af2d89
JM
19147 * math/auto-libm-test-in: Add tests of fma.
19148 * math/auto-libm-test-out: Regenerated.
19149 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
19150 (fma_towardzero_test_data): Likewise.
19151 (fma_downward_test_data): Likewise.
19152 (fma_upward_test_data): Likewise.
19153 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
19154 mpc_mode.
19155 (rounding_modes): Add values for new field.
19156 (func_calc_method): Add value mpfr_fff_f.
19157 (func_calc_desc): Add mpfr_fff_f union field.
19158 (test_function): Add field exact_args.
19159 (FUNC): Add macro argument EXACT_ARGS.
19160 (FUNC_mpfr_f_f): Update call to FUNC.
19161 (FUNC_mpfr_f_f): Likewise.
19162 (FUNC_mpfr_ff_f): Likewise.
19163 (FUNC_mpfr_if_f): Likewise.
19164 (FUNC_mpc_c_f): Likewise.
19165 (FUNC_mpc_c_c): Likewise.
19166 (test_functions): Add fma. Update calls to FUNC.
19167 (handle_input_arg): Add argument exact_args.
19168 (add_test): Update call to handle_input_arg.
19169 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
19170 (output_for_one_input_case): Update call to calc_generic_results.
19171 Recalculate exact zero results in each rounding mode.
19172
a4fb7861
JM
19173 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
19174 non-negative before setting low bit.
19175 * math/auto-libm-test-in: Mark one asin test possibly having
19176 spurious underflow.
19177 * math/auto-libm-test-out: Regenerated.
19178 * sysdeps/i386/fpu/libm-test-ulps: Update.
19179 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19180
ef114eaf
DH
191812014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
19182
2b7f4f2c
SP
19183 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
19184 * sysdeps/unix/sysv/linux/microblaze: Move directory from
19185 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
19186 * README: Add missing listing for microblaze*-*-linux-gnu.
19187
8125aedc
AM
191882014-02-16 Ondřej Bílka <neleai@seznam.cz>
19189
19190 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
19191 duplicate code
19192
c70a4b1d
MF
191932014-02-16 Mike Frysinger <vapier@gentoo.org>
19194
19195 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
19196 * sysdeps/unix/sysv/linux/ia64: Move directory from
19197 ports/sysdeps/unix/sysv/linux/ia64.
19198 * README: Update listing for ia64-*-linux-gnu.
19199
591aeaf7
TD
192002014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
19201 Joseph Myers <joseph@codesourcery.com>
19202
19203 * Makeconfig (test-name): New variable.
19204 (evaluate-test): Likewise.
19205 * Makerules (do-test-clean): Remove .test-result files.
19206 (common-mostlyclean): Likewise.
19207 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
19208 * scripts/evaluate-test.sh: New file.
19209
6e89caf1
JM
192102014-02-14 Joseph Myers <joseph@codesourcery.com>
19211
7f98f180
JM
19212 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
19213 separate $(objpfx)tst-fopenloc-cmp.out and
19214 $(objpfx)tst-fopenloc-mem.out targets.
19215 (tests): Update dependencies.
19216 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
19217 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
19218 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
19219 (tst-rxspencer-no-utf8-ARGS): New variable.
19220 (tst-rxspencer-no-utf8-ENV): Likewise.
19221 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
19222 instead of $(objpfx)tst-rxspencer-mem.
19223 ($(objpfx)tst-rxspencer-mem): Change target to
19224 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
19225 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
19226 * posix/tst-rxspencer-no-utf8.c: New file.
19227
6e89caf1
JM
19228 * elf/Makefile ($(objpfx)order.out): Remove rule.
19229 [$(run-built-tests) = yes] (tests): Depend on
19230 $(objpfx)order-cmp.out.
19231 ($(objpfx)order-cmp.out): New rule.
19232 [$(run-built-tests) = yes] (tests): Depend on
19233 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
19234 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
19235 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
19236 $(objpfx)tst-array5-static-cmp.out.
19237 ($(objpfx)tst-array1.out): Remove rule.
19238 ($(objpfx)tst-array1-cmp.out): New rule.
19239 ($(objpfx)tst-array1-static.out): Remove rule.
19240 ($(objpfx)tst-array1-static-cmp.out): New rule.
19241 ($(objpfx)tst-array2.out): Remove rule.
19242 ($(objpfx)tst-array2-cmp.out): New rule.
19243 ($(objpfx)tst-array3.out): Remove rule.
19244 ($(objpfx)tst-array3-cmp.out): New rule.
19245 ($(objpfx)tst-array4.out): Remove rule.
19246 ($(objpfx)tst-array4-cmp.out): New rule.
19247 ($(objpfx)tst-array5.out): Remove rule.
19248 ($(objpfx)tst-array5-cmp.out): New rule.
19249 ($(objpfx)tst-array5-static.out): Remove rule.
19250 ($(objpfx)tst-array5-static-cmp.out): New rule.
19251 [$(run-built-tests) = yes] (tests): Depend on
19252 $(objpfx)order2-cmp.out.
19253 ($(objpfx)order2.out): Remove rule.
19254 ($(objpfx)order2-cmp.out): New rule.
19255 ($(objpfx)tst-initorder.out): Remove rule.
19256 [$(run-built-tests) = yes] (tests): Depend on
19257 $(objpfx)tst-initorder-cmp.out.
19258 ($(objpfx)tst-initorder-cmp.out): New rule.
19259 ($(objpfx)tst-initorder2.out): Remove rule.
19260 [$(run-built-tests) = yes] (tests): Depend on
19261 $(objpfx)tst-initorder2-cmp.out.
19262 ($(objpfx)tst-initorder2-cmp.out): New rule.
19263 [$(run-built-tests) = yes] (tests): Depend on
19264 $(objpfx)tst-unused-dep-cmp.out.
19265 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
19266 ($(objpfx)tst-unused-dep-cmp.out): New rule.
19267 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
19268 on $(objpfx)tst-setvbuf1-cmp.out.
19269 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
19270 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
19271 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
19272 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
19273 ($(objpfx)tst-svc.out): Remove rule.
19274 ($(objpfx)tst-svc-cmp.out): New rule.
19275
ed9a38e2
JM
192762014-02-13 Joseph Myers <joseph@codesourcery.com>
19277
19278 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
19279 * ctype/ctype.h [__USE_MISC]: Likewise.
19280 * dirent/dirent.h [__USE_MISC]: Likewise.
19281 * grp/grp.h [__USE_MISC]: Likewise.
19282 * io/fcntl.h [__USE_MISC]: Likewise.
19283 * io/sys/stat.h [__USE_MISC]: Likewise.
19284 * libio/stdio.h [__USE_MISC]: Likewise.
19285 * posix/unistd.h [__USE_MISC]: Likewise.
19286 * pwd/pwd.h [__USE_MISC]: Likewise.
19287 * stdlib.h [__USE_MISC]: Likewise.
19288 * string/bits/string2.h [__USE_MISC]: Likewise.
19289 * string/string.h [__USE_MISC]: Likewise.
19290 * time/time.h [__USE_MISC]: Likewise.
19291
d6680619
AS
192922014-02-13 Andreas Schwab <schwab@suse.de>
19293
19294 [BZ #16574]
19295 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
19296 second answer buffer if it was separately allocated.
19297
ace614b8
JM
192982014-02-12 Joseph Myers <joseph@codesourcery.com>
19299
743151ae
JM
19300 * sysdeps/mips/math-tests.h: Include <features.h>.
19301 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
19302 (ROUNDING_TESTS_long_double): Do not define.
19303 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
19304 (EXCEPTION_TESTS_long_double): Likewise.
19305 * sysdeps/mips/mips64/libm-test-ulps: Update.
19306
498afc54
JM
19307 * include/features.h (__USE_BSD): Remove macro definitions.
19308 (__USE_SVID): Likewise.
19309 (_BSD_SOURCE): Likewise.
19310 (_SVID_SOURCE): Likewise.
19311 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
19312 from definition of _DEFAULT_SOURCE.
19313 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
19314 [_DEFAULT_SOURCE].
19315 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
19316 * bits/mman.h [__USE_BSD]: Likewise.
19317 * bits/termios.h [__USE_BSD]: Likewise.
19318 * bits/waitstatus.h [__USE_BSD]: Likewise.
19319 * ctype/ctype.h [__USE_SVID]: Likewise.
19320 * dirent/dirent.h [__USE_BSD]: Likewise.
19321 * grp/grp.h [__USE_SVID]: Likewise.
19322 [__USE_BSD]: Likewise.
19323 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
19324 * io/fcntl.h [__USE_BSD]: Likewise.
19325 * io/ftw.h [__USE_BSD]: Likewise.
19326 * io/sys/stat.h [__USE_BSD]: Likewise.
19327 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
19328 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
19329 * libio/stdio.h [__USE_SVID]: Likewise.
19330 [__USE_BSD]: Likewise.
19331 * math/math.h [__USE_SVID]: Likewise.
19332 [__USE_BSD]: Likewise.
19333 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
19334 * misc/bits/syslog.h [__USE_BSD]: Likewise.
19335 * misc/search.h [__USE_SVID]: Likewise.
19336 * misc/sys/mman.h [__USE_BSD]: Likewise.
19337 * misc/sys/syslog.h [__USE_BSD]: Likewise.
19338 * misc/sys/uio.h [__USE_BSD]: Likewise.
19339 * posix/bits/unistd.h [__USE_BSD]: Likewise.
19340 * posix/glob.h [__USE_BSD]: Likewise.
19341 * posix/regex.h [__USE_BSD]: Likewise.
19342 * posix/sys/types.h [__USE_BSD]: Likewise.
19343 [__USE_SVID]: Likewise.
19344 * posix/sys/utsname.h [__USE_SVID]: Likewise.
19345 * posix/sys/wait.h [__USE_BSD]: Likewise.
19346 [__USE_SVID]: Likewise.
19347 * posix/unistd.h [__USE_BSD]: Likewise.
19348 [__USE_SVID]: Likewise.
19349 * pwd/pwd.h [__USE_SVID]: Likewise.
19350 * resolv/netdb.h [__USE_BSD]: Likewise.
19351 * setjmp/setjmp.h [__USE_BSD]: Likewise.
19352 * signal/signal.h [__USE_BSD]: Likewise.
19353 [__USE_SVID]: Likewise.
19354 * socket/sys/socket.h [__USE_BSD]: Likewise.
19355 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
19356 * stdlib/stdlib.h [__USE_BSD]: Likewise.
19357 [__USE_SVID]: Likewise.
19358 * string/bits/string2.h [__USE_BSD]: Likewise.
19359 [__USE_SVID]: Likewise.
19360 * string/bits/string3.h [__USE_BSD]: Likewise.
19361 * string/endian.h [__USE_BSD]: Likewise.
19362 * string/string.h [__USE_SVID]: Likewise.
19363 [__USE_BSD]: Likewise.
19364 * string/strings.h [__USE_BSD]: Likewise.
19365 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
19366 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
19367 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
19368 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
19369 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
19370 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
19371 Likewise.
19372 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
19373 Likewise.
19374 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
19375 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
19376 Likewise.
19377 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
19378 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
19379 Likewise.
19380 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
19381 Likewise.
19382 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
19383 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
19384 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
19385 Likewise.
19386 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
19387 Likewise.
19388 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
19389 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
19390 * termios/termios.h [__USE_BSD]: Likewise.
19391 * time/sys/time.h [__USE_BSD]: Likewise.
19392 * time/time.h [__USE_BSD]: Likewise.
19393 [__USE_SVID]: Likewise.
19394
dd7b064c
JM
19395 * Makefile (subdir_targets): Remove subdir_lint.out.
19396
a2c4c199
JM
19397 * stdio-common/Makefile (do-tst-unbputc): Remove target.
19398 (do-tst-printf): Likewise.
19399 (tests): Depend directly on $(objpfx)tst-unbputc.out and
19400 $(objpfx)tst-printf.out.
19401
8756f740
JM
19402 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
19403
1b6dd3f1
JM
19404 * Makerules (check-abi-%): Change target to
19405 $(objpfx)check-abi-%.out.
19406 (check-abi target): Update dependencies.
19407 (check-abi-pattern variable): Redirect output of diff to $@.
19408 (check-abi variable): Likewise.
19409 * elf/Makefile (check-abi): Update dependencies.
19410
ace614b8
JM
19411 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
19412 unused.
19413 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
19414 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
19415 subnormal range.
19416 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
19417 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
19418 value has largest subnormal exponent.
19419 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
19420 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
19421 * sysdeps/aarch64/soft-fp/sfp-machine.h
19422 (_FP_TININESS_AFTER_ROUNDING): New macro.
19423 * sysdeps/alpha/soft-fp/sfp-machine.h
19424 (_FP_TININESS_AFTER_ROUNDING): Likewise.
19425 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
19426 Likewise.
19427 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
19428 (_FP_TININESS_AFTER_ROUNDING): Likewise.
19429 * sysdeps/mips/soft-fp/sfp-machine.h
19430 (_FP_TININESS_AFTER_ROUNDING): Likewise.
19431 * sysdeps/powerpc/soft-fp/sfp-machine.h
19432 (_FP_TININESS_AFTER_ROUNDING): Likewise.
19433 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
19434 Likewise.
19435 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
19436 (_FP_TININESS_AFTER_ROUNDING): Likewise.
19437 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
19438 (_FP_TININESS_AFTER_ROUNDING): Likewise.
19439 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
19440 Likewise.
19441
fbfdf9cb
DAS
194422014-02-12 Dylan Alex Simon <dylan@dylex.net>
19443
19444 [BZ #16545]
19445 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
19446 model 1.
19447
68b7efaa
RH
194482014-02-12 Richard Henderson <rth@redhat.com>
19449
c70a4b1d 19450 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
19451 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
19452 * sysdeps/unix/sysv/linux/alpha: Move directory from
19453 ports/sysdeps/unix/sysv/linux/alpha.
19454 * README: Update listing for alpha-*-linux-gnu.
19455
cb4a2928
JM
194562014-02-11 Joseph Myers <joseph@codesourcery.com>
19457
c941736c
JM
19458 * include/features.h: Update comment documenting feature test
19459 macros.
19460 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
19461 _DEFAULT_SOURCE.
19462 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
19463 (_SVID_SOURCE): Likewise.
19464 (_DEFAULT_SOURCE): Update description of default features.
19465 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
19466 with _GNU_SOURCE.
19467 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
19468 (S_ISVTX): Likewise.
19469 * manual/math.texi (Mathematical Constants): Likewise.
19470 * manual/signal.texi (Interrupted Primitives): Likewise.
19471 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
19472 * math/test-matherr.c (_SVID_SOURCE): Do not define.
19473 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
19474 Don't refer to _SVID_SOURCE in warning text.
19475
e8d8d7ec
JM
19476 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19477
cb4a2928
JM
19478 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
19479 already defined.
19480 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
19481 * sysdeps/mips/dl-lookup.c: Remove.
19482 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
19483
7e6424e3
AK
194842014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
19485
19486 [BZ #16447]
19487 * math/auto-libm-test-in: Add testcase for expl.
19488 * math/auto-libm-test-out: Regenerate.
19489 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
19490 calculation of unsafe.
19491 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
19492
75eff3fe
MS
194932014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
19494
19495 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
19496 * sysdeps/unix/sysv/linux/aarch64: Move directory from
19497 ports/sysdeps/unix/sysv/linux/aarch64.
19498 * README: Update listing for aarch64*-*-linux-gnu.
19499
d35f1e80
WN
195002014-02-11 Will Newton <will.newton@linaro.org>
19501
19502 * manual/probes.texi (Mathematical Function Probes): Use
19503 "triggered" instead of "hit".
19504
7b3436d4
WN
19505 * manual/probes.texi (Internal Probes): Add documentation
19506 of setjmp, longjmp and longjmp_target probes.
19507
b4f12ca3
WN
19508 * include/stap-probe.h: Add comment about probe argument
19509 format.
19510
c13a72b7
WN
19511 * malloc/mtrace.c (attribute_hidden): Remove unused macro
19512 definition. (tr_where, tr_freehook, tr_mallochook,
19513 tr_reallochook, tr_memalignhook): Use ANSI protoype.
19514
195b8165
DM
195152014-02-11 David S. Miller <davem@davemloft.net>
19516
19517 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
19518 processing int_tests.
19519
2ad7600b
JM
195202014-02-10 Joseph Myers <joseph@codesourcery.com>
19521
19522 * sysdeps/mips: Move directory from ports/sysdeps/mips.
19523 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
19524 * sysdeps/unix/sysv/linux/mips: Move directory from
19525 ports/sysdeps/unix/sysv/linux/mips.
19526 * README: Update listing for mips-*-linux-gnu and
19527 mips64-*-linux-gnu.
19528
73588a72
AS
195292014-02-10 Andreas Schwab <schwab@linux-m68k.org>
19530
19531 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
19532 * sysdeps/unix/sysv/linux/m68k: Move directory from
19533 ports/sysdeps/unix/sysv/linux/m68k.
19534 * README: Update listing for m68k-*-linux-gnu.
19535
4372980f
CM
195362014-02-10 Chris Metcalf <cmetcalf@tilera.com>
19537
19538 * sysdeps/tile: Move directory from ports/sysdeps/tile.
19539 * sysdeps/unix/sysv/linux/generic: Move directory from
19540 ports/sysdeps/unix/sysv/linux/generic.
19541 * sysdeps/unix/sysv/linux/tile: Move directory from
19542 ports/sysdeps/unix/sysv/linux/tile.
19543 * README: Update listing for tile*-*-linux-gnu.
19544
a1ffb40e
OB
195452014-02-10 Ondřej Bílka <neleai@seznam.cz>
19546
57f41c40
AS
19547 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
19548 __builtin_expect.
a1ffb40e
OB
19549 * benchtests/bench-memmem.c (simple_memmem): Likewise.
19550 * catgets/open_catalog.c (__open_catalog): Likewise.
19551 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
19552 * debug/confstr_chk.c: Likewise.
19553 * debug/fread_chk.c (__fread_chk): Likewise.
19554 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
19555 * debug/getgroups_chk.c: Likewise.
19556 * debug/mbsnrtowcs_chk.c: Likewise.
19557 * debug/mbsrtowcs_chk.c: Likewise.
19558 * debug/mbstowcs_chk.c: Likewise.
19559 * debug/memcpy_chk.c: Likewise.
19560 * debug/memmove_chk.c: Likewise.
19561 * debug/mempcpy_chk.c: Likewise.
19562 * debug/memset_chk.c: Likewise.
19563 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
19564 * debug/strcat_chk.c (__strcat_chk): Likewise.
19565 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
19566 * debug/strncat_chk.c (__strncat_chk): Likewise.
19567 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
19568 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
19569 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
19570 * debug/wcpncpy_chk.c: Likewise.
19571 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
19572 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
19573 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
19574 * debug/wcsncpy_chk.c: Likewise.
19575 * debug/wcsnrtombs_chk.c: Likewise.
19576 * debug/wcsrtombs_chk.c: Likewise.
19577 * debug/wcstombs_chk.c: Likewise.
19578 * debug/wmemcpy_chk.c: Likewise.
19579 * debug/wmemmove_chk.c: Likewise.
19580 * debug/wmempcpy_chk.c: Likewise.
19581 * debug/wmemset_chk.c: Likewise.
19582 * dirent/scandirat.c (SCANDIRAT): Likewise.
19583 * dlfcn/dladdr1.c (dladdr1): Likewise.
19584 * dlfcn/dladdr.c (dladdr): Likewise.
19585 * dlfcn/dlclose.c (dlclose_doit): Likewise.
19586 * dlfcn/dlerror.c (__dlerror): Likewise.
19587 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
19588 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
19589 * dlfcn/dlopen.c (dlopen_doit): Likewise.
19590 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
19591 * dlfcn/dlsym.c (dlsym_doit): Likewise.
19592 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
19593 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
19594 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
19595 Likewise.
19596 * elf/dl-conflict.c: Likewise.
19597 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
19598 * elf/dl-dst.h: Likewise.
19599 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
19600 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
19601 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
19602 * elf/dl-init.c (call_init, _dl_init): Likewise.
19603 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
19604 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
19605 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
19606 Likewise.
a1ffb40e
OB
19607 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
19608 Likewise.
19609 * elf/dl-minimal.c (__libc_memalign): Likewise.
19610 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
19611 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
19612 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
19613 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
19614 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
19615 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
19616 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
19617 * elf/dl-writev.h (_dl_writev): Likewise.
19618 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
19619 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
19620 (dl_main): Likewise.
a1ffb40e
OB
19621 * elf/setup-vdso.h (setup_vdso): Likewise.
19622 * grp/compat-initgroups.c (compat_call): Likewise.
19623 * grp/fgetgrent.c (fgetgrent): Likewise.
19624 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
19625 * grp/putgrent.c (putgrent): Likewise.
19626 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
19627 Likewise.
19628 * hurd/hurdinit.c: Likewise.
19629 * iconvdata/8bit-gap.c (struct): Likewise.
19630 * iconvdata/ansi_x3.110.c : Likewise.
19631 * iconvdata/big5.c : Likewise.
19632 * iconvdata/big5hkscs.c : Likewise.
19633 * iconvdata/cp1255.c: Likewise.
19634 * iconvdata/cp1258.c : Likewise.
19635 * iconvdata/cp932.c : Likewise.
19636 * iconvdata/euc-cn.c: Likewise.
19637 * iconvdata/euc-jisx0213.c : Likewise.
19638 * iconvdata/euc-jp.c: Likewise.
19639 * iconvdata/euc-jp-ms.c : Likewise.
19640 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
19641 * iconvdata/gb18030.c : Likewise.
19642 * iconvdata/gbbig5.c (const): Likewise.
19643 * iconvdata/gbgbk.c: Likewise.
19644 * iconvdata/gbk.c : Likewise.
19645 * iconvdata/ibm1364.c : Likewise.
19646 * iconvdata/ibm930.c : Likewise.
19647 * iconvdata/ibm932.c: Likewise.
19648 * iconvdata/ibm933.c : Likewise.
19649 * iconvdata/ibm935.c : Likewise.
19650 * iconvdata/ibm937.c : Likewise.
19651 * iconvdata/ibm939.c : Likewise.
19652 * iconvdata/ibm943.c: Likewise.
19653 * iconvdata/iso_11548-1.c: Likewise.
19654 * iconvdata/iso-2022-cn.c : Likewise.
19655 * iconvdata/iso-2022-cn-ext.c : Likewise.
19656 * iconvdata/iso-2022-jp-3.c: Likewise.
19657 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
19658 * iconvdata/iso-2022-kr.c : Likewise.
19659 * iconvdata/iso646.c (gconv_end): Likewise.
19660 * iconvdata/iso_6937-2.c : Likewise.
19661 * iconvdata/iso_6937.c : Likewise.
19662 * iconvdata/iso8859-1.c: Likewise.
19663 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
19664 * iconvdata/shift_jisx0213.c : Likewise.
19665 * iconvdata/sjis.c : Likewise.
19666 * iconvdata/t.61.c : Likewise.
19667 * iconvdata/tcvn5712-1.c : Likewise.
19668 * iconvdata/tscii.c: Likewise.
19669 * iconvdata/uhc.c : Likewise.
19670 * iconvdata/unicode.c (gconv_end): Likewise.
19671 * iconvdata/utf-16.c (gconv_end): Likewise.
19672 * iconvdata/utf-32.c (gconv_end): Likewise.
19673 * iconvdata/utf-7.c (base64): Likewise.
19674 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
19675 * iconv/gconv_close.c (__gconv_close): Likewise.
19676 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
19677 * iconv/gconv_simple.c (internal_ucs4_loop_single)
19678 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
19679 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
19680 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
19681 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
19682 * iconv/iconv.c (iconv): Likewise.
19683 * iconv/iconv_close.c: Likewise.
19684 * iconv/loop.c (SINGLE): Likewise.
19685 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
19686 * include/atomic.h: Likewise.
19687 * inet/inet6_option.c (option_alloc): Likewise.
19688 * intl/bindtextdom.c (set_binding_values): Likewise.
19689 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
19690 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
19691 * intl/localealias.c (read_alias_file): Likewise.
19692 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
19693 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
19694 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
19695 * libio/fmemopen.c (fmemopen): Likewise.
19696 * libio/iofgets.c (_IO_fgets): Likewise.
19697 * libio/iofgets_u.c (fgets_unlocked): Likewise.
19698 * libio/iofgetws.c (fgetws): Likewise.
19699 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
19700 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
19701 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
19702 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
19703 * locale/findlocale.c (_nl_find_locale): Likewise.
19704 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
19705 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
19706 Likewise.
19707 * locale/setlocale.c (setlocale): Likewise.
19708 * login/programs/pt_chown.c (main): Likewise.
19709 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
19710 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
19711 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
19712 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
19713 * math/e_exp2l.c: Likewise.
19714 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
19715 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
19716 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
19717 * math/s_catan.c (__catan): Likewise.
19718 * math/s_catanf.c (__catanf): Likewise.
19719 * math/s_catanh.c (__catanh): Likewise.
19720 * math/s_catanhf.c (__catanhf): Likewise.
19721 * math/s_catanhl.c (__catanhl): Likewise.
19722 * math/s_catanl.c (__catanl): Likewise.
19723 * math/s_ccosh.c (__ccosh): Likewise.
19724 * math/s_ccoshf.c (__ccoshf): Likewise.
19725 * math/s_ccoshl.c (__ccoshl): Likewise.
19726 * math/s_cexp.c (__cexp): Likewise.
19727 * math/s_cexpf.c (__cexpf): Likewise.
19728 * math/s_cexpl.c (__cexpl): Likewise.
19729 * math/s_clog10.c (__clog10): Likewise.
19730 * math/s_clog10f.c (__clog10f): Likewise.
19731 * math/s_clog10l.c (__clog10l): Likewise.
19732 * math/s_clog.c (__clog): Likewise.
19733 * math/s_clogf.c (__clogf): Likewise.
19734 * math/s_clogl.c (__clogl): Likewise.
19735 * math/s_csin.c (__csin): Likewise.
19736 * math/s_csinf.c (__csinf): Likewise.
19737 * math/s_csinh.c (__csinh): Likewise.
19738 * math/s_csinhf.c (__csinhf): Likewise.
19739 * math/s_csinhl.c (__csinhl): Likewise.
19740 * math/s_csinl.c (__csinl): Likewise.
19741 * math/s_csqrt.c (__csqrt): Likewise.
19742 * math/s_csqrtf.c (__csqrtf): Likewise.
19743 * math/s_csqrtl.c (__csqrtl): Likewise.
19744 * math/s_ctan.c (__ctan): Likewise.
19745 * math/s_ctanf.c (__ctanf): Likewise.
19746 * math/s_ctanh.c (__ctanh): Likewise.
19747 * math/s_ctanhf.c (__ctanhf): Likewise.
19748 * math/s_ctanhl.c (__ctanhl): Likewise.
19749 * math/s_ctanl.c (__ctanl): Likewise.
19750 * math/w_pow.c: Likewise.
19751 * math/w_powf.c: Likewise.
19752 * math/w_powl.c: Likewise.
19753 * math/w_scalb.c (sysv_scalb): Likewise.
19754 * math/w_scalbf.c (sysv_scalbf): Likewise.
19755 * math/w_scalbl.c (sysv_scalbl): Likewise.
19756 * misc/error.c (error_tail): Likewise.
19757 * misc/pselect.c (__pselect): Likewise.
19758 * nis/nis_callback.c (__nis_create_callback): Likewise.
19759 * nis/nis_call.c (__nisfind_server): Likewise.
19760 * nis/nis_creategroup.c (nis_creategroup): Likewise.
19761 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
19762 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
19763 * nis/nis_getservlist.c (nis_getservlist): Likewise.
19764 * nis/nis_lookup.c (nis_lookup): Likewise.
19765 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
19766 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
19767 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 19768 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
19769 * nis/nss_compat/compat-grp.c (getgrent_next_file)
19770 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
19771 * nis/nss_compat/compat-initgroups.c (add_group)
19772 (internal_getgrent_r): Likewise.
19773 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
19774 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
19775 * nis/nss_compat/compat-spwd.c (getspent_next_file)
19776 (internal_getspnam_r): Likewise.
19777 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
19778 (_nss_nis_getaliasbyname_r): Likewise.
19779 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
19780 (_nss_nis_getntohost_r): Likewise.
19781 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
19782 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
19783 (_nss_nis_getgrgid_r): Likewise.
19784 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
19785 (internal_nis_gethostent_r, internal_gethostbyname2_r)
19786 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
19787 (_nss_nis_gethostbyname4_r): Likewise.
19788 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
19789 (initgroups_netid): Likewise.
a1ffb40e 19790 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
19791 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
19792 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
19793 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
19794 (_nss_nis_getprotobynumber_r): Likewise.
19795 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
19796 (_nss_nis_getsecretkey): Likewise.
19797 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
19798 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
19799 (_nss_nis_getpwuid_r): Likewise.
19800 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
19801 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
19802 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
19803 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
19804 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
19805 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
19806 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
19807 Likewise.
57f41c40
AS
19808 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
19809 (_nss_nisplus_getntohost_r): Likewise.
19810 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
19811 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
19812 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
19813 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 19814 Likewise.
57f41c40
AS
19815 * nis/nss_nisplus/nisplus-initgroups.c
19816 (_nss_nisplus_initgroups_dyn): Likewise.
19817 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
19818 (_nss_nisplus_getnetbyaddr_r): Likewise.
19819 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
19820 (_nss_nisplus_getprotobynumber_r): Likewise.
19821 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
19822 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
19823 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
19824 Likewise.
57f41c40
AS
19825 * nis/nss_nisplus/nisplus-service.c
19826 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
19827 (_nss_nisplus_getservbyport_r): Likewise.
19828 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
19829 (_nss_nisplus_getspnam_r): Likewise.
19830 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
19831 Likewise.
a1ffb40e
OB
19832 * nscd/aicache.c (addhstaiX): Likewise.
19833 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
19834 * nscd/connections.c (register_traced_file, send_ro_fd)
19835 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
19836 (main_loop_epoll): Likewise.
a1ffb40e
OB
19837 * nscd/grpcache.c (addgrbyX): Likewise.
19838 * nscd/hstcache.c (addhstbyX): Likewise.
19839 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19840 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
19841 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
19842 (addinnetgrX): Likewise.
19843 * nscd/nscd-client.h (__nscd_acquire_maplock)
19844 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
19845 * nscd/nscd_getai.c (__nscd_getai): Likewise.
19846 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
19847 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
19848 Likewise.
19849 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
19850 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
19851 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
19852 (__nscd_get_map_ref): Likewise.
a1ffb40e 19853 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
19854 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
19855 Likewise.
a1ffb40e
OB
19856 * nscd/pwdcache.c (addpwbyX): Likewise.
19857 * nscd/selinux.c (preserve_capabilities): Likewise.
19858 * nscd/servicescache.c (addservbyX): Likewise.
19859 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
19860 * posix/fnmatch.c (fnmatch): Likewise.
19861 * posix/getopt.c (_getopt_internal_r): Likewise.
19862 * posix/glob.c (glob, glob_in_dir): Likewise.
19863 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
19864 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
19865 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
19866 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
19867 * resolv/res_init.c: Likewise.
19868 * resolv/res_mkquery.c (res_nmkquery): Likewise.
19869 * resolv/res_query.c (__libc_res_nquery): Likewise.
19870 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
19871 Likewise.
19872 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
19873 * stdio-common/perror.c (perror): Likewise.
19874 * stdio-common/printf_fp.c (___printf_fp): Likewise.
19875 * stdio-common/tmpnam.c (tmpnam): Likewise.
19876 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
19877 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
19878 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
19879 Likewise.
a1ffb40e
OB
19880 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
19881 * stdlib/putenv.c (putenv): Likewise.
19882 * stdlib/setenv.c (__add_to_environ): Likewise.
19883 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
19884 * stdlib/strtol_l.c (INTERNAL): Likewise.
19885 * string/memmem.c (memmem): Likewise.
19886 * string/strerror.c (strerror): Likewise.
19887 * string/strnlen.c (__strnlen): Likewise.
19888 * string/test-memmem.c (simple_memmem): Likewise.
19889 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
19890 * sunrpc/pm_getport.c (__get_socket): Likewise.
19891 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
19892 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
19893 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
19894 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
19895 Likewise.
19896 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
19897 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
19898 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
19899 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
19900 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
19901 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
19902 Likewise.
19903 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
19904 Likewise.
a1ffb40e
OB
19905 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
19906 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
19907 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19908 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
19909 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
19910 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
19911 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
19912 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
19913 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
19914 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
19915 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
19916 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
19917 Likewise.
19918 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
19919 Likewise.
19920 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
19921 Likewise.
19922 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
19923 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
19924 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
19925 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
19926 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
19927 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
19928 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
19929 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
19930 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
19931 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
19932 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
19933 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19934 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
19935 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
19936 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
19937 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
19938 Likewise.
a1ffb40e
OB
19939 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
19940 Likewise.
19941 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
19942 Likewise.
19943 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
19944 Likewise.
19945 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
19946 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19947 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
19948 Likewise.
19949 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
19950 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
19951 * sysdeps/posix/opendir.c (__opendirat): Likewise.
19952 * sysdeps/posix/sleep.c: Likewise.
19953 * sysdeps/posix/tempname.c: Likewise.
19954 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
19955 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
19956 Likewise.
57f41c40
AS
19957 * sysdeps/powerpc/powerpc32/dl-machine.h
19958 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
19959 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
19960 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
19961 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
19962 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
19963 Likewise.
19964 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
19965 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
19966 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
19967 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
19968 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
19969 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
19970 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
19971 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
19972 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19973 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
19974 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
19975 (elf_machine_lazy_rel): Likewise.
a1ffb40e 19976 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
19977 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
19978 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
19979 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
19980 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
19981 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
19982 * sysdeps/unix/grantpt.c (grantpt): Likewise.
19983 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
19984 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
19985 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
19986 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
19987 Likewise.
19988 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
19989 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
19990 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
19991 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
19992 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
19993 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
19994 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
19995 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
19996 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
19997 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
19998 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
19999 Likewise.
20000 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
20001 (__posix_fallocate64_l64): Likewise.
20002 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
20003 (posix_fallocate): Likewise.
57f41c40
AS
20004 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
20005 Likewise.
a1ffb40e 20006 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
20007 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
20008 (getifaddrs_internal): Likewise.
a1ffb40e
OB
20009 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
20010 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
20011 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
20012 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
20013 * sysdeps/unix/sysv/linux/posix_fallocate64.c
20014 (__posix_fallocate64_l64): Likewise.
20015 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
20016 Likewise.
20017 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
20018 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
20019 (__get_clockfreq): Likewise.
a1ffb40e
OB
20020 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
20021 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
20022 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
20023 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
20024 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
20025 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
20026 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
20027 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
20028 Likewise.
20029 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
20030 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
20031 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
20032 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
20033 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
20034 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
20035 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
20036 Likewise.
20037 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
20038 (posix_fallocate): Likewise.
20039 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
20040 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
20041 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
20042 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
20043 (elf_machine_rela, elf_machine_rela_relative)
20044 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
20045 * time/asctime.c (asctime_internal): Likewise.
20046 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
20047 * time/tzset.c (__tzset_parse_tz): Likewise.
20048 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
20049 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
20050 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
20051 * wcsmbs/wcsmbsload.h: Likewise.
20052
f3d338c9
OB
20053 [BZ #15894]
20054 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
20055
57f41c40
AS
20056 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
20057 (arena_get2): Remove THREAD_STATS conditionals.
20058 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
20059 (__malloc_stats, int): Likewise.
bdfe308a 20060
d674667c
MF
200612014-02-08 Mike Frysinger <vapier@gentoo.org>
20062
20063 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
20064 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
20065
6349768c
MF
20066 * manual/setjmp.texi: Fix typos/grammar errors.
20067
0b7c7473
MF
20068 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
20069 Only return early when n is <= 0. Delete unused return statement.
20070
ac8cc9e3
MF
20071 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
20072 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
20073 * debug/tst-longjmp_chk3.c: New file.
20074
c5bb8e23
MF
20075 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
20076 (test_main): Replace code with set_fortify_handler call.
20077 * debug/test-strcpy_chk.c: Likewise.
20078 * debug/tst-chk1.c: Likewise.
20079 * debug/tst-longjmp_chk.c: Likewise.
20080 * test-skeleton.c: Include fcntl.h & paths.h
20081 (set_fortify_handler): Define.
20082
10444e42
MF
20083 * debug/tst-longjmp_chk.c: Add header comment and include
20084 ../test-skeleton.c.
20085 (do_test): Mark static.
20086 (TEST_FUNCTION): Define.
20087
1e805e8d
MF
20088 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
20089 (IP_PMTUDISC_INTERFACE): Likewise.
20090 (IP_MULTICAST_IF): Likewise.
20091 (IP_MULTICAST_TTL): Likewise.
20092 (IP_MULTICAST_LOOP): Likewise.
20093 (IP_ADD_MEMBERSHIP): Likewise.
20094 (IP_DROP_MEMBERSHIP): Likewise.
20095 (IP_UNBLOCK_SOURCE): Likewise.
20096 (IP_BLOCK_SOURCE): Likewise.
20097 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
20098 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
20099 (IP_MSFILTER): Likewise.
20100 (MCAST_JOIN_GROUP): Likewise.
20101 (MCAST_BLOCK_SOURCE): Likewise.
20102 (MCAST_UNBLOCK_SOURCE): Likewise.
20103 (MCAST_LEAVE_GROUP): Likewise.
20104 (MCAST_JOIN_SOURCE_GROUP): Likewise.
20105 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
20106 (MCAST_MSFILTER): Likewise.
20107 (IP_MULTICAST_ALL): Likewise.
20108 (IP_UNICAST_IF): Likewise.
20109
73f79bb7
MF
20110 * timezone/Makefile: Delete $(have-ksh) check.
20111 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
20112 * timezone/tzselect.ksh: Add +x mode bits.
20113
8da79b60
MF
20114 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
20115 (ANON_INODE_FS_MAGIC): Likewise.
20116 (BDEVFS_MAGIC): Likewise.
20117 (BINFMTFS_MAGIC): Likewise.
20118 (BTRFS_TEST_MAGIC): Likewise.
20119 (CRAMFS_MAGIC_WEND): Likewise.
20120 (DEBUGFS_MAGIC): Likewise.
20121 (ECRYPTFS_SUPER_MAGIC): Likewise.
20122 (EXT3_SUPER_MAGIC): Likewise.
20123 (EXT4_SUPER_MAGIC): Likewise.
20124 (FUTEXFS_SUPER_MAGIC): Likewise.
20125 (HOSTFS_SUPER_MAGIC): Likewise.
20126 (HUGETLBFS_MAGIC): Likewise.
20127 (MINIX3_SUPER_MAGIC): Likewise.
20128 (MTD_INODE_FS_MAGIC): Likewise.
20129 (NILFS_SUPER_MAGIC): Likewise.
20130 (OPENPROM_SUPER_MAGIC): Likewise.
20131 (PIPEFS_MAGIC): Likewise.
20132 (PSTOREFS_MAGIC): Likewise.
20133 (QNX6_SUPER_MAGIC): Likewise.
20134 (RAMFS_MAGIC): Likewise.
20135 (REISERFS_SUPER_MAGIC_STRING): Likewise.
20136 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
20137 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
20138 (SECURITYFS_MAGIC): Likewise.
20139 (SELINUX_MAGIC): Likewise.
20140 (SMACK_MAGIC): Likewise.
20141 (SOCKFS_MAGIC): Likewise.
20142 (SQUASHFS_MAGIC): Likewise.
20143 (STACK_END_MAGIC): Likewise.
20144 (TMPFS_MAGIC): Likewise.
20145 (USBDEVICE_SUPER_MAGIC): Likewise.
20146 (V9FS_MAGIC): Likewise.
20147 (XENFS_SUPER_MAGIC): Likewise.
20148 (CRAMFS_MAGIC): Fix typo in comment.
20149 (EXT2_SUPER_MAGIC): Update comment.
20150 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
20151
464263cc
JM
201522014-02-08 Joseph Myers <joseph@codesourcery.com>
20153
c6bfe5c4
JM
20154 * sysdeps/arm: Move directory from ports/sysdeps/arm.
20155 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
20156 * sysdeps/unix/sysv/linux/arm: Move directory from
20157 ports/sysdeps/unix/sysv/linux/arm.
20158 * README: Update listing for arm-*-linux-gnueabi.
20159
464263cc
JM
20160 * README: Remove mention of am33.
20161
32749f6c
RM
201622014-02-07 Roland McGrath <roland@hack.frob.com>
20163
20164 * bits/sigset.h (__sigemptyset): Use a statement expression rather
20165 than the comma operator, to avoid "rhs of comma has no effect"
20166 compiler warnings.
20167 (__sigfillset, __sigandset, __sigorset): Likewise.
20168 * include/signal.h (__sigemptyset): Likewise.
20169 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
20170
d5b396c1
AM
201712014-02-07 Allan McRae <allan@archlinux.org>
20172
20173 * version.h (RELEASE): Set to "development".
20174 (VERSION): Set to "2.19.90"
20175 * NEWS: Add 2.20 section.
20176
3bfff2ed
CD
201772014-02-06 Carlos O'Donell <carlos@redhat.com>
20178
20179 [BZ #16529]
20180 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
20181
ee7cc385
SP
201822014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
20183
20184 * manual/contrib.texi: Update entry for Carlos O'Donell,
20185 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
20186
f877c4f2
CD
201872014-02-05 Carlos O'Donell <carlos@rehdat.com>
20188
27e839f6
CD
20189 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
20190
f877c4f2
CD
20191 * sysdeps/unix/sysv/linux/kernel-features.h
20192 [__LINUX_KERNEL_VERSION >= 0x020621]
20193 (__ASSUME_PROC_PID_TASK_COMM): Define.
20194
68159946
SP
201952014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
20196
ba17cdbd
SP
20197 [BZ #16398]
20198 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
20199 conversion when destination buffer does not have enough space.
20200 * libio/tst-ftell-partial-wide.c: New test case.
20201 * libio/Makefile (tests): Add tst-ftell-partial-wide.
20202
68159946
SP
20203 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
20204 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
20205 Leonard and Allan McRae.
20206
2b528732
DM
202072014-02-04 David S. Miller <davem@davemloft.net>
20208
20209 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
20210 32-bit.
20211
0ff82463
AZ
202122014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20213
57f41c40
AS
20214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
20215 New file
c01603f7
AZ
20216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
20217 New file
57f41c40
AS
20218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
20219 New file.
20220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
20221 New file.
c01603f7
AZ
20222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
20223 New file.
57f41c40
AS
20224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
20225 New file.
20226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
20227 New file.
c01603f7
AZ
20228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
20229 New file.
20230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
20231 New file.
20232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
20233 New file.
20234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
20235 New file.
20236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
20237 New file.
20238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
20239 New file.
20240
202412014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20242
0ff82463
AZ
20243 * nptl/shlib-versions: Change powerpc*le start to 2.17.
20244 * shlib-versions: Likewise.
20245
1695c773
AZ
202462014-02-04 Roland McGrath <roland@hack.frob.com>
20247 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20248
20249 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
20250 (abilist-pattern): New variable, set to %-le.abilist.
20251
20252 * Makerules (abilist-pattern): New variable.
20253 (vpath): Use $(abilist-pattern) in place of %.abilist.
20254 (check-abi-% pattern rule): Likewise.
20255 (check-abi, update-abi): Likewise.
20256
6c0ce4b4
EW
202572014-02-04 Eric Wong <normalperson@yhbt.net>
20258
20259 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20260
481e3524
CD
202612014-02-03 Carlos O'Donell <carlos@redhat.com>
20262
20263 * manual/startup.texi: Add next, previous, and top entries for
20264 the `Program Arguments' and `Environment Variables' nodes.
20265
375592d3
AO
202662014-02-03 Alexandre Oliva <aoliva@redhat.com>
20267
20268 * manual/macros.texi: Add comments before MTASC-safety macros.
20269
f54838ba
AO
20270 * manual/users.texi: Document MTASC-safety properties.
20271
57f41c40
AS
20272 * manual/threads.texi (pthread_key_create, pthread_key_delete)
20273 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
20274 @deftypefun, and add @safety note.
20275 * manual/signal.texi: Move comments that analyze the above
20276 functions to their home place.
20277
fd3daba4
AM
202782014-02-03 Allan McRae <allan@archlinux.org>
20279
20280 * po/sl.po: Update Slovenian translation from translation project.
20281
597636d7
AO
202822014-02-02 Alexandre Oliva <aoliva@redhat.com>
20283
20284 * manual/time.texi (timegm): Add missing blank after @c.
20285 Reported by Joseph Myers <joseph@codesourcery.com>.
20286
ee196e3c
AO
202872014-02-01 Alexandre Oliva <aoliva@redhat.com>
20288
20289 * manual/check-safety.sh: New.
20290 * manual/Makefile ($(objpfx)stamp-summary): Run it.
20291
f8d529d5
AO
20292 * manual/terminal.texi: Document MTASC-safety properties.
20293
de55fdf4
AO
20294 * manual/filesys.texi: Document MTASC-safety properties.
20295
c3299c08
AO
20296 * manual/errno.texi: Document MTASC-safety properties.
20297
06e90b14
AO
20298 * manual/intro.texi: Document safety identifiers and
20299 conditionals.
20300
1acd4371
AO
20301 * manual/string.texi (wcstok): Fix prototype.
20302 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
20303
23e5b8cb
AO
20304 * manual/time.texi: Document MTASC-safety properties.
20305
11087373
AO
20306 * manual/string.texi: Document MTASC-safety properties.
20307
5da2c93d
AO
20308 * manual/threads.texi: Document MTASC-safety properties.
20309
171e9210
AO
20310 * manual/stdio.texi: Document MTASC-safety properties.
20311
d9e02532
AO
20312 * manual/syslog.texi: Document MTASC-safety properties.
20313
6af8bab7
AO
20314 * manual/sysinfo.texi: Document MTASC-safety properties.
20315
663b02d7
AO
20316 * manual/startup.texi: Document MTASC-safety properties.
20317
973f180b
AO
20318 * manual/socket.texi: Document MTASC-safety properties.
20319
8f3c25c8
AO
20320 * manual/signal.texi: Document MTASC-safety properties.
20321
542210fb
AO
203222014-01-31 Alexandre Oliva <aoliva@redhat.com>
20323
20324 * manual/setjmp.texi: Document MTASC-safety properties.
20325
433c45a2
AO
20326 * manual/search.texi: Document MTASC-safety properties.
20327
c8ce789c
AO
20328 * manual/resource.texi: Document MTASC-safety properties.
20329
19f5d29c
AO
20330 * manual/process.texi: Document MTASC-safety properties.
20331
e2dfb7f4
AO
20332 * manual/platform.texi: Document MTASC-safety properties.
20333
8c1413f5
AO
20334 * manual/pipe.texi: Document MTASC-safety properties.
20335
03483ada
AO
20336 * manual/pattern.texi: Document MTASC-safety properties.
20337
29e7e2df
AO
20338 * manual/message.texi: Document MTASC-safety properties.
20339
9f529d7c
AO
20340 [BZ #12751]
20341 * manual/memory.texi: Document MTASC-safety properties.
20342
27aaa791
AO
20343 * manual/math.texi: Document MTASC-safety properties.
20344
f2d58726
AO
20345 * manual/locale.texi: Document MTASC-safety properties.
20346
2cc3615c
AO
20347 * manual/llio.texi: Document MTASC-safety properties.
20348
d9f0ec97
AO
20349 * manual/libdl.texi: New.
20350
e7c4409a
AO
20351 * manual/lang.texi: Document MTASC-safety properties.
20352
27bdc63c
AO
20353 * manual/job.texi: Document MTASC-safety properties.
20354
a7b90ea9
AO
20355 * manual/getopt.texi: Document MTASC-safety properties.
20356
c49130e3
AO
20357 * manual/ctype.texi: Document MTASC-safety properties.
20358
0d23a5c1
MR
203592014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
20360
20361 [BZ #16046]
20362 * csu/libc-tls.c (static_map): Remove variable.
20363 (__libc_setup_tls): Use main executable's link map for TLS data.
20364 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
20365 casing for LM_ID_BASE and GL(dl_nns).
20366 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
20367 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
20368 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
20369 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
20370 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
20371 member.
20372 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
20373 l_phnum members.
20374
0037bb60
AO
203752014-01-30 Alexandre Oliva <aoliva@redhat.com>
20376
20377 * manual/debug.texi: Document MTASC-safety properties.
20378
409e00bd
L
203792014-01-29 H.J. Lu <hongjiu.lu@intel.com>
20380
20381 [BZ #16510]
20382 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
20383 of __x86_64__ when disabling x87 inline functions.
20384
86e60666
AO
203852014-01-29 Alexandre Oliva <aoliva@redhat.com>
20386
20387 * manual/charset.texi: Document MTASC-safety properties.
20388
76167637
AO
20389 * manual/crypt.texi: Document MTASC-safety properties.
20390
e567f2a0
AO
20391 * manual/conf.texi: Document MTASC-safety properties.
20392
b719dafd
AO
20393 * manual/arith.texi: Document MTASC-safety properties.
20394
4a16c662
AO
20395 * manual/argp.texi: Document MTASC-safety properties.
20396
0a57b83e
AO
20397 * manual/macros.texi: Introduce macros to document multi
20398 thread, asynchronous signal and asynchronous cancellation
20399 safety properties.
20400 * manual/intro.texi: Introduce the properties themselves.
20401
feab2397
KK
204022014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20403
20404 * sysdeps/sh/sh4/Makefile: New file.
20405
1c0d11bc
AS
204062014-01-27 Andreas Schwab <schwab@linux-m68k.org>
20407
20408 * math/gen-libm-test.pl ($srcdir): New variable.
20409 ($auto_input): Use it.
20410
af37a8a3
SP
204112014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20412
d7b00f98
SP
20413 [BZ #16506]
20414 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
20415 access beyond array bounds when parsing netgroups file.
20416
af37a8a3
SP
20417 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
20418 the old buffer before realloc.
20419
0c00f062
AM
204202014-01-27 Allan McRae <allan@archlinux.org>
20421
20422 * po/fr.po: Update French translation from translation project.
20423
7d69a1b0
KK
204242014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20425
20426 * sysdeps/sh/libm-test-ulps: Regenerate.
20427
6e697ff7
DM
204282014-01-24 David S. Miller <davem@davemloft.net>
20429
20430 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
20431
9cadb35c
KK
204322014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20433
20434 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
20435 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
20436
5d41dadf
SP
204372013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
20438
20439 [BZ #16474]
20440 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
20441 string pointers after reallocation.
20442
0bad441c
KK
204432014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20444
20445 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
20446 __SH4A__ instead of __SH_FPU_ANY__.
20447
7007c661
KK
204482014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20449
20450 * sysdeps/sh/fpu_control.h: New file.
20451 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
20452 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
20453 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
20454 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
20455 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
20456 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
20457 * sysdeps/sh/sys/ucontext.h: Remove.
20458 * sysdeps/sh/sys: Remove directory.
20459
0f0c35e4
AK
204602014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20461
20462 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
20463 s390/sys/ucontext.h.
20464 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
20465 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
20466
4959e284
L
204672014-01-20 H.J. Lu <hongjiu.lu@intel.com>
20468
20469 [BZ #15605]
20470 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
20471
d98720e0
AZ
204722014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20473
20474 [BZ#16431]
20475 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
20476 Adjust the vDSO correctly for internal calls.
20477 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
20478
91cbd0bc
AM
204792014-01-20 Allan McRae <allan@archlinux.org>
20480
20481 * po/ca.po: Update Catalan translation from translation project.
20482
7a02cfad
MF
204832014-01-16 Mike Frysinger <vapier@gentoo.org>
20484
20485 * sysdeps/s390/sotruss-lib.c: New file.
20486
736c304a
AZ
204872014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20488
20489 [BZ#16430]
6e077ee5 20490 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
20491 (__GI___gettimeofday): Alias for a different internal symbol to avoid
20492 local calls issues by not having a PLT stub required for IFUNC calls.
20493 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
20494
94d0cea0
JM
204952014-01-16 Joseph Myers <joseph@codesourcery.com>
20496
20497 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
20498 * math/test-fpucw-static.c: Likewise.
20499
980cb518
SP
205002013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20501
20502 [BZ #16453]
20503 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
20504
2393fc01
AZ
205052014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20506
20507 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
20508 implementation for powerpc.
20509
d359bcc2
OB
205102014-01-15 Ondřej Bílka <neleai@seznam.cz>
20511
20512 [BZ #14782]
20513 * sysdeps/posix/system.c (__libc_system): Do not enable
20514 asynchronous cancellation.
20515
7beb48cb
AK
205162014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20517
20518 [BZ #16427]
20519 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
20520 handling only for numbers special also in the IEEE case.
20521
c20d5bf5
AK
205222014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20523
20524 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
20525
e83bd4ee
AM
205262014-01-11 Allan McRae <allan@archlinux.org>
20527
76d0ea69
AM
20528 * po/bg.po: Update Bulgarian translation from translation project.
20529
e83bd4ee
AM
20530 * po/de.po: Update German translation from translation project.
20531
bc2ba20a
RM
205322014-01-10 Roland McGrath <roland@hack.frob.com>
20533
20534 * sysdeps/generic/gcc-compat.h: New file.
20535
649ecea2
SP
205362014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20537
20538 * benchtests/asin-inputs: Correct slow inputs.
20539 * benchtests/acos-inputs: Likewise.
20540
1b19c006
AM
205412014-01-10 Allan McRae <allan@archlinux.org>
20542
a46dab08
AM
20543 * po:sv.po: Update Swedish translation from translation project.
20544
421df74a
AM
20545 * po/vi.po: Update Vietnamese translation from translation project.
20546
d61c51a7
AM
20547 * po/eo.po: Update Esperanto translation from translation project.
20548
0339a319
AM
20549 * po/cs.po: Update Czech translation from translation project.
20550
94ad3e99
AM
20551 * po/nl.po: Update Dutch translation from translation project.
20552
e349ca71
AM
20553 * po/pl.po: Update Polish translation from translation project.
20554
ddf930c1
AM
20555 * po/ru.po: Update Russian translation from translation project.
20556
1b19c006
AM
20557 * po/uk.po: Update Ukrainian translation from translation project.
20558
9f236c49
BM
205592014-01-08 Brooks Moses <bmoses@google.com>
20560
20561 * elf/dl-load.c: Fix comment typo.
20562
cd6701cf
CD
205632014-01-08 Carlos O'Donell <carlos@redhat.com>
20564
20565 * po/header.pot: Rename to...
20566 * po/pot.header: ... this.
20567 * po/Makefile: Use pot.header.
20568
66671c84
YK
205692014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
20570 Maxim Kuvyrkov <maxim@kugelworks.com>
20571
20572 [BZ #16394]
cd6701cf
CD
20573 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
20574 SRC and DEST against LEN.
66671c84 20575
38f34581
AZ
205762014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20577
20578 [BZ #16414]
20579 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
20580 implementation.
20581 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
20582
205832014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
20584
20585 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20586
4c327f2a
JM
205872014-01-08 Joseph Myers <joseph@codesourcery.com>
20588
20589 [BZ #16408]
20590 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
20591 for large positive arguments.
20592
b821f414
JM
205932014-01-07 Joseph Myers <joseph@codesourcery.com>
20594
1f0f2067
JM
20595 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
20596
a5a326f6
JM
20597 * math/auto-libm-test-in: Mark various tests with
20598 xfail-rounding:ldbl-128ibm.
20599 * math/auto-libm-test-out: Regenerated.
20600
b821f414
JM
20601 [BZ #16407]
20602 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
20603 Increase overflow threshold.
20604
94c8a4bc
OB
206052014-01-07 Ondřej Bílka <neleai@seznam.cz>
20606
20607 [BZ #14286]
20608 * stdio-common/vfprintf.c: Check for integer overflow.
20609
87ded0c3
AK
206102014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20611
20612 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
20613 the first argument and return value of __tls_get_addr_internal.
20614
c5eebdd0
AK
206152014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20616
20617 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
20618 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
20619
05d138ef
AK
206202014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20621
20622 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
20623 * sysdeps/s390/rtld-global-offsets.sym: New file.
20624 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
20625 GLIBC_2.19 symbol.
20626 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
20627 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
20628 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
20629 ... this.
20630 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
20631 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
20632 ... this.
20633 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
20634 Regenerate.
20635 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
20636 Regenerate.
20637 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
20638 halfs of GPRs for high_gprs contexts.
20639 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
20640 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
20641 field.
20642 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
20643 uc_flags field.
20644 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
20645 64 bit versions:
20646 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
20647 for high GPRs (uc_high_gprs) and for future extensions
20648 (__reserved).
20649 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
20650 for future extensions (__reserved).
20651 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
20652 64 bit versions:
20653 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
20654 SC_HIGHGPRS offset definition.
20655 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
20656 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
20657
93a45ff1
AK
20658 * Versions.def: Add GLIBC_2.19 for libpthread.
20659 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
20660 siglongjmp for libpthread with GLIBC_2.19 symver.
20661 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
20662 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
20663 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
20664 * sysdeps/s390/__longjmp.c: New file.
20665 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
20666 * sysdeps/s390/longjmp.c: New file.
20667 * sysdeps/s390/setjmp.S: New file.
20668 * sysdeps/s390/sigjmp.S: New file.
20669 * sysdeps/s390/v1-longjmp.c: New file.
20670 * sysdeps/s390/v1-setjmp.h: New file.
20671 * sysdeps/s390/v1-sigjmp.c: New file.
20672 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
20673 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
20674 GLIBC_2.19 version.
20675 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
20676 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
20677 versioned symbols for ____longjmp_chk.
20678 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
20679 Likewise.
20680 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
20681 Regenerate.
20682 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20683 Regenerate.
20684 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
20685 Regenerate.
20686 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20687 Regenerate.
20688 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
20689 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
20690 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
20691 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
20692 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
20693 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
20694 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
20695 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
20696 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
20697 * sysdeps/s390/rtld-__longjmp.c: New file.
20698 * sysdeps/s390/rtld-setjmp.S: New file.
20699
eb3fc44b
JM
207002014-01-06 Joseph Myers <joseph@codesourcery.com>
20701
20702 [BZ #16400]
20703 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
20704 Return -__logl (x) for small positive arguments without evaluating
20705 a polynomial.
20706
9341dde4
MF
207072014-01-06 Mike Frysinger <vapier@gentoo.org>
20708
20709 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
20710 Rename to ...
20711 (__ptrace_peeksiginfo_args): ... this.
20712 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20713 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20714 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20715
4cff0293
AM
207162014-01-06 Allan McRae <allan@archlinux.org>
20717
20718 * inet/netinet/in.h: Fix typo in comment.
20719
75595dcf
AJ
207202014-01-05 Andreas Jaeger <aj@suse.de>
20721
20722 * sysdeps/i386/fpu/libm-test-ulps: Update.
20723
79c1e109
AM
207242014-01-05 Allan McRae <allan@archlinux.org>
20725
dd804818
AM
20726 * po/libc.pot: Regenerated.
20727
79c1e109
AM
20728 * malloc/memusagestat.c: Fix gettext call formatting.
20729
0c813d1f
SK
207302014-01-04 Sami Kerola <kerolasa@iki.fi>
20731
20732 * nscd/nscd.c: Improve usage() output.
20733
20f4a8d9
MF
207342014-01-04 Mike Frysinger <vapier@gentoo.org>
20735
20736 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
20737 * sysdeps/unix/sysv/linux/configure: Regenerated.
20738 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
20739 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
20740
22562bb2
JM
207412014-01-03 Joseph Myers <joseph@codesourcery.com>
20742
20743 [BZ #16390]
20744 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
20745 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
20746
d7ad2d9b
AZ
207472014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20748
20749 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
20750 extra tokens at end of #undef directive.
20751 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
20752 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
20753 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
20754
7dd009d8
JM
207552014-01-03 Joseph Myers <joseph@codesourcery.com>
20756
24db925a
JM
20757 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
20758
7dd009d8
JM
20759 * math/auto-libm-test-in: Mark various tests with
20760 xfail-rounding:ldbl-128ibm.
20761 * math/auto-libm-test-out: Regenerated.
20762
396e3ecf
JM
207632014-01-02 Joseph Myers <joseph@codesourcery.com>
20764
819e5d50
JM
20765 [BZ #16386]
20766 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
20767 numbers with subnormal high part when calculating exponent.
20768
90b6a1e5
JM
20769 [BZ #16385]
20770 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
20771 fabs.
20772
396e3ecf
JM
20773 [BZ #16384]
20774 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
20775 M_LN2l.
20776 (__ieee754_acoshl): Use __log1pl not __log1p.
20777
6c8dbf00
OB
207782013-01-02 Ondřej Bílka <neleai@seznam.cz>
20779
57f41c40
AS
20780 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
20781 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
20782 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
20783 (grow_heap, heap_trim, _int_new_arena, get_free_list)
20784 (reused_arena, arena_get2): Convert to GNU style.
20785 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
20786 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
20787 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 20788 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
20789 * malloc/malloc.c (__malloc_assert, malloc_init_state)
20790 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
20791 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
20792 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
20793 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
20794 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 20795 * malloc/malloc.h: Likewise.
57f41c40
AS
20796 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
20797 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 20798 * malloc/mcheck.h: Likewise.
57f41c40
AS
20799 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
20800 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
20801 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
20802 * malloc/morecore.c (__default_morecore): Likewise.
20803 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
20804 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
20805 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
20806 (print_and_abort): Likewise.
6c8dbf00
OB
20807 * malloc/obstack.h: Likewise.
20808 * malloc/set-freeres.c (__libc_freeres): Likewise.
20809 * malloc/tst-mallocstate.c (main): Likewise.
20810 * malloc/tst-mtrace.c (main): Likewise.
20811 * malloc/tst-realloc.c (do_test): Likewise.
20812
d4124212
SP
208132013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
20814
9a3c6a6f
SP
20815 [BZ #16366]
20816 * nscd/netgroupcache.c (do_notfound): New function.
20817 (addgetnetgrentX): Use it.
20818
d4124212
SP
20819 [BZ # 16365]
20820 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
20821 NSS_STATUS_NOTFOUND.
20822
97b9a009
JM
208232014-01-01 Joseph Myers <joseph@codesourcery.com>
20824
20825 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
20826 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20827
d4697bc9
AM
208282014-01-01 Allan McRae <allan@archlinux.org>
20829
ddb3687f
AM
20830 * scripts/update-copyrights: Update configure input file suffix.
20831
88726d48
AM
20832 * NEWS: Update copyright year.
20833 * catgets/gencat.c: Likewise.
20834 * csu/version.c: Likewise.
20835 * debug/catchsegv.sh: Likewise.
20836 * debug/pcprofiledump.c: Likewise.
20837 * debug/xtrace.sh: Likewise.
20838 * elf/ldconfig.c: Likewise.
20839 * elf/ldd.bash.in: Likewise.
20840 * elf/pldd.c: Likewise.
20841 * elf/sotruss.ksh: Likewise.
20842 * elf/sprof.c: Likewise.
20843 * iconv/iconv_prog.c: Likewise.
20844 * iconv/iconvconfig.c: Likewise.
20845 * locale/programs/locale.c: Likewise.
20846 * locale/programs/localedef.c: Likewise.
20847 * login/programs/pt_chown.c: Likewise.
20848 * malloc/memusage.sh: Likewise.
20849 * malloc/memusagestat.c: Likewise.
20850 * malloc/mtrace.pl: Likewise.
20851 * manual/libc.texinfo: Likewise.
20852 * nscd/nscd.c: Likewise.
20853 * nss/getent.c: Likewise.
20854 * nss/makedb.c: Likewise.
20855 * posix/getconf.c: Likewise.
20856 * scripts/test-installation.pl: Likewise.
20857
d4697bc9
AM
20858 * All files with FSF copyright notices: Update copyright dates
20859 using scripts/update-copyrights.
20860 * intl/plural.c: Regenerated.
20861 * locale/programs/charmap-kw.h: Likewise.
20862 * locale/programs/locfile-kw.h: Likewise.
20863
c8590f9d
MF
208642013-12-31 Mike Frysinger <vapier@gentoo.org>
20865
20866 * sysdeps/unix/sysv/linux/configure: Regenerated.
20867 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
20868 the linux/fanotify.h header.
20869 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
20870 HAVE_LINUX_FANOTIFY_H is defined.
20871
b19221b9
SP
208722013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
20873
dd1d85e5
SP
20874 * benchtests/cos-inputs: New inputs.
20875 * benchtests/sin-inputs: Likewise.
20876
1acbb90f
SP
20877 * benchtests/atan-inputs: New inputs. Fix name of multiple
20878 precision fallback inputs.
20879
4c012ed3
SP
20880 * benchtests/atanh-inputs: New inputs.
20881 * benchtests/tanh-inputs: Likewise.
20882
eff98324
SP
20883 * benchtests/acosh-inputs: New inputs.
20884 * benchtests/asinh-inputs: Likewise.
20885
ce641152
SP
20886 * benchtests/cosh-inputs: New inputs.
20887 * benchtests/sinh-inputs: Likewise.
20888
b19221b9
SP
20889 * benchtests/acos-inputs: Add more inputs.
20890 * benchtests/asin-inputs: Likewise.
20891
030a4976 208922013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 20893
030a4976 20894 [BZ #16375]
9dcc8f11
VS
20895 * manual/arith.texi: Fix spelling.
20896 * manual/charset.texi: Likewise.
20897 * manual/errno.texi: Likewise.
20898 * manual/filesys.texi: Likewise.
20899 * manual/lang.texi: Likewise.
20900 * manual/llio.texi: Likewise.
20901 * manual/locale.texi: Likewise.
20902 * manual/message.texi: Likewise.
20903 * manual/resource.texi: Likewise.
20904 * manual/search.texi: Likewise.
20905 * manual/setjmp.texi: Likewise.
20906 * manual/stdio.texi: Likewise.
20907 * manual/string.texi: Likewise.
20908 * manual/sysinfo.texi: Likewise.
20909 * manual/time.texi: Likewise.
20910
11520a57
CD
209112013-12-27 Carlos O'Donell <carlos@redhat.com>
20912
20913 * po/sl.po: New file.
20914
471103ae
MF
209152013-12-27 Mike Frysinger <vapier@gentoo.org>
20916
20917 * .gitignore: Add core/.gdbinit/.gdb_history.
20918
6c9642ed
AM
209192013-12-27 Allan McRae <allan@archlinux.org>
20920
20921 [BZ #16369]
20922 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
20923 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
20924
3f637079
BM
209252013-12-24 Brooks Moses <bmoses@google.com>
20926
20927 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
20928 all compilers that claim C++98 compliance, not just GCC.
20929 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
20930 Likewise.
20931
abc26e99
MK
209322013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
20933
20934 * NEWS: Restore accidentally deleted bug-fix entries.
20935
362b47fe
MK
209362013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
20937 Ondřej Bílka <neleai@seznam.cz>
20938
20939 [BZ #15073]
20940 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 20941 have_lock.
362b47fe 20942
b9bcbbcb
OB
209432013-12-23 Ondřej Bílka <neleai@seznam.cz>
20944
20945 [BZ #12986]
20946 * manual/stdio.texi (String Input Conversions): Clarify that character
20947 classes are not supported.
20948
fb55fcd2
AZ
209492013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20950
20951 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20952
ef7344f0
JM
209532013-12-22 Joseph Myers <joseph@codesourcery.com>
20954
4f40e4b3
JM
20955 [BZ #16337]
20956 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
20957 Calculate results for small negative arguments directly rather
20958 than using reflection formula with special underflow handling.
20959
ef7344f0
JM
20960 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
20961 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
20962 sysdeps/unix/bsd/bsd4.4/syscalls.list.
20963 (fchflags): Likewise.
20964 (revoke): Likewise.
20965 (setlogin): Likewise.
20966 (sigaltstack): Likewise.
20967 (wait4): Likewise.
20968 (sigblock): Remove.
20969 (sigsetmask): Likewise.
20970 (wait3): Likewise.
20971 (waitpid): Likewise.
20972 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
20973 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
20974 file.
20975 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
20976 * sysdeps/unix/bsd/Makefile: ... here.
20977 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
20978 * sysdeps/unix/bsd/Versions: ... here.
20979 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
20980 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
20981 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
20982 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
20983 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
20984 * sysdeps/unix/bsd/sigblock.c: ... here.
20985 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
20986 * sysdeps/unix/bsd/sigsetmask.c: ... here.
20987 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
20988 * sysdeps/unix/bsd/sigvec.c: ... here.
20989 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
20990 * sysdeps/unix/bsd/tcdrain.c: ... here.
20991 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
20992 * sysdeps/unix/bsd/tcgetattr.c: ... here.
20993 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
20994 * sysdeps/unix/bsd/tcsetattr.c: ... here.
20995 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
20996 * sysdeps/unix/bsd/wait.c: ... here.
20997 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
20998 * sysdeps/unix/bsd/wait3.c: ... here.
20999 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
21000 * sysdeps/unix/bsd/waitpid.c: ... here.
21001
5b0626b9
JM
210022013-12-21 Joseph Myers <joseph@codesourcery.com>
21003
21004 [BZ #16356]
21005 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
21006 round-to-nearest for [!USE_AS_EXPM1L].
21007 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
21008 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
21009 more tests of exp and exp10. Expect some exp10 tests to miss
21010 exceptions or fail in directed rounding modes.
21011 * math/auto-libm-test-out: Regenerated.
21012 * math/libm-test.inc (exp10_tonearest_test_data): New array.
21013 (exp10_test_tonearest): New function.
21014 (exp10_towardzero_test_data): New array.
21015 (exp10_test_towardzero): New function.
21016 (exp10_downward_test_data): New array.
21017 (exp10_test_downward): New function.
21018 (exp10_upward_test_data): New array.
21019 (exp10_test_upward): New function.
21020 (main): Call the new functions.
21021 * sysdeps/i386/fpu/libm-test-ulps: Update.
21022 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21023
7fda5682
JM
210242013-12-20 Joseph Myers <joseph@codesourcery.com>
21025
31e3a405
JM
21026 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
21027 asinh, atan, atan2, atanh, cbrt, cos and cosh.
21028 * math/auto-libm-test-out: Regenerated.
21029 * math/libm-test.inc (acosh_test_data): Add more tests.
21030 (atanh_test_data): Likewise.
21031 (ceil_test_data): Likewise.
21032 (copysign_test_data): Likewise.
21033 * sysdeps/i386/fpu/libm-test-ulps: Update.
21034 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21035
85bff96a
JM
21036 * timezone/checktab.awk: Update from tzcode 2013i.
21037 * timezone/private.h: Likewise.
21038 * timezone/scheck.c: Likewise.
21039 * timezone/tzfile.h: Likewise.
21040 * timezone/tzselect.ksh: Likewise.
21041 * timezone/zdump.c: Likewise.
21042 * timezone/zic.c: Likewise.
21043
b7867a3b
JM
21044 * math/auto-libm-test-in: Add tests of cpow.
21045 * math/auto-libm-test-out: Regenerated.
21046 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 21047 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
21048 mpc_cc_c.
21049 (func_calc_desc): Add mpc_cc_c union field.
21050 (test_functions): Add cpow.
21051 (special_fill_2pi): New function.
21052 (special_real_inputs): Add 2pi.
21053 (calc_generic_results): Handle mpc_cc_c.
21054 * sysdeps/i386/fpu/libm-test-ulps: Update.
21055 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21056
7fda5682
JM
21057 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
21058 csqrt, ctan and ctanh.
21059 * math/auto-libm-test-out: Regenerated.
21060 * math/libm-test.inc (TEST_COND_x86_64): New macro.
21061 (TEST_COND_x86): Likewise.
21062 (ccos_test_data): Use AUTO_TESTS_c_c.
21063 (ccosh_test_data): Likewise.
21064 (cexp_test_data): Likewise.
21065 (clog_test_data): Likewise.
21066 (csqrt_test_data): Likewise.
21067 (ctan_test_data): Likewise.
21068 (ctan_tonearest_test_data): Likewise.
21069 (ctan_towardzero_test_data): Likewise.
21070 (ctan_downward_test_data): Likewise.
21071 (ctan_upward_test_data): Likewise.
21072 (ctanh_test_data): Likewise.
21073 (ctanh_tonearest_test_data): Likewise.
21074 (ctanh_towardzero_test_data): Likewise.
21075 (ctanh_downward_test_data): Likewise.
21076 (ctanh_upward_test_data): Likewise.
21077 * math/gen-auto-libm-tests.c (func_calc_method): Add value
21078 mpc_c_c.
21079 (func_calc_desc): Add mpc_c_c union field.
21080 (FUNC_mpc_c_c): New macro.
21081 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
21082 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
21083 ctanh.
21084 (special_fill_min_subnorm_p120): New function.
21085 (special_real_inputs): Add min_subnorm_p120.
21086 (calc_generic_results): Handle mpc_c_c.
21087 * sysdeps/i386/fpu/libm-test-ulps: Update.
21088 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21089
5ff8d60e
SP
210902013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
21091
57f41c40
AS
21092 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
21093 (do_sin_slow): New functions.
21094 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
21095 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 21096
84ba214c
SP
21097 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
21098 Use M to change sign of result instead of X. Assume X is
21099 positive.
21100 (csloww1): Likewise.
21101 (__sin): Adjust.
21102 (__cos): Adjust.
21103
975195e4
SP
21104 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
21105 arguments A and DA.
21106 (__sin): Adjust.
21107 (__cos): Likewise.
21108
5ff8d60e
SP
21109 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
21110 (__cos): Likewise.
21111 (sloww1): Don't adjust sign of DX.
21112 (csloww1): Likewise.
21113 (sloww2): Use X directly and don't adjust sign of DX.
21114 (csloww2): Likewise.
21115
eb983568
JM
211162013-12-19 Joseph Myers <joseph@codesourcery.com>
21117
64a17f1a
JM
21118 * math/auto-libm-test-in: Add tests of cabs and carg.
21119 * math/auto-libm-test-out: Regenerated.
21120 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
21121 (carg_test_data): Likewise.
21122 * math/gen-auto-libm-tests.c (func_calc_method): Add value
21123 mpc_c_f.
21124 (func_calc_desc): Add mpc_c_f union field.
21125 (test_functions): Add cabs and carg.
21126 (calc_generic_results): Handle mpc_c_f.
21127
eb983568
JM
21128 * sysdeps/powerpc/powerpc32/libgcc-compat.S
21129 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
21130 as a macro and a compat symbol.
21131 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
21132 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
21133 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
21134 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
21135 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
21136 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
21137 not use .hidden.
21138 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
21139 Likewise.
21140 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
21141 Likewise.
21142 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
21143 Likewise.
21144 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
21145 Likewise.
21146 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
21147 Likewise.
21148 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
21149 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
21150 from GLIBC_2.3.2.
21151
6eeb678a
AZ
211522013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21153
21154 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21155
6f6fc482
JM
211562013-12-19 Joseph Myers <joseph@codesourcery.com>
21157
21fea2e2
JM
21158 * manual/texinfo.tex: Update to version 2013-11-26.10 with
21159 trailing whitespace removed.
21160 * scripts/config.guess: Update to version 2013-11-29.
21161 * scripts/config.sub: Update to version 2013-10-01.
21162
6f6fc482
JM
21163 * math/auto-libm-test-in: Add tests of sincos.
21164 * math/auto-libm-test-out: Regenerated.
21165 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
21166 * math/gen-auto-libm-tests.c (func_calc_method): Add value
21167 mpfr_f_11.
21168 (func_calc_desc): Add mpfr_f_11 union field.
21169 (test_functions): Add sincos.
21170 (calc_generic_results): Handle mpfr_f_11.
21171 * sysdeps/i386/fpu/libm-test-ulps: Update.
21172 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21173
83f5c32d
AS
211742013-12-19 Andreas Schwab <schwab@suse.de>
21175
21176 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
21177 CALL_MCOUNT.
21178 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
21179 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
21180 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
21181
c688b419
JM
211822013-12-19 Joseph Myers <joseph@codesourcery.com>
21183
335ee092
JM
21184 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
21185 * sysdeps/i386/fpu/libm-test-ulps: Update.
21186 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21187
f88acd39
JM
21188 [BZ #16293]
21189 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
21190 round-to-nearest mode when using frndint.
21191 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
21192 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
21193 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
21194 Likewise.
21195 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
21196 sinh test to fail.
21197 * math/auto-libm-test-out: Regenerated.
21198 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
21199 (TEST_COND_x86): Likewise.
21200 (expm1_tonearest_test_data): New array.
21201 (expm1_test_tonearest): New function.
21202 (expm1_towardzero_test_data): New array.
21203 (expm1_test_towardzero): New function.
21204 (expm1_downward_test_data): New array.
21205 (expm1_test_downward): New function.
21206 (expm1_upward_test_data): New array.
21207 (expm1_test_upward): New function.
21208 (main): Run the new test functions.
21209 * sysdeps/i386/fpu/libm-test-ulps: Update.
21210 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21211
c688b419
JM
21212 * include/features.h: Update comment documenting feature test
21213 macros. Mention _DEFAULT_SOURCE in comment.
21214 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
21215 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
21216 _BSD_SOURCE and _SVID_SOURCE.
21217 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
21218 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
21219 !_SVID_SOURCE]: Likewise.
21220 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
21221 (__USE_POSIX_IMPLICITLY): Define.
21222 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
21223 (_POSIX_SOURCE): Undefine and redefine.
21224 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
21225 (_POSIX_C_SOURCE): Likewise.
21226 * manual/creature.texi (_DEFAULT_SOURCE): Document.
21227 (Feature Test Macros): Update documentation of default features.
21228
9f6e964c
RS
212292013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21230
21231 * benchtests/Makefile: Add bench-strtok.
21232 * benchtests/bench-strtok.c: New file: strtok benchtest.
21233
ee0a148a
AM
212342013-12-19 Allan McRae <allan@archlinux.org>
21235
21236 * manual/install.texi: Suppress menu for plain text output.
21237 * INSTALL: Regenerated.
21238
b9ab448f
BM
212392013-12-18 Brooks Moses <bmoses@google.com>
21240
21241 [BZ #15846]
21242 * misc/getauxval.c: Include errno.h.
21243 (__getauxval): Set errno to ENOENT if the requested type is not
21244 found.
21245 * misc/sys/auxv.h (getauxval): Document that it may set errno;
21246 don't declare with __attribute_const__.
21247 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
21248 * manual/startup.texi: Document that getauxval sets errno.
21249
23776487
JM
212502013-12-18 Joseph Myers <joseph@codesourcery.com>
21251
f889953b
JM
21252 * math/auto-libm-test-in: Add tests of jn and yn.
21253 * math/auto-libm-test-out: Regenerated.
21254 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
21255 (yn_test_data): Likewise.
21256 * math/gen-auto-libm-tests.c (func_calc_method): Add value
21257 mpfr_if_f.
21258 (func_calc_desc): Add mpfr_if_f union field.
21259 (FUNC_mpfr_if_f): New macro.
21260 (test_functions): Add jn and yn.
21261 (calc_generic_results): Assert type of second input for
21262 mpfr_ff_f. Handle mpfr_if_f.
21263 (output_for_one_input_case): Disable all checking for arguments
21264 fitting floating-point types in case of an integer argument.
21265 * sysdeps/i386/fpu/libm-test-ulps: Update.
21266 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21267
23776487
JM
21268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
21269 Don't expect fegetround reference in libm.so.
21270
cb756c6d
MS
212712013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21272
21273 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
21274 $(config-cflags-nofma).
21275
2dec468f
JM
212762013-12-18 Joseph Myers <joseph@codesourcery.com>
21277
5953eb3a
JM
21278 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
21279 * math/auto-libm-test-out: Regenerated.
21280
2dec468f
JM
21281 [BZ #16338]
21282 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
21283 to determine exponent and adjust argument to have exponent of -1.
21284 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
21285 log2.
21286 * math/auto-libm-test-out: Regenerated.
21287 * sysdeps/i386/fpu/libm-test-ulps: Update.
21288 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21289
4d84e6ad
OB
212902013-12-18 Ondřej Bílka <neleai@seznam.cz>
21291
21292 * manual/probes.texi: Remove cases when per-thread arenas are
21293 disabled.
21294
1818483b
AS
212952013-12-18 Andreas Schwab <schwab@suse.de>
21296
21297 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
21298 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
21299 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
21300 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
21301 * sysdeps/i386/i686/multiarch/Makefile: Update.
21302 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
21303
25de95bf
JM
213042013-12-17 Joseph Myers <joseph@codesourcery.com>
21305
21306 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
21307 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
21308
674762d9
PE
213092013-12-17 Paul Eggert <eggert@cs.ucla.edu>
21310
ed27ed83 21311 [BZ #15968]
0748546f
PE
21312 Support TZ transition times < 00:00:00.
21313 This is needed for version-3 tz-format files; it supports time
21314 stamps past 2037 for America/Godthab (the only entry in the tz
21315 database for which this change is relevant).
21316 * manual/time.texi (TZ Variable): Document transition times
21317 from -167:59:59 through -00:00:01.
21318 * time/tzset.c (tz_rule): Time of day is now signed.
21319 (__tzset_parse_tz): Parse negative time of day.
21320
4480e934
PE
21321 Document TZ transition times >= 25:00:00.
21322 * manual/time.texi (TZ Variable): Document transition times from
21323 25:00:00 through 167:59:59. These are already supported, and this
21324 support will help with version-3 tz-format files.
21325
69947401
PE
21326 * manual/time.texi (TZ Variable): Modernize North America example
21327 to reflect current (i.e., 2007-and-later) daylight saving rules.
21328
674762d9
PE
21329 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
21330
7011c262
JM
213312013-12-17 Joseph Myers <joseph@codesourcery.com>
21332
2fc6557e
JM
21333 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
21334 * sysdeps/unix/bsd/bits/stat.h: Likewise.
21335 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
21336 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
21337 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
21338 * sysdeps/unix/bsd/bsdstat.h: Likewise.
21339 * sysdeps/unix/bsd/clock.c: Likewise.
21340 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
21341 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
21342 * sysdeps/unix/bsd/init-posix.c: Likewise.
21343 * sysdeps/unix/bsd/poll.c: Likewise.
21344 * sysdeps/unix/bsd/ptsname.c: Likewise.
21345 * sysdeps/unix/bsd/seekdir.c: Likewise.
21346 * sysdeps/unix/bsd/setegid.c: Likewise.
21347 * sysdeps/unix/bsd/seteuid.c: Likewise.
21348 * sysdeps/unix/bsd/setgid.c: Likewise.
21349 * sysdeps/unix/bsd/setrgid.c: Likewise.
21350 * sysdeps/unix/bsd/setruid.c: Likewise.
21351 * sysdeps/unix/bsd/setsid.c: Likewise.
21352 * sysdeps/unix/bsd/setuid.c: Likewise.
21353 * sysdeps/unix/bsd/sigaction.c: Likewise.
21354 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
21355 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
21356 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
21357 * sysdeps/unix/bsd/telldir.c: Likewise.
21358 * sysdeps/unix/bsd/times.c: Likewise.
21359 * sysdeps/unix/bsd/usleep.c: Likewise.
21360
029c7b25
JM
21361 * misc/Makefile (install-lib): Remove libbsd-compat.a.
21362 ($(objpfx)libbsd-compat.a): Remove rule.
21363
7011c262
JM
21364 * include/features.h (__FAVOR_BSD): Do not define.
21365 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
21366 features conflicting with POSIX.
21367 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
21368 (_BSD_SOURCE): Remove description of not being a subset of other
21369 feature test macros.
21370 * manual/job.texi (getpgrp): Do not document BSD version.
21371 (getpgid): Do not document by reference to BSD getpgrp.
21372 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
21373 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
21374 * signal/signal.h [__FAVOR_BSD]: Likewise.
21375 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
21376 instead of making contents conditional on [__FAVOR_BSD].
21377 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
21378
affb6f78
AZ
213792013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21380
21381 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21382
c88769dd
JM
213832013-12-17 Joseph Myers <joseph@codesourcery.com>
21384
6432a540
JM
21385 [BZ #16314]
21386 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
21387 values below 2**-450, not 2**-500.
21388 * math/auto-libm-test-in: Don't allow spurious underflow from
21389 hypot.
21390 * math/auto-libm-test-out: Regenerated.
21391
c88769dd
JM
21392 [BZ #16316]
21393 [BZ #16330]
21394 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
21395 values of ha and hb and sort them after adjusting subnormal
21396 arguments.
21397 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
21398 Likewise.
21399 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
21400 values of ea and eb and sort them after adjusting subnormal
21401 arguments.
21402 * math/auto-libm-test-in: Do not expect some hypot tests of
21403 subnormals to fail. Add more hypot tests.
21404 * math/auto-libm-test-out: Regenerated.
21405
29618f6b
KK
214062013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21407
21408 [BZ #13304]
21409 * sysdeps/sh/s_fma.c: New file.
21410 * sysdeps/sh/s_fmaf.c: New file.
21411 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
21412 version.
21413 * sysdeps/sh/Implies: Add sh/soft-fp.
21414
eacfdfbf
RM
214152013-12-16 Roland McGrath <roland@hack.frob.com>
21416
21417 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
21418 level of indirection to members `objname', `errstring', `malloced'.
21419 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
21420 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
21421 it as the __longjmp argument (just pass 1 instead).
21422 (_dl_catch_error): Initialize C with argument pointers and address of
21423 volatile local ERRCODE rather than copying values out of C at return.
21424
ff362e5b
JM
214252013-12-16 Joseph Myers <joseph@codesourcery.com>
21426
21427 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
21428 * math/auto-libm-test-out: Regenerated.
21429 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
21430 (hypot_test_data): Likewise.
21431 (pow_test_data): Likewise.
21432 (pow_tonearest_test_data): Likewise.
21433 * math/gen-auto-libm-tests.c (func_calc_method): Add value
21434 mpfr_ff_f.
21435 (func_calc_desc): Add mpfr_ff_f union field.
21436 (FUNC_mpfr_ff_f): New macro.
21437 (test_functions): Add atan2, hypot and pow.
21438 (special_fill_min): New function.
21439 (special_fill_minus_min): Likewise.
21440 (special_fill_min_subnorm): Likewise.
21441 (special_fill_minus_min_subnorm): Likewise.
21442 (special_real_inputs): Add min, -min, min_subnorm and
21443 -min_subnorm.
21444 (calc_generic_results): Handle mpfr_ff_f.
21445 * sysdeps/i386/fpu/libm-test-ulps: Update.
21446 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21447
5764c27f
WN
214482013-12-16 Will Newton <will.newton@linaro.org>
21449
21450 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
21451 (Aligned Memory Blocks): Add documentation for aligned_alloc
21452 and suggest it as an alternative to posix_memalign.
21453 (Hooks for Malloc): Document __memalign_hook is also called
21454 for aligned_alloc. (Summary of Malloc): Add summary for
21455 aligned alloc. Document __memalign_hook is also called
21456 for aligned_alloc.
21457
0a096e44
WN
214582013-12-16 Will Newton <will.newton@linaro.org>
21459
21460 * manual/memory.texi (Malloc Examples): Clarify default
21461 alignment documentation. Suggest posix_memalign rather
21462 than memalign or valloc.
21463 (Aligned Memory Blocks): Remove suggestion to use memalign
21464 or valloc. Remove obsolete comment about BSD.
21465 Document memalign errno values and mark the function obsolete.
21466 Document posix_memalign returned error codes. Mark valloc
21467 as obsolete. (Hooks for Malloc): __memalign_hook is also
21468 called for posix_memalign and valloc.
21469 (Summary of Malloc): Add posix_memalign to function summary.
21470 __memalign_hook is also called for posix_memalign and valloc.
21471
8d561986
SP
214722013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21473
21474 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
21475 TAYLOR_SIN.
21476 (__sin): Adjust.
21477 (__cos): Likewise.
21478 (sloww): Use mynumber union. Expand ternary operator into
21479 if-else statements.
21480 (cslow): use mynumber union.
21481
73616a74
AM
214822013-12-16 Allan McRae <allan@archlinux.org>
21483
9e8ac24b
AM
21484 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
21485 * configure: Regenerated.
21486
6f8e37eb
AM
21487 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
21488
8894bad3
AM
21489 [BZ #14120]
21490 * configure.ac: Added --enable-maintainer-mode. Check for
21491 autoconf when enabled.
21492 * configure: Regenerated.
21493
73616a74
AM
21494 * nscd/nscd.service: New file.
21495 * nscd/nscd.tmpfiles: New file.
21496
584b18eb
OB
214972013-12-14 Ondřej Bílka <neleai@seznam.cz>
21498
21499 [BZ #12100]
21500 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
21501 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
21502 * sysdeps/x86_64/multiarch/strstr.c: ... here.
21503 (strstr): Add __strstr_sse2_unaligned ifunc.
21504 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
21505 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
21506 (strcasestr): Remove __strcasestr_sse42 ifunc.
21507 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
21508 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
21509 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
21510
8a5c7897
KK
215112013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21512
21513 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
21514 * sysdeps/sh/bits/fenv.h: ... here.
21515 * sysdeps/sh/sh4/fpu/bits: Remove directory.
21516
fd712ef3
AZ
215172013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21518
21519 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
21520
42fcb46c
AZ
21521 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
21522 hypotf multiarch implementations.
21523 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
21524 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
21525 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
21526 multiarch hypot for PPC64.
21527 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
21528 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
21529 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
21530 multiarch hypotf for PPC64.
21531
83efded4
AZ
21532 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
21533 modff multiarch implementations.
21534 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
21535 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
21536 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
21537 multiarch modf for PPC64.
21538 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
21539 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
21540 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
21541 multiarch modff for PPC64.
21542
43e246d2
AZ
21543 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
21544 and logl multiarch implementations.
21545 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
21546 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
21547 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
21548 multiarch logb for PPC64.
21549 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
21550 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
21551 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
21552 multiarch logb for PPC64.
21553 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
21554 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
21555 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
21556 multiarch logb for PPC64.
21557
8fdad123
AZ
21558 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
21559 isinff multiarch implementation.
21560 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
21561 file.
21562 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
21563 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
21564 multiarch isinf for PPC64.
21565 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
21566 file.
21567 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
21568 multiarch isinff for PPC64.
21569
1481d706
AZ
21570 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
21571 finitef multiarch implementation.
21572 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
21573 file.
21574 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
21575 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
21576 multiarch finite for PPC64.
21577 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
21578 file.
21579 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
21580 multiarch finitef for PPC64.
21581
5ccd5fc8
AZ
21582 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
21583 lrint multiarch implementation.
21584 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
21585 file.
21586 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
21587 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
21588 multiarch llrint for PPC64.
21589 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
21590 multiarch lrint for PPC64.
21591
2568f3fa
AZ
21592 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
21593 copysignf multiarch implementation.
21594 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
21595 file.
21596 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
21597 file.
21598 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
21599 multiarch copysign for PPC64.
21600 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
21601 multiarch copysignf for PPC64.
21602
1cb341fd
AZ
21603 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
21604 multiarch implementation.
21605 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
21606 file.
21607 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
21608 file.
21609 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
21610 file.
21611 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
21612 file.
21613 multiarch llround for PPC64.
21614 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
21615 multiarch trunc for PPC64.
21616 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
21617 multiarch truncf for PPC64.
21618
59a3e194
AZ
21619 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
21620 multiarch implementation.
21621 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
21622 file.
21623 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
21624 file.
21625 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
21626 file.
21627 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
21628 file.
21629 multiarch llround for PPC64.
21630 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
21631 multiarch round for PPC64.
21632 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
21633 multiarch roundf for PPC64.
21634
357fd3b4
AZ
21635 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
21636 multiarch implementation.
21637 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
21638 file.
21639 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
21640 file.
21641 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
21642 file.
21643 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
21644 file.
21645 multiarch llround for PPC64.
21646 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
21647 multiarch floor for PPC64.
21648 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
21649 multiarch floorf for PPC64.
21650
96770f12
AZ
21651 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
21652 multiarch implementation.
21653 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
21654 file.
21655 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
21656 file.
21657 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
21658 file.
21659 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
21660 file.
21661 multiarch llround for PPC64.
21662 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
21663 multiarch ceil for PPC64.
21664 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
21665 multiarch ceilf for PPC64.
21666
c3627f6e
AZ
21667 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
21668 multiarch implementation.
21669 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
21670 file.
21671 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
21672 file.
21673 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
21674 file.
21675 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
21676 multiarch llround for PPC64.
21677 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
21678 multiarch lround for PPC64.
21679
b2284ad7
AZ
21680 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
21681 multiarch implementation.
21682 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
21683 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
21684 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
21685 file.
21686 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
21687 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
21688 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
21689 multiarch isnan for PPC64.
21690 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
21691 multiarch isnanf for PPC64.
21692
69bbc63d
AZ
21693 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
21694 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
21695 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
21696 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
21697 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
21698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
21699
c24517c9
AZ
21700 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
21701 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
21702 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
21703 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
21704
a52374e8
AZ
21705 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
21706 multiarch implementations.
21707 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21708 (__libc_ifunc_impl_list): Likewise.
21709 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
21710 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
21711 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
21712 multiarch stpcpy for PPC64.
21713
7f5ec113
AZ
21714 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
21715 multiarch implementations.
21716 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21717 (__libc_ifunc_impl_list): Likewise.
21718 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
21719 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
21720 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
21721 multiarch strcpy for PPC64.
21722
e28bcd42
AZ
21723 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
21724 redefine function name.
21725 (_wordcopy_fwd_dest_aligned): Likewise.
21726 (_wordcopy_bwd_aligned): Likewise.
21727 (_wordcopy_bwd_dest_aligned): Likewise.
21728 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
21729 multiarch implementations.
21730 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21731 (__libc_ifunc_impl_list): Likewise.
21732 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
21733 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
21734 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
21735 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
21736 multiarch wcscpy for PPC64.
21737
92cacfce
AZ
21738 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
21739 multiarch implementations.
21740 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21741 (__libc_ifunc_impl_list): Likewise.
21742 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
21743 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
21744 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
21745 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
21746 multiarch wcscpy for PPC64.
21747
7b714620
AZ
21748 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
21749 multiarch implementations.
21750 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21751 (__libc_ifunc_impl_list): Likewise.
21752 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
21753 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
21754 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
21755 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
21756 multiarch wcsrchr for PPC64.
21757
16fd2ae3
AZ
21758 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
21759 multiarch implementations.
21760 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21761 (__libc_ifunc_impl_list): Likewise.
21762 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
21763 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
21764 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
21765 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
21766 multiarch wcschr for PPC64.
21767
9ee2969b
AZ
21768 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
21769 multiarch implementations.
21770 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21771 (__libc_ifunc_impl_list): Likewise.
21772 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
21773 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
21774 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
21775 multiarch strchrnul for PPC64.
21776
372dc060
AZ
21777 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
21778 implementations.
21779 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21780 (__libc_ifunc_impl_list): Likewise.
21781 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
21782 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
21783 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
21784 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
21785 strchr for PPC64.
21786
24c2c3b9
AZ
21787 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
21788 implementations.
21789 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21790 (__libc_ifunc_impl_list): Likewise.
21791 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
21792 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
21793 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
21794 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
21795 strncmp for PPC64.
21796
1c92d9a0
AZ
21797 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
21798 multiarch implementations.
21799 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21800 (__libc_ifunc_impl_list): Likewise.
21801 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
21802 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
21803 strncasecmp for PPC64.
21804 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
21805 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
21806 multiarch strncasecmp_l for PPC64.
21807
17de3ee3
AZ
21808 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
21809 multiarch implementations.
21810 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21811 (__libc_ifunc_impl_list): Likewise.
21812 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
21813 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
21814 multiarch strcasecmp for PPC64.
21815 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
21816 file.
21817 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
21818 multiarch strcasecmp_l for PPC64.
21819
62982bf9
AZ
21820 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
21821 implementations.
21822 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21823 (__libc_ifunc_impl_list): Likewise.
21824 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
21825 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
21826 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
21827 strnlen for PPC64.
21828
a65f4904
AZ
21829 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
21830 implementations.
21831 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21832 (__libc_ifunc_impl_list): Likewise.
21833 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
21834 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
21835 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
21836 strlen for PPC64.
21837
1fd005ad
AZ
21838 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
21839 implementations.
21840 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21841 (__libc_ifunc_impl_list): Likewise.
21842 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
21843 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
21844 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
21845 rawmemrchr for PPC64.
21846
cd05ba91
AZ
21847 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
21848 implementation.
21849 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21850 (__libc_ifunc_impl_list): Likewise.
21851 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
21852 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
21853 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
21854 memrchr for PPC64.
21855
870f8676
AZ
21856 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
21857 implementation.
21858 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21859 (__libc_ifunc_impl_list): Likewise.
21860 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
21861 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
21862 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
21863 memchr for PPC64.
21864
f00be62b
AZ
21865 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
21866 implementation.
21867 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21868 (__libc_ifunc_impl_list): Likewise.
21869 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
21870 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
21871 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
21872 mempcpy for PPC64.
21873
8a29a3d0
AZ
21874 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
21875 avoid cretion of __bzero symbol.
21876 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
21877 Likewise.
21878 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
21879 Likewise.
21880 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
21881 Likewise.
21882 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
21883 multiarch implementations.
21884 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21885 (__libc_ifunc_impl_list): Likewise.
21886 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
21887 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
21888 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
21889 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
21890 bzero for PPC32.
21891 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
21892 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
21893 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
21894 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
21895 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
21896 memset for PPC64.
21897 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
21898
07253fcf
AZ
21899 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
21900 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
21901 implementations.
21902 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21903 (__libc_ifunc_impl_list): Likewise.
21904 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
21905 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
21906 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
21907 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
21908 memcmp for PPC64.
21909
b5beafbc
AZ
21910 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
21911 multiarch for POWER/PPC64.
21912 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
21913 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
21914 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
21915 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
21916 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
21917 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
21918 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
21919 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
21920 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
21921 memcpy for PPC64.
21922
5e6a4d4b
AZ
21923 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
21924 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
21925 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
21926 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
21927 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
21928 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
21929 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
21930 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
21931 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
21932 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
21933 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
21934 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
21935 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
21936 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
21937 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
21938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
21939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
21940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
21941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
21942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
21943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
21944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
21945
ddfab6dc
KK
219462013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21947
21948 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
21949
19b5525e
SP
219502013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
21951
21952 * benchtests/Makefile (bench): Add exp2 and log2.
21953 (LDLIBS-bench-exp2): Add -lm.
21954 (LDLIBS-bench-log2): Likewise.
21955 * benchtests/exp2-inputs: New inputs file.
21956 * benchtests/log2-inputs: New inputs file.
21957 * benchtests/log-inputs: Add new inputs.
21958 * benchtests/tan-inputs: Likewise.
21959
196f7f5d
SP
219602013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21961
7a74607f
SP
21962 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
21963 definition...
57f41c40
AS
21964 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
21965 (csloww2): ... from here.
7a74607f 21966
196f7f5d
SP
21967 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
21968 instead of structures.
21969 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
21970 (POLYNOMIAL): Likewise.
21971 (TAYLOR_SLOW): Likewise.
21972 (__sin): Likewise.
21973 (__cos): Likewise.
21974 (slow1): Likewise.
21975 (slow2): Likewise.
21976 (sloww): Likewise.
21977 (sloww1); Likewise.
21978 (sloww2): Likewise.
21979 (bsloww1): Likewise.
21980 (bsloww2): Likewise.
21981 (cslow2): Likewise.
21982 (csloww): Likewise.
21983 (csloww1): Likewise.
21984 (csloww2): Likewise.
21985
0dfa665c
OB
219862013-12-10 Ondřej Bílka <neleai@seznam.cz>
21987
21988 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
21989 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
21990 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
21991 * malloc/hooks.c (realloc_check): Likewise.
21992
5782a80f
OB
21993 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
21994 * malloc/arena.c: Remove PER_THREAD conditional.
21995 [!PER_THREAD]: Remove code.
21996 (ptmalloc_unlock_all2): Likewise.
21997 (ptmalloc_init): Likewise.
21998 (_int_new_arena): Likewise.
21999 (arena_get2): Likewise.
22000 * malloc/hooks.c (__malloc_get_state): Likewise.
22001 (__malloc_set_state): Likewise.
22002 * malloc/malloc.c: Likewise.
22003 (struct malloc_state): Likewise.
22004 (struct malloc_par): Likewise.
22005 (__libc_realloc): Likewise.
22006 (__libc_mallopt): Likewise.
22007
aeb95445
AZ
220082013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22009
22010 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
22011
e8349efd
OB
220122013-12-09 Ondřej Bílka <neleai@seznam.cz>
22013
22014 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
22015 macro to a function. Check for zero perturb_byte.
22016 (_int_malloc, _int_free): Remove zero perturb_byte checks.
22017
f3eeb3fc 22018 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
22019 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
22020 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
22021 force_reg by atomic_forced_read.
22022 * malloc/arena.c (ptmalloc_init): Likewise.
22023 * malloc/hooks.c (top_check): Likewise.
22024
be2f9009
AZ
220252013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22026
22027 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22028
e7b914bd
MT
220292013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
22030
22031 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22032
9f0be4f8
JM
220332013-12-08 Joseph Myers <joseph@codesourcery.com>
22034
22035 * math/auto-libm-test-in: Add tests of lgamma.
22036 * math/auto-libm-test-out: Regenerated.
22037 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
22038 (M_LOG_2_SQRT_PIl): Likewise.
22039 (lgamma_test_data): Use AUTO_TESTS_f_f1.
22040 * math/gen-auto-libm-tests.c (func_calc_method): Add value
22041 mpfr_f_f1.
22042 (func_calc_desc): Add mpfr_f_f1 union field.
22043 (ARGS1): New macro.
22044 (ARGS2): Likewise.
22045 (ARGS3): Likewise.
22046 (ARGS4): Likewise.
22047 (RET1): Likewise.
22048 (RET2): Likewise.
22049 (CALC): Likewise.
22050 (FUNC): Likewise.
22051 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
22052 (test_functions): Add lgamma.
22053 (calc_generic_results): Handle mpfr_f_f1.
22054 * sysdeps/i386/fpu/libm-test-ulps: Update.
22055 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22056
24eeafdb
AZ
220572013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22058
22059 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
22060 __mpn_add_n for PowerPC64/POWER7.
22061 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
22062 __mpn_sub_n for PowerPC64/POWER7.
22063
4a2c0fd4
AZ
22064 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
22065 __mpn_addmul_1 for PowerPC64.
22066 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
22067 __mpn_submul_1 for PowerPC64.
22068 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
22069 for PowerPC64.
22070 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
22071 for PowerPC64.
22072
4b5b548c
FS
220732013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
22074
22075 [BZ #15089]
22076 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
22077
0a3ac0aa
AZ
220782013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22079
22080 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
22081
ccdc8438
AZ
22082 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
22083 add multiarch folders.
22084 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
22085 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
22086 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
22087 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
22088 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
22089 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
22090 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
22091 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
22092 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
22093 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
22094 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
22095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
22096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
22097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
22098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
22099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
22100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
22101
2e973d99
AZ
22102 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
22103 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
22104 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
22105 New file.
22106 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
22107 New file.
22108 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
22109 multiarch __ieee754_hypot for PowerPC32.
22110 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
22111 New file.
22112 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
22113 New file.
22114 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
22115 multiarch __ieee754_hypotf for PowerPC32.
22116
2d9470b2
AZ
22117 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
22118 long_double_symbol only if __logbl is defined.
22119 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
22120 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
22121 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
22122 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
22123 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
22124 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
22125 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
22126 path for implementation.
22127 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
22128 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
22129 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
22130 logb, and logbl multiarch implementations for PowerPC32.
22131 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
22132 file.
22133 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
22134 file.
22135 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
22136 multiarch logb for PowerPC32.
22137 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
22138 file.
22139 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
22140 file.
22141 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
22142 multiarch logbf for PowerPC32.
22143 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
22144 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
22145 file.
22146 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
22147 multiarch logbl implementation for PowerPC32.
22148
5212ffce
AZ
22149 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
22150 and modff multiarch implementations.
22151 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
22152 New file.
22153 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
22154 New file.
22155 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
22156 multiarch modf for PowerPC32.
22157 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
22158 New file.
22159 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
22160 New file.
22161 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
22162 multiarch modff for PowerPC32.
22163
79dccf31
AZ
22164 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
22165 and lrintf multiarch implementations.
22166 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
22167 New file.
22168 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
22169 New file.
22170 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
22171 multiarch lrint for PowerPC32.
22172 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
22173 file: multiarch lrintf for PowerPC32.
22174
deb66480
AZ
22175 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
22176 and lroundf multiarch implementations.
22177 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
22178 New file.
22179 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
22180 New file.
22181 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
22182 New file.
22183 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
22184 multiarch lround for PowerPC32.
22185 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
22186 file: multiarch lroundf for PowerPC32.
22187
264b036b
AZ
22188 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
22189 copysign and copysignf multiarch implementations.
22190 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
22191 New file.
22192 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
22193 New file.
22194 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
22195 file: multiarch copysign for PowerPC32.
22196 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
22197 file: multiarch copysignf for PowerPC32.
22198
d47db6c9
AZ
22199 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
22200 and truncf multiarch implementations.
22201 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
22202 New file.
22203 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
22204 file.
22205 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
22206 multiarch trunc for PowerPC32.
22207 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
22208 New file.
22209 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
22210 New file.
22211 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
22212 multiarch truncf for PowerPC32.
22213
ddb60b5a
AZ
22214 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
22215 and roundf multiarch implementations.
22216 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
22217 New file.
22218 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
22219 file.
22220 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
22221 multiarch round for PowerPC32.
22222 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
22223 New file.
22224 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
22225 New file.
22226 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
22227 multiarch roundf for PowerPC32.
22228
bedcf49b
AZ
22229 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
22230 and floorf multiarch implementations.
22231 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
22232 New file.
22233 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
22234 file.
22235 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
22236 multiarch floor for PowerPC32.
22237 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
22238 New file.
22239 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
22240 New file.
22241 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
22242 multiarch floorf for PowerPC32.
22243
35ae5b40
AZ
22244 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
22245 and ceilf multiarch implementations.
22246 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
22247 New file.
22248 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
22249 file.
22250 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
22251 multiarch ceil for PowerPC32.
22252 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
22253 New file.
22254 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
22255 file.
22256 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
22257 multiarch ceilf for PowerPC32.
22258
ae1a4cd9
AZ
22259 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
22260 is defined.
22261 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
22262 FINITEF is defined.
22263 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
22264 and finitef multiarch implementations.
22265 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
22266 New file.
22267 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
22268 file.
22269 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
22270 multiarch finite for PowerPC32.
22271 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
22272 New file.
22273 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
22274 file: multiarch finitef for PowerPC32.
22275
64fffd65
AZ
22276 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
22277 and isinff multiarch implementations.
22278 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
22279 file.
22280 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
22281 file.
22282 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
22283 multiarch isinf for PowerPC32.
22284 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
22285 New file.
22286 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
22287 multiarch isinff for PowerPC32.
22288
8e4e7ba2
AZ
22289 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
22290 alias when __isnan is defined.
22291 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
22292 and isnanf multiarch implementations.
22293 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
22294 file.
22295 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
22296 file.
22297 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
22298 file.
22299 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
22300 file.
22301 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
22302 multiarch isnan for PowerPC32.
22303 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
22304 New file.
22305 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
22306 New file.
22307 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
22308 multiarch isnanf for PowerPC32.
22309
ddba588e
AZ
22310 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
22311 and sqrtf multiarch implementations.
22312 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
22313 file.
22314 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
22315 file.
22316 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
22317 multiarch sqrt for PowerPC32.
22318 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
22319 file.
22320 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
22321 file.
22322 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
22323 multiarch sqrtf for PowerPC32.
22324
0f96a2f0
AZ
22325 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
22326 and llroundf multiarch implementations.
22327 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
22328 New file.
22329 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
22330 New file.
22331 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
22332 New file.
22333 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
22334 file: multiarch llround for PowerPC32.
22335 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
22336 file: multiarch llroundf for PowerPC32.
22337
c9b5d79e
AZ
22338 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
22339 multiarch PowerPC32 fpu implementations.
22340 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
22341 New file.
22342 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
22343 New file.
22344 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
22345 multiarch llrint for PowerPC32.
22346 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
22347 New file.
22348 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
22349 New file.
22350 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
22351 file.
22352
9cbb3aab
AZ
22353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
22354
ea5a72f8
AZ
22355 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
22356 file.
22357 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
22358 file.
22359 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
22360 file.
22361 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
22362 multiarch wordcopy for PPC32.
22363 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
22364 wordcopy objects.
22365 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22366 (__libc_ifunc_impl_list): Likewise.
22367 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
22368 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
22369 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
22370 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
22371 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
22372 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
22373
93be09e7
AZ
22374 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
22375 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
22376 file.
22377 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
22378 file.
22379 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
22380 file.
22381 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
22382 multiarch wcscpy for PPC32.
22383 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
22384 multiarch objects.
22385 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22386 (__libc_ifunc_impl_list): Likewise.
22387 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
22388 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
22389 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
22390 sysdeps/powerpc/power6/wcscpy.c.
22391
bb04e529
AZ
22392 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
22393 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
22394 file.
22395 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
22396 file.
22397 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
22398 file.
22399 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
22400 multiarch wcsrchr for PPC32.
22401 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
22402 multiarch objects.
22403 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22404 (__libc_ifunc_impl_list): Likewise.
22405 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
22406 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
22407 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
22408 sysdeps/powerpc/power6/wcsrchr.c.
22409
05b5cd1c
AZ
22410 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
22411 file.
22412 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
22413 file.
22414 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
22415 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
22416 multiarch wcschr for PPc32.
22417 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
22418 multiarch objects.
22419 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22420 (__libc_ifunc_impl_list): Likewise.
22421 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
22422 * sysdeps/powerpc/power6/wcschr.c: ... to here.
22423 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
22424 sysdeps/powerpc/power6/wcschr.c.
22425
ba964147
AZ
22426 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
22427 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
22428 file.
22429 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
22430 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
22431 file: multiarch strchr for PPC32.
22432 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
22433 multiarch objects.
22434 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22435 (__libc_ifunc_impl_list): Likewise.
22436
31c81aaa
AZ
22437 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
22438 name.
22439 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
22440 file.
22441 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
22442 file.
22443 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
22444 multiarch strchrnul for PPC32.
22445 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
22446 multiarch objects.
22447 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22448 (__libc_ifunc_impl_list): Likewise.
22449
0d0607d9
AZ
22450 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
22451 file.
22452 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
22453 multiarch strncasecmp for PPC32.
22454 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
22455 file.
22456 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
22457 multiarch strncasecmp_l for PPC32.
22458 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
22459 strncasecmp multiarch objects.
22460 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22461 (__libc_ifunc_impl_list): Likewise.
22462
4dfd5c86
AZ
22463 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
22464 file.
22465 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
22466 multiarch strncasecmp for PPC32.
22467 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
22468 New file.
22469 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
22470 multiarch strcasecmp_l for PPC32.
22471 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
22472 multiarch objects.
22473 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22474 (__libc_ifunc_impl_list): Likewise.
22475
a19e01a3
AZ
22476 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
22477 file.
22478 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
22479 file.
22480 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
22481 multiarch strncmp for PPC32.
22482 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
22483 multiarch objects.
22484 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22485 (__libc_ifunc_impl_list): Likewise.
22486
ae9cf7a2
AZ
22487 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
22488 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
22489 file.
22490 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
22491 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
22492 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
22493 multiarch objects.
22494 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22495 (__libc_ifunc_impl_list): Likewise.
22496
3148bb7d
AZ
22497 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
22498 file.
22499 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
22500 file.
22501 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
22502 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
22503 multiarch objects.
22504 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22505 (__libc_ifunc_impl_list): Likewise.
22506
7af8b946
AZ
22507 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
22508 file.
22509 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
22510 file.
22511 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
22512 multiarch rawmemchr for PPC32.
22513 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
22514 multiarch objects.
22515 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22516 (__libc_ifunc_impl_list): Likewise.
22517
03a6aa6a
AZ
22518 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
22519 file.
22520 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
22521 file.
22522 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
22523 file: memrchr multiarch for PPC32.
22524 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
22525 multiarch objects.
22526 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22527 (__libc_ifunc_impl_list): Likewise.
22528
1c62e6d9
AZ
22529 * string/memchr.c (__memchr): Using macro to redefine symbol name.
22530 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
22531 file.
22532 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
22533 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
22534 multiarch memchr for PPC32.
22535 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
22536 multiarch objects.
22537 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
22538 (__libc_ifunc_impl_list): Likewise.
22539
87da8bdb
AZ
22540 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
22541 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
22542 file.
22543 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
22544 file.
22545 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
22546 file: multiarch mempcpy for PPC32.
22547 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
22548 multiarch objects.
22549 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
22550 (__libc_ifunc_impl_list): Likewise.
22551
20ed4714
AZ
22552 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
22553 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
22554 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
22555 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
22556 multiarch bzero for PPC32.
22557 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
22558 file.
22559 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
22560 file.
22561 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
22562 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
22563 file: multiarch memset for PPC32.
22564 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
22565 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
22566 memset multiarch objects.
22567 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
22568 (__libc_ifunc_impl_list): Likewise.
22569
ab3e3a46
AZ
22570 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
22571 file.
22572 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
22573 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
22574 memcmp for PPC32.
22575 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
22576 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
22577 multiarch objects.
22578 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
22579 (__libc_ifunc_impl_list): Likewise.
22580
930de6f0
AZ
22581 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
22582 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
22583 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
22584 file.
22585 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
22586 file.
22587 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
22588 file.
22589 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
22590 multiarch memcpy for PPC32.
22591 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
22592 multiarch objects.
22593 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
22594 (__libc_ifunc_impl_list): Likewise.
22595
4c628e00
AZ
22596 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
22597 support multiarch for POWER/PPC32.
22598 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
22599 Likewise.
22600 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
22601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
22602 Implies file to make multiarch folder appers before the fpu and
22603 default folder for power4 configuration.
22604
f4479220
SP
226052013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
22606
22607 * scripts/bench.pl: Append volatile keyword to type.
22608
8517800f
KK
226092013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22610
22611 * sysdeps/sh/sotruss-lib.c: New file.
22612 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
22613
180138f1
AZ
226142013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22615
22616 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22617
bbf37bdc
JM
226182013-12-05 Joseph Myers <joseph@codesourcery.com>
22619
e47cc4e0
JM
22620 [BZ #6810]
22621 * math/w_tgamma.c: Include <errno.h>.
22622 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
22623 * math/w_tgammaf.c: Include <errno.h>.
22624 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
22625 * math/w_tgammal.c: Include <errno.h>.
22626 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
22627 * math/auto-libm-test-in: Do not allow missing errno on tgamma
22628 underflow. Add more tgamma tests.
22629 * math/auto-libm-test-out: Regenerated.
22630 * sysdeps/i386/fpu/libm-test-ulps: Update.
22631 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22632
bbf37bdc
JM
22633 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
22634 sin, sinh, tan, tanh, tgamma, y0 and y1.
22635 * math/auto-libm-test-out: Regenerated.
22636 * math/libm-test.inc (TEST_COND_x86_64): New macro.
22637 (TEST_COND_x86): Likewise.
22638 (M_E2l): Remove macro.
22639 (M_E3l): Likewise.
22640 (M_2_SQRT_PIl): Likewise.
22641 (M_SQRT_PIl): Likewise.
22642 (M_1_DIV_El): Likewise.
22643 (log_test_data): Use AUTO_TESTS_f_f.
22644 (log10_test_data): Likewise.
22645 (log1p_test_data): Likewise.
22646 (log2_test_data): Likewise.
22647 (sin_test_data): Likewise.
22648 (sin_tonearest_test_data): Likewise.
22649 (sin_towardzero_test_data): Likewise.
22650 (sin_downward_test_data): Likewise.
22651 (sin_upward_test_data): Likewise.
22652 (sinh_test_data): Likewise.
22653 (sinh_tonearest_test_data): Likewise.
22654 (sinh_towardzero_test_data): Likewise.
22655 (sinh_downward_test_data): Likewise.
22656 (sinh_upward_test_data): Likewise.
22657 (tan_test_data): Likewise.
22658 (tan_tonearest_test_data): Likewise.
22659 (tan_towardzero_test_data): Likewise.
22660 (tan_downward_test_data): Likewise.
22661 (tan_upward_test_data): Likewise.
22662 (tanh_test_data): Likewise.
22663 (tgamma_test_data): Likewise.
22664 (y0_test_data): Likewise.
22665 (y1_test_data): Likewise.
22666 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
22667 (special_real_inputs): Add pi/4.
22668 * sysdeps/i386/fpu/libm-test-ulps: Update.
22669 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22670
eb5ad6b9
AZ
226712013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22672
22673 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
22674 "longjmp_target" static probes.
22675 (__longjmp): Rename to __longjmp_symbol.
22676 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
22677 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
22678 on which longjmp to generate.
22679 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
22680 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
22681 probe.
22682 (__sigsetjmp): Rename to __sigsetjmp_symbol.
22683 (__sigjmp_save): Rename to __sigjmp_save_symbol.
22684 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
22685 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
22686 and __sigjmp_save_symbol based on which sigsetjmp to generated.
22687 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
22688 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
22689 __longjmp_symbol based on which __longjmp to generate.
22690 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
22691 probe.
22692 (setjmp): Rename to setjmp_symbol.
22693 (__sigsetjmp): Rename to __sigsetjmp_symbol.
22694 (_setjmp): Rename to _setjmp_symbol.
22695 (__sigsetjmp): Rename to __sigsetjmp_symbol.
22696 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
22697 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
22698 which setjmp to generate.
22699 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
22700 "longjmp_target" static probes.
22701
d136c6dc
SP
227022013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
22703
9298ecba
SP
22704 * benchtests/README: Add note about output arguments.
22705 * benchtests/bench-sincos.c: Remove file.
22706 * benchtests/sincos-inputs: New file.
22707 * scripts/bench.pl: Identify output arguments and define
22708 static variables for them.
22709
232983e9
SP
22710 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
22711
d136c6dc
SP
22712 [BZ #15941]
22713 * Makefile (INSTALL): Add install-plain.texi as the primary
22714 dependency.
22715 * manual/install-plain.texi: New file.
22716 * manual/install.texi: Include node directive only for
22717 non-plaintext output.
22718
699ff837
JM
227192013-12-04 Joseph Myers <joseph@codesourcery.com>
22720
ab07cea8
JM
22721 * stdlib/longlong.h: Update from GCC.
22722
699ff837
JM
22723 [BZ #6807]
22724 [BZ #15901]
22725 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
22726 * math/w_j0f.c (y0f): Likewise.
22727 * math/w_j0l.c (__y0l): Likewise.
22728 * math/w_j1.c (y1): Likewise.
22729 * math/w_j1f.c (y1f): Likewise.
22730 * math/w_j1l.c (__y1l): Likewise
22731 * math/w_jn.c (yn): Likewise.
22732 * math/w_jnf.c (ynf): Likewise.
22733 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
22734 Bessel function pole errors in _POSIX_ mode. Use NAN as return
22735 value for Bessel function domain errors outside _SVID_ mode.
22736 Adjust sign of return value for yn (negative integer, 0).
22737 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
22738 by zero in return for negative x and set sign appropriately for
22739 negative n.
22740 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
22741 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
22742 * math/libm-test.inc (y0_test_data): Add more tests and adjust
22743 expectations in error cases.
22744 (y1_test_data): Likewise.
22745 (yn_test_data): Likewise.
22746 * sysdeps/i386/fpu/libm-test-ulps: Update.
22747 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22748
5b118558
UW
227492013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22750
22751 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
22752 "64" to "64-v1". Add "64-v2".
22753 (abi-64-options): Rename to ...
22754 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
22755 (abi-64-condition): Rename to ...
22756 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
22757 (abi-64-ld-soname): Rename to ...
22758 (abi-64-v1-ld-soname): ... this.
22759 (abi-64-v2-options): Define.
22760 (abi-64-v2-condition): Likewise.
22761 (abi-64-v2-ld-soname): Likewise.
22762 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
22763 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
22764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
22765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
22766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
22767
61cd8fe4
UW
227682013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22769 Alan Modra <amodra@gmail.com>
22770
22771 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
22772 New versions for use with the ELFv2 ABI.
22773 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
22774 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
22775 declaration.
22776 (struct La_ppc64v2_retval): Likewise.
22777 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
22778 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
22779 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
22780 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
22781 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
22782 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
22783 Do not save or restore CR.
22784 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
22785 (_dl_profile_resolve): Do no save or restore CR. Support extended
22786 return values for ELFv2 ABI. Fix location of FPR return registers.
22787 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
22788 updated values for _CALL_ELF == 2.
22789 (La_regs, La_retval, int_retval): Likewise.
22790
8b8a692c
UW
227912013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22792
22793 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
22794 (FRAME_MIN_SIZE_PARM): Likewise.
22795 (FRAME_BACKCHAIN): Likewise.
22796 (FRAME_CR_SAVE): Likewise.
22797 (FRAME_LR_SAVE): Likewise.
22798 (FRAME_TOC_SAVE): Likewise.
22799 (FRAME_PARM_SAVE): Likewise.
22800 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
22801 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
22802 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
22803 (call_mcount_parm_offset): New macro.
22804 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
22805 (PROF): Use symbolic stack frame offsets.
22806 (TAIL_CALL_SYSCALL_ERROR): Likewise.
22807 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
22808 Redefine in terms of FRAME_MIN_SIZE.
22809 (_dl_runtime_resolve): Use symbolic stack frame offsets.
22810 (_dl_profile_resolve): Likewise. Update comment.
22811 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
22812 symbols stack frame offsets.
22813 (__sigsetjmp): Likewise.
22814 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
22815 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
22816 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
22817 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
22818
22819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
22820 (FRAME_BACKCHAIN): Remove.
22821 (FRAME_CR_SAVE): Likewise.
22822 (FRAME_LR_SAVE): Likewise.
22823 (FRAME_COMPILER_DW): Likewise.
22824 (FRAME_LINKER_DW): Likewise.
22825 (FRAME_TOC_SAVE): Likewise.
22826 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
22827 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
22828 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
22829 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
22830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
22831 (CHECK_SP): Use symbolic stack frame offsets.
22832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
22833 zone" instead of caller's parameter save area for temp storage.
22834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
22835 Likewise. Also, use symbolic stack frame offsets.
22836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
22837 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
22838 our own stack frame instead of the caller's.
22839 (__socket): Use symbolic stack frame offsets.
22840
122b66de
UW
228412013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22842 Alan Modra <amodra@gmail.com>
22843
22844 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
22845 Define.
57f41c40
AS
22846 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
22847 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
22848 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
22849 New function.
22850 (elf_machine_fixup_plt): Call it.
22851 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
22852 reloc arguments.
22853 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
22854 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
22855 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
22856 r2 before calling target.
22857
696caf1d
UW
228582013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22859 Alan Modra <amodra@gmail.com>
22860
22861 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
22862 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
22863 versions of macros to support ELFv2 ABI.
22864 (LOCALENTRY): New macro.
22865 (ENTRY, EALIGN): Use it.
22866 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
22867 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
22868 fall through into ENTRY entry point.
22869 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
22870 Only define if _CALL_ELF != 2.
22871
22872 (elf_machine_matches_host): Verify ABI version matches.
22873 (RTLD_START): Use LOCALENTRY.
22874 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
22875 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
22876 (PLT_ENTRY_WORDS): New macro.
22877 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
22878 (elf_machine_runtime_setup): Support ELFv2 ABI.
22879 (elf_machine_fixup_plt): Likewise.
22880 (elf_machine_plt_conflict): Likewise.
22881 (resolve_ifunc): Likewise.
22882 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
22883 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
22884 Likewise.
22885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
22886 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
22887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22888 (makecontext): Support ELFv2 ABI.
22889 * elf/elf.h (EF_PPC64_ABI): Define.
22890
d31beafa
UW
228912013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22892
57f41c40
AS
22893 * sysdeps/powerpc/powerpc64/sysdep.h
22894 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
22895 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
22896 (ENTRY) [ASSEMBLER]: ... but instead here ...
22897 (EALIGN) [ASSEMBLER]: ... and here.
22898 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
22899 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
22900 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
22901 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
22902 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
22903 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
22904 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
22905 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
22906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
22907 Use PPC64_LOAD_FUNCPTR.
22908
b525166b
UW
22909 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
22910
7ec07d9a
AM
229112013-12-04 Alan Modra <amodra@gmail.com>
22912
22913 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
22914 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
22915 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
22916 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
22917
22918 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
22919 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
22920 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
22921 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
22922 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
22923 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
22924
5162e7dd
UW
229252013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22926
22927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22928 (__makecontext): Fix incorrect CFI when backtracing out of
22929 context created via makecontext.
22930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
22931 (__setcontext): Fix incorrect CFI during switch to new context.
22932 (__novec_setcontext): Likewise.
22933
19e3372b
OB
229342013-12-04 Ondřej Bílka <neleai@seznam.cz>
22935
22936 [BZ #4772]
22937 * time/strptime_l.c (__strptime_internal): Allow modifiers
22938 in strptime.
22939 * time/tst-strptime.c (day_tests): Add testcase.
22940
ecaf142d
SP
229412013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22942
22943 * scripts/bench.pl: Skip over blank lines.
22944
fbf964ae
PE
229452013-12-04 Paul Eggert <eggert@cs.ucla.edu>
22946
22947 [BZ #926]
22948 * manual/time.texi (Calendar Time): Clarify what timezone functions
22949 use.
22950
fa60a674
AZ
229512013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22952
22953 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22954
d674f0ef
OB
229552013-12-04 Ondřej Bílka <neleai@seznam.cz>
22956
22957 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
22958 implementation.
22959 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
22960 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
22961 * debug/memset_chk.c (__memset_chk): Likewise.
22962 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
22963 * debug/strncpy_chk.c: Likewise.
22964
17dea188
JM
229652013-12-03 Joseph Myers <joseph@codesourcery.com>
22966
749008ff
JM
22967 [BZ #15268]
22968 [BZ #15425]
22969 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
22970 (__ieee754_exp): For possibly underflowing results, check size of
22971 result and force underflow exception if required.
22972 * math/auto-libm-test-in: Add more tests of exp.
22973 * math/auto-libm-test-out: Regenerated.
22974 * sysdeps/i386/fpu/libm-test-ulps: Update.
22975 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22976
17dea188
JM
22977 [BZ #16283]
22978 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
22979 * math/w_exp2f.c (__exp2f): Likewise.
22980 * math/w_exp2l.c (__exp2l): Likewise.
22981 * math/auto-libm-test-in: Do not allow missing errno on exp2
22982 underflow.
22983 * math/auto-libm-test-out: Regenerated.
22984
b20de2c3
OB
229852013-12-03 Ondřej Bílka <neleai@seznam.cz>
22986
22987 [BZ #16274]
22988 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
22989 handle filename validation.
22990 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
22991 (do_open): Delete.
22992
d8e2dbe3
JM
229932013-12-03 Joseph Myers <joseph@codesourcery.com>
22994
34e16df5
JM
22995 [BZ #6786]
22996 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
22997 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
22998 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
22999 <float.h>.
23000 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
23001 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
23002 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
23003 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
23004 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
23005 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
23006 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
23007 * math/auto-libm-test-in: Don't allow missing errno from erfc.
23008 Add more erfc tests.
23009 * math/auto-libm-test-out: Regenerated.
23010 * sysdeps/i386/fpu/libm-test-ulps: Update.
23011 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23012
d8e2dbe3
JM
23013 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
23014 exp2, expm1, j0 and j1.
23015 * math/auto-libm-test-out: Regenerated.
23016 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
23017 (erfc_test_data): Likewise.
23018 (exp_test_data): Likewise.
23019 (exp_tonearest_test_data): Likewise.
23020 (exp_towardzero_test_data): Likewise.
23021 (exp_downward_test_data): Likewise.
23022 (exp_upward_test_data): Likewise.
23023 (exp10_test_data): Likewise.
23024 (exp2_test_data): Likewise.
23025 (expm1_test_data): Likewise.
23026 (j0_test_data): Likewise.
23027 (j1_test_data): Likewise.
23028 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
23029 (input_flag_type): Add flag_xfail_rounding.
23030 (input_flags): Add xfail-rounding.
23031 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
23032 (output_for_one_input_case): Handle flag_xfail_rounding.
23033 * sysdeps/i386/fpu/libm-test-ulps: Update.
23034 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23035
18d14251
AJ
230362013-12-03 Aurelien Jarno <aurelien@aurel32.net>
23037
3d2e6075 23038 [BZ #16289]
18d14251
AJ
23039 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
23040 division by 0.
23041
520d437b
SP
230422013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
23043
23044 [BZ #16195]
23045 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
23046 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
23047 (STAP_PROBE0): New macro.
23048 (STAP_PROBE1): Likewise.
23049 (STAP_PROBE2): Likewise.
23050 (STAP_PROBE3): Likewise.
23051 (STAP_PROBE4): Likewise.
23052
416e0145
OB
230532013-12-02 Ondřej Bílka <neleai@seznam.cz>
23054
23055 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
23056
9d17796a
SE
230572013-12-02 Steve Ellcey <sellcey@mips.com>
23058
23059 * benchtests/Makefile (bench): Add sqrt.
23060 (LDLIBS-bench-sqrt): New.
23061 * benchtests/sqrt-input: New.
23062
f524d6a8
PS
230632013-12-02 Pavel Simerda <psimerda@redhat.com>
23064
639a0ef8
PS
23065 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
23066 (GAIH_EAI): Likewise.
23067 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
23068 (gaih_inet): Likewise.
23069 (getaddrinfo): Don't use GAIH_EAI.
23070
f524d6a8
PS
23071 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
23072 (struct gaih): Remove definition.
23073
df3aedaf
SP
230742013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
23075
23076 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
23077 Use HERRNOP directly.
23078
1ab19dec
AZ
230792013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23080
b42ad38d 23081 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 23082
176b0c79
JM
230832013-11-30 Joseph Myers <joseph@codesourcery.com>
23084
23085 * math/gen-auto-libm-tests.c (test_functions): Add more
23086 single-argument functions.
23087 (special_fill_pi_2): New function.
23088 (special_fill_minus_pi_2): Likewise.
23089 (special_fill_pi_6): Likewise.
23090 (special_fill_minus_pi_6): Likewise.
23091 (special_fill_pi_3): Likewise.
23092 (special_fill_2pi_3): Likewise.
23093 (special_fill_e): Likewise.
23094 (special_fill_1_e): Likewise.
23095 (special_fill_e_minus_1): Likewise.
23096 (special_real_inputs): Add more special inputs.
23097 (output_for_one_input_case): Do not require ERANGE on underflow to
23098 zero if round-to-nearest result does not underflow to zero, unless
23099 exact results required.
23100 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
23101 atan, atanh, cbrt, cos and cosh.
23102 * math/auto-libm-test-out: Regenerated.
23103 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
23104 (acos_tonearest_test_data): Likewise.
23105 (acos_towardzero_test_data): Likewise.
23106 (acos_downward_test_data): Likewise.
23107 (acos_upward_test_data): Likewise.
23108 (acosh_test_data): Likewise.
23109 (asin_test_data): Likewise.
23110 (asin_tonearest_test_data): Likewise.
23111 (asin_towardzero_test_data): Likewise.
23112 (asin_upward_test_data): Likewise.
23113 (asinh_test_data): Likewise.
23114 (atan_test_data): Likewise.
23115 (atanh_test_data): Likewise.
23116 (cbrt_test_data): Likewise.
23117 (cos_test_data): Likewise.
23118 (cos_tonearest_test_data): Likewise.
23119 (cos_towardzero_test_data): Likewise.
23120 (cos_downward_test_data): Likewise.
23121 (cos_upward_test_data): Likewise.
23122 (cosh_test_data): Likewise.
23123 (cosh_tonearest_test_data): Likewise.
23124 (cosh_towardzero_test_data): Likewise.
23125 (cosh_downward_test_data): Likewise.
23126 (cosh_upward_test_data): Likewise.
23127 * sysdeps/i386/fpu/libm-test-ulps: Update.
23128 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23129
ffb536d0
JM
231302013-11-29 Joseph Myers <joseph@codesourcery.com>
23131
2a77a467
JM
23132 [BZ #6787]
23133 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
23134 * math/w_exp10f.c (__exp10f): Likewise.
23135 * math/w_exp10l.c (__exp10l): Likewise.
23136 * math/libm-test.inc (exp10_test_data): Add more tests and expect
23137 errno settings in existing tests.
23138
ea3bc4e8
JM
23139 [BZ #14032]
23140 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
23141 precision control set to double precision.
23142 * sysdeps/i386/fpu/w_sqrt.c: New file.
23143 * math/auto-libm-test-in: Add more tests.
23144 * math/auto-libm-test-out: Update.
23145
0712c9d8
JM
23146 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
23147 (sqrt_test_tonearest): New function.
23148 (sqrt_towardzero_test_data): New variable.
23149 (sqrt_test_towardzero): New function.
23150 (sqrt_downward_test_data): New variable.
23151 (sqrt_test_downward): New function.
23152 (sqrt_upward_test_data): New variable.
23153 (sqrt_test_upward): New function.
23154 (main): Call the new functions.
23155
ffb536d0
JM
23156 * math/gen-auto-libm-tests.c: New file.
23157 * math/auto-libm-test-in: Likewise.
23158 * math/auto-libm-test-out: New generated file.
23159 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
23160 variables.
23161 (%beautify): Add generated representations of zero.
23162 (top level): Set $auto_input and call parse_auto_input.
23163 (beautify): Remove trailing "f" from hex float constants.
23164 (parse_args): Handle XFAIL_TEST.
23165 (convert_condition): New function.
23166 (or_value): Likewise.
23167 (or_cond_value): Likewise.
23168 (generate_testfile): Handle AUTO_TESTS_* lines.
23169 (parse_auto_input): New function.
23170 * math/libm-test.inc (XFAIL_TEST): New macro.
23171 (ERRNO_UNCHANGED): Update value.
23172 (ERRNO_EDOM): Likewise.
23173 (ERRNO_ERANGE): Likewise.
23174 (IGNORE_RESULT): Likewise.
23175 (TEST_COND_flt_32): New macro.
23176 (TEST_COND_dbl_64): Likewise.
23177 (TEST_COND_ldbl_96_intel): Likewise.
23178 (TEST_COND_ldbl_96_m68k): Likewise.
23179 (TEST_COND_ldbl_128): Likewise.
23180 (TEST_COND_ldbl_128ibm): Likewise.
23181 (TEST_COND_long32): Likewise.
23182 (TEST_COND_long64): Likewise.
23183 (TEST_COND_before_rounding): Likewise.
23184 (TEST_COND_after_rounding): Likewise.
23185 (enable_test): Handle XFAIL_TEST flag.
23186 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
23187 with finite results.
23188 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
23189 auto-libm-test-out.
23190
acd98a8e
AK
231912013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
23192 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23193
23194 [BZ #16214]
23195 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
23196 __tls_get_addr_internal instead of __tls_get_offset in order to
23197 avoid GOT pointer dependency. Make rtld export
23198 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
23199 __tls_get_addr since we are a __tls_get_offset platform.
23200 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
23201 GOT pointer being set up before.
23202 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
23203
3c1c46a6
JM
232042013-11-28 Joseph Myers <joseph@codesourcery.com>
23205
7475aef5
JM
23206 * manual/math.texi (Errors in Math Functions): Document accuracy
23207 goals.
23208
8bca7cd8
JM
23209 [BZ #15004]
23210 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
23211 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
23212 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
23213 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
23214 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
23215 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
23216 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
23217 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
23218 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
23219 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
23220 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
23221 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
23222 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
23223 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
23224 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
23225 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
23226
91a1f3fe
JM
23227 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
23228 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
23229 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
23230 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
23231 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
23232 Likewise.
23233 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
23234 Likewise.
23235 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
23236 Likewise.
23237 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
23238 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
23239 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
23240 atomic-feupdateenv and flt-rounds.
23241 * sysdeps/powerpc/nofpu/Versions (libc): Add
23242 __atomic_feholdexcept, __atomic_feclearexcept,
23243 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
23244 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
23245 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
23246 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
23247 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
23248 here.
23249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
23250 Update.
23251
c5df7609
JM
23252 * manual/arith.texi (FP Exceptions): Document that exceptions may
23253 not be raised when matherr is used.
23254 (Math Error Reporting): Document overflow in directed rounding
23255 modes. Document that errno may not be set when finite values are
23256 returned on overflow. Document intent to set errno on underflow
23257 only for underflow to zero.
23258
3c1c46a6
JM
23259 [BZ #16271]
23260 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
23261 round-to-nearest then adjust result for other rounding modes.
23262 * include/fenv.h (fegetround): Use libm_hidden_proto.
23263 * math/fegetround.c (fegetround): Use libm_hidden_def.
23264 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
23265 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
23266 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
23267 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
23268 Likewise.
23269 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
23270 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
23271 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
23272 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
23273
5a4c6d53
SP
232742013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23275
23276 [BZ #16077]
23277 * nss/Versions (libnss_files): Add
23278 _nss_files_gethostbyname3_r.
23279 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
23280 New function.
23281 (HOST_DB_LOOKUP): Remove macro.
23282 (_nss_files_gethostbyname_r): Implement function without the
23283 HOST_DB_LOOKUP macro.
23284 (_nss_files_gethostbyname2_r): Likewise.
23285
897b98ba
OB
232862013-11-28 Ondřej Bílka <neleai@seznam.cz>
23287
23288 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
23289
6f476861
UB
232902013-11-26 Uros Bizjak <ubizjak@gmail.com>
23291
23292 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
23293 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
23294 warning.
23295
bd12ab55
AZ
232962013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23297
23298 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
23299 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
23300 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
23301 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
23302 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
23303 __fe_nomask_env_priv and attribute_hidden.
23304 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
23305 (libc_feupdateenv_test_ppc): Likewise.
23306 (libc_feresetround_ppc): Likewise.
23307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
23308 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
23309 compat_symbol macro.
23310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
23311 (__fe_nomask_env): Likewise.
23312 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
23313
52bb6543
OB
233142013-11-26 Ondřej Bílka <neleai@seznam.cz>
23315
23316 * string/Makefile: Remove ifunc tests.
23317 * string/test-string.h: Define TEST_IFUNC.
23318 * string/test-bcopy-ifunc.c: Remove.
23319 * string/test-bzero-ifunc.c: Likewise.
23320 * string/test-memccpy-ifunc.c: Likewise.
23321 * string/test-memchr-ifunc.c: Likewise.
23322 * string/test-memcmp-ifunc.c: Likewise.
23323 * string/test-memcpy-ifunc.c: Likewise.
23324 * string/test-memmem-ifunc.c: Likewise.
23325 * string/test-memmove-ifunc.c: Likewise.
23326 * string/test-mempcpy-ifunc.c: Likewise.
23327 * string/test-memrchr-ifunc.c: Likewise.
23328 * string/test-memset-ifunc.c: Likewise.
23329 * string/test-rawmemchr-ifunc.c: Likewise.
23330 * string/test-stpcpy-ifunc.c: Likewise.
23331 * string/test-stpncpy-ifunc.c: Likewise.
23332 * string/test-strcasecmp-ifunc.c: Likewise.
23333 * string/test-strcasestr-ifunc.c: Likewise.
23334 * string/test-strcat-ifunc.c: Likewise.
23335 * string/test-strchr-ifunc.c: Likewise.
23336 * string/test-strchrnul-ifunc.c: Likewise.
23337 * string/test-strcmp-ifunc.c: Likewise.
23338 * string/test-strcpy-ifunc.c: Likewise.
23339 * string/test-strcspn-ifunc.c: Likewise.
23340 * string/test-strlen-ifunc.c: Likewise.
23341 * string/test-strncasecmp-ifunc.c: Likewise.
23342 * string/test-strncat-ifunc.c: Likewise.
23343 * string/test-strncmp-ifunc.c: Likewise.
23344 * string/test-strncpy-ifunc.c: Likewise.
23345 * string/test-strnlen-ifunc.c: Likewise.
23346 * string/test-strpbrk-ifunc.c: Likewise.
23347 * string/test-strrchr-ifunc.c: Likewise.
23348 * string/test-strspn-ifunc.c: Likewise.
23349 * string/test-strstr-ifunc.c: Likewise.
23350
ab260039 233512013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
23352
23353 * benchtests/Makefile: Remove ifunc tests.
23354 * benchtests/bench-string.h: Define TEST_IFUNC.
23355 * benchtests/bench-bcopy-ifunc.c: Remove.
23356 * benchtests/bench-bzero-ifunc.c: Likewise.
23357 * benchtests/bench-memccpy-ifunc.c: Likewise.
23358 * benchtests/bench-memchr-ifunc.c: Likewise.
23359 * benchtests/bench-memcmp-ifunc.c: Likewise.
23360 * benchtests/bench-memcpy-ifunc.c: Likewise.
23361 * benchtests/bench-memmem-ifunc.c: Likewise.
23362 * benchtests/bench-memmove-ifunc.c: Likewise.
23363 * benchtests/bench-mempcpy-ifunc.c: Likewise.
23364 * benchtests/bench-memrchr-ifunc.c: Likewise.
23365 * benchtests/bench-memset-ifunc.c: Likewise.
23366 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
23367 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
23368 * benchtests/bench-stpcpy-ifunc.c: Likewise.
23369 * benchtests/bench-stpncpy-ifunc.c: Likewise.
23370 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
23371 * benchtests/bench-strcasestr-ifunc.c: Likewise.
23372 * benchtests/bench-strcat-ifunc.c: Likewise.
23373 * benchtests/bench-strchr-ifunc.c: Likewise.
23374 * benchtests/bench-strchrnul-ifunc.c: Likewise.
23375 * benchtests/bench-strcmp-ifunc.c: Likewise.
23376 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
23377 * benchtests/bench-strcpy-ifunc.c: Likewise.
23378 * benchtests/bench-strcspn-ifunc.c: Likewise.
23379 * benchtests/bench-strlen-ifunc.c: Likewise.
23380 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
23381 * benchtests/bench-strncat-ifunc.c: Likewise.
23382 * benchtests/bench-strncmp-ifunc.c: Likewise.
23383 * benchtests/bench-strncpy-ifunc.c: Likewise.
23384 * benchtests/bench-strnlen-ifunc.c: Likewise.
23385 * benchtests/bench-strpbrk-ifunc.c: Likewise.
23386 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 23387 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
23388 * benchtests/bench-strspn-ifunc.c: Likewise.
23389 * benchtests/bench-strstr-ifunc.c: Likewise.
23390
233912013-11-26 Ondřej Bílka <neleai@seznam.cz>
23392
ab260039
OB
23393 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
23394
d1d9eaf4 233952013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 23396
d1d9eaf4
OB
23397 * resolv/netdb.h: Use __glibc_reserved instead __unused.
23398 * rt/aio.h: Likewise.
23399 * sysdeps/gnu/bits/utmp.h: Likewise.
23400 * sysdeps/gnu/bits/utmpx.h: Likewise.
23401 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
23402 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
23403 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
23404 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
23405 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
23406 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
23407 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
23408 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
23409 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
23410 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
23411 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
23412 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
23413 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
23414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
23415 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
23416 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
23417 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
23418 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
23419 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
23420 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
23421 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
23422 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
23423 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
23424 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
23425 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
23426 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23427 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
23428 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
23429 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
23430 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
23431 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
23432 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
23433 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
23434 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
23435 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
23436 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
23437 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
23438 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
23439 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
23440 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
23441 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
23442 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
23443
a7624ed9
CD
234442013-11-25 Carlos O'Donell <carlos@redhat.com>
23445
23446 [BZ #16245]
23447 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
23448 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
23449
63cfe52b
JM
234502013-11-25 Joseph Myers <joseph@codesourcery.com>
23451
23452 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
23453 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
23454 Likewise.
23455
41e8926a
AZ
234562013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23457
23458 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
23459 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
23460 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
23461 (__fesetround): Remove define.
23462 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
23463 rounding and exceptions handling.
23464 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
23465 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
23466 (__fe_nomask_env): Likewise.
23467 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
23468 __fegetround instead of fegetround.
23469 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
23470 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
23471
6851bd4d
RM
234722013-11-21 Roland McGrath <roland@hack.frob.com>
23473
070906ff
RM
23474 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
23475 it's there.
23476
6851bd4d
RM
23477 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
23478
84ae135d
MI
234792013-11-21 Meador Inge <meadori@codesourcery.com>
23480
23481 [BZ #11157]
23482 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
23483 (encrypt_r): Likewise.
23484 * malloc/obstack.h (obstack_free): Likewise.
23485 * posix/unistd.h (encrypt): Likewise.
23486
daf75146
GM
234872013-11-21 Guy Martin <gmsoft@tuxicoman.be>
23488
23489 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
23490 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
23491 DL_CALL_DT_FINI() that call the functions directly.
23492 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
23493 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
23494 * elf/dl-fini.c: Likewise.
23495
10ad46bc
OB
234962013-11-20 Ondřej Bílka <neleai@seznam.cz>
23497
23498 * malloc/hooks.c (memalign_check): Add alignment rounding.
23499 * malloc/malloc.c (_mid_memalign): New function.
23500 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
23501 Implement by calling _mid_memalign.
23502 * manual/probes.texi (Memory Allocation Probes): Remove
23503 memory_valloc_retry and memory_pvalloc_retry.
23504
f3fd2628
SP
235052013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
23506
4712799f
SP
23507 * locale/programs/locarchive.c (open_archive): Add const
23508 qualifier to ARCHIVEFNAME and copy default fname to
23509 DEFAULT_FNAME.
23510
0417b20f
SP
23511 [BZ #15601]
23512 * libio/tst-widetext.input: Rename Oriya to Odia.
23513 * locale/iso-639.def: Likewise.
23514
f3fd2628
SP
23515 * manual/probes.texi (Mathematical Function Probes): Add
23516 documentation for sin, cos, asin and acos probes.
23517 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
23518 (__sin32): Add slowasin probe.
23519 (__cos32): Add slowacos probe.
23520 (__mpsin): Add slowsin probe.
23521 (__mpcos): Add slowcos probe.
23522
73c1ce4f
JM
235232013-11-19 Joseph Myers <joseph@codesourcery.com>
23524
23525 [BZ #15483]
23526 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
23527 thread-local __sim_exceptions_thread and global
23528 __sim_exceptions_global.
23529 (__sim_disabled_exceptions): Change to thread-local
23530 __sim_disabled_exceptions_thread and global
23531 __sim_disabled_exceptions_global.
23532 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
23533 and global __sim_round_mode_global.
23534 (__simulate_exceptions): Use thread-local floating-point state and
23535 set global state from it as needed.
23536 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
23537 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
23538 __sim_round_mode_thread.
23539 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
23540 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
23541 and global __sim_exceptions_global.
23542 (__sim_disabled_exceptions): Change to thread-local
23543 __sim_disabled_exceptions_thread and global
23544 __sim_disabled_exceptions_global.
23545 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
23546 and global __sim_round_mode_global.
23547 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
23548 (SIM_SET_GLOBAL): Likewise.
23549 * sysdeps/powerpc/soft-fp/sfp-machine.h
23550 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
23551 __sim_round_mode_thread.
23552 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
23553 __sim_disabled_exceptions_thread.
23554 (__sim_exceptions): Change to __sim_exceptions_thread.
23555 (__sim_disabled_exceptions): Change to
23556 __sim_disabled_exceptions_thread.
23557 (__sim_round_mode): Change to __sim_round_mode_thread.
23558 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
23559 thread-local floating-point state and set global state from it as
23560 needed.
23561 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
23562 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
23563 (__sim_disabled_exceptions): Remove extern declaration.
23564 (feenableexcept): Use thread-local floating-point state and set
23565 global state from it as needed.
23566 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
23567 extern declaration.
23568 (__sim_disabled_exceptions): Likewise.
23569 (__sim_round_mode): Likewise.
23570 (__fegetenv): Use thread-local floating-point state.
23571 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
23572 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
23573 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
23574 floating-point state and set global state from it as needed.
23575 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
23576 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
23577 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
23578 Likewise.
23579 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
23580 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
23581 Likewise.
23582 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
23583 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
23584 Use __sim_round_mode_thread.
23585 * math/test-fenv-tls.c: New file.
23586 * math/Makefile (tests): Add test-fenv-tls.
23587 ($(objpfx)test-fenv-tls): Depend on
23588 $(common-objpfx)nptl/libpthread.so.
23589
b5449b12
AS
235902013-11-19 Andreas Schwab <schwab@suse.de>
23591
23592 * locale/programs/locale.c (show_info): Decode wordarray elements.
23593 * locale/categories.def (LC_MONETARY): Add element for
23594 _NL_MONETARY_CRNCYSTR.
23595 * locale/C-monetary.c (conversion_rate): New variable.
23596 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
23597 element.
23598
e186536b
CM
235992013-11-18 Chris Metcalf <cmetcalf@tilera.com>
23600
23601 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
23602 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
23603
5c349950
PP
236042013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
23605
23606 * elf/Makefile (tst-auxv): New test.
23607 * elf/tst-auxv.c: New
23608 * elf/rtld.c (dl_main): Adjust AT_EXECFN
23609
699df45b
JM
236102013-11-18 Joseph Myers <joseph@codesourcery.com>
23611
23612 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
23613 (hidden_proto): Caller changed.
23614 (hidden_tls_proto): New macro.
23615 (libc_hidden_tls_proto): Likewise.
23616 (rtld_hidden_tls_proto): Likewise.
23617 (libm_hidden_tls_proto): Likewise.
23618 (libresolv_hidden_tls_proto): Likewise.
23619 (librt_hidden_tls_proto): Likewise.
23620 (libdl_hidden_tls_proto): Likewise.
23621 (libnss_files_hidden_tls_proto): Likewise.
23622 (libnsl_hidden_tls_proto): Likewise.
23623 (libnss_nisplus_hidden_tls_proto): Likewise.
23624 (libutil_hidden_tls_proto): Likewise.
23625
b7589107
OB
236262013-11-18 Ondřej Bílka <neleai@seznam.cz>
23627
23628 [BZ #10253]
23629 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
23630 (decompose_rpath): Defer expansion to fillin_rpath.
23631 (_dl_init_paths): Pass linkmap to fillin_rpath.
23632
250c23bd
RS
236332013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23634
23635 * benchtests/Makefile: Add strsep.
23636 * benchtests/bench-strsep.c: New file: strsep benchtest.
23637 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
23638
a7931fcf
AS
236392013-11-18 Andreas Schwab <schwab@suse.de>
23640
23641 * locale/programs/locale.c (show_info) [case byte]: Check for
23642 '\377' instead of '\177'.
23643 * locale/C-monetary.c (not_available): Always use "\377".
23644 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
23645 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
23646 detect unavailable sign_posn locale elements.
23647 * locale/localeconv.c (__localeconv): For grouping and
23648 mon_grouping handle "\177" and "\377" like no grouping.
23649 (INT_ELEM): New macro. Use it to set all numeric members.
23650 * locale/programs/ld-monetary.c (monetary_read)
23651 <tok_mon_grouping>: Normalize single -1 to the empty string.
23652 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
23653 Likewise.
23654
728dab0e
OB
236552013-11-07 Ondřej Bílka <neleai@seznam.cz>
23656
23657 [BZ #16055]
23658 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
23659 when we match (nil).
23660 * stdio-common/tst-sscanf.c (struct test): Add testcase.
23661
66294491
JM
236622013-11-16 Joseph Myers <joseph@codesourcery.com>
23663
ce665817
JM
23664 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
23665 (NO_TEST_INLINE): Update value.
23666 (ERRNO_UNCHANGED): Likewise.
23667 (ERRNO_EDOM): Likewise.
23668 (ERRNO_ERANGE): Likewise.
23669 (IGNORE_RESULT): Likewise.
23670 (check_float_internal): Check signs of NaN results if
23671 TEST_NAN_SIGN used.
23672 (check_complex): Pass TEST_NAN_SIGN flag through to second
23673 check_float_internal call.
23674 (copysign_test_data): Add tests with quiet NaNs as second
23675 argument. Use TEST_NAN_SIGN.
23676 (fabs_test_data): Add test of negative quiet NaN argument. Use
23677 TEST_NAN_SIGN.
23678 (signbit_test_data): Add tests of quiet NaN argument.
23679 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
23680
ee1466a9
JM
23681 * math/gen-libm-test.pl (show_exceptions): Take extra argument
23682 $ignore_result.
23683 (parse_args): Handle function results specified as IGNORE.
23684 * math/libm-test.inc (IGNORE_RESULT): New macro.
23685 (check_float_internal): Do not check numerical result if flag
23686 IGNORE_RESULT set.
23687 (check_complex): Pass through IGNORE_RESULT to second
23688 check_float_internal call.
23689 (check_int): Do not check numerical result if flag IGNORE_RESULT
23690 set.
23691 (check_long): Likewise.
23692 (check_bool): Likewise.
23693 (check_longlong): Likewise.
23694 (lrint_test_data): Add tests of infinite and NaN arguments.
23695 (lrint_tonearest_test_data): Likewise.
23696 (lrint_towardzero_test_data): Likewise.
23697 (lrint_downward_test_data): Likewise.
23698 (lrint_upward_test_data): Likewise.
23699 (llrint_test_data): Likewise.
23700 (llrint_tonearest_test_data): Likewise.
23701 (llrint_towardzero_test_data): Likewise.
23702 (llrint_downward_test_data): Likewise.
23703 (llrint_upward_test_data): Likewise.
23704 (lround_test_data): Likewise.
23705 (llround_test_data): Likewise.
23706
14407b7e
JM
23707 * math/libm-test.inc (NO_TEST_INLINE): New macro.
23708 (ERRNO_UNCHANGED): Update value.
23709 (ERRNO_EDOM): Likewise.
23710 (ERRNO_ERANGE): Likewise.
23711 (NO_TEST_INLINE_FLOAT): New macro.
23712 (NO_TEST_INLINE_DOUBLE): Likewise.
23713 (enable_test): New function.
23714 (RUN_TEST_f_f): Check enable_test before running test.
23715 (RUN_TEST_2_f): Likewise.
23716 (RUN_TEST_fff_f): Likewise.
23717 (RUN_TEST_c_f): Likewise.
23718 (RUN_TEST_f_f1): Likewise.
23719 (RUN_TEST_fF_f1): Likewise.
23720 (RUN_TEST_fI_f1): Likewise.
23721 (RUN_TEST_ffI_f1): Likewise.
23722 (RUN_TEST_c_c): Likewise.
23723 (RUN_TEST_cc_c): Likewise.
23724 (RUN_TEST_f_i): Likewise.
23725 (RUN_TEST_f_i_tg): Likewise.
23726 (RUN_TEST_ff_i_tg): Likewise.
23727 (RUN_TEST_f_b): Likewise.
23728 (RUN_TEST_f_b_tg): Likewise.
23729 (RUN_TEST_f_l): Likewise.
23730 (RUN_TEST_f_L): Likewise.
23731 (RUN_TEST_fFF_11): Likewise.
23732 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
23733 conditionals.
23734 (cosh_test_data): Likewise.
23735 (exp_test_data): Likewise.
23736 (expm1_test_data): Likewise.
23737 (hypot_test_data): Likewise.
23738 (pow_test_data): Likewise.
23739 (sinh_test_data): Likewise.
23740 (tanh_test_data): Likewise.
23741 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
23742 flags argument.
23743
ca07f197
JM
23744 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
23745 tests with quiet NaN input and output.
23746 (acosh_test_data): Likewise.
23747 (asin_test_data): Likewise.
23748 (asinh_test_data): Likewise.
23749 (atan_test_data): Likewise.
23750 (atanh_test_data): Likewise.
23751 (atan2_test_data): Likewise.
23752 (cbrt_test_data): Likewise.
23753 (cos_test_data): Likewise.
23754 (cosh_test_data): Likewise.
23755 (erf_test_data): Likewise.
23756 (erfc_test_data): Likewise.
23757 (exp_test_data): Likewise.
23758 (exp10_test_data): Likewise.
23759 (exp2_test_data): Likewise.
23760 (expm1_test_data): Likewise.
23761 (hypot_test_data): Likewise.
23762 (j0_test_data): Likewise.
23763 (j1_test_data): Likewise.
23764 (jn_test_data): Likewise.
23765 (lgamma_test_data): Likewise.
23766 (log_test_data): Likewise.
23767 (log10_test_data): Likewise.
23768 (log1p_test_data): Likewise.
23769 (log2_test_data): Likewise.
23770 (pow_test_data): Likewise.
23771 (scalb_test_data): Likewise.
23772 (sin_test_data): Likewise.
23773 (sincos_test_data): Likewise.
23774 (sinh_test_data): Likewise.
23775 (tan_test_data): Likewise.
23776 (tanh_test_data): Likewise.
23777 (tgamma_test_data): Likewise.
23778 (y0_test_data): Likewise.
23779 (y1_test_data): Likewise.
23780 (yn_test_data): Likewise.
23781
66294491
JM
23782 [BZ #16167]
23783 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
23784 argument being NaN and avoid computations with second argument in
23785 that case.
23786 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
23787 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
23788 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
23789
1820b143
CL
237902013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
23791
23792 * locale/iso-639.def: Add Chitwani Tharu (the).
23793
714bd261
AS
237942013-11-14 Andreas Schwab <schwab@suse.de>
23795
23796 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
23797 word instead of empty string.
23798
7ab44563
AZ
237992013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23800
23801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
23802 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
23803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
23804 (__fe_nomask_env): Likewise.
23805
e8470ea2
SE
238062013-11-13 Steve Ellcey <sellcey@mips.com>
23807
23808 * benchtests/bench-timing.h: Include time.h.
23809
17c1d9f0
L
238102013-11-13 H.J. Lu <hongjiu.lu@intel.com>
23811
23812 [BZ #15997]
23813 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
23814 to 3.4.0 for x32.
23815 * sysdeps/unix/sysv/linux/configure: Regenerated.
23816
9310c284
JM
238172013-11-13 Joseph Myers <joseph@codesourcery.com>
23818
23819 [BZ #16151]
23820 * stdlib/strtod_l.c (round_and_return): Do not consider
23821 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
23822 exponent one less than half the least subnormal exponent.
23823 * stdlib/test-strtod-round-data: Add more tests.
23824 * stdlib/tst-strtod-round.c (tests): Regenerated.
23825
7a2ad8cf
AZ
238262013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23827
23828 [BZ #14143]
23829 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
23830 (__fe_mask_env): Likewise.
23831 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
23832 libm_hidden_proto and add function prototype.
23833 (__fe_mask_env): Add function prototype.
23834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
23835 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
23836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
23837 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
23838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
23839 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
23840
50727aa7
MS
238412013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23842
b2f386c1 23843 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
23844 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
23845
a615be46
MS
238462013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23847
23848 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
23849 of htab_find_slot().
23850
7ddace62
DM
238512013-11-11 David S. Miller <davem@davemloft.net>
23852
23853 [BZ #16150]
23854 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
23855 symbol in the non-vis3 case in static builds.
23856 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
23857 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
23858 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
23859 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
23860
9182aa67
JK
238612013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
23862
23863 [BZ #387]
23864 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
23865 it is empty.
23866
450a2e2d
AZ
238672013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23868
b2f386c1
SP
23869 * benchtests/Makefile: Add bench-strtod.
23870 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 23871
8ec3f656
AS
238722013-11-11 Andreas Schwab <schwab@suse.de>
23873
23874 [BZ #16153]
23875 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
23876 terminating NUL in key length.
23877
76a9b998
AZ
238782013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23879
23880 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
23881 Add artificial ODP entry for vDSO symbol for PPC64.
23882 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
23883 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
23884
e4368156
OB
238852013-11-07 Ondřej Bílka <neleai@seznam.cz>
23886
23887 [BZ #15374]
23888 * nss/getent.c (services_keys): Recognize services starting with digit.
23889
8d6bb57c
DM
238902013-11-06 David S. Miller <davem@davemloft.net>
23891
23892 [BZ #15985]
23893 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
23894 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
23895
e256c421
WN
238962013-11-06 Will Newton <will.newton@linaro.org>
23897
23898 * manual/memory.texi (Malloc Examples): Remove register
23899 keyword from examples.
23900
f6e12daa 239012013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 23902
f6e12daa 23903 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 23904
9d880655
AS
239052013-11-04 Joseph Myers <joseph@codesourcery.com>
23906
fd2f9486 23907 [BZ #6981]
9d880655
AS
23908 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
23909 depending on [__GCC_IEC_559 > 0].
23910 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
23911 depending on [__GCC_IEC_559_COMPLEX > 0].
23912
ae129d3c
CL
239132013-11-03 Chris Leonard <cjl@sugarlabs.org>
23914
23915 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
23916 to iso-639.def.
23917
4a15c2a4 239182013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
23919
23920 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
23921
8b35e35d
OB
239222013-11-01 Ondřej Bílka <neleai@seznam.cz>
23923
23924 [BZ #16112]
23925 * malloc/malloc (malloc_info): Do not handle first bin as
23926 special case.
23927
1d70fd6c
CL
239282013-11-01 Chris Leonard <cjl@sugarlabs.org>
23929
23930 * locale/iso-639.def: Add Central Nahuatl (nhn).
23931
8c5c2600
BH
239322013-11-01 Bruno Haible <bruno@clisp.org>
23933
23934 [BZ #7003]
23935 * manual/math.texi (BSD Random): Specify range upper bound as
23936 in POSIX.
23937
da5579c2
CL
239382013-10-31 Chris Leonard <cjl@sugarlabs.org>
23939
23940 * locale/iso-639.def: Add Meadow Mari (mhr).
23941
5d30d853
OB
239422013-10-31 Ondřej Bílka <neleai@seznam.cz>
23943
23944 [BZ #14752], [BZ #15763]
23945 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
23946 Validate name.
23947 * rt/tst_shm.c: Add test for escaping directory.
23948
a4966c61
AS
239492013-10-31 Andreas Schwab <schwab@suse.de>
23950
8a43e768 23951 [BZ #15917]
a4966c61
AS
23952 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
23953 followed by 'x' as part of digit sequence.
23954 * stdio-common/tst-sscanf.c (double_tests2): New tests.
23955
28d708c4
MAP
239562013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
23957
23958 [BZ #16037]
23959 * configure.ac: allow GNU Make 4.0 and greater.
23960 * configure: Regenerated.
23961
a56ee40b
WN
239622013-10-30 Will Newton <will.newton@linaro.org>
23963
23964 [BZ #16038]
23965 * malloc/hooks.c (memalign_check): Limit alignment to the
23966 maximum representable power of two.
23967 * malloc/malloc.c (__libc_memalign): Likewise.
23968 * malloc/tst-memalign.c (do_test): Add test for very
23969 large alignment values.
23970 * malloc/tst-posix_memalign.c (do_test): Likewise.
23971
c6e4925d
OB
239722013-10-30 Ondřej Bílka <neleai@seznam.cz>
23973
23974 [BZ #11087]
23975 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
23976 (munmap_chunk): Likewise.
23977 (mremap_chunk): Likewise.
23978
239792013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 23980
8a43e768 23981 [BZ #15799]
bbea82f7
OB
23982 * stdlib/div.c (div): Remove obsolete code.
23983 * stdlib/ldiv.c (ldiv): Likewise.
23984 * stdlib/lldiv.c (lldiv): Likewise.
23985
977f4b31
SP
239862013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
23987
23988 [BZ #16071]
23989 * nss/nss_files/files-XXX.c (get_contents_ret): New
23990 enumerator.
23991 (get_contents): New function.
23992 (internal_getent): Use it. Expand size of LINEBUFLEN.
23993
cb8a6dbd
MF
239942013-10-30 Mike Frysinger <vapier@gentoo.org>
23995
23996 * configure.in: Moved to ...
23997 * configure.ac: ... here. Change reference to configure.in
23998 to configure.ac.
23999 * sysdeps/arm/preconfigure.ac: ... here.
24000 configure.in to configure.ac.
24001 * sysdeps/gnu/configure.in: Moved to ...
24002 * sysdeps/gnu/configure.ac: ... here.
24003 * sysdeps/i386/configure.in: Moved to ...
24004 * sysdeps/i386/configure.ac: ... here.
24005 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
24006 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
24007 * sysdeps/mach/configure.in: Moved to ...
24008 * sysdeps/mach/configure.ac: ... here.
24009 * sysdeps/mach/hurd/configure.in: Moved to ...
24010 * sysdeps/mach/hurd/configure.ac: ... here.
24011 * sysdeps/powerpc/configure.in: Moved to ...
24012 * sysdeps/powerpc/configure.ac: ... here.
24013 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
24014 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
24015 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
24016 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
24017 * sysdeps/s390/s390-32/configure.in: Moved to ...
24018 * sysdeps/s390/s390-32/configure.ac: ... here.
24019 * sysdeps/s390/s390-64/configure.in: Moved to ...
24020 * sysdeps/s390/s390-64/configure.ac: ... here.
24021 * sysdeps/sh/configure.in: Moved to ...
24022 * sysdeps/sh/configure.ac: ... here.
24023 * sysdeps/sparc/configure.in: Moved to ...
24024 * sysdeps/sparc/configure.ac: ... here.
24025 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
24026 * sysdeps/unix/sysv/linux/configure.ac: ... here.
24027 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
24028 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
24029 * sysdeps/x86_64/configure.in: Moved to ...
24030 * sysdeps/x86_64/configure.ac: ... here.
24031 * sysdeps/x86_64/preconfigure.in: Moved to ...
24032 * sysdeps/x86_64/preconfigure.ac: ... here.
24033 * aclocal.m4: Change reference to configure.in to configure.ac.
24034 * config.h.in: Likewise.
24035 * manual/install.texi: Likewise.
24036 * manual/maint.texi: Likewise.
24037 * Makefile: Likewise.
24038 * malloc/Makefile: Likewise.
24039 * nscd/Makefile: Likewise.
24040 * Makeconfig: Change reference to configure.in and
24041 preconfigure.in to configure.ac and preconfigure.ac
24042 respectively.
24043 * INSTALL: Regenerated.
24044 * configure: Likewise.
24045 * sysdeps/gnu/configure: Likewise.
24046 * sysdeps/i386/configure: Likewise.
24047 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
24048 * sysdeps/mach/configure: Likewise.
24049 * sysdeps/mach/hurd/configure: Likewise.
24050 * sysdeps/powerpc/configure: Likewise.
24051 * sysdeps/powerpc/powerpc32/configure: Likewise.
24052 * sysdeps/powerpc/powerpc64/configure: Likewise.
24053 * sysdeps/s390/s390-32/configure: Likewise.
24054 * sysdeps/s390/s390-64/configure: Likewise.
24055 * sysdeps/sh/configure: Likewise.
24056 * sysdeps/sparc/configure: Likewise.
24057 * sysdeps/unix/sysv/linux/configure: Likewise.
24058 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
24059 * sysdeps/x86_64/configure: Likewise.
24060 * sysdeps/x86_64/preconfigure: Likewise.
24061
36a4953a
AS
240622013-10-29 Andreas Schwab <schwab@suse.de>
24063
24064 * stdio-common/Makefile (tst-swscanf-ENV): Define.
24065
c79a1204
SP
240662013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24067
dfa1b402
SP
24068 * benchtests/pow-inputs: Add new inputs.
24069
54f73d9c
SP
24070 * benchtests/exp-inputs: Add new inputs.
24071
c79a1204
SP
24072 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
24073 conditional check for return value.
24074 (__cos32): Likewise.
24075
67beb545 240762013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
24077
24078 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
24079 to provide a boost for large inputs with word alignment.
24080 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
24081 implementation based on optimized PPC64 strcpy.
24082 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
24083 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
24084 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
24085 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
24086
151659f6
OB
240872013-10-25 Ondřej Bílka <neleai@seznam.cz>
24088
482a077e 24089 [BZ #2801]
151659f6
OB
24090 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
24091
10b0f26b
OB
240922013-10-25 Ondřej Bílka <neleai@seznam.cz>
24093
24094 [BZ #14876]
24095 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
24096 * time/tst-strptime.c (day_tests): Add testcase.
24097
ca42d35e
OB
240982013-10-25 Ondřej Bílka <neleai@seznam.cz>
24099
482a077e 24100 [BZ #14029]
ca42d35e
OB
24101 * manual/pattern.texi: Acknowledge that fnmatch can fail.
24102
52e6d801
FB
241032013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
24104
24105 [BZ #16074]
24106 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
24107 MAP_FAILED on error.
24108
7cbcdb36
SP
241092013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
24110
24111 [BZ #16072]
24112 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
24113 heap for large requests.
24114
894f3f10
AM
241152013-10-25 Aurelien Jarno <aurelien@aurel32.net>
24116
24117 [BZ #9954]
24118 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
24119 result if the result has no associated interface.
24120 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
24121 interface for all 127.X.Y.Z addresses.
24122
b85545a6
CL
241232013-10-24 Chris Leonard <cjl@sugarlabs.org>
24124
24125 * locale/iso-639.def: Add Ligurian (lij)
24126
d1f23d46
OB
241272013-10-21 Ondřej Bílka <neleai@seznam.cz>
24128
24129 [BZ #15825]
24130 * sunrpc/rpc_main.c: Document rpcgen -5.
24131
4db5b08f
MS
241322013-10-19 Michael Stahl <mstahl@redhat.com>
24133
24134 * elf/rtld.c (do_preload): Print the reason why preloading failed.
24135
a471e96a
OB
241362013-10-19 Ondřej Bílka <neleai@seznam.cz>
24137
d1f23d46 24138 [BZ #10278]
a471e96a
OB
24139 * posix/glob.c: Match only directories when trailing slash is present.
24140 * posix/tst-gnuglob.c (my_opendir): Do not open files.
24141 (main): Add testcase.
24142
45c30c61
OB
241432013-10-19 Ondřej Bílka <neleai@seznam.cz>
24144
24145 [BZ #15670]
24146 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
24147
484c12fb
CD
241482013-10-18 Carlos O'Donell <carlos@redhat.com>
24149
3d7dc513
CD
24150 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
24151 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
24152 AUTH_DES and cindex for FIPS 140-2.
24153 (DES Encryption): Add cindex FIPS 46-3.
24154
484c12fb
CD
24155 * locale/locarchive.h (struct locarhandle): Add fname.
24156 * locale/programs/localedef.c (main): Pass ARGV[remaining]
24157 if an optional argument was specified to --list-archive,
24158 otherwise NULL.
24159 * locale/programs/locarchive.c (show_archive_content): Take new
24160 argument fname and pass it via ah.fname to open_archive.
24161 * locale/programs/localedef.h: Update decl.
24162 (open_archive): If AH->fname is non-null, open that file
24163 rather than the default file name, and don't ignore ENOENT.
24164 (create_archive): Set AH.fname to NULL.
24165 (delete_locales_from_archive): Likewise.
24166 (add_locales_to_archive): Likewise.
24167 * locale/programs/locfile.c (write_all_categories): Likewise.
24168
3c8325fb
JM
241692013-10-18 Joseph Myers <joseph@codesourcery.com>
24170 Aldy Hernandez <aldyh@redhat.com>
24171
24172 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
24173 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
24174 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
24175 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
24176 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
24177 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
24178 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
24179 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
24180 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
24181 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
24182 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
24183 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
24184 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
24185 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
24186 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
24187 Likewise.
24188 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
24189 Likewise.
24190 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
24191 Likewise.
24192 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
24193 Likewise.
24194 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
24195 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
24196 Likewise.
24197 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
24198 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
24199 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
24200 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
24201 Likewise.
24202 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
24203 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
24204 * sysdeps/powerpc/preconfigure: Likewise.
24205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
24206 Likewise.
24207 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
24208 Replace contents of file by #include of <fenv_libc.h>.
24209 * sysdeps/powerpc/soft-fp/sfp-machine.h
24210 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
24211 and <sys/prctl.h>.
24212 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
24213 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
24214 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
24215 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
24216 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
24217 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
24218 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
24219 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
24220 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
24221 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
24222 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
24223 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
24224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
24225 Allow copysignl PLT reference to be missing.
24226
5abe0682
RS
242272013-10-18 Richard Sandiford <richard@codesourcery.com>
24228 Joseph Myers <joseph@codesourcery.com
24229
24230 [BZ #15948]
24231 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
24232 single character.
24233 (add_to_tablewc): Assert sequence of wide characters is nonempty.
24234
c7738d08
SP
242352013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24236
24237 * elf/tst-tls-dlinfo.c: Don't include tls.h.
24238 * elf/tst-tls1.c: Likewise.
24239 * elf/tst-tls10.h: Likewise.
24240 * elf/tst-tls14.c: Likewise.
24241 * elf/tst-tls2.c: Likewise.
24242 * elf/tst-tls3.c: Likewise.
24243 * elf/tst-tls4.c: Likewise.
24244 * elf/tst-tls5.c: Likewise.
24245 * elf/tst-tls6.c: Likewise.
24246 * elf/tst-tls7.c: Likewise.
24247 * elf/tst-tls8.c: Likewise.
24248 * elf/tst-tls9.c: Likewise.
24249 * elf/tst-tlsmod1.c: Likewise.
24250 * elf/tst-tlsmod13.c: Likewise.
24251 * elf/tst-tlsmod13a.c: Likewise.
24252 * elf/tst-tlsmod14a.c: Likewise.
24253 * elf/tst-tlsmod16a.c: Likewise.
24254 * elf/tst-tlsmod16b.c: Likewise.
24255 * elf/tst-tlsmod2.c: Likewise.
24256 * elf/tst-tlsmod3.c: Likewise.
24257 * elf/tst-tlsmod4.c: Likewise.
24258 * elf/tst-tlsmod5.c: Likewise.
24259 * elf/tst-tlsmod6.c: Likewise.
24260
0bfcf2c7
OB
242612013-10-18 Ondřej Bílka <neleai@seznam.cz>
24262
24263 [BZ #12486]
24264 * malloc/malloc.c: remove checks for statistics.
24265
264aad1e
OB
242662013-10-17 Ondřej Bílka <neleai@seznam.cz>
24267
24268 [BZ #15277]
24269 * inet/inet_net.c (inet_network): Detect additional invalid strings.
24270 * inet/tst-network.c: Add testcase.
24271
b957ced8
AS
242722013-10-17 Andreas Schwab <schwab@suse.de>
24273
24274 [BZ #15218]
24275 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
24276 to determine canonical name.
24277
c5d5d574
OB
242782013-10-17 Ondřej Bílka <neleai@seznam.cz>
24279
24280 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
24281 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
24282 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24283 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
24284 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24285 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
24286 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
24287 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
24288 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
24289 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
24290 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
24291 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
24292 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
24293 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
24294 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
24295 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
24296 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24297 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
24298 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
24299 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
24300 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
24301 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24302 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24303 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
24304 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
24305 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
24306 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
24307 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
24308 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
24309 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
24310 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
24311 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24312 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
24313 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
24314 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
24315 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24316 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
24317 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
24318 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
24319 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
24320 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
24321 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
24322 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
24323 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
24324 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
24325 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
24326 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
24327 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
24328 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
24329 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
24330 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
24331 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
24332 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
24333 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
24334 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24335 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
24336 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24337 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
24338
e5c2c2d0
JM
243392013-10-17 Joseph Myers <joseph@codesourcery.com>
24340
24341 [BZ #16041]
24342 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
24343 make result into a quiet NaN.
24344
51ca9e29
JM
243452013-10-16 Joseph Myers <joseph@codesourcery.com>
24346
24347 * soft-fp/adddf3.c: Fix horizontal whitespace.
24348 * soft-fp/addsf3.c: Likewise.
24349 * soft-fp/addtf3.c: Likewise.
24350 * soft-fp/divdf3.c: Likewise.
24351 * soft-fp/divsf3.c: Likewise.
24352 * soft-fp/divtf3.c: Likewise.
24353 * soft-fp/double.h: Likewise.
24354 * soft-fp/eqdf2.c: Likewise.
24355 * soft-fp/eqsf2.c: Likewise.
24356 * soft-fp/eqtf2.c: Likewise.
24357 * soft-fp/extenddftf2.c: Likewise.
24358 * soft-fp/extended.h: Likewise.
24359 * soft-fp/extendsfdf2.c: Likewise.
24360 * soft-fp/extendsftf2.c: Likewise.
24361 * soft-fp/extendxftf2.c: Likewise.
24362 * soft-fp/fixdfdi.c: Likewise.
24363 * soft-fp/fixdfsi.c: Likewise.
24364 * soft-fp/fixdfti.c: Likewise.
24365 * soft-fp/fixsfdi.c: Likewise.
24366 * soft-fp/fixsfsi.c: Likewise.
24367 * soft-fp/fixsfti.c: Likewise.
24368 * soft-fp/fixtfdi.c: Likewise.
24369 * soft-fp/fixtfsi.c: Likewise.
24370 * soft-fp/fixtfti.c: Likewise.
24371 * soft-fp/fixunsdfdi.c: Likewise.
24372 * soft-fp/fixunsdfsi.c: Likewise.
24373 * soft-fp/fixunsdfti.c: Likewise.
24374 * soft-fp/fixunssfdi.c: Likewise.
24375 * soft-fp/fixunssfsi.c: Likewise.
24376 * soft-fp/fixunssfti.c: Likewise.
24377 * soft-fp/fixunstfdi.c: Likewise.
24378 * soft-fp/fixunstfsi.c: Likewise.
24379 * soft-fp/fixunstfti.c: Likewise.
24380 * soft-fp/floatdidf.c: Likewise.
24381 * soft-fp/floatdisf.c: Likewise.
24382 * soft-fp/floatditf.c: Likewise.
24383 * soft-fp/floatsidf.c: Likewise.
24384 * soft-fp/floatsisf.c: Likewise.
24385 * soft-fp/floatsitf.c: Likewise.
24386 * soft-fp/floattidf.c: Likewise.
24387 * soft-fp/floattisf.c: Likewise.
24388 * soft-fp/floattitf.c: Likewise.
24389 * soft-fp/floatundidf.c: Likewise.
24390 * soft-fp/floatundisf.c: Likewise.
24391 * soft-fp/floatunditf.c: Likewise.
24392 * soft-fp/floatunsidf.c: Likewise.
24393 * soft-fp/floatunsisf.c: Likewise.
24394 * soft-fp/floatunsitf.c: Likewise.
24395 * soft-fp/floatuntidf.c: Likewise.
24396 * soft-fp/floatuntisf.c: Likewise.
24397 * soft-fp/floatuntitf.c: Likewise.
24398 * soft-fp/fmadf4.c: Likewise.
24399 * soft-fp/fmasf4.c: Likewise.
24400 * soft-fp/fmatf4.c: Likewise.
24401 * soft-fp/gedf2.c: Likewise.
24402 * soft-fp/gesf2.c: Likewise.
24403 * soft-fp/getf2.c: Likewise.
24404 * soft-fp/ledf2.c: Likewise.
24405 * soft-fp/lesf2.c: Likewise.
24406 * soft-fp/letf2.c: Likewise.
24407 * soft-fp/muldf3.c: Likewise.
24408 * soft-fp/mulsf3.c: Likewise.
24409 * soft-fp/multf3.c: Likewise.
24410 * soft-fp/negdf2.c: Likewise.
24411 * soft-fp/negsf2.c: Likewise.
24412 * soft-fp/negtf2.c: Likewise.
24413 * soft-fp/op-1.h: Likewise.
24414 * soft-fp/op-2.h: Likewise.
24415 * soft-fp/op-4.h: Likewise.
24416 * soft-fp/op-8.h: Likewise.
24417 * soft-fp/op-common.h: Likewise.
24418 * soft-fp/quad.h: Likewise.
24419 * soft-fp/single.h: Likewise.
24420 * soft-fp/soft-fp.h: Likewise.
24421 * soft-fp/sqrtdf2.c: Likewise.
24422 * soft-fp/sqrtsf2.c: Likewise.
24423 * soft-fp/sqrttf2.c: Likewise.
24424 * soft-fp/subdf3.c: Likewise.
24425 * soft-fp/subsf3.c: Likewise.
24426 * soft-fp/subtf3.c: Likewise.
24427 * soft-fp/truncdfsf2.c: Likewise.
24428 * soft-fp/trunctfdf2.c: Likewise.
24429 * soft-fp/trunctfsf2.c: Likewise.
24430 * soft-fp/trunctfxf2.c: Likewise.
24431 * soft-fp/unorddf2.c: Likewise.
24432 * soft-fp/unordsf2.c: Likewise.
24433 * soft-fp/unordtf2.c: Likewise.
24434
9ebb0332
JM
244352013-10-15 Joseph Myers <joseph@codesourcery.com>
24436
24437 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
24438 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
24439
4b1a6d8b
OB
244402013-10-15 Ondřej Bílka <neleai@seznam.cz>
24441
24442 * elf/dl-libc.c: Clear initfini list after freeing.
24443
1e145589
JM
244442013-10-14 Joseph Myers <joseph@codesourcery.com>
24445
24446 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
24447 * soft-fp/addsf3.c: Likewise.
24448 * soft-fp/addtf3.c: Likewise.
24449 * soft-fp/divdf3.c: Likewise.
24450 * soft-fp/divsf3.c: Likewise.
24451 * soft-fp/divtf3.c: Likewise.
24452 * soft-fp/double.h: Likewise.
24453 * soft-fp/eqdf2.c: Likewise.
24454 * soft-fp/eqsf2.c: Likewise.
24455 * soft-fp/eqtf2.c: Likewise.
24456 * soft-fp/extenddftf2.c: Likewise.
24457 * soft-fp/extended.h: Likewise.
24458 * soft-fp/extendsfdf2.c: Likewise.
24459 * soft-fp/extendsftf2.c: Likewise.
24460 * soft-fp/extendxftf2.c: Likewise.
24461 * soft-fp/fixdfdi.c: Likewise.
24462 * soft-fp/fixdfsi.c: Likewise.
24463 * soft-fp/fixdfti.c: Likewise.
24464 * soft-fp/fixsfdi.c: Likewise.
24465 * soft-fp/fixsfsi.c: Likewise.
24466 * soft-fp/fixsfti.c: Likewise.
24467 * soft-fp/fixtfdi.c: Likewise.
24468 * soft-fp/fixtfsi.c: Likewise.
24469 * soft-fp/fixtfti.c: Likewise.
24470 * soft-fp/fixunsdfdi.c: Likewise.
24471 * soft-fp/fixunsdfsi.c: Likewise.
24472 * soft-fp/fixunsdfti.c: Likewise.
24473 * soft-fp/fixunssfdi.c: Likewise.
24474 * soft-fp/fixunssfsi.c: Likewise.
24475 * soft-fp/fixunssfti.c: Likewise.
24476 * soft-fp/fixunstfdi.c: Likewise.
24477 * soft-fp/fixunstfsi.c: Likewise.
24478 * soft-fp/fixunstfti.c: Likewise.
24479 * soft-fp/floatdidf.c: Likewise.
24480 * soft-fp/floatdisf.c: Likewise.
24481 * soft-fp/floatditf.c: Likewise.
24482 * soft-fp/floatsidf.c: Likewise.
24483 * soft-fp/floatsisf.c: Likewise.
24484 * soft-fp/floatsitf.c: Likewise.
24485 * soft-fp/floattidf.c: Likewise.
24486 * soft-fp/floattisf.c: Likewise.
24487 * soft-fp/floattitf.c: Likewise.
24488 * soft-fp/floatundidf.c: Likewise.
24489 * soft-fp/floatundisf.c: Likewise.
24490 * soft-fp/floatunsidf.c: Likewise.
24491 * soft-fp/floatunsisf.c: Likewise.
24492 * soft-fp/floatuntidf.c: Likewise.
24493 * soft-fp/floatuntisf.c: Likewise.
24494 * soft-fp/floatuntitf.c: Likewise.
24495 * soft-fp/fmadf4.c: Likewise.
24496 * soft-fp/fmasf4.c: Likewise.
24497 * soft-fp/fmatf4.c: Likewise.
24498 * soft-fp/gedf2.c: Likewise.
24499 * soft-fp/gesf2.c: Likewise.
24500 * soft-fp/getf2.c: Likewise.
24501 * soft-fp/ledf2.c: Likewise.
24502 * soft-fp/lesf2.c: Likewise.
24503 * soft-fp/letf2.c: Likewise.
24504 * soft-fp/muldf3.c: Likewise.
24505 * soft-fp/mulsf3.c: Likewise.
24506 * soft-fp/multf3.c: Likewise.
24507 * soft-fp/negdf2.c: Likewise.
24508 * soft-fp/negsf2.c: Likewise.
24509 * soft-fp/negtf2.c: Likewise.
24510 * soft-fp/op-1.h: Likewise.
24511 * soft-fp/op-2.h: Likewise.
24512 * soft-fp/op-4.h: Likewise.
24513 * soft-fp/op-8.h: Likewise.
24514 * soft-fp/op-common.h: Likewise.
24515 * soft-fp/quad.h: Likewise.
24516 * soft-fp/single.h: Likewise.
24517 * soft-fp/soft-fp.h: Likewise.
24518 * soft-fp/sqrtdf2.c: Likewise.
24519 * soft-fp/sqrtsf2.c: Likewise.
24520 * soft-fp/sqrttf2.c: Likewise.
24521 * soft-fp/subdf3.c: Likewise.
24522 * soft-fp/subsf3.c: Likewise.
24523 * soft-fp/subtf3.c: Likewise.
24524 * soft-fp/truncdfsf2.c: Likewise.
24525 * soft-fp/trunctfdf2.c: Likewise.
24526 * soft-fp/trunctfsf2.c: Likewise.
24527 * soft-fp/trunctfxf2.c: Likewise.
24528 * soft-fp/unorddf2.c: Likewise.
24529 * soft-fp/unordsf2.c: Likewise.
24530 * soft-fp/unordtf2.c: Likewise.
24531
17c48a60
OB
245322013-10-14 Ondřej Bílka <neleai@seznam.cz>
24533
24534 [BZ #15672]
24535 * misc/error.c (error_tail): Fix possible buffer overflow.
24536
cabba934
OB
245372013-10-14 Aurelien Jarno <aurelien@aurel32.net>
24538
24539 [BZ #13028]
24540 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
24541 address.
24542
94bf958a
PM
245432013-10-14 P. J. McDermott <pj@pehjota.net>
24544
24545 [BZ #832]
24546 * elf/ldd.bash.in (try_trace): New function. Delete previous code
24547 testing pipefail option.
24548
71b4dea7
JM
245492013-10-12 Joseph Myers <joseph@codesourcery.com>
24550
24551 * soft-fp/double.h: Indent preprocessor directives inside #if.
24552 * soft-fp/extended.h: Likewise.
24553 * soft-fp/op-2.h: Likewise.
24554 * soft-fp/op-4.h: Likewise.
24555 * soft-fp/op-common.h: Likewise.
24556 * soft-fp/quad.h: Likewise.
24557 * soft-fp/single.h: Likewise.
24558 * soft-fp/soft-fp.h: Likewise.
24559
55602758
YC
245602013-10-12 Yuri Chornoivan <yurchor@ukr.net>
24561
24562 * iconv/iconv_prog.c: Fix typos.
24563 * stdio-common/psiginfo-data.h: Likewise.
24564
9cd83302
RT
245652013-10-12 Reuben Thomas <rrt@sc3d.org>
24566
24567 [BZ #15764]
24568 * locale/setlocale.c: Fix typo.
24569
99fd9f47
JM
245702013-10-12 Joseph Myers <joseph@codesourcery.com>
24571
b7ea74f0
JM
24572 [BZ #16036]
24573 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
24574 signaling NaN arguments.
24575 * soft-fp/unordsf2.c (__unordsf2): Likewise.
24576 * soft-fp/unordtf2.c (__unordtf2): Likewise.
24577
8a509447
JM
24578 [BZ #14910]
24579 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
24580 unordered operands.
24581 * soft-fp/gesf2.c (__gesf2): Likewise.
24582 * soft-fp/getf2.c (__getf2): Likewise.
24583 * soft-fp/ledf2.c (__ledf2): Likewise.
24584 * soft-fp/lesf2.c (__lesf2): Likewise.
24585 * soft-fp/letf2.c (__letf2): Likewise.
24586
98998e9f
JM
24587 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
24588 * soft-fp/eqsf2.c (__eqsf2): Likewise.
24589 * soft-fp/eqtf2.c (__eqtf2): Likewise.
24590 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
24591 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
24592 * soft-fp/fixdfti.c (__fixdfti): Likewise.
24593 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
24594 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
24595 * soft-fp/fixsfti.c (__fixsfti): Likewise.
24596 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
24597 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
24598 * soft-fp/fixtfti.c (__fixtfti): Likewise.
24599 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
24600 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
24601 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
24602 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
24603 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
24604 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
24605 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
24606 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
24607 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
24608 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
24609 * soft-fp/floatdisf.c (__floatdisf): Likewise.
24610 * soft-fp/floatsisf.c (__floatsisf): Likewise.
24611 * soft-fp/floattidf.c (__floattidf): Likewise.
24612 * soft-fp/floattisf.c (__floattisf): Likewise.
24613 * soft-fp/floattitf.c (__floattitf): Likewise.
24614 * soft-fp/floatundidf.c (__floatundidf): Likewise.
24615 * soft-fp/floatundisf.c (__floatundisf): Likewise.
24616 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
24617 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
24618 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
24619 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
24620 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
24621 * soft-fp/gesf2.c (__gesf2): Likewise.
24622 * soft-fp/getf2.c (__getf2): Likewise.
24623 * soft-fp/ledf2.c (__ledf2): Likewise.
24624 * soft-fp/lesf2.c (__lesf2): Likewise.
24625 * soft-fp/letf2.c (__letf2): Likewise.
24626
8edc4a11
JM
24627 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
24628 Undefine and redefine.
24629 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
24630 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
24631 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
24632 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
24633 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
24634 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
24635 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
24636 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
24637 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
24638 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
24639 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
24640 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
24641 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
24642 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
24643 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
24644
8399acaf
JM
24645 [BZ #16032]
24646 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
24647 without decrementing exponent if mantissa >= that for the
24648 denominator, not >.
24649 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
24650 denominator, not >. Decrement exponent in < case instead of
24651 incrementing in >= case.
24652 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
24653 without decrementing exponent if mantissa >= that for the
24654 denominator, not >.
24655
99fd9f47
JM
24656 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
24657 computing saturated result for unsigned overflow.
24658
10e1cf6b
SP
246592013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24660 Jeff Law <law@redhat.com>
24661
24662 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
24663 (atan2Mp): Add systemtap probe marker.
24664 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
24665 (__ieee754_log): Add systemtap probe marker.
24666 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
24667 (atanMp): Add systemtap probe marker.
24668 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
24669 (tanMp): Add systemtap probe marker.
24670 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
24671 (__slowexp): Add systemtap probe marker.
24672 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
24673 (__slowpow): Add systemtap probe marker.
24674 * manual/probes.texi: Document probes.
24675
3d110c7c
EB
246762013-10-11 Eric Biggers <ebiggers3@gmail.com>
24677
24678 [BZ #15362]
24679 * libio/fileops.c (_IO_new_file_write): Return count of bytes
24680 written.
24681 (_IO_new_file_xsputn): Don't return EOF if nothing has been
24682 written.
24683 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
24684 written to buffer but not flushed.
24685 * libio/iofwrite_u.c: Likewise.
24686 * libio/iopadn.c: Return bytes returned even if EOF was
24687 encountered.
24688 * libio/iowpadn.c: Likewise.
24689 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
24690 if _IO_padn does not write the whole buffer.
24691 [!COMPILE_WPRINTF] (PAD): Likewise.
24692
75b4202a
DM
246932013-10-10 David S. Miller <davem@davemloft.net>
24694
24695 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
24696 directory block.
24697
6c6352e6
JM
246982013-10-10 Joseph Myers <joseph@codesourcery.com>
24699
33b853c3
JM
24700 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
24701 instead of FSF address.
24702 * soft-fp/fixdfti.c: Likewise.
24703 * soft-fp/fixsfti.c: Likewise.
24704 * soft-fp/fixtfti.c: Likewise.
24705 * soft-fp/fixunsdfti.c: Likewise.
24706 * soft-fp/fixunssfti.c: Likewise.
24707 * soft-fp/fixunstfti.c: Likewise.
24708 * soft-fp/floattidf.c: Likewise.
24709 * soft-fp/floattisf.c: Likewise.
24710 * soft-fp/floattitf.c: Likewise.
24711 * soft-fp/floatuntidf.c: Likewise.
24712 * soft-fp/floatuntisf.c: Likewise.
24713 * soft-fp/floatuntitf.c: Likewise.
24714 * soft-fp/trunctfxf2.c: Likewise.
24715
6c6352e6
JM
24716 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
24717 * soft-fp/fixdfti.c: Likewise.
24718 * soft-fp/fixsfti.c: Likewise.
24719 * soft-fp/fixtfti.c: Likewise.
24720 * soft-fp/fixunsdfti.c: Likewise.
24721 * soft-fp/fixunssfti.c: Likewise.
24722 * soft-fp/fixunstfti.c: Likewise.
24723 * soft-fp/floattidf.c: Likewise.
24724 * soft-fp/floattisf.c: Likewise.
24725 * soft-fp/floattitf.c: Likewise.
24726 * soft-fp/floatuntidf.c: Likewise.
24727 * soft-fp/floatuntisf.c: Likewise.
24728 * soft-fp/floatuntitf.c: Likewise.
24729 * soft-fp/trunctfxf2.c: Likewise.
24730
3bf78b71
DM
247312013-10-10 David S. Miller <davem@davemloft.net>
24732
24733 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24734
6f10289e
JM
247352013-10-10 Joseph Myers <joseph@codsourcery.com>
24736
bd878fc0
JM
24737 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
24738 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
24739 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
24740 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
24741 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
24742 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
24743 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
24744
6f10289e
JM
24745 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
24746 for NaNs before doing comparisons on argument.
24747 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
24748 Likewise.
24749
321e2684
WN
247502013-10-10 Will Newton <will.newton@linaro.org>
24751
24752 * malloc/hooks.c (memalign_check): Ensure the value of bytes
24753 passed to _int_memalign does not overflow.
24754
40fefba1
TR
247552013-10-10 Torvald Riegel <triegel@redhat.com>
24756
24757 * scripts/bench.pl: Add include-sources directive.
24758 * benchtests/README: Update documentation.
24759
2ae21ed2
JM
247602013-10-10 Joseph Myers <joseph@codesourcery.com>
24761
dcc2dd3f
JM
24762 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
24763 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
24764 instead of FP_INIT_ROUNDMODE.
24765 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
24766 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
24767
2ae21ed2
JM
24768 [BZ #16034]
24769 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
24770 copy class of input value.
24771 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
24772 not handle exceptions.
24773 * soft-fp/negsf2.c (__negsf2): Likewise.
24774 * soft-fp/negtf2.c (__negtf2): Likewise.
24775 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
24776
cb8f9562
JM
247772013-10-09 Joseph Myers <joseph@codesourcery.com>
24778
24779 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
24780 semicolon. From Linux kernel.
24781
5b60c59d
AB
247822013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
24783
24784 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
24785
b86835ca
YC
247862013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
24787
24788 [BZ #156]
24789 * manual/socket.texi: Added statement about buffer
24790 for gethostbyname2_r.
24791
e7044ea7
OB
247922013-10-08 Ondřej Bílka <neleai@seznam.cz>
24793
24794 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
24795 Use .p2align directive instead, throughout.
24796 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
24797 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
24798 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
24799 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24800 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24801 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
24802 * sysdeps/x86_64/strchr.S: Likewise.
24803 * sysdeps/x86_64/strrchr.S: Likewise.
24804
09544cbc
SP
248052013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
24806
88576635
SP
24807 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
24808
e7b2d1dd
SP
24809 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
24810
09544cbc
SP
24811 * sysdeps/generic/math_private.h (__mpsin1): Remove
24812 declaration.
24813 (__mpcos1): Likewise.
24814 (__mpsin): New argument __range_reduce.
24815 (__mpcos): Likewise.
24816 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24817 (slow): Use __mpsin and __mpcos.
24818 (slow1): Likewise.
24819 (slow2): Likewise.
24820 (sloww): Likewise.
24821 (sloww1): Likewise.
24822 (sloww2): Likewise.
24823 (bsloww): Likewise.
24824 (bsloww1): Likewise.
24825 (bsloww2): Likewise.
24826 (cslow2): Likewise.
24827 (csloww): Likewise.
24828 (csloww1): Likewise.
24829 (csloww2): Likewise.
24830 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
24831 range_reduce. Merge in __mpsin1.
24832 (__mpcos): Likewise.
24833 (__mpsin1): Remove.
24834 (__mpcos1): Likewise.
24835
7602d070
JM
248362013-10-07 Joseph Myers <joseph@codesourcery.com>
24837
24838 * locale/loadlocale.c (_nl_intern_locale_data): Use
24839 LOCFILE_ALIGNED_P.
24840 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
24841 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
24842 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
24843 obstack data is appropriately aligned.
24844 (obstack_int32_grow_fast): Likewise.
24845 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
24846 * locale/programs/locfile.c (add_locale_uint32): Likewise.
24847 (add_locale_uint32_array): Likewise.
24848
a357259b
SP
248492013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
24850
24851 * benchtests/Makefile: Remove ARGLIST and RET variables.
24852 ($(objpfx)bench-%.c): Pass only function name to the script.
24853 * benchtests/README: Update documentation.
24854 * benchtests/acos-inputs: Add new directives.
24855 * benchtests/acosh-inputs: Likewise.
24856 * benchtests/asin-inputs: Likewise.
24857 * benchtests/asinh-inputs: Likewise.
24858 * benchtests/atan-inputs: Likewise.
24859 * benchtests/atanh-inputs: Likewise.
24860 * benchtests/cos-inputs: Likewise.
24861 * benchtests/cosh-inputs: Likewise.
24862 * benchtests/exp-inputs: Likewise.
24863 * benchtests/log-inputs: Likewise.
24864 * benchtests/pow-inputs: Likewise.
24865 * benchtests/rint-inputs: Likewise.
24866 * benchtests/sin-inputs: Likewise.
24867 * benchtests/sinh-inputs: Likewise.
24868 * benchtests/tan-inputs: Likewise.
24869 * benchtests/tanh-inputs: Likewise.
24870 * scripts/bench.pl: Add support for new directives.
24871
9ec1b13d
AM
248722013-10-07 Alan Modra <amodra@gmail.com>
24873
24874 * README: Fix careless merge.
24875
8b7d57cd
AM
248762013-10-05 Alan Modra <amodra@gmail.com>
24877
24878 * NEWS: Mention powerpc64le support and bugs fixed.
24879 * README: Both big-endian and little-endian powerpc64 supported.
24880
7b7bab13
ST
248812013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
24882
57f41c40
AS
24883 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
24884 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
24885 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
24886 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
24887
d39baad1
RA
248882013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
24889
24890 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
24891 match prototype.
24892
cd78f7e7
JM
248932013-10-04 Joseph Myers <joseph@codesourcery.com>
24894
29d73d86
JM
24895 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
24896 Move -mhard-float appending from
24897 ports/sysdeps/powerpc/powerpc32/Makefile.
24898 [$(with-fp) = yes] (ASFLAGS): Likewise.
24899 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
24900 * sysdeps/powerpc/nofpu: Move directory from
24901 ports/sysdeps/powerpc/nofpu.
24902 * sysdeps/powerpc/soft-fp: Move directory from
24903 ports/sysdeps/powerpc/soft-fp.
24904 * sysdeps/powerpc/powerpc32/405: Move directory from
24905 ports/sysdeps/powerpc/powerpc32/405.
24906 * sysdeps/powerpc/powerpc32/440: Move directory from
24907 ports/sysdeps/powerpc/powerpc32/440.
24908 * sysdeps/powerpc/powerpc32/464: Move directory from
24909 ports/sysdeps/powerpc/powerpc32/464.
24910 * sysdeps/powerpc/powerpc32/476: Move directory from
24911 ports/sysdeps/powerpc/powerpc32/476.
24912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
24913 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
24914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
24915 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
24916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
24917 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
24918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
24919 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
24920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
24921 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
24922 * README: Update for powerpc-*-linux-gnu software floating point
24923 support in libc.
24924
e246b347
JM
24925 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
24926 case to powerpc/powerpc32*.
24927 * sysdeps/unix/sysv/linux/configure: Regenerated.
24928
89c2003e
JM
24929 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
24930 (_FPU_MASK_OM): Define as 0x04.
24931 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
24932 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
24933 0x00c10080.
24934 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
24935 0x0000003c.
24936 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
24937
cd78f7e7
JM
24938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
24939 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
24940 getcontext_e500.
24941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
24942 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
24943 setcontext_e500.
24944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
24945 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
24946 and setcontext_e500.
24947
c755294d
CL
249482013-10-04 Chris Leonard <cjl@sugarlabs,.org>
24949
24950 * locale/iso-3166.def: Update iso-1366.def and related occurrences
24951
e16d221c
SP
249522013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24953
24954 * manual/threads.texi (Default Thread Attributes): Fix typo.
24955
215c7d43
WN
249562013-10-04 Will Newton <will.newton@linaro.org>
24957
24958 * malloc/Makefile: Add tst-memalign.
24959 * malloc/tst-memalign.c: New file.
24960
27d0461b
WN
24961 * malloc/tst-posix_memalign.c: Add comments.
24962 (do_test): Add comments and call free on all potentially
24963 allocated pointers. Add space after cast.
24964
1bc92709
WN
24965 * malloc/tst-pvalloc.c: Add comments.
24966 (do_test): Add comments and call free on all potentially
24967 allocated pointers. Remove duplicate check for NULL pointer.
24968 Add space after cast.
24969
66a9be9d
WN
24970 * malloc/tst-valloc.c: Add comments.
24971 (do_test): Add comments and call free on all potentially
24972 allocated pointers. Remove duplicate check for NULL pointer.
24973 Add space after cast.
24974
4cb81307
AM
249752013-10-04 Alan Modra <amodra@gmail.com>
24976
24977 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
24978 Use stdint types in rather than __attribute__((mode())).
24979 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
24980
f8e3e9f3
AM
249812013-10-04 Alan Modra <amodra@gmail.com>
24982
24983 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
24984 Correct handling of unaligned relocs for little-endian.
24985 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
24986
8f9ebb08
AM
249872013-10-04 Alan Modra <amodra@gmail.com>
24988
24989 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
24990 * configure: Regenerate.
24991 * nptl/shlib-versions: Powerpc*le starts at 2.18.
24992 * shlib-versions: Likewise.
24993
0edf96c2
AM
249942013-10-04 Alan Modra <amodra@gmail.com>
24995
24996 * string/tester.c (test_memrchr): Increment reported test cycle.
24997
e0f7a380
AM
249982013-10-04 Alan Modra <amodra@gmail.com>
24999
25000 * string/test-memcpy.c (do_one_test): When reporting errors, print
25001 string address and don't overrun end of string.
25002
466b0393
AM
250032013-10-04 Alan Modra <amodra@gmail.com>
25004
25005 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
25006 insrdi. Make better use of reg selection to speed exit slightly.
25007 Schedule entry path a little better. Remove useless "are we done"
25008 checks on entry to main loop. Handle wrapping around zero address.
25009 Correct main loop count. Handle single left-over word from main
25010 loop inline rather than by using loop_small. Remove extra word
25011 case in loop_small caused by wrong loop count. Add little-endian
25012 support.
25013 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
25014 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
25015 cache hint.
25016 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
25017 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
25018 support. Avoid rlwimi.
25019 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
25020
3be87c77
AM
250212013-10-04 Alan Modra <amodra@gmail.com>
25022
25023 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 25024 insrdi. Formatting.
3be87c77
AM
25025 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
25026 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
25027 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
25028 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
25029 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
25030 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
25031
759cfef3
AM
250322013-10-04 Alan Modra <amodra@gmail.com>
25033
25034 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
25035 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25036 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
25037 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
25038 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
25039 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
25040 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25041 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
25042 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
25043 use of regs. Use power7 mtocrf. Tidy function tails.
25044
fe6e95d7
AM
250452013-10-04 Alan Modra <amodra@gmail.com>
25046
25047 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
25048 Formatting. Consistently use rXXX register defines or rN defines.
25049 Use early exit labels that avoid restoring unused non-volatile regs.
25050 Make cr field use more consistent with rWORDn compares. Rename
25051 regs used as shift registers for unaligned loop, using rN defines
25052 for short lifetime/multiple use regs.
25053 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
25054 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
25055 addi 1,1,64 to pop stack frame. Simplify return value code.
25056 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25057
664318c3
AM
250582013-10-04 Alan Modra <amodra@gmail.com>
25059
25060 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
25061 support. Correct typos, formatting. Optimize tail. Use insrdi
25062 rather than rlwimi.
25063 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
25064 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
25065 little-endian support. Correct typos.
25066 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
25067 rather than rlwimi.
25068 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
25069 in loop and entry code to keep "and." results.
25070 (strchr): Add little-endian support. Comment. Move cntlzd
25071 earlier in tail.
25072 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
25073
43b84013
AM
250742013-10-04 Alan Modra <amodra@gmail.com>
25075
25076 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
25077 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
25078 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
25079 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
25080
8a7413f9
AM
250812013-10-04 Alan Modra <amodra@gmail.com>
25082
25083 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
25084 (rTMP): Define as r11.
25085 (strcmp): Add little-endian support. Optimise tail.
25086 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
25087 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
25088 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
25089 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
25090 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
25091 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
25092 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
25093
33ee81de
AM
250942013-10-04 Alan Modra <amodra@gmail.com>
25095
25096 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
25097 little-endian support. Remove unnecessary "are we done" tests.
25098 Handle "s" wrapping around zero and extremely large "size".
25099 Correct main loop count. Handle single left-over word from main
25100 loop inline rather than by using small_loop. Correct comments.
25101 Delete "zero" tail, use "end_max" instead.
25102 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
25103
db9b4570
AM
251042013-10-04 Alan Modra <amodra@gmail.com>
25105
25106 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
25107 support. Don't branch over align.
25108 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
25109 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
25110 support. Rearrange tmp reg use to suit. Comment.
25111 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
25112
f7c399cf
AM
251132013-10-04 Alan Modra <amodra@gmail.com>
25114
25115 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
25116
0b2c2ace
AM
251172013-10-04 Alan Modra <amodra@gmail.com>
25118
25119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
25120 conditional form of branch and link when obtaining pc.
25121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
25122
02f04a6c
AM
251232013-10-04 Alan Modra <amodra@gmail.com>
25124
25125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
25126 HIWORD/LOWORD.
25127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
25128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
25129
9b874b2f
AM
251302013-10-04 Alan Modra <amodra@gmail.com>
25131
25132 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
25133 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
25134 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
25135 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
25136 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
25137 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
25138 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
25139 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
25140 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
25141 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
25142
be1e5d31
AB
251432013-10-04 Anton Blanchard <anton@au1.ibm.com>
25144 Alistair Popple <alistair@ozlabs.au.ibm.com>
25145 Alan Modra <amodra@gmail.com>
25146
25147 [BZ #15723]
25148 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
25149 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
25150 _dl_hwcap access for little-endian.
25151 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
25152 destroy vmx regs when saving unaligned.
25153 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
25154 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
25155 destroy vmx regs when saving unaligned.
25156
fef13a78
AM
251572013-10-04 Alan Modra <amodra@gmail.com>
25158
25159 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
25160 Don't use a union to pack hi/low value.
25161
76a66d51
AB
251622013-10-04 Anton Blanchard <anton@au1.ibm.com>
25163
25164 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
25165 for little-endian.
25166 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
25167 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
25168 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
25169 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
25170 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
25171
6a31fe7f
AM
251722013-10-04 Alan Modra <amodra@gmail.com>
25173
25174 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
25175 constants to usual value for .cst8 section, and remove redundant
25176 high address load.
25177 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
25178 constant for 0x1p52. Load little-endian words of double from
25179 correct stack offsets.
25180
7b88401f
AM
251812013-10-04 Alan Modra <amodra@gmail.com>
25182
25183 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
25184 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
25185 words of double from correct stack offsets.
25186 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
25187 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
25188 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
25189 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
25190 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
25191 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
25192 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
25193 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
25194 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
25195 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
25196 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
25197 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
25198 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
25199 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
25200 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
25201 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
25202 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
25203
9c008155
AM
252042013-10-04 Alan Modra <amodra@gmail.com>
25205
25206 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
25207 64-bit int/double union.
25208 (_FPU_SETCW): Likewise.
25209 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
25210 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
25211
da13146d
AM
252122013-10-04 Alan Modra <amodra@gmail.com>
25213
25214 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
25215 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
25216
603e8410
AM
252172013-10-04 Alan Modra <amodra@gmail.com>
25218
25219 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
25220 use vector int constants.
25221 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
25222
4a28b3ca
AB
252232013-10-04 Anton Blanchard <anton@au1.ibm.com>
25224
25225 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
25226 array with long long.
25227 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
25228 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
25229 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
25230 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
25231 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
25232 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
25233 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
25234 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
25235 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
25236 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
25237 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
25238 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
25239 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
25240
2ca85d2b
AB
252412013-10-04 Anton Blanchard <anton@au1.ibm.com>
25242
25243 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
25244 (__signbit): Likewise. Correct for little-endian.
25245 (__signbitl): Call __signbit.
25246 (lrint): Correct for little-endian.
25247 (lrintf): Call lrint.
25248
62a728ae
AM
252492013-10-04 Alan Modra <amodra@gmail.com>
25250
25251 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
25252 union 32-bit int array member with 64-bit int array.
25253 (t515, tm256): Double rather than long double.
25254 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
25255
32c301df
AM
252562013-10-04 Alan Modra <amodra@gmail.com>
25257
25258 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
25259 Delete.
25260 (IEEE854_LONG_DOUBLE_BIAS): Delete.
25261 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
25262 version of math_ldbl.h.
25263
650ef4bd
AM
252642013-10-04 Alan Modra <amodra@gmail.com>
25265
25266 [BZ #15734], [BZ #15735]
25267 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
25268 all uses of ieee875 long double macros and unions. Simplify test
25269 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
25270 ldbl_extract_mantissa value for ix,iy exponents. Properly
25271 normalize after ldbl_extract_mantissa, and don't add hidden bit
25272 already handled. Don't treat low word of ieee854 mantissa like
25273 low word of IBM long double and mask off bit when testing for
25274 zero.
25275 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
25276 all uses of ieee875 long double macros and unions. Simplify tests
25277 for 0.0L and inf. Correct double adjustment of k. Delete dead code
25278 adjusting ha,hb. Simplify code setting kld. Delete two600 and
25279 two1022, instead use their values. Recognise that tests for large
25280 "a" and small "b" are mutually exclusive. Rename vars. Comment.
25281 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
25282 Rewrite all uses of ieee875 long double macros and unions. Simplify
25283 test for 0.0L and nan. Correct negation.
25284 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
25285 ieee875 long double macros and unions. Correct output for large
25286 magnitude x. Correct absolute value calculation.
25287 (__erfcl): Likewise.
25288 * math/libm-test.inc: Add tests for errors discovered in IBM long
25289 double versions of fmodl, remainderl, erfl and erfcl.
25290
765714ca
AM
252912013-10-04 Alan Modra <amodra@gmail.com>
25292
25293 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
25294 all uses of ieee854 long double macros and unions. Simplify tests
25295 for long doubles that are fully specified by the high double.
25296 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
25297 Likewise.
25298 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
25299 Remove dead code too.
25300 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
25301 (__ieee754_ynl): Likewise.
25302 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
25303 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
25304 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
25305 Remove dead code too.
25306 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
25307 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
25308 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
25309 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
25310 Simplify.
25311 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
25312 Simplify.
25313 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
25314 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
25315 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
25316 Comment on variable precision.
25317 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
25318 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
25319 Likewise.
25320 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
25321 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
25322 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
25323 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
25324 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
25325
4ebd120c
AM
253262013-10-04 Alan Modra <amodra@gmail.com>
25327
25328 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
25329 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
25330 all uses of ieee854 long double macros and unions.
25331 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
25332 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
25333 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
25334 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
25335 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
25336 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
25337 Likewise.
25338 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
25339 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
25340 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
25341 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
25342 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
25343 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
25344 Simplify sign and nan test too.
25345 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
25346 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
25347 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
25348 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
25349 Likewise.
25350 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
25351 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
25352 Likewise.
25353 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25354 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
25355 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
25356 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
25357 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
25358 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
25359
1b6adf88
AM
253602013-10-04 Alan Modra <amodra@gmail.com>
25361
25362 * stdio-common/printf_size.c (__printf_size): Don't use
25363 union ieee854_long_double in fpnum union.
25364 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
25365 signbit macro to retrieve sign from long double.
25366 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
25367 retrieve sign from long double.
25368 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
25369 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
25370 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
25371 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
25372 * math/test-misc.c (main): Don't use union ieee854_long_double.
25373
4cf69995
AM
253742013-10-04 Alan Modra <amodra@gmail.com>
25375
25376 [BZ #15680]
25377 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
25378 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
25379 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
25380 calculation. Remove unnecessary test for denormal exponent.
25381 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
25382 Correct handling of denormals. Avoid undefined shift behaviour.
25383 Correct normalisation of low mantissa when low double is denormal.
25384 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
25385 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
25386 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
25387 Correct normalisation of low mantissa. Test for overflow of high
25388 mantissa and normalise.
25389 (ldbl_nearbyint): Use more readable constant for two52.
25390 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
25391 (__mpn_construct_long_double): Fix test for overflow of high
25392 mantissa and correct normalisation. Avoid undefined shift.
25393
9605ca6c
AM
253942013-10-04 Alan Modra <amodra@gmail.com>
25395
25396 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
25397 (union ibm_extended_long_double): Define as an array of ieee754_double.
25398 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
25399 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
25400 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
25401 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
25402 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25403 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
25404 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
25405 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
25406 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
25407 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
25408 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
25409
975569d0
JM
254102013-10-03 Joseph Myers <joseph@codesourcery.com>
25411
d3d23756
JM
25412 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
25413 page size instead of calling getpagesize.
25414
975569d0
JM
25415 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
25416 (LOCFILE_ALIGN_MASK): Likewise.
25417 (LOCFILE_ALIGN_UP): Likewise.
25418 (LOCFILE_ALIGNED_P): Likewise.
25419 * locale/programs/ld-collate.c (collate_output): Use the new
25420 macros instead of __alignof__ (int32_t).
25421 * locale/weight.h (findidx): Likewise.
25422
b1fe1f2b
OB
254232013-10-03 Ondřej Bílka <neleai@seznam.cz>
25424
25425 [BZ #431]
25426 * manual/string.texi: Fix strncat and wcsncat.
25427
5f855e35
BM
254282013-10-03 Brooks Moses <bmoses@google.com>
25429
25430 [BZ #15915]
25431 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
25432 * Makerules: ...here, and adjust associated comments.
25433
3cef6009
WN
254342013-10-02 Will Newton <will.newton@linaro.org>
25435
25436 * malloc/Makefile: Add tst-pvalloc.
25437 * malloc/tst-pvalloc.c: New file.
25438
7815420b
WN
254392013-10-02 Will Newton <will.newton@linaro.org>
25440
25441 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
25442 improve test coverage.
25443
4868b204
WN
254442013-10-02 Will Newton <will.newton@linaro.org>
25445
25446 * malloc/Makefile: Add tst-posix_memalign.
25447 * malloc/tst-posix_memalign.c: New file.
25448
29c793b3
EB
254492013-10-01 Eric Blake <eblake@redhat.com>
25450
25451 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
25452 Use __THROWNL rather than __THROW on static functions.
25453
fd967522
PM
254542013-09-30 Petr Machata <pmachata@redhat.com>
25455
25456 * elf/elf.h (R_AARCH64_ABS16): New macro.
25457 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
25458 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
25459 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
25460 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
25461 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
25462 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
25463 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
25464 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
25465 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
25466 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
25467 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
25468 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
25469 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
25470 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
25471 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
25472 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
25473 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
25474 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
25475 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
25476 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
25477 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
25478 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
25479 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
25480 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
25481 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
25482 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
25483 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
25484 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
25485 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
25486 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
25487 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
25488 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
25489 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
25490 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
25491 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
25492 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
25493 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
25494 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
25495 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
25496 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
25497 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
25498 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
25499 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
25500 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
25501 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
25502 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
25503 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
25504 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
25505 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
25506 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
25507 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
25508 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
25509 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
25510 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
25511 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
25512 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
25513 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
25514 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
25515 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
25516 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
25517 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
25518 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
25519 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
25520 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
25521 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
25522 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
25523 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
25524 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
25525 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
25526 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
25527 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
25528 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
25529 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
25530 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
25531 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
25532 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
25533 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
25534 (R_AARCH64_TLSDESC_LDR): Likewise.
25535 (R_AARCH64_TLSDESC_ADD): Likewise.
25536 (R_AARCH64_TLSDESC_CALL): Likewise.
25537
b2179107
AS
255382013-09-30 Andreas Schwab <schwab@suse.de>
25539
25540 [BZ #15048]
25541 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
25542 the nss database lookup.
25543 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25544 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
25545
47f28d0a
MF
255462013-09-28 Mike Frysinger <vapier@gentoo.org>
25547
25548 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
25549
255502013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
25551
25552 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
25553 ${Bash-specific parameter/pattern/string} parameter expansion.
25554 * sysdeps/unix/make-syscalls.sh: Likewise.
25555
f4518a17
KK
255562013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25557
25558 * sysdeps/sh/stackguard-macros.h: New file.
25559
dc1a95c7
OB
255602013-09-26 Ondřej Bílka <neleai@seznam.cz>
25561
25562 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
25563 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
25564 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
25565 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
25566 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
25567 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
25568
5ebbff8f
AZ
255692013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25570
25571 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
25572 Fix thread ID register.
25573
4fd2cf9f
JM
255742013-09-25 Joseph Myers <joseph@codesourcery.com>
25575
25576 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
25577 [POSIX || UNIX98]: Require rather than permitting all symbols from
25578 <time.h>.
25579 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
25580 element of struct sched_param.
25581 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
25582 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
25583 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
25584 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
25585 constant.
25586
12c22bc4
OL
255872013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
25588
25589 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
25590 argument calculation.
25591
a03d8ea7
JM
255922013-09-24 Joseph Myers <joseph@codesourcery.com>
25593
25594 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
25595 Expect macro.
25596 [POSIX] (pthread_attr_t): Do not require type.
25597 [POSIX] (pthread_cond_t): Likewise.
25598 [POSIX] (pthread_condattr_t): Likewise.
25599 [POSIX] (pthread_key_t): Likewise.
25600 [POSIX] (pthread_mutex_t): Likewise.
25601 [POSIX] (pthread_mutexattr_t): Likewise.
25602 [POSIX] (pthread_once_t): Likewise.
25603 [POSIX] (pthread_t): Likewise.
25604 [POSIX-based standards] (pthread_atfork): Expect function.
25605
6055173a
JM
256062013-09-24 Joseph Myers <joseph@codesourcery.com>
25607 Richard Sandiford <richard@codesourcery.com>
25608
25609 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
25610 (swap_endianness_p): New extern variable.
25611 (set_big_endian): New inline function.
25612 (maybe_swap_uint32): Likewise.
25613 (maybe_swap_uint32_array): Likewise.
25614 (maybe_swap_uint32_obstack): Likewise.
25615 * locale/programs/locfile.c: Include <stdbool.h>.
25616 (swap_endianness_p): New variable.
25617 (add_locale_uint32): Call maybe_swap_uint32.
25618 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
25619 (write_locale_data): Call maybe_swap_uint32_array.
25620 * locale/programs/ld-collate.c (obstack_int32_grow): Call
25621 maybe_swap_uint32.
25622 (obstack_int32_grow_fast): Likewise.
25623 (output_weightwc): Call maybe_swap_uint32_obstack.
25624 (collate_output): Likewise.
25625 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
25626 (OPT_LITTLE_ENDIAN): Likewise.
25627 (options): Add --little-endian and --big-endian options.
25628 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
25629 * locale/programs/locarchive.c: Include "locfile.h".
25630 (GET): New macro.
25631 (SET): Likewise.
25632 (INC): Likewise.
25633 (create_archive): Use the new macros to access fields of
25634 structures directly mapped from or written to locale archives.
25635 (oldlocrecentcmp): Likewise.
25636 (enlarge_archive): Likewise.
25637 (insert_name): Likewise.
25638 (add_alias): Likewise.
25639 (add_locale): Likewise.
25640 (delete_locales_from_archive): Likewise.
25641 (show_archive_content): Likewise.
25642 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
25643 locale data.
25644
39bf0bb4
RM
256452013-09-24 Roland McGrath <roland@hack.frob.com>
25646
25647 * manual/freemanuals.texi: Updated from (newly) canonical copy at
25648 http://www.gnu.org/doc/freemanuals.texi.
25649 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
25650
f02eed10
WN
256512013-09-24 Will Newton <will.newton@linaro.org>
25652
25653 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
25654 macro.
25655
a3a6c312
JM
256562013-09-23 Joseph Myers <joseph@codesourcery.com>
25657
25658 * locale/hashval.h (compute_hashval): Interpret bytes of key as
25659 unsigned char.
25660
107375ac
MR
256612013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
25662
25663 * manual/threads.texi (POSIX Threads): Fix a typo.
25664
141f3a77
SP
256652013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
25666
303e567a
SP
25667 [BZ #14547]
25668 * string/tst-strcoll-overflow.c: New test case.
25669 * string/Makefile (xtests): Add tst-strcoll-overflow.
25670 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
25671 cache if string sizes may cause integer overflow.
25672
141f3a77
SP
25673 [BZ #14547]
25674 * string/strcoll_l.c (coll_seq): New members rule, idx,
25675 save_idx and back_us.
25676 (get_next_seq_nocache): New function.
25677 (do_compare_nocache): New function.
25678 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
25679 when malloc fails.
25680
c61b4d41
CD
256812013-09-23 Carlos O'Donell <carlos@redhat.com>
25682
0b1f8e35
CD
25683 [BZ #15754]
25684 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
25685 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
25686 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
25687
c61b4d41
CD
25688 [BZ #15754]
25689 * elf/Makefile (tests): Add tst-ptrguard1.
25690 (tests-static): Add tst-ptrguard1-static.
25691 (tst-ptrguard1-ARGS): Define.
25692 (tst-ptrguard1-static-ARGS): Define.
25693 * elf/tst-ptrguard1.c: New file.
25694 * elf/tst-ptrguard1-static.c: New file.
25695 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
25696 * sysdeps/i386/stackguard-macros.h: Likewise.
25697 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
25698 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
25699 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
25700 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
25701 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
25702 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
25703
257042013-09-23 Hector Marco <hecmargi@upv.es>
25705 Ismael Ripoll <iripoll@disca.upv.es>
25706 Carlos O'Donell <carlos@redhat.com>
25707
25708 [BZ #15754]
25709 * sysdeps/generic/stackguard-macros.h: Define
25710 __pointer_chk_guard_local and POINTER_CHK_GUARD.
25711 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
25712 Define __pointer_chk_guard_local.
25713 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
25714 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
25715
f5f4e7b4
VV
257162013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
25717
25718 [BZ #15859]
25719 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
25720
5bb43a43
AS
257212013-09-20 Andreas Schwab <schwab@linux-m68k.org>
25722
25723 * include/string.h (__ffs): Declare as hidden.
25724 * string/ffs.c (__ffs): Define as hidden.
25725 * sysdeps/i386/ffs.c (__ffs): Likewise.
25726 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
25727 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
25728 * sysdeps/s390/ffs.c (__ffs): Likewise.
25729 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
25730
3ea5be54
AO
257312013-09-20 Alexandre Oliva <aoliva@redhat.com>
25732
ffb89e53
AO
25733 * NEWS: Mention malloc probes.
25734
322dea08
AO
25735 * malloc/arena.c (new_heap): New memory_heap_new probe.
25736 (grow_heap): New memory_heap_more probe.
25737 (shrink_heap): New memory_heap_less probe.
25738 (heap_trim): New memory_heap_free probe.
25739 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
25740 (systrim): New memory_sbrk_less probe.
25741 * manual/probes.texi: Document them.
25742
655673f3
AO
25743 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
25744 * manual/probes.texi: Document it.
25745
35fed6f1
AO
25746 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
25747 (__libc_realloc): Add memory_realloc_retry probe.
25748 (__libc_memalign): Add memory_memalign_retry probe.
25749 (__libc_valloc): Add memory_valloc_retry probe.
25750 (__libc_pvalloc): Add memory_pvalloc_retry probe.
25751 (__libc_calloc): Add memory_calloc_retry probe.
25752 * manual/probes.texi: Document them.
25753
6999d38c
AO
25754 * malloc/arena.c (get_free_list): Add probe
25755 memory_arena_reuse_free_list.
25756 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
25757 and memory_arena_reuse.
25758 (arena_get2) [!PER_THREAD]: Likewise.
25759 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
25760 memory_arena_reuse_realloc.
25761 * manual/probes.texi: Document them.
25762
0653427f
AO
25763 * malloc/malloc.c (__libc_free): Add
25764 memory_mallopt_free_dyn_thresholds probe.
25765 (__libc_mallopt): Add multiple memory_mallopt probes.
25766 * manual/probes.texi: Document them.
25767
3ea5be54
AO
25768 * malloc/malloc.c: Include stap-probe.h.
25769 (__libc_mallopt): Add memory_mallopt probe.
25770 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
25771 * manual/probes.texi: New.
25772 * manual/Makefile (chapters): Add probes.
25773 * manual/threads.texi: Set next node.
25774
e35696c3 257752013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 25776
e35696c3
CL
25777 [BZ #15963, #13985]
25778 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
25779 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
25780 Add `Chinese' to `nan' entry name.
25781
4aafb73c
SP
257822013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
25783
25784 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
25785 (POLYNOMIAL): Likewise.
25786 (TAYLOR_SINCOS): Likewise.
25787 (TAYLOR_SLOW): Likewise.
25788 (__sin): Use TAYLOR_SINCOS.
25789 (__cos): Likewise.
25790 (slow): Use TAYLOR_SLOW.
25791 (sloww): Likewise.
25792 (bsloww): Likewise.
25793 (csloww): Likewise.
25794
d84f25c7
LD
257952013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25796
25797 * stdlib/strtod_l.c: Fix buffer overrun.
25798
5eea0404
SP
257992013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
25800
7849ff93
SP
25801 * benchtests/Makefile (bench): Add sincos.
25802 * benchtests/bench-sincos.c: New file.
25803
cfa3c886
SP
25804 * math/libm-test.inc (cos_test_data): New test inputs.
25805 (sin_test_data): Likewise.
25806
b348e1e3
SP
25807 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
25808 macro.
25809 (__sin): Use it.
25810 (__cos): Likewise.
25811 (slow1): Likewise.
25812 (slow2): Likewise.
25813 (sloww1): Likewise.
25814 (sloww2): Likewise.
25815 (bsloww1): Likewise.
25816 (bsloww2): Likewise.
25817 (cslow2): Likewise.
25818 (csloww1): Likewise.
25819 (csloww2): Likewise.
25820
6cce25f8
SP
25821 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
25822 function.
25823 (__sin): Use it.
25824 (__cos): Likewise.
25825
5eea0404
SP
25826 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
25827 gotos.
25828 (__cos): Likewise.
25829
9c21573c
MR
258302013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
25831
25832 * config.h.in (HAVE_MIPS_NAN2008): New macro.
25833 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
25834 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
25835 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
25836 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
25837 * elf/cache.c (print_entry): Handle the new cache flags.
25838
24d22e65
JM
258392013-09-18 Joseph Myers <joseph@codesourcery.com>
25840 Aldy Hernandez <aldyh@redhat.com>
25841
25842 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
25843 Change condition to [_SOFT_FLOAT].
25844 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
25845 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
25846 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
25847 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
25848 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
25849 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
25850 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
25851 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
25852 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
25853 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
25854 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
25855 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
25856 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
25857 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
25858 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
25859 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
25860 declaration.
25861
d13ef066
JM
258622013-09-18 Joseph Myers <joseph@codesourcery.com>
25863
2e071de0
JM
25864 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
25865 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
25866 (__longjmp): Use LOAD_GP to load saved GPRs.
25867 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
25868 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
25869 (__sigsetjmp): Use SAVE_GP to save GPRs.
25870
d13ef066
JM
25871 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
25872 Do not append -msoft-float.
25873 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
25874
97a0650b
SP
258752013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
25876
25877 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
25878
11ca09e9
JM
258792013-09-17 Joseph Myers <joseph@codesourcery.com>
25880
25881 [BZ #15966]
25882 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
25883 (_FPU_GETCW): Use initial "__" on variable and field names but not
25884 on macro parameter name.
25885 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
25886 parentheses around reference to macro parameter.
25887
08ffcf34
RS
258882013-09-13 Richard Sandiford <richard@codesourcery.com>
25889
25890 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
25891 prototype.
25892 (ctype_startup): Use uint32_t in cast and sizeof for
25893 ctype->charnames.
25894
ae7080d3
JL
258952013-09-11 Jia Liu <proljc@gmail.com>
25896
25897 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
25898 __daddr_t_defined.
25899 [__FreeBSD__]: Likewise.
25900
5905e7b3
OB
259012013-09-11 Ondřej Bílka <neleai@seznam.cz>
25902
25903 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
25904 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
25905 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
25906 (strchr): Remove __strchr_sse42 ifunc selection.
25907 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
25908 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
25909
b987c776
WN
259102013-09-11 Will Newton <will.newton@linaro.org>
25911
25912 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
25913 parameter to RES. Remove hardcoded 1000 value.
25914 * benchtests/bench-skeleton.c (main): Pass RES parameter
25915 to TIMING_INIT and multiply result by 1000.
25916
ddf985af
AZ
259172013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25918
25919 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25920
ffdd3181
AS
259212013-09-11 Andreas Schwab <schwab@suse.de>
25922
25923 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
25924 if not defined.
25925 (O_TMPFILE) [__USE_GNU]: Define.
25926 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
25927 Define.
25928
b73ed247
WN
259292013-09-11 Will Newton <will.newton@linaro.org>
25930
25931 [BZ #15857]
25932 * malloc/malloc.c (__libc_memalign): Check the value of bytes
25933 does not overflow.
25934
55e17aad
WN
259352013-09-11 Will Newton <will.newton@linaro.org>
25936
25937 [BZ #15856]
25938 * malloc/malloc.c (__libc_valloc): Check the value of bytes
25939 does not overflow.
25940
1159a193
WN
259412013-09-11 Will Newton <will.newton@linaro.org>
25942
25943 [BZ #15855]
25944 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
25945 does not overflow.
25946
5905e7b3 259472013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
25948
25949 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
25950 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
25951 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25952 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
25953 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
25954
cdfc721b
AM
259552013-09-10 Allan McRae <allan@archlinux.org>
25956
aa04af00
AM
25957 [BZ #15748]
25958 * manual/arith.texi (Parsing of Floats): Clarify
25959 cross-reference.
25960
cdfc721b
AM
25961 [BZ #15849]
25962 * manual/install.texi (Running make install): Mention
25963 --enable-pt-chown.
25964 * INSTALL: Regenerated.
25965
95e7cf29
MR
259662013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
25967
25968 * csu/init-first.c (_init): Remove the !SHARED condition around
25969 FPU control word initialization.
25970 * elf/dl-support.c (_dl_fpu_control): New variable.
25971 (_dl_aux_init) <AT_FPUCW>: Initialize it.
25972 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
25973 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
25974 * math/test-fpucw-static.c: New file.
25975 * math/test-fpucw-ieee.c: New file.
25976 * math/test-fpucw-ieee-static.c: New file.
25977 * math/Makefile (tests): Add `test-fpucw-ieee' and
25978 `$(tests-static)'.
25979 (tests-static): New variable.
25980 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
25981 dependency to...
25982 [($(build-shared),yes)]
25983 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
25984 ... this.
25985 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
25986 New dependency.
25987
83e43bf0
AM
259882013-09-09 Allan McRae <allan@archlinux.org>
25989
a9f5ce09
AM
25990 [BZ #15939]
25991 * manual/string.texi (Collation Functions): Fix typo in
25992 strcoll example.
25993 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
25994
34829bc2
AM
25995 [BZ #15893]
25996 * stdlib/isomac.c (get_null_defines): Fix memory leak.
25997
3932737d
AM
25998 [BZ #15892]
25999 * libio/memstream.c (open_memstream): Fix memory leak.
26000 * libio/wmemstream.c (open_wmemstream): Likewise.
26001
83e43bf0
AM
26002 [BZ #15895]
26003 * nscd/netgroupcache.c: Fix nesting of ifdefs.
26004
0c66b8e9
WN
260052013-09-09 Will Newton <will.newton@linaro.org>
26006
26007 * malloc/Makefile: Add tst-realloc to tests.
26008 * malloc/tst-realloc.c: New file.
26009
f6b00fd1
AM
260102013-09-09 Allan McRae <allan@archlinux.org>
26011
26012 [BZ #15844]
26013 * COPYING: Update from GNU website to fix FSF address.
26014 * COPYING.LIB: Likewise.
26015
eec55e16
DM
260162013-09-06 David S. Miller <davem@davemloft.net>
26017
26018 * po/zh_TW.po: Update Chinese (traditional) translation from
26019 translation project.
26020
1ecbb381
RS
260212013-09-06 Richard Sandiford <richard@codesourcery.com>
26022 Joseph Myers <joseph@codesourcery.com>
26023
26024 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
26025 "localeinfo.h".
26026 (obstack_chunk_alloc): New macro.
26027 (obstack_chunk_free): Likewise.
26028 (record_offset): New function.
26029 (init_locale_data): Likewise.
26030 (align_locale_data): Likewise.
26031 (add_locale_empty): Likewise.
26032 (add_locale_raw_data): Likewise.
26033 (add_locale_raw_obstack): Likewise.
26034 (add_locale_string): Likewise.
26035 (add_locale_wstring): Likewise.
26036 (add_locale_uint32): Likewise.
26037 (add_locale_uint32_array): Likewise.
26038 (add_locale_char): Likewise.
26039 (start_locale_structure): Likewise.
26040 (end_locale_structure): Likewise.
26041 (start_locale_prelude): Likewise.
26042 (end_locale_prelude): Likewise.
26043 (write_locale_data): Take locale_file structure rather than an
26044 iovec.
26045 * locale/programs/locfile.h: Include "obstack.h".
26046 (struct locale_file): Change to store locale file contents instead
26047 of header.
26048 (init_locale_data): New prototype.
26049 (align_locale_data): Likewise.
26050 (add_locale_empty): Likewise.
26051 (add_locale_raw_data): Likewise.
26052 (add_locale_raw_obstack): Likewise.
26053 (add_locale_string): Likewise.
26054 (add_locale_wstring): Likewise.
26055 (add_locale_uint32): Likewise.
26056 (add_locale_uint32_array): Likewise.
26057 (add_locale_char): Likewise.
26058 (start_locale_structure): Likewise.
26059 (end_locale_structure): Likewise.
26060 (start_locale_prelude): Likewise.
26061 (end_locale_prelude): Likewise.
26062 (write_locale_data): Update prototype.
26063 * locale/programs/3level.h (struct TABLE): Remove result field.
26064 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
26065 Use new locale_file interface.
26066 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
26067 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
26068 * locale/programs/ld-address.c (address_output): Use new
26069 locale_file interface.
26070 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
26071 NO_ADD_LOCALE.
26072 (collate_finish): Don't call collseq_table_finalize.
26073 (collate_output): Use new locale_file interface.
26074 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
26075 in file.
26076 (NO_FINALIZE): Change to NO_ADD_LOCALE.
26077 (TABLE): Move defines earlier in file.
26078 (ELEMENT): Likewise.
26079 (DEFAULT): Likewise.
26080 (wctrans_table_add): Move macro and inline function earlier in
26081 file.
26082 (struct wctype_table): Move type earlier in file.
26083 (add_locale_wctype_table): New static prototype.
26084 (struct locale_ctype_t): Use logical types instead of struct iovec
26085 pointers for members.
26086 (ctype_output): Use new locale_file interface.
26087 (wctype_table_finalize): Change to add_locale_wctype_table. Use
26088 new locale_file interface.
26089 (allocate_arrays): Update for use of new locale_file interface.
26090 * locale/programs/ld-identification.c (identification_output): Use
26091 new locale_file interface.
26092 * locale/programs/ld-measurement.c (measurement_output): Likewise.
26093 * locale/programs/ld-messages.c (messages_output): Likewise.
26094 * locale/programs/ld-monetary.c (monetary_output): Likewise.
26095 * locale/programs/ld-name.c (name_output): Likewise.
26096 * locale/programs/ld-numeric.c (numeric_output): Likewise.
26097 * locale/programs/ld-paper.c (paper_output): Likewise.
26098 * locale/programs/ld-telephone.c (telephone_output): Likewise.
26099 * locale/programs/ld-time.c (time_output): Likewise.
26100
e029e2e5
AZ
261012013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26102
26103 * benchtests/Makefile: Add memrchr benchmark.
26104 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
26105 benchmark as memrchr.
26106 * benchtests/bench-memrchr-ifunc.c: New file.
26107 * benchtests/bench-memrchr.c: New file.
26108
bbf6e8e4
WN
261092013-09-06 Will Newton <will.newton@linaro.org>
26110
26111 * benchtests/Makefile (string-bench): Add memcpy.
26112
6c82a2f8
CD
261132013-09-05 Carlos O'Donell <carlos@redhat.com>
26114 Cong Wang <amwang@redhat.com>
26115
e732c5f0 26116 [BZ #15850]
6c82a2f8
CD
26117 * sysdeps/unix/sysv/linux/bits/in.h
26118 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
26119 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
26120 before __USE_KERNEL_IPV6_DEFS uses.
26121 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
26122 IPPROTO_BEETPH.
26123 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
26124 sockaddr_in6, or ipv6_mreq.
26125
5430fc65
AZ
261262013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26127
26128 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
26129 memory access for final bytes in some large inputs.
26130 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
26131
4660856c
AZ
261322013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26133
26134 * string/test-memrchr.c: New file.
26135 * string/test-memrchr-ifunc.c: New file.
26136 * string/Makefile: Add new memrchr testcase.
26137
bb8ea713
MF
261382013-09-05 Mike Frysinger <vapier@gentoo.org>
26139
26140 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
26141 fanotify_init returns EPERM.
26142
b92a20b5
JM
261432013-09-04 Joseph Myers <joseph@codesourcery.com>
26144
26145 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
26146 errors.
26147 (top level): Treat second token from macro or constant entries for
26148 allowed headers as allowed.
26149 * include/complex.h: Condition internal declarations on
26150 [!_ISOMAC].
26151 * include/fenv.h: Condition include of <stdbool.h> and internal
26152 declarations on [!_ISOMAC].
7447ccd9
CL
26153
261542013-09-04 Chris Leonard <cjl@sugarlabs,.org>
26155
3e181dda 26156 [BZ #15923]
7447ccd9
CL
26157 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
26158
3f2e46a4
JM
261592013-09-04 Joseph Myers <joseph@codesourcery.com>
26160
26161 * configure.in (--enable-versioning): Remove configure option.
26162 (libc_cv_asm_symver_directive): Remove configure test.
26163 (libc_cv_ld_version_script_option): Likewise.
26164 (VERSIONING): Remove variable and AC_SUBST.
26165 (DO_VERSIONING): Remove AC_DEFINE.
26166 * configure: Regenerated.
26167 * config.h.in (DO_VERSIONING): Remove macro.
26168 * Makerules [$(versioning) = yes]: Change conditionals to
26169 [$(build-shared) = yes].
26170 * config.make.in (versioning): Remove variable.
26171 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
26172 [$(build-shared) = yes].
26173 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
26174 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
26175 * elf/Makefile [$(versioning) = yes]: Change conditionals to
26176 [$(build-shared) = yes].
26177 * extra-lib.mk [$(versioning) = yes]: Likewise.
26178 * hurd/Makefile [$(versioning) = yes]: Likewise.
26179 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
26180 [SHARED].
26181 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
26182 [SHARED].
26183 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
26184 [SHARED && !NO_HIDDEN].
26185 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
26186 [SHARED].
26187 [SHARED && DO_VERSIONING]: Likewise..
26188 * libio/Makefile [$(versioning) = yes]: Change conditionals to
26189 [$(build-shared) = yes].
26190 * manual/install.texi (--disable-versioning): Remove
26191 documentation.
26192 * INSTALL: Regenerated.
26193 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
26194 to [SHARED].
26195 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
26196 [$(build-shared) = yes].
26197 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
26198 * sysdeps/i386/i686/multiarch/strstr-c.c
26199 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
26200 [SHARED && !NO_HIDDEN].
26201 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
26202 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
26203 * sysdeps/powerpc/powerpc32/dl-machine.c
26204 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
26205 * sysdeps/powerpc/powerpc32/sysdep.h
26206 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
26207 to [SHARED && PIC && !NO_HIDDEN].
26208 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
26209 conditional to [SHARED].
26210
44558701
WN
262112013-09-04 Will Newton <will.newton@linaro.org>
26212
26213 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
26214 * benchtests/bench-string.h: Include bench-timing.h instead
26215 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
26216 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
26217 call to HP_TIMING_DIFF_INIT.
26218 * benchtests/bench-memccpy.c: Use bench-timing.h macros
26219 instead of hp-timing.h macros.
26220 * benchtests/bench-memchr.c: Likewise.
26221 * benchtests/bench-memcmp.c: Likewise.
26222 * benchtests/bench-memcpy.c: Likewise.
26223 * benchtests/bench-memmem.c: Likewise.
26224 * benchtests/bench-memmove.c: Likewise.
26225 * benchtests/bench-memset.c: Likewise.
26226 * benchtests/bench-rawmemchr.c: Likewise.
26227 * benchtests/bench-strcasecmp.c: Likewise.
26228 * benchtests/bench-strcasestr.c: Likewise.
26229 * benchtests/bench-strcat.c: Likewise.
26230 * benchtests/bench-strchr.c: Likewise.
26231 * benchtests/bench-strcmp.c: Likewise.
26232 * benchtests/bench-strcpy.c: Likewise.
26233 * benchtests/bench-strcpy_chk.c: Likewise.
26234 * benchtests/bench-strlen.c: Likewise.
26235 * benchtests/bench-strncasecmp.c: Likewise.
26236 * benchtests/bench-strncat.c: Likewise.
26237 * benchtests/bench-strncmp.c: Likewise.
26238 * benchtests/bench-strncpy.c: Likewise.
26239 * benchtests/bench-strnlen.c: Likewise.
26240 * benchtests/bench-strpbrk.c: Likewise.
26241 * benchtests/bench-strrchr.c: Likewise.
26242 * benchtests/bench-strspn.c: Likewise.
26243 * benchtests/bench-strstr.c: Likewise.
26244
cae16d66
WN
262452013-09-04 Will Newton <will.newton@linaro.org>
26246
26247 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
26248
ffa3cd7f
JM
262492013-09-03 Joseph Myers <joseph@codesourcery.com>
26250
26251 [BZ #15427]
26252 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
26253 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
26254 * math/libm-test.inc (lgamma_test_data): Add more tests.
26255 * sysdeps/i386/fpu/libm-test-ulps: Update.
26256 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26257
8f02859f
OB
262582013-09-03 Ondřej Bílka <neleai@seznam.cz>
26259
26260 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
26261 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
26262 Add ifunc.
26263 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
26264 Add strcmp-sse2-unaligned
26265 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
26266
18d43716
MF
262672013-09-02 Mike Frysinger <vapier@gentoo.org>
26268
26269 * Versions.def (libc): Add GLIBC_2.19.
26270
ac444012
MF
262712013-09-02 Mike Frysinger <vapier@gentoo.org>
26272
26273 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
26274 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
26275
b7835e32
JM
262762013-09-02 Joseph Myers <joseph@codesourcery.com>
26277
26278 [BZ #14155]
26279 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
26280 intermediate calculations in recurrence.
26281 (__ieee754_ynf): Likewise.
26282 * math/libm-test.inc (jn_test_data): Do not allow spurious
26283 underflow exception. Add more tests.
26284 (yn_test_data): Add more tests.
26285 * sysdeps/i386/fpu/libm-test-ulps: Update.
26286 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26287
8220f4f0
OB
262882013-09-02 Ondřej Bílka <neleai@seznam.cz>
26289
26290 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
26291
f24a6d08
OB
262922013-08-30 Ondřej Bílka <neleai@seznam.cz>
26293
26294 * csu/init-first.c: Fix then/than typos.
26295 * locale/programs/ld-collate.c: Likewise.
26296 * locale/programs/linereader.h: Likewise.
26297 * manual/charset.texi: Likewise.
26298 * manual/filesys.texi: Likewise.
26299 * manual/stdio.texi: Likewise.
26300 * manual/string.texi: Likewise.
26301 * stdlib/fmtmsg.c: Likewise.
26302 * sysdeps/i386/stpncpy.S: Likewise.
26303 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
26304 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
26305 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
26306 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
26307
382466e0
OB
263082013-08-30 Ondřej Bílka <neleai@seznam.cz>
26309
26310 * elf/dl-open.c: Fix typos.
26311 * iconvdata/gbbig5.c: Likewise.
26312 * iconvdata/iso-2022-jp.c: Likewise.
26313 * iconv/gconv_int.h: Likewise.
26314 * iconv/loop.c: Likewise.
26315 * nis/rpcsvc/nis.h: Likewise.
26316 * resolv/ns_name.c: Likewise.
26317 * stdio-common/vfscanf.c: Likewise.
26318 * streams/stropts.h: Likewise.
26319 * sunrpc/rpc_thread.c: Likewise.
26320 * sysdeps/i386/strpbrk.S: Likewise.
26321 * sysdeps/ieee754/k_standard.c: Likewise.
26322 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
26323 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
26324 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
26325 * sysdeps/mach/hurd/profil.c: Likewise.
26326 * sysdeps/s390/dl-procinfo.h: Likewise.
26327 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
26328 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
26329 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
26330 * sysdeps/x86_64/dl-trampoline.S: Likewise.
26331 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
26332
0186c6e9
OB
263332013-08-30 Ondřej Bílka <neleai@seznam.cz>
26334
26335 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
26336 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
26337
d4e16af1
OB
263382013-08-29 Ondřej Bílka <neleai@seznam.cz>
26339
26340 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
26341 aix specific files.
26342 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
26343 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
26344 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
26345 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
26346 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
26347 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
26348 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
26349 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
26350
88335980
TS
263512013-08-29 Thomas Schwinge <thomas@codesourcery.com>
26352 Roland McGrath <roland@hack.frob.com>
26353
26354 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
26355 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
26356
ed479b02
ST
263572013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
26358
26359 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
26360 __executable_start symbol instead of _start.
26361
f1cc4c86
TS
263622013-08-29 Thomas Schwinge <thomas@codesourcery.com>
26363
d821f07c
TS
26364 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
26365 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
26366 Move macros to...
26367 * sysdeps/gnu/ldsodefs.h: ... this new file.
26368
c54290cf
TS
26369 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
26370 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
26371 instead of ELFOSABI_LINUX.
26372
0007fc9b 26373 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
26374 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
26375 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
26376 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
26377 Likewise.
26378 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
26379 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
26380 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
26381 Likewise.
26382 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
26383 (ibm_extended_long_double): Add ieee_nan member.
26384 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
26385 (do_test): New function.
26386
f1cc4c86
TS
26387 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
26388 TEST_TRUNC.
26389 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
26390 functions, renamed from truncdfsf_test, trunctfsf_test,
26391 trunctfdf_test.
26392 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
26393 functions.
26394 (do_test): Run all these.
26395
6f65e668
OB
263962013-08-29 Ondřej Bílka <neleai@seznam.cz>
26397
26398 * argp/argp-help.c: Fix typos.
26399 * argp/argp-parse.c: Likewise.
26400 * debug/backtracesyms.c: Likewise.
26401 * elf/elf.h: Likewise.
26402 * malloc/malloc.c: Likewise.
26403 * nis/nis_print.c: Likewise.
26404 * resolv/res_comp.c: Likewise.
26405 * stdlib/stdlib.h: Likewise.
26406 * sunrpc/clnt_tcp.c: Likewise.
26407 * sunrpc/clnt_udp.c: Likewise.
26408 * sunrpc/clnt_unix.c: Likewise.
26409 * sysdeps/unix/bsd/ptsname.c: Likewise.
26410 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
26411 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
26412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
26413 Likewise.
26414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
26415 Likewise.
26416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
26417 Likewise.
6f65e668
OB
26418 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
26419
3a309239
SP
264202013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26421
26422 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
26423 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
26424
3b813b29
MF
264252013-08-27 Mike Frysinger <vapier@gentoo.org>
26426
26427 [BZ #15897]
26428 * dlfcn/Makefile (tests): Add bug-dl-leaf.
26429 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
26430 ($(objpfx)bug-dl-leaf): New rule.
26431 ($(objpfx)bug-dl-leaf.so): Likewise.
26432 ($(objpfx)bug-dl-leaf.out): Likewise.
26433 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
26434 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
26435 * dlfcn/bug-dl-leaf.c: New test.
26436 * dlfcn/bug-dl-leaf-lib.c: Likewise.
26437 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
26438 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
26439 (dlclose): Likewise.
26440 (dlmopen): Likewise.
26441
8cc3269f
RM
264422013-08-27 Roland McGrath <roland@hack.frob.com>
26443
7f9d0034
RM
26444 * include/netdb.h [!_ISOMAC]:
26445 Don't include <tls.h>.
26446 (h_errno, __libc_h_errno): Move declaration and macros out of
26447 [_LIBC_REENTRANT].
26448
fb431262
RM
26449 * include/resolv.h [_RESOLV_H_]:
26450 Don't include <tls.h>.
26451 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
26452 * resolv/res_libc.c: Don't include <tls.h>.
26453 (_res): Use __attribute__ ((nocommon)) in place of
26454 __attribute__ ((section (".bss"))).
26455
bd81123a
RM
26456 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
26457 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
26458
c4e42566
RM
26459 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
26460
f890a59b
RM
26461 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
26462 only under [SIOCGIFCONF && SIOCGIFNETMASK].
26463
26464 * resolv/res_mkquery.c: Include <sys/time.h>.
26465
5d1f0a09
RM
26466 * inet/ifreq.c: Moved to ...
26467 * sysdeps/unix/ifreq.c: ... here.
26468 * inet/ifreq.c: New file, true stub version.
26469
6fcf28b3
RM
26470 * socket/sa_len.c: New file.
26471 * socket/Makefile (aux): Add it.
26472 * sysdeps/unix/sysv/linux/Makefile
26473 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
26474 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
26475 and #include <socket/sa_len.c>.
26476 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
26477 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
26478
e041fb8b
RM
26479 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
26480 * bits/socket.h: ... here.
26481
8cc3269f
RM
26482 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
26483 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
26484 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
26485
5d228a43
AS
264862013-08-27 Andreas Schwab <schwab@suse.de>
26487
45b8accc
AS
26488 [BZ #15736]
26489 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
26490 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
26491 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
26492 * string/test-strcasecmp.c (test_main): Run tests in several
26493 locales.
26494 * string/test-strncasecmp.c (test_main): Likewise.
26495
5d228a43
AS
26496 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
26497 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
26498 to __strcasecmp_nonascii and __strncasecmp_nonascii.
26499 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
26500 (__strncasecmp_ssse3) [PIC]: Likewise.
26501
59d112a4
RM
265022013-08-26 Roland McGrath <roland@hack.frob.com>
26503
53234cc3
RM
26504 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
26505
59d112a4
RM
26506 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
26507 instead of explicitly declaring xdecrypt.
26508 * nis/nss_nis/nis-publickey.c: Likewise.
26509
595aba70
SP
265102013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26511
26512 [BZ #15890]
26513 * nscd/aicache.c: Include res_hconf.h.
26514 (addhstaiX): Initialize res_hconf.
26515
ffabd393
AS
265162013-08-26 Andreas Schwab <schwab@suse.de>
26517
26518 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
26519 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
26520
e0a69f5c
SP
265212013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26522
26523 * nscd/aicache.c (addhstaiX): Fix indentation.
26524
8c12f01d
MF
265252013-08-25 Mike Frysinger <vapier@gentoo.org>
26526
26527 * configure.ac: Quote $build_pt_chown test.
26528 * configure: Regenerated.
26529
8fe89494
JM
265302013-08-23 Joseph Myers <joseph@codesourcery.com>
26531
26532 [BZ #15532]
26533 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
26534 * math/s_cexpf.c (__cexpf): Likewise.
26535 * math/s_cexpl.c (__cexpl): Likewise.
26536 * math/libm-test.inc (cexp_test_data): Correct expected return
26537 value for NaN + i0. Add another test.
26538
75b181d6
DM
265392013-08-22 David S. Miller <davem@davemloft.net>
26540
26541 * po/ca.po: Update Catalan translation from translation project.
936241e4 26542 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 26543
acd06bb1
JM
265442013-08-21 Joseph Myers <joseph@codesourcery.com>
26545
26546 [BZ #15797]
26547 * math/s_fdim.c (__fdim): Check for infinite arguments if result
26548 is infinite, not alongside NaN test.
26549 * math/s_fdimf.c (__fdimf): Likewise.
26550 * math/s_fdiml.c (__fdiml): Likewise.
26551 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
26552 errno is unchanged.
26553
c0c3f78a
OB
265542013-08-21 Ondřej Bílka <neleai@seznam.cz>
26555
26556 * argp/argp-help.c: Fix typos.
26557 * crypt/speeds.c: Likewise.
26558 * csu/check_fds.c: Likewise.
26559 * elf/dl-load.c: Likewise.
26560 * elf/dl-open.c: Likewise.
26561 * elf/reldep3.c: Likewise.
26562 * elf/reldep.c: Likewise.
26563 * elf/sprof.c: Likewise.
26564 * iconv/iconv_charmap.c: Likewise.
26565 * iconv/skeleton.c: Likewise.
26566 * iconv/strtab.c: Likewise.
26567 * io/lockf64.c: Likewise.
26568 * libio/libioP.h: Likewise.
26569 * resolv/gai_notify.c: Likewise.
26570 * resolv/ns_name.c: Likewise.
26571 * resolv/ns_samedomain.c: Likewise.
26572 * resolv/res_send.c: Likewise.
26573 * stdlib/random.c: Likewise.
26574 * sunrpc/rpc/xdr.h: Likewise.
26575 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
26576 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
26577 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
26578 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
26579 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
26580 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
26581 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
26582 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
26583 * sysdeps/mach/hurd/check_fds.c: Likewise.
26584 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
26585 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
26586 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
26587 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
26588 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
26589 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
26590 * sysdeps/pthread/aio_notify.c: Likewise.
26591 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
26592 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
26593 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
26594 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
26595 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
26596
46ed1038
LD
265972013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26598
26599 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
26600 version if bit_Slow_SSE4_2 is set.
26601 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26602 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
26603
d400dcac
AZ
266042013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26605
26606 [BZ #15867]
26607 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
26608 trampoline stack frame information.
26609 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
26610 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
26611 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
26612 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
26613 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
26614 * sysdeps/unix/sysv/linux/powerpc/init-first.c
26615 (_libc_vdso_platform_setup): Initialize the signal trampolines.
26616 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
26617 sa_flags value.
26618 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
26619 interrupting a syscall and set with option SA_SIGINFO.
26620
42c8fdd8
JM
266212013-08-20 Joseph Myers <joseph@codesourcery.com>
26622
c980f2f4
JM
26623 [BZ #15531]
26624 * math/s_cproj.c (__cproj): Only return an infinity if one part of
26625 argument is infinite.
26626 * math/s_cprojf.c (__cprojf): Likewise.
26627 * math/s_cprojl.c (__cprojl): Likewise.
26628 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
26629 * math/libm-test.inc (cproj_test_data): Add more tests.
26630
0716c4fc
JM
26631 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
26632
42c8fdd8
JM
26633 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
26634 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
26635 size. Use __ffs to determine corresponding shift.
26636
b31469d0
JM
266372013-08-20 Joseph Myers <joseph@codesourcery.com>
26638 Roland McGrath <roland@hack.frob.com>
26639
26640 * Makefile (INSTALL): Remove trailing blank lines from output of
26641 makeinfo.
26642
4e39af6e
AK
266432013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26644
26645 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
26646 Align 32 bit compat elf_greg to 8 bytes.
26647
f315524e
AA
266482013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
26649
26650 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
26651
1326ba1a
SP
266522013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
26653
26654 * string/strcoll_l.c (coll_seq): New structure.
26655 (get_next_seq_cached): New function.
26656 (get_next_seq): New function.
26657 (do_compare): New function.
26658 (STRCOLL): Use GNU style definition. Simplify implementation
26659 by using get_next_seq, get_next_seq_cached and do_compare.
26660
91ce4085
FW
266612013-08-16 Florian Weimer <fweimer@redhat.com>
26662
26663 [BZ #14699]
26664 CVE-2013-4237
26665 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
26666 member.
26667 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
26668 member.
26669 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
26670 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
26671 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
26672 conditional.
26673 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
26674 GETDENTS_64BIT_ALIGNED.
26675 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
26676 * manual/filesys.texi (Reading/Closing Directory): Document
26677 ENAMETOOLONG return value of readdir_r. Recommend readdir more
26678 strongly.
26679 * manual/conf.texi (Limits for Files): Add portability note to
26680 NAME_MAX, PATH_MAX.
26681 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
26682
ca0a6bc4
AS
266832013-08-13 Andreas Schwab <schwab@suse.de>
26684
26685 [BZ #15749]
26686 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
26687 of fabs.
26688 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
26689 LDBL_MAX_EXP >= 16384]: Add tests for it.
26690
6c1fd795
DM
266912013-08-12 David S. Miller <davem@davemloft.net>
26692
26693 * version.h (RELEASE): Set to "development".
26694 (VERSION): Set to "2.18.90".
26695 * NEWS: Add 2.19 section.
26696
31ad488d
DM
266972013-08-03 David S. Miller <davem@davemloft.net>
26698
26699 * po/ko.po: Update Korean translation from translation project.
26700
db24e684
DM
267012013-08-01 David S. Miller <davem@davemloft.net>
26702
26703 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
26704 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
26705 Bilka.
26706
f723285b
DM
267072013-07-30 David S. Miller <davem@davemloft.net>
26708
26709 * po/fr.po: Update French translation from translation project.
26710
3cbc52db
DM
267112013-07-28 David S. Miller <davem@davemloft.net>
26712
30bbc0cc
DM
26713 * po/cs.po: Update Czech translation from translation project.
26714
3cbc52db
DM
26715 * po/sv.po: Update Swedish translation from translation project.
26716
d492e6d0
DM
267172013-07-27 David S. Miller <davem@davemloft.net>
26718
f1a7f492
DM
26719 * po/eo.po: Update Esperanto translation from translation project.
26720
90e62a4a
DM
26721 * po/vi.po: Update Vietnamese translation from translation project.
26722
d492e6d0
DM
26723 * po/de.po: Update German translation from translation project.
26724
d4baa62d
DM
267252013-07-26 David S. Miller <davem@davemloft.net>
26726
641aa7b4
DM
26727 * po/bg.po: Update Bulgarian translation from translation project.
26728
d4baa62d
DM
26729 * po/nl.po: Update Dutch translation from translation project.
26730 * po/pl.po: Update Polish translation from translation project.
26731 * po/ru.po: Update Russian translation from translation project.
26732
61a9dcb9
DM
267332013-07-24 David S. Miller <davem@davemloft.net>
26734
26735 * po/libc.pot: Update.
26736
7b1f8b58
AZ
267372013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26738
26739 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
26740 variable page size.
26741 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
26742 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
26743 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
26744
a8fc7a03
AK
267452013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26746
26747 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
26748
e4608715
CD
267492013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26750 Andreas Schwab <schwab@suse.de>
26751 Roland McGrath <roland@hack.frob.com>
26752 Joseph Myers <joseph@codesourcery.com>
26753 Carlos O'Donell <carlos@redhat.com>
26754
26755 [BZ #15755]
26756 * config.h.in: Define HAVE_PT_CHOWN.
26757 * config.make.in (build-pt-chown): New variable.
26758 * configure.in (--enable-pt_chown): New configure option.
26759 * configure: Regenerate.
26760 * login/Makefile: Include Makeconfig. Build pt_chown only if
26761 build-pt-chown is enabled.
26762 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
26763 pt_chown to fix pty ownership.
26764 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
26765 CLOSE_ALL_FDS.
26766 * manual/install.texi (Configuring and compiling): Mention
26767 --enable-pt_chown. Add @findex for grantpt.
26768 * INSTALL: Regenerate.
26769
da2d62df
DM
267702013-07-20 David S. Miller <davem@davemloft.net>
26771
26772 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
26773 difference between 32-bit and 64-bit.
26774
d7e06450
CD
267752013-07-15 Carlos O'Donell <carlos@redhat.com>
26776
26777 [BZ #15711]
26778 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
26779 Avoid system header dependency with -ffreestanding.
26780 ($(objpfx)bits/syscall%d): Likewise.
26781
f959cfd7
DM
267822013-07-13 David S. Miller <davem@davemloft.net>
26783
26784 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
26785 underflows from atanl/atan2l due to bug 15319.
26786 (casinh_test_data): Likewise.
26787
c61f8513
DM
267882013-07-07 David S. Miller <davem@davemloft.net>
26789
26790 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
26791
72c90ed0
JA
267922013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
26793
26794 * sysdeps/i386/fpu/libm-test-ulps: Update.
26795 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26796
52dfbe13
SP
267972013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26798
26799 * configure.in (--enable-lock-elision): Fix message text.
26800 * INSTALL: Regenerate.
26801 * configure: Regenerate.
26802
3f169543
AZ
268032013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26804
26805 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26806
521c6785
AJ
268072013-07-03 Andreas Jaeger <aj@suse.de>
26808
26809 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
26810 define.
26811 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
26812 (ptrace_peeksiginfo_args): Add.
26813 (__ptrace_peeksiginfo_flags): Add.
26814 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
26815 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
26816 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
26817
d2cc15cb
AM
268182013-07-03 Allan McRae <allan@archlinux.org>
26819
26820 * sysdeps/i386/fpu/libm-test-ulps: Update.
26821
3aaeeca7
DM
268222013-07-02 David S. Miller <davem@davemloft.net>
26823
26824 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26825
5314ed1a
MT
268262013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
26827
26828 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26829
67338156
JM
268302013-07-02 Joseph Myers <joseph@codesourcery.com>
26831
26832 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
26833 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26834
1717da59
AK
268352013-07-02 Andi Kleen <ak@linux.intel.com>
26836
26837 * config.h.in (ENABLE_LOCK_ELISION): Add.
26838 * configure.in (--enable-lock-elision): Add option.
26839 * manual/install.texi: Document --enable lock elision.
26840 * configure: Regenerate
26841 * INSTALL: Regenerate.
26842
1c81621c
L
268432013-07-02 H.J. Lu <hongjiu.lu@intel.com>
26844
26845 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
26846 SSE4.2 strcasecmp for libc.a.
26847 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
26848
77f01ab5
JM
268492013-07-02 Joseph Myers <joseph@codesourcery.com>
26850
26851 [BZ #13304]
26852 * soft-fp/op-common.h (_FP_FMA): New macro.
26853 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
26854 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
26855 (_FP_MUL_MEAT_1_imm): ... here.
26856 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
26857 (_FP_MUL_MEAT_1_wide): ... here.
26858 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
26859 (_FP_MUL_MEAT_1_hard): ... here.
26860 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
26861 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
26862 (_FP_MUL_MEAT_2_wide): ... here.
26863 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
26864 (_FP_MUL_MEAT_2_wide_3mul): ... here.
26865 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
26866 (_FP_MUL_MEAT_2_gmp): ... here.
26867 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
26868 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
26869 (_FP_MUL_MEAT_4_wide): ... here.
26870 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
26871 (_FP_MUL_MEAT_4_gmp): ... here.
26872 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
26873 (_FP_WFRACBITS_DW_S): Likewise.
26874 (_FP_WFRACXBITS_DW_S): Likewise.
26875 (_FP_HIGHBIT_DW_S): Likewise.
26876 (FP_FMA_S): Likewise.
26877 (_FP_FRAC_HIGH_DW_S): Likewise.
26878 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
26879 (_FP_WFRACBITS_DW_D): Likewise.
26880 (_FP_WFRACXBITS_DW_D): Likewise.
26881 (_FP_HIGHBIT_DW_D): Likewise.
26882 (FP_FMA_D): Likewise.
26883 (_FP_FRAC_HIGH_DW_D): Likewise.
26884 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
26885 (_FP_WFRACBITS_DW_E): Likewise.
26886 (_FP_WFRACXBITS_DW_E): Likewise.
26887 (_FP_HIGHBIT_DW_E): Likewise.
26888 (FP_FMA_E): Likewise.
26889 (_FP_FRAC_HIGH_DW_E): Likewise.
26890 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
26891 (_FP_WFRACBITS_DW_Q): Likewise.
26892 (_FP_WFRACXBITS_DW_Q): Likewise.
26893 (_FP_HIGHBIT_DW_Q): Likewise.
26894 (FP_FMA_Q): Likewise.
26895 (_FP_FRAC_HIGH_DW_Q): Likewise.
26896 * soft-fp/fmasf4.c: New file.
26897 * soft-fp/fmadf4.c: Likewise.
26898 * soft-fp/fmatf4.c: Likewise.
26899
6308fd9a
LD
269002013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26901
26902 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
26903 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
26904 Silvermont.
26905 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
26906 macro.
26907 (index_Slow_SSE4_2): Likewise.
26908 (index_Prefer_PMINUB_for_stringop): Likewise.
26909 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
26910 bit_Slow_SSE4_2 is set.
26911 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
26912 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
26913
89cd9569
RA
269142013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26915
26916 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
26917 rtld_global._dl_hwcap2.
26918 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
26919 POWER8.
26920 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
26921 POWER8 feature descriptions defined in _dl_hwcap2.
26922 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
26923 string handling for POWER8 feature bits.
26924 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
26925 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
26926 _dl_powerpc_cap_flags.
26927 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
26928 * sysdeps/powerpc/rtld-global-offsets.sym
26929 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
26930 _dl_hwcap2 in the rtld_global_ro structure.
26931
1ae8bfe0
RA
269322013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26933
26934 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
26935 hardware capabilities in support of AT_HWCAP2.
26936 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
26937 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
26938 GLRO(dl_hwcap2).
26939 (_dl_show_auxv): Add support for calling _dl_procinfo to display
26940 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
26941 explicitly the unknown a_type display mechanism is used.
26942 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
26943 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
26944 struct member.
26945 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
26946 to macro prototype for AT_HWCAP2 support.
26947 * sysdeps/i386/dl-procinfo.h: Likewise.
26948 * sysdeps/s390/dl-procinfo.h: Likewise.
26949 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
26950 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
26951 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
26952 return -1 for unknown a_type display fallback.
26953 * sysdeps/sparc/dl-procinfo.h: Likewise.
26954 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
26955 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
26956
8fbec010
JM
269572013-06-28 Joseph Myers <joseph@codesourcery.com>
26958
26959 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
26960 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
26961
0432680e
PY
269622013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
26963
26964 [BZ #12492]
26965 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
26966 mprotect making __stack_prot writable.
26967
ce61a2ad
NF
269682013-06-28 Nathan Froyd <froydnj@codesourcery.com>
26969 Joseph Myers <joseph@codesourcery.com>
26970
26971 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
26972 as being properly aligned.
26973
f91f1c0f
MR
269742013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
26975
3d0f5d0c
MR
26976 * dlfcn/modstatic5.c: New file.
26977 * dlfcn/tststatic5.c: New file.
26978 * dlfcn/Makefile (tests): Add tststatic5.
26979 (tests-static): Likewise.
26980 (modules-names): Add modstatic5.
26981 (tststatic5-ENV): New variable.
26982 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
26983
f91f1c0f
MR
26984 [BZ #15022]
26985 * elf/dl-support.c (_dl_main_map): New variable.
26986 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
26987 (_dl_nns, _dl_load_adds): Set to 1.
26988 (_dl_initial_searchlist): Refer to _dl_main_map.
26989 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
26990 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
26991 call to _dl_get_origin.
26992 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
26993 around call_map.
26994 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
26995 * dlfcn/modstatic3.c: New file.
26996 * dlfcn/tststatic3.c: New file.
26997 * dlfcn/tststatic4.c: New file.
26998 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
26999 (tests-static): Likewise.
27000 (modules-names): Add modstatic3.
27001 (tststatic3-ENV, tststatic4-ENV): New variables.
27002 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
27003 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
27004
cbe7d24b
JM
270052013-06-26 Joseph Myers <joseph@codesourcery.com>
27006
27007 * configure.in (CC): Require GCC version 4.4 or later.
27008 * configure: Regenerated.
27009 * manual/install.texi (Tools for Compilation): Update GCC version
27010 requirement.
27011 * INSTALL: Regenerated.
27012
11b8a0e1
LD
270132013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27014
27015 [BZ #15674]
bb5bb87c
L
27016 * string/test-memcmp.c (check2): New.
27017 (main): Call check2.
27018
11b8a0e1
LD
27019 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
27020
b0037103
MR
270212013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
27022
27023 [BZ #15022]
27024 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
27025 over to...
27026 (dl_open_worker) [!SHARED]: ... here.
27027
c18c701d
RA
270282013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
27029
27030 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
27031
1d17fa5f
RH
270322013-06-25 Richard Henderson <rth@redhat.com>
27033
27034 * locale/programs/locarchive.c: Include <libc-internal.h>
27035
8fcb833a
JM
270362013-06-25 Joseph Myers <joseph@codesourcery.com>
27037
27038 * manual/texinfo.tex: Update to version 2013-06-21.17, with
27039 trailing whitespace removed.
27040
17db6e8d
MF
270412013-06-24 Mike Frysinger <vapier@gentoo.org>
27042
27043 [BZ #10283]
17db6e8d
MF
27044 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
27045 * locale/programs/locarchive.c: Include libc-mmap.h.
27046 (prepare_address_space): Take two new outputs (the mmap base and len).
27047 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
27048 values.
27049 (create_archive): Declare new mmap base and len values for
27050 prepare_address_space, and store the result in ah.
27051 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
27052 (enlarge_archive): If ah->mmap_base is not NULL, use that and
27053 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
27054 Declare new mmap base and len values for
27055 prepare_address_space, and store the result in new_ah.
27056 (open_archive): Declare new mmap base and len values for
27057 prepare_address_space, and store the result in ah.
27058 (close_archive): If ah->mmap_base is not NULL, use that and
27059 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
27060 * sysdeps/generic/libc-mmap.h: New file.
27061
d605071e
MF
270622013-06-24 Mike Frysinger <vapier@gentoo.org>
27063
27064 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
27065 (ALIGN_UP): Likewise.
27066 (PTR_ALIGN_DOWN): Likewise.
27067 (PTR_ALIGN_UP): Likewise.
27068
2f063a6e
RA
270692013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
27070
27071 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
27072 entry mapped to PPC_PLATFORM_POWER8.
27073 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
27074 POWER8.
27075 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
27076 (_dl_string_platform): Add case for exporting platform position for
27077 POWER8.
27078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
27079 search path to sysdeps/powerpc/powerpc32/power8 directory.
27080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
27081 search path to sysdeps/powerpc/powerpc64/power8 directory.
27082 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
27083 power7 directories.
27084 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
27085 power7 directories.
27086
a31ee4b3
SP
270872013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
27088
a74ca98f
SP
27089 * INSTALL: Regenerate.
27090
a31ee4b3
SP
27091 * nscd/connections.c (nscd_init): Fix comment.
27092
695c378f
JM
270932013-06-22 Joseph Myers <joseph@codesourcery.com>
27094
d8412221
JM
27095 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
27096
695c378f
JM
27097 [BZ #15667]
27098 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
27099 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
27100
d1d54715
MR
271012013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
27102
27103 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
27104 DL_DST_REQ_STATIC.
27105 (DL_DST_REQ_STATIC): Remove macro.
27106
8fdda7af
JM
271072013-06-21 Joseph Myers <joseph@codesourcery.com>
27108
27109 [BZ #7006]
27110 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
27111 with a shift of 0 bits.
27112
f3bc5e5a
MR
271132013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
27114
27115 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
27116 $(tststatic-ENV).
27117
be09e8c9
KK
271182013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27119
27120 [BZ #15655]
27121 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
27122
85c2e611
AZ
271232013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27124
27125 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
27126 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
27127 accepts -fno-tree-loop-distribute-patterns.
27128 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
27129 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
27130 recursive call.
27131 * string/memset.c (memset): Likewise.
27132 * string/test-memmove.c (simple_memmove): Disable loop transformation
27133 to library calls.
27134 * string/test-memset.c (simple_memset): Likewise.
27135 * benchtests/bench-memmove.c (simple_memmove): Likewise.
27136 * benchtests/bench-memset.c (simple_memset): Likewise.
27137 * configure: Regenerated.
27138
c91e0825
JM
271392013-06-20 Joseph Myers <joseph@codesourcery.com>
27140
b8c792af
JM
27141 * math/test-misc.c (main): Ignore fesetround failure when failures
27142 of subsequent rounding tests would be ignored.
27143
c91e0825
JM
27144 [BZ #15654]
27145 * math/fedisblxcpt.c (fedisableexcept): Return 0.
27146 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
27147 * math/fegetenv.c (__fegetenv): Return 0.
27148 * math/fegetexcept.c (fegetexcept): Return 0.
27149 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
27150 FE_TONEAREST.
27151 * math/feholdexcpt.c (feholdexcept): Return 0.
27152 * math/fesetenv.c (__fesetenv): Return 0.
27153 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
27154 argument FE_TONEAREST.
27155 * math/feupdateenv.c (__feupdateenv): Return 0.
27156 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
27157
bfcacbde
RM
271582013-06-18 Roland McGrath <roland@hack.frob.com>
27159
27160 * elf/rtld-Rules (rtld-compile-command.S): New variable.
27161 (rtld-compile-command.s, rtld-compile-command.c): New variables.
27162 ($(objpfx)rtld-%.os rules): Use them.
27163
e55a9b25
AZ
271642013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27165
27166 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
27167 fields.
27168
346d65b3
RM
271692013-06-17 Roland McGrath <roland@hack.frob.com>
27170
12086fb4
RM
27171 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
27172 length of target pattern, then descending length of dependency pattern.
27173 * configure.in (AWK): Require gawk 3.1.2 or newer.
27174 * manual/install.texi (Tools for Compilation): Say that we do.
27175 * configure: Regenerated.
27176
346d65b3
RM
27177 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
27178 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
27179 * scripts/sysd-rules.awk: ... this new script.
27180 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
27181 than a glob-style pattern.
27182
1a846317
JM
271832013-06-17 Joseph Myers <joseph@codesourcery.com>
27184
27185 * math/test-misc.c (main): Do not treat incorrectly rounded
27186 conversions as failure unless ROUNDING_TESTS passes.
27187
8fc75e6f
JM
271882013-06-15 Joseph Myers <joseph@codesourcery.com>
27189
3711a167
JM
27190 [BZ #15631]
27191 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
27192 restore exception state around main square root computation, then
27193 check for inexactness explicitly.
27194
8fc75e6f
JM
27195 * math/libm-test.inc (fma_test_data): Add another test.
27196
61dd6208
SP
271972013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
27198
adf23d2c
SP
27199 * manual/threads.texi (Non-POSIX Extensions): New document
27200 node. Document pthread_getattr_default_np and
27201 pthread_setattr_default_np.
27202
61dd6208
SP
27203 * Versions.def (libpthread): Add GLIBC_2.18.
27204 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
27205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
27206 Likewise.
27207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
27208 Likewise.
27209 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27210 Likewise.
27211 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27212 Likewise.
27213 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
27214 Likewise.
27215 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
27216 Likewise.
27217 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
27218 Likewise.
27219 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
27220 Likewise.
27221 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
27222 Likewise.
27223
d086fc7b
LD
272242013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27225
27226 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27227 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
27228
747ef469
SP
272292013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
27230 H.J. Lu <hjl.tools@gmail.com>
27231
27232 [BZ #15627]
27233 * sysdeps/x86_64/rtld-memset.c: Remove file.
27234 * sysdeps/x86_64/rtld-memset.S: New file.
27235
1b2feed2
JM
272362013-06-14 Joseph Myers <joseph@codesourcery.com>
27237
27238 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
27239 (test_in_one_mode): Take arguments for whether the rounding mode
27240 is supported for each floating-point type.
27241 (do_test): Pass new arguments to test_in_one_mode using
27242 ROUNDING_TESTS.
27243
a58ad3f8
RM
272442013-06-13 Roland McGrath <roland@hack.frob.com>
27245
27246 * posix/tst-waitid.c (do_test): Distinguish different instances of
27247 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
27248 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
27249 before entering the kernel for waitpid.
27250
c204ab28
SP
272512013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
27252
27253 * NEWS: Fix note on clock function precision. Text by Roland
27254 McGrath.
27255
f4a29fba
RM
272562013-06-13 Roland McGrath <roland@hack.frob.com>
27257
27258 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
27259 it into place only when and if the sanity check passes.
27260
1f24b9ad
JM
272612013-06-13 Joseph Myers <joseph@codesourcery.com>
27262
27263 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
27264 output for whether conversion result is exact. Take argument
27265 indicating whether type is IBM long double.
27266 (round_for_all): Change need_exact field to ibm_ld.
27267 * stdlib/tst-strtod-round.c (struct exactness): New type.
27268 (struct test): Change bool ld_ok field to struct exactness exact.
27269 (TEST): Update all definitions for change to field.
27270 (tests): Regenerate array contents.
27271 (test_in_one_mode): Take pointer to new field instead of old ld_ok
27272 field value. Check for IBM long double here.
27273 (do_test): Update calls to test_in_one_mode.
27274
58206c68
SP
272752013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
27276
27277 [BZ #12515]
27278 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
27279 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
27280
2d6f4c5b 272812013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
27282
27283 [BZ #15605]
27284 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
27285 generated by the compiler on loop optimizations.
27286 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
27287 general definitions.
27288
94f2c076
JM
272892013-06-12 Joseph Myers <joseph@codesourcery.com>
27290
27291 * math/bug-nextafter.c: Include <math-tests.h>.
27292 (main): Only test for exceptions if EXCEPTION_TESTS is true for
27293 the relevant type.
27294 * math/bug-nexttoward.c: Include <math-tests.h>.
27295 (main): Only test for exceptions if EXCEPTION_TESTS is true for
27296 the relevant type.
27297 * math/test-misc.c: Include <math-tests.h>.
27298 (main): Only test for exceptions if EXCEPTION_TESTS is true for
27299 the relevant type.
27300
e0e50a0a
AJ
273012013-06-12 Andreas Jaeger <aj@suse.de>
27302
27303 * po/ia.po: Update Interlingua translation from translation
27304 project.
27305
25061094
SP
273062013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
27307
27308 * include/fenv.h: Include stdbool.h.
27309 (struct rm_ctx): New structure.
27310 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
27311 Define macro.
27312 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
27313 (SET_RESTORE_ROUNDF): Likewise.
27314 (SET_RESTORE_ROUNDL): Likewise.
27315 (SET_RESTORE_ROUND_NOEX): Likewise.
27316 (SET_RESTORE_ROUND_NOEXF): Likewise.
27317 (SET_RESTORE_ROUND_NOEXL): Likewise.
27318 (SET_RESTORE_ROUND_53BIT): Likewise.
27319 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
27320 (libc_feresetround_noexf_ctx): Likewise.
27321 (libc_feresetround_noexl_ctx): Likewise.
27322 (libc_feholdsetround_53bit_ctx): Likewise.
27323 (libc_feresetround_53bit_ctx): Likewise.
27324 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
27325 (libc_feholdexcept_setround_sse_ctx): New function.
27326 (libc_fesetenv_sse_ctx): Likewise.
27327 (libc_feupdateenv_sse_ctx): Likewise.
27328 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
27329 (libc_feholdexcept_setround_387_ctx): Likewise.
27330 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
27331 (libc_feholdsetround_387_prec_ctx): Likewise.
27332 (libc_feholdsetround_387_ctx): Likewise.
27333 (libc_feholdsetround_387_53bit_ctx): Likewise.
27334 (libc_feholdsetround_sse_ctx): Likewise.
27335 (libc_feresetround_sse_ctx): Likewise.
27336 (libc_feresetround_387_ctx): Likewise.
27337 (libc_feupdateenv_387_ctx): Likewise.
27338 (libc_feholdexcept_setroundf_ctx): Define macro.
27339 (libc_fesetenvf_ctx): Likewise.
27340 (libc_feupdateenvf_ctx): Likewise.
27341 (libc_feholdsetroundf_ctx): Likewise.
27342 (libc_feresetroundf_ctx): Likewise.
27343 (libc_feholdexcept_setround_ctx): Likewise.
27344 (libc_fesetenv_ctx): Likewise.
27345 (libc_feupdateenv_ctx): Likewise.
27346 (libc_feholdsetround_ctx): Likewise.
27347 (libc_feresetround_ctx): Likewise.
27348 (libc_feholdexcept_setroundl_ctx): Likewise.
27349 (libc_feupdateenvl_ctx): Likewise.
27350 (libc_feholdsetroundl_ctx): Likewise.
27351 (libc_feresetroundl_ctx): Likewise.
27352 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
27353 (libc_feresetround_53bit_ctx): Likewise.
27354
59b30555
SP
273552013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
27356
27357 * locale/iso-639.def: Convert to UTF-8.
27358
f1d73d30
JM
273592013-06-11 Joseph Myers <joseph@codesourcery.com>
27360
27361 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
27362 (EXCEPTION_TESTS_double): Likewise.
27363 (EXCEPTION_TESTS_long_double): Likewise.
27364 (EXCEPTION_TESTS): Likewise.
27365 * math/libm-test.inc (test_exceptions): Only test exceptions if
27366 EXCEPTION_TESTS (FLOAT).
27367
94aca5e7
SP
273682013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
27369
27370 * benchtests/Makefile (string-bench): Add strcpy_chk and
27371 stpcpy_chk.
27372 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
27373 * benchtests/bench-stpcpy_chk.c: New file.
27374 * benchtests/bench-strcpy_chk-ifunc.c: New file.
27375 * benchtests/bench-strcpy_chk.c: New file.
27376 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
27377 code.
27378 (do_test): Likewise.
27379
fac0c5f2
RA
273802013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
27381
27382 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
27383 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
27384 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
27385 with tabs where appropriate.
27386 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
27387 dl-procinfo.h.
27388 [PPC_PLATFORM_PPC440]: Likewise.
27389 [PPC_PLATFORM_PPC464]: Likewise.
27390 [PPC_PLATFORM_PPC476]: Likewise.
27391 (_dl_string_platform): Add support for detecting ppc405, ppc440,
27392 ppc464, and ppc476 platform strings merging from ports/
27393 dl-procinfo.h.
27394
f22bc486
AS
273952013-06-11 Andreas Schwab <schwab@suse.de>
27396
27397 [BZ #14991]
27398 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
27399 (from_ucs4_idx): Regenerate.
27400 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
27401 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
27402 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
27403 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
27404 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
27405 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
27406 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
27407 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
27408 from FROM_LOOP and TO_LOOP specific macros.
27409 (BODY): Handle combining characters.
27410 * iconvdata/BIG5HKSCS.irreversible: Update.
27411 * iconvdata/BIG5HKSCS.precomposed: New file.
27412 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
27413 characters.
27414 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
27415
c1f75dc3
SP
274162013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
27417
4eacded2
SP
27418 * include/sys/time.h: Fix indentation and add copyright header.
27419
fec799f8
SP
27420 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
27421 (do_test): Likewise.
27422 * string/test-memchr.c (do_one_test): Likewise.
27423 (do_test): Likewise.
27424 * string/test-memcmp.c (do_one_test): Likewise.
27425 (do_test): Likewise.
27426 * string/test-memcpy.c (do_one_test): Likewise.
27427 (do_test): Likewise.
27428 * string/test-memmem.c (do_one_test): Likewise.
27429 (do_test): Likewise.
27430 (do_random_tests): Likewise.
27431 * string/test-memmove.c (do_one_test): Likewise.
27432 (do_test): Likewise.
27433 * string/test-memset.c (do_one_test): Likewise.
27434 (do_test): Likewise.
27435 * string/test-rawmemchr.c (do_one_test): Likewise.
27436 (do_test): Likewise.
27437 * string/test-strcasecmp.c (do_one_test): Likewise.
27438 (do_test): Likewise.
27439 * string/test-strcasestr.c (do_one_test): Likewise.
27440 (do_test): Likewise.
27441 * string/test-strcat.c (do_one_test): Likewise.
27442 (do_test): Likewise.
27443 * string/test-strchr.c (do_one_test): Likewise.
27444 (do_test): Likewise.
27445 * string/test-strcmp.c (do_one_test): Likewise.
27446 (do_test): Likewise.
27447 * string/test-strcpy.c (do_one_test): Likewise.
27448 (do_test): Likewise.
27449 * string/test-string.h: Likewise.
27450 (test_init): Likewise.
27451 * string/test-strlen.c (do_one_test): Likewise.
27452 (do_test): Likewise.
27453 * string/test-strncasecmp.c (do_one_test): Likewise.
27454 (do_test): Likewise.
27455 * string/test-strncat.c (do_one_test): Likewise.
27456 (do_test): Likewise.
27457 * string/test-strncmp.c (do_one_test): Likewise.
27458 (do_test_limit): Likewise.
27459 (do_test): Likewise.
27460 * string/test-strncpy.c (do_one_test): Likewise.
27461 (do_test): Likewise.
27462 * string/test-strnlen.c (do_one_test): Likewise.
27463 (do_test): Likewise.
27464 * string/test-strpbrk.c (do_one_test): Likewise.
27465 (do_test): Likewise.
27466 * string/test-strrchr.c (do_one_test): Likewise.
27467 (do_test): Likewise.
27468 * string/test-strspn.c (do_one_test): Likewise.
27469 (do_test): Likewise.
27470 * string/test-strstr.c (do_one_test): Likewise.
27471 (do_test): Likewise.
27472
97020474
SP
27473 * benchtests/Makefile (string-bench): Add string benchmarks.
27474 * benchtests/bench-bcopy-ifunc.c: New file.
27475 * benchtests/bench-bcopy.c: New file.
27476 * benchtests/bench-bzero-ifunc.c: New file.
27477 * benchtests/bench-bzero.c: New file.
27478 * benchtests/bench-memccpy-ifunc.c: New file.
27479 * benchtests/bench-memccpy.c: New file.
27480 * benchtests/bench-memchr-ifunc.c: New file.
27481 * benchtests/bench-memchr.c: New file.
27482 * benchtests/bench-memcmp-ifunc.c: New file.
27483 * benchtests/bench-memcmp.c: New file.
27484 * benchtests/bench-memmem-ifunc.c: New file.
27485 * benchtests/bench-memmem.c: New file.
27486 * benchtests/bench-memmove-ifunc.c: New file.
27487 * benchtests/bench-memmove.c: New file.
27488 * benchtests/bench-mempcpy-ifunc.c: New file.
27489 * benchtests/bench-mempcpy.c: New file.
27490 * benchtests/bench-memset-ifunc.c: New file.
27491 * benchtests/bench-memset.c: New file.
27492 * benchtests/bench-rawmemchr-ifunc.c: New file.
27493 * benchtests/bench-rawmemchr.c: New file.
27494 * benchtests/bench-stpcpy-ifunc.c: New file.
27495 * benchtests/bench-stpcpy.c: New file.
27496 * benchtests/bench-stpncpy-ifunc.c: New file.
27497 * benchtests/bench-stpncpy.c: New file.
27498 * benchtests/bench-strcasecmp-ifunc.c: New file.
27499 * benchtests/bench-strcasecmp.c: New file.
27500 * benchtests/bench-strcasestr-ifunc.c: New file.
27501 * benchtests/bench-strcasestr.c: New file.
27502 * benchtests/bench-strcat-ifunc.c: New file.
27503 * benchtests/bench-strcat.c: New file.
27504 * benchtests/bench-strchr-ifunc.c: New file.
27505 * benchtests/bench-strchr.c: New file.
27506 * benchtests/bench-strchrnul-ifunc.c: New file.
27507 * benchtests/bench-strchrnul.c: New file.
27508 * benchtests/bench-strcmp-ifunc.c: New file.
27509 * benchtests/bench-strcmp.c: New file.
27510 * benchtests/bench-strcpy-ifunc.c: New file.
27511 * benchtests/bench-strcpy.c: New file.
27512 * benchtests/bench-strcspn-ifunc.c: New file.
27513 * benchtests/bench-strcspn.c: New file.
27514 * benchtests/bench-strlen-ifunc.c: New file.
27515 * benchtests/bench-strlen.c: New file.
27516 * benchtests/bench-strncasecmp-ifunc.c: New file.
27517 * benchtests/bench-strncasecmp.c: New file.
27518 * benchtests/bench-strncat-ifunc.c: New file.
27519 * benchtests/bench-strncat.c: New file.
27520 * benchtests/bench-strncmp-ifunc.c: New file.
27521 * benchtests/bench-strncmp.c: New file.
27522 * benchtests/bench-strncpy-ifunc.c: New file.
27523 * benchtests/bench-strncpy.c: New file.
27524 * benchtests/bench-strnlen-ifunc.c: New file.
27525 * benchtests/bench-strnlen.c: New file.
27526 * benchtests/bench-strpbrk-ifunc.c: New file.
27527 * benchtests/bench-strpbrk.c: New file.
27528 * benchtests/bench-strrchr-ifunc.c: New file.
27529 * benchtests/bench-strrchr.c: New file.
27530 * benchtests/bench-strspn-ifunc.c: New file.
27531 * benchtests/bench-strspn.c: New file.
27532 * benchtests/bench-strstr-ifunc.c: New file.
27533 * benchtests/bench-strstr.c: New file.
27534
c1f75dc3
SP
27535 * benchtests/Makefile: Disable parallel execution of targets.
27536 (string-bench): Add memcpy.
27537 (benchset): New variable to store a list of benchmark sets.
27538 (bench-func): Renamed from bench.
27539 (bench-set): New target.
27540 (bench): Depend on bench-func and bench-set.
27541 * benchtests/README: Add section on benchmark sets.
27542 * benchtests/bench-memcpy-ifunc.c: New file.
27543 * benchtests/bench-memcpy.c: New file.
27544 * benchtests/bench-string.h: New file.
27545
50fd745b
AS
275462013-06-11 Andreas Schwab <schwab@suse.de>
27547
27548 [BZ #15577]
27549 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
27550 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
27551 values in the triple.
27552 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
27553 terminator in the group key.
27554
3ee7e9fe
AJ
275552013-06-11 Andreas Jaeger <aj@suse.de>
27556
27557 * po/zh_TW.po: Update Chinese (traditional) translation from
27558 translation project.
27559
89fb6835
SP
275602013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
27561
27562 * include/time.h (__clock_gettime): Add libc_hidden_proto.
27563 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
27564 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
27565 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
27566 (clock_getcpuclockid): Likewise.
27567 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
27568 Add weak_alias and libc_hidden_def.
27569 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
27570 * rt/clock_gettime.c (clock_gettime): Rename to
27571 __clock_gettime. Add weak_alias and libc_hidden_def.
27572 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
27573 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
27574 __clock_nanosleep. Add weak_alias and libc_hidden_def.
27575 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
27576 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
27577 Likewise.
27578 * rt/clock_settime.c (clock_settime): Rename to
27579 __clock_settime. Add weak_alias and libc_hidden_def.
27580 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
27581
0efa6f8b
JM
275822013-06-10 Joseph Myers <joseph@codesourcery.com>
27583
b8c61b4b
JM
27584 * mach/err_boot.sub: Remove trailing whitespace.
27585 * mach/err_ipc.sub: Likewise.
27586 * mach/err_mach.sub: Likewise.
27587
0efa6f8b
JM
27588 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
27589 (ROUNDING_TESTS_double): Likewise.
27590 (ROUNDING_TESTS_long_double): Likewise.
27591 (ROUNDING_TESTS): Likewise.
27592 * math/libm-test.inc: Include <math-tests.h>.
27593 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
27594 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
27595 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
27596 (IF_ROUND_INIT_FE_UPWARD): Likewise.
27597
50b818bf
SP
275982013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
27599
27600 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
27601 of assigning.
27602
60d2f8f3
JM
276032013-06-08 Joseph Myers <joseph@codesourcery.com>
27604
4902d2c3
JM
27605 * sysdeps/gnu/errlist.awk: Do not generate space at end of
27606 otherwise empty TRANS lines.
27607 * sysdeps/gnu/errlist.c: Regenerated.
27608
60d2f8f3
JM
27609 * catgets/gencat.c (error_print): Use (void) in function
27610 definition.
27611 * crypt/crypt_util.c (__init_des): Likewise.
27612 * crypt/speeds.c (Stop): Likewise.
27613 (main): Likewise.
27614 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
27615 * inet/ruserpass.c (token): Likewise.
27616 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
27617 * intl/localealias.c (extend_alias_table): Likewise.
27618 * intl/plural-exp.c (init_germanic_plural): Likewise.
27619 * libio/fcloseall.c (__fcloseall): Likewise.
27620 * libio/genops.c (_IO_flush_all): Likewise.
27621 (_IO_flush_all_linebuffered): Likewise.
27622 (_IO_cleanup): Likewise.
27623 (_IO_iter_begin): Likewise.
27624 (_IO_iter_end): Likewise.
27625 (_IO_list_lock): Likewise.
27626 (_IO_list_unlock): Likewise.
27627 (_IO_list_resetlock): Likewise.
27628 * libio/getchar.c (getchar): Likewise.
27629 * libio/getchar_u.c (getchar_unlocked): Likewise.
27630 * libio/getwchar.c (getwchar): Likewise.
27631 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
27632 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
27633 * login/getpt.c (__getpt): Likewise.
27634 * login/tst-utmp.c (main): Likewise.
27635 * malloc/hooks.c (__malloc_check_init): Likewise.
27636 * malloc/malloc.c (__malloc_stats): Likewise.
27637 * malloc/mtrace.c (tr_break): Likewise.
27638 (mtrace): Likewise.
27639 (muntrace): Likewise.
27640 * misc/fstab.c (endfsent): Likewise.
27641 * misc/getclktck.c (__getclktck): Likewise.
27642 * misc/getdtsz.c (__getdtablesize): Likewise.
27643 * misc/gethostid.c (gethostid): Likewise.
27644 * misc/getpagesize.c (__getpagesize): Likewise.
27645 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
27646 (__get_nprocs): Likewise.
27647 (__get_phys_pages): Likewise.
27648 (__get_avphys_pages): Likewise.
27649 * misc/getttyent.c (getttyent): Likewise.
27650 (setttyent): Likewise.
27651 (endttyent): Likewise.
27652 * misc/getusershell.c (getusershell): Likewise.
27653 (endusershell): Likewise.
27654 (setusershell): Likewise.
27655 (initshells): Likewise.
27656 * misc/hsearch.c (__hdestroy): Likewise.
27657 * misc/sync.c (sync): Likewise.
27658 * misc/syslog.c (closelog_internal): Likewise.
27659 (closelog): Likewise.
27660 * misc/ttyslot.c (ttyslot): Likewise.
27661 * misc/vhangup.c (vhangup): Likewise.
27662 * posix/fork.c (__fork): Likewise.
27663 * posix/getegid.c (__getegid): Likewise.
27664 * posix/geteuid.c (__geteuid): Likewise.
27665 * posix/getgid.c (__getgid): Likewise.
27666 * posix/getpid.c (__getpid): Likewise.
27667 * posix/getppid.c (__getppid): Likewise.
27668 * posix/getuid.c (__getuid): Likewise.
27669 * posix/pause.c (pause): Likewise.
27670 * posix/setpgrp.c (setpgrp): Likewise.
27671 * posix/setsid.c (__setsid): Likewise.
27672 * posix/test-vfork.c (noop): Likewise.
27673 * resolv/gethnamaddr.c (_endhtent): Likewise.
27674 (_gethtent): Likewise.
27675 (ht_endhostent): Likewise.
27676 (gethostent): Likewise.
27677 (dns_service): Likewise.
27678 * stdlib/drand48.c (drand48): Likewise.
27679 * stdlib/lrand48.c (lrand48): Likewise.
27680 * stdlib/mrand48.c (mrand48): Likewise.
27681 * stdlib/rand.c (rand): Likewise.
27682 * stdlib/random.c (__random): Likewise.
27683 * stdlib/setenv.c (clearenv): Likewise.
27684 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
27685 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
27686 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
27687 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
27688 (__get_nprocs): Likewise.
27689 (__get_phys_pages): Likewise.
27690 (__get_avphys_pages): Likewise.
27691 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
27692 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
27693 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
27694 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
27695 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
27696 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
27697 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
27698 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
27699 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
27700 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
27701 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
27702 * sysdeps/mach/hurd/sync.c (sync): Likewise.
27703 * sysdeps/posix/clock.c (clock): Likewise.
27704 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
27705 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
27706 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
27707 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
27708 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
27709 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
27710 (__get_nprocs_conf): Likewise.
27711 (__get_phys_pages): Likewise.
27712 (__get_avphys_pages): Likewise.
27713 * time/clock.c (clock): Likewise.
27714 * time/tzset.c (__tzname_max): Likewise.
27715
2e09a79a
JM
277162013-06-07 Joseph Myers <joseph@codesourcery.com>
27717
27718 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
27719 (__bswap_32): Do not use "register".
27720 * crypt/crypt.c (_ufc_doit_r): Likewise.
27721 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
27722 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
27723 * gmon/gmon.c (__monstartup): Likewise.
27724 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
27725 * hurd/hurdmalloc.c (more_memory): Likewise.
27726 (malloc): Likewise.
27727 (free): Likewise.
27728 (realloc): Likewise.
27729 (malloc_fork_prepare): Likewise.
27730 (malloc_fork_parent): Likewise.
27731 (malloc_fork_child): Likewise.
27732 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
27733 (_svcauth_des): Likewise.
27734 * inet/inet_lnaof.c (inet_lnaof): Likewise.
27735 * inet/inet_net.c (inet_network): Likewise.
27736 * inet/inet_netof.c (inet_netof): Likewise.
27737 * inet/rcmd.c (__validuser2_sa): Likewise.
27738 * io/fts.c (fts_open): Likewise.
27739 (fts_load): Likewise.
27740 (fts_close): Likewise.
27741 (fts_read): Likewise.
27742 (fts_children): Likewise.
27743 (fts_build): Likewise.
27744 (fts_stat): Likewise.
27745 (fts_sort): Likewise.
27746 (fts_alloc): Likewise.
27747 (fts_lfree): Likewise.
27748 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
27749 (_IO_file_xsgetn): Likewise.
27750 (_IO_file_xsgetn_mmap): Likewise.
27751 * libio/iofopncook.c (_IO_cookie_read): Likewise.
27752 (_IO_cookie_write): Likewise.
27753 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
27754 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
27755 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
27756 * malloc/obstack.c (_obstack_begin): Likewise.
27757 (_obstack_begin_1): Likewise.
27758 (_obstack_newchunk): Likewise.
27759 (_obstack_allocated_p): Likewise.
27760 (obstack_free): Likewise.
27761 (_obstack_memory_used): Likewise.
27762 * misc/getttyent.c (getttynam): Likewise.
27763 (getttyent): Likewise.
27764 (skip): Likewise.
27765 (value): Likewise.
27766 * misc/getusershell.c (initshells): Likewise.
27767 * misc/syslog.c (__vsyslog_chk): Likewise.
27768 * misc/ttyslot.c (ttyslot): Likewise.
27769 * nis/nis_hash.c (__nis_hash): Likewise.
27770 * posix/fnmatch_loop.c (FCT): Likewise.
27771 * posix/getconf.c (print_all): Likewise.
27772 (main): Likewise.
27773 * posix/getopt.c (exchange): Likewise.
27774 * posix/glob.c (globfree): Likewise.
27775 (prefix_array): Likewise.
27776 (__glob_pattern_type): Likewise.
27777 * resolv/arpa/nameser.h (NS_GET16): Likewise.
27778 (NS_GET32): Likewise.
27779 (NS_PUT16): Likewise.
27780 (NS_PUT32): Likewise.
27781 * resolv/gethnamaddr.c (getanswer): Likewise.
27782 (gethostbyname2): Likewise.
27783 (gethostbyaddr): Likewise.
27784 (_gethtent): Likewise.
27785 (_gethtbyname2): Likewise.
27786 (_gethtbyaddr): Likewise.
27787 * resolv/ns_print.c (dst_s_get_int16): Likewise.
27788 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
27789 * resolv/res_init.c (__res_vinit): Likewise.
27790 (net_mask): Likewise.
27791 * resolv/res_mkquery.c (outchar): Likewise.
27792 (PRINT): Likewise.
27793 * stdio-common/printf_fp.c (outchar): Likewise.
27794 (PRINT): Likewise.
27795 * stdio-common/printf_fphex.c (outchar): Likewise.
27796 (PRINT): Likewise.
27797 * stdio-common/printf_size.c (outchar): Likewise.
27798 (PRINT): Likewise.
27799 * stdio-common/test_rdwr.c (main): Likewise.
27800 * stdio-common/tfformat.c (matches): Likewise.
27801 * stdio-common/vfprintf.c (outchar): Likewise.
27802 (printf_unknown): Likewise.
27803 (buffered_vfprintf): Likewise.
27804 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
27805 * stdio-common/xbug.c (AppendToBuffer): Likewise.
27806 (ReadFile): Likewise.
27807 * stdlib/qsort.c (SWAP): Likewise.
27808 (_quicksort): Likewise.
27809 * stdlib/setenv.c (__add_to_environ): Likewise.
27810 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
27811 * stdlib/strtol_l.c (__strtol_l): Likewise.
27812 * stdlib/tst-strtod.c (main): Likewise.
27813 * stdlib/tst-strtol.c (main): Likewise.
27814 * stdlib/tst-strtoll.c (main): Likewise.
27815 * string/bits/string2.h (__strcmp_cc): Likewise.
27816 (__strcmp_cg): Likewise.
27817 (__strcspn_c1): Likewise.
27818 (__strcspn_c2): Likewise.
27819 (__strcspn_c3): Likewise.
27820 (__strspn_c1): Likewise.
27821 (__strspn_c2): Likewise.
27822 (__strspn_c3): Likewise.
27823 (__strsep_1c): Likewise.
27824 (__strsep_2c): Likewise.
27825 (__strsep_3c): Likewise.
27826 * string/memccpy.c (__memccpy): Likewise.
27827 * string/stpcpy.c (__stpcpy): Likewise.
27828 * string/strcmp.c (strcmp): Likewise.
27829 * string/strrchr.c (strrchr): Likewise.
27830 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
27831 Likewise.
27832 * sysdeps/mach/hurd/getcwd.c
27833 (_hurd_canonicalize_directory_name_internal): Likewise.
27834 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
27835 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
27836 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
27837 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
27838 Likewise, in both definitions.
27839 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
27840 definitions.
27841 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
27842 64] (__bswap_64): Likewise.
27843 * time/test_time.c (main): Likewise.
27844 * time/tzfile.c (__tzfile_read): Likewise.
27845 (__tzfile_compute): Likewise.
27846 * time/tzset.c (__tzset_parse_tz): Likewise.
27847 (tzset_internal): Likewise.
27848 (compute_change): Likewise.
27849 * wcsmbs/wcscat.c (__wcscat): Likewise.
27850 * wcsmbs/wcschr.c (wcschr): Likewise.
27851 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
27852 * wcsmbs/wcscspn.c (wcscspn): Likewise.
27853 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
27854 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
27855 * wcsmbs/wcsspn.c (wcsspn): Likewise.
27856 * wcsmbs/wcsstr.c (wcsstr): Likewise.
27857 * wcsmbs/wmemchr.c (wmemchr): Likewise.
27858 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
27859 * wcsmbs/wmemset.c (wmemset): Likewise.
27860
9e54314b
JM
278612013-06-06 Joseph Myers <joseph@codesourcery.com>
27862
27863 * scripts/config.guess: Update to version 2013-05-16.
27864 * scripts/config.sub: Update to version 2013-04-24.
27865 * scripts/install-sh: Update to version 2011-11-20.07.
27866 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
27867 * scripts/move-if-change: Update to version 2012-01-06 07:23.
27868
350635a5
OB
278692013-06-06 Ondřej Bílka <neleai@seznam.cz>
27870
27871 * debug/fgetws_u_chk.c: Fix leading whitespaces.
27872 * elf/sln.c: Likewise.
27873 * hurd/hurd/ioctl.h: Likewise.
27874 * hurd/hurdmalloc.c: Likewise.
27875 * hurd/xattr.c: Likewise.
27876 * include/shlib-compat.h: Likewise.
27877 * inet/ruserpass.c: Likewise.
27878 * libio/iofgets_u.c: Likewise.
27879 * libio/iofgetws_u.c: Likewise.
27880 * locale/programs/ld-identification.c: Likewise.
27881 * locale/programs/ld-time.c: Likewise.
27882 * mach/msg-destroy.c: Likewise.
27883 * nss/nss_files/files-netgrp.c: Likewise.
27884 * resolv/res_data.c: Likewise.
27885 * soft-fp/op-1.h: Likewise.
27886 * soft-fp/op-2.h: Likewise.
27887 * soft-fp/op-4.h: Likewise.
27888 * soft-fp/op-common.h: Likewise.
27889 * stdio-common/printf_fphex.c: Likewise.
27890 * stdlib/strtod_l.c: Likewise.
27891 * sunrpc/rpc/clnt.h: Likewise.
27892 * sysdeps/generic/framestate.c: Likewise.
27893 * sysdeps/i386/bsd-_setjmp.S: Likewise.
27894 * sysdeps/i386/bsd-setjmp.S: Likewise.
27895 * sysdeps/i386/__longjmp.S: Likewise.
27896 * sysdeps/i386/setjmp.S: Likewise.
27897 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27898 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
27899 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27900 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
27901 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
27902 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
27903 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
27904 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
27905 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
27906 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
27907 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
27908 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
27909 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
27910 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
27911 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
27912 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
27913 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
27914 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
27915 * sysdeps/ieee754/support.c: Likewise.
27916 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
27917 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
27918 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
27919 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
27920 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
27921 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
27922 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
27923 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
27924 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
27925 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
27926 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
27927 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
27928 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
27929 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
27930 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
27931 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
27932 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
27933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
27934
44a988af
OB
279352013-06-05 Ondřej Bílka <neleai@seznam.cz>
27936
25506f09 27937 * posix/transbug.c: Remove executable mode.
44a988af 27938
9c84384c
JM
279392013-06-05 Joseph Myers <joseph@codesourcery.com>
27940
27941 * crypt/speeds.c: Remove trailing whitespace.
27942 * dlfcn/default.c: Likewise.
27943 * elf/ifuncdep2.c: Likewise.
27944 * elf/ifuncmain1.c: Likewise.
27945 * elf/ifuncmain1vis.c: Likewise.
27946 * elf/testobj.h: Likewise.
27947 * elf/tst-stackguard1.c: Likewise.
27948 * gmon/sys/gmon.h: Likewise.
27949 * hurd/hurdmsg.c: Likewise.
27950 * hurd/new-fd.c: Likewise.
27951 * hurd/ports-get.c: Likewise.
27952 * iconvdata/ibm1008_420.c: Likewise.
27953 * inet/tst-getni1.c: Likewise.
27954 * inet/tst-getni2.c: Likewise.
27955 * libio/ioungetc.c: Likewise.
27956 * libio/wfiledoalloc.c: Likewise.
27957 * manual/libm-err-tab.pl: Likewise.
27958 * math/w_dremf.c: Likewise.
27959 * misc/ftruncate.c: Likewise.
27960 * posix/bug-glob2.c: Likewise.
27961 * posix/tst-pcre.c: Likewise.
27962 * posix/wait4.c: Likewise.
27963 * resolv/README: Likewise.
27964 * resolv/res_debug.h: Likewise.
27965 * resolv/tst-inet_ntop.c: Likewise.
27966 * setjmp/bug269-setjmp.c: Likewise.
27967 * soft-fp/extended.h: Likewise.
27968 * soft-fp/op-1.h: Likewise.
27969 * soft-fp/op-2.h: Likewise.
27970 * soft-fp/op-4.h: Likewise.
27971 * soft-fp/op-8.h: Likewise.
27972 * soft-fp/testit.c: Likewise.
27973 * stdio-common/bug16.c: Likewise.
27974 * stdlib/random.c: Likewise.
27975 * sunrpc/rpcsvc/rquota.x: Likewise.
27976 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
27977 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
27978 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27979 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
27980 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
27981 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
27982 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
27983 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
27984 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
27985 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
27986 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
27987 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
27988 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
27989 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
27990 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
27991 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
27992 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
27993 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
27994 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
27995 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
27996 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
27997 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
27998 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
27999 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
28000 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
28001 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
28002 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
28003 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
28004 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
28005 * sysdeps/ieee754/s_lib_version.c: Likewise.
28006 * sysdeps/mach/hurd/check_fds.c: Likewise.
28007 * sysdeps/mach/hurd/getsockname.c: Likewise.
28008 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
28009 * sysdeps/mach/hurd/recvfrom.c: Likewise.
28010 * sysdeps/powerpc/bits/link.h: Likewise.
28011 * sysdeps/powerpc/dl-procinfo.c: Likewise.
28012 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
28013 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
28014 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
28015 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
28016 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
28017 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
28018 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
28019 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
28020 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
28021 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
28022 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
28023 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
28024 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
28025 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
28026 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
28027 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
28028 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
28029 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
28030 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
28031 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
28032 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
28033 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
28034 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
28035 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
28036 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
28037 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
28038 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
28039 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
28040 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
28041 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
28042 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
28043 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
28044 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
28045 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
28046 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
28047 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
28048 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
28049 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
28050 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
28051 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
28052 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
28053 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
28054 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
28055 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
28056 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
28057 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
28058 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
28059 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
28060 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
28061 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
28062 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
28063 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
28064 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
28065 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
28066 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
28067 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
28068 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
28069 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
28070 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
28071 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
28072 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
28073 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
28074 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
28075 * sysdeps/powerpc/sysdep.h: Likewise.
28076 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
28077 * sysdeps/s390/s390-64/sub_n.S: Likewise.
28078 * sysdeps/sh/dl-trampoline.S: Likewise.
28079 * sysdeps/sh/memset.S: Likewise.
28080 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
28081 * sysdeps/sh/strlen.S: Likewise.
28082 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
28083 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
28084 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
28085 * sysdeps/sparc/sparc32/rem.S: Likewise.
28086 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
28087 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
28088 * sysdeps/sparc/sparc32/strchr.S: Likewise.
28089 * sysdeps/sparc/sparc32/udiv.S: Likewise.
28090 * sysdeps/sparc/sparc32/urem.S: Likewise.
28091 * sysdeps/sparc/sparc64/add_n.S: Likewise.
28092 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
28093 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
28094 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
28095 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
28096 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
28097 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
28098 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
28099 * sysdeps/unix/bsd/times.c: Likewise.
28100 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
28101 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
28102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
28103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
28104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
28105 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
28106 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
28107 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
28108 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
28109 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
28110 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
28111 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
28112 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
28113 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
28114 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
28115 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
28116 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
28117 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
28118 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
28119 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
28120 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
28121 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
28122 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
28123 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
28124 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
28125 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
28126 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
28127 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
28128 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
28129 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
28130 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
28131 * sysdeps/x86_64/strcspn.S: Likewise.
28132
869378a5
RA
281332013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28134
28135 * locale/C-translit.h: Revert #include <stdint.h> because this is a
28136 generated file. Regenerate properly from gen-translit.pl.
28137 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
28138 locale/C-translit.h.
28139
840e2943
AS
281402013-06-05 Andreas Schwab <schwab@suse.de>
28141
28142 [BZ #15100]
28143 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
28144 week as 6 instead of -1.
28145 * time/tst-strptime.c (day_tests): Add test case.
28146
4c60cb0c
SP
281472013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
28148
28149 * sysdeps/generic/math_private.h
28150 (libc_feholdexcept_setround_53bit): Replace with
28151 libc_feholdsetround_53bit.
28152 (libc_feupdateenv_53bit): Replace with
28153 libc_feresetround_53bit.
28154 (SET_RESTORE_ROUND_53BIT): Adjust.
28155
d180203e
SP
281562013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
28157
96df079a
SP
28158 * string/test-strchrnul.c: Add copyright header.
28159
d180203e
SP
28160 * posix/tst-getaddrinfo4.c: Increase test timeout.
28161
8b0ccb2d
CD
281622013-06-03 Carlos O'Donell <carlos@redhat.com>
28163
28164 [BZ #15536]
28165 * math/libm-test.inc (MAX_EXP): Remove
28166 (MIN_EXP): Define.
28167 (ulp): Use MIN_EXP - MANT_DIG.
28168 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
28169
3b3c4d40
CD
281702013-05-31 Carlos O'Donell <carlos@redhat.com>
28171
28172 * po/be.po: Revert last change.
28173 * po/zh_CN.po: Likewise.
28174 * po/header.pot: Likewise.
28175
fab7ce3f
JM
281762013-05-31 Joseph Myers <joseph@codesourcery.com>
28177
28178 * Makefile ($(common-objpfx)linkobj/libc.so): Define
28179 link-libc-deps to empty as target-specific variable.
28180 * Makerules (link-libc-args): New variable.
28181 (libc-for-link): Likewise.
28182 (link-libc-deps): Likewise.
28183 (lib%.so): Depend on $(link-libc-deps). Link with
28184 $(link-libc-args).
28185 (build-module): Link with $(link-libc-args).
28186 (build-module-asneeded): Likewise.
28187 (build-module-helper-objlist): Filter out $(link-libc-deps) from
28188 list of objects.
28189 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
28190 target-specific variable.
28191 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
28192 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
28193 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
28194 libc.
28195 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
28196 libc and ld.so.
28197 ($(objpfx)libpcprofile.so): Likewise.
28198 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
28199 libc_nonshared.a.
28200 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
28201 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
28202 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
28203 $(link-libc-deps).
28204 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
28205 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
28206 * login/Makefile ($(objpfx)libutil.so): Likewise.
28207 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
28208 * math/Makefile ($(objpfx)libm.so): Likewise.
28209 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
28210 $(objpfx)libnsl.so): Define libc-for-link as target-specific
28211 variable instead of depending directly on libc.
28212 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
28213 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
28214 $(link-libc-deps).
28215 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
28216 libc.
28217 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
28218 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
28219 ($(objpfx)libanl.so): Likewise.
28220 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
28221 ld.so.
28222 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
28223 $(link-libc-deps).
28224 * sysdeps/i386/fpu/Makefile: Remove file.
28225 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
28226 ($(objpfx)libm.so): Remove dependency on ld.so.
28227
eca5920c
PF
282282013-05-30 Patsy Franklin <pfrankli@redhat.com>
28229
28230 [BZ # 15553]
28231 * nis/yp_xdr.c (XDRMAXNAME): Define.
28232 (XDRMAXRECORD): Define.
28233 (xdr_domainname): Use XDRMAXNAME.
28234 (xdr_mapname): Likewise.
28235 (xdr_peername): Likewise.
28236 (xdr_keydat): Use XDRMAXRECORD.
28237 (xdr_valdat): Likewise.
28238
282392013-05-30 Jeff Law <law@redhat.com>
96945714
JL
28240
28241 [BZ #14256]
28242 * manual/errno.texi (ESTALE): Update to account for more than
28243 just NFS file systems.
28244 * sysdeps/gnu/errlist.c: Regenerated.
28245
b9375348
SP
282462013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
28247
28248 [BZ #15465]
28249 * elf/Makefile (tests): Add tst-null-argv.
28250 (modules-names): Add tst-null-argv-lib.
28251 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
28252 (tst-null-argv-ENV): Set environment for tst-null-argv.
28253 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
28254 (RTLD_PROGNAME): New macro.
28255 * elf/tst-null-argv.c: New test case.
28256 * elf/tst-null-argv-lib.c: Library for test case.
28257 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
28258 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
28259 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
28260 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
28261 * elf/dl-init.c (call_init): Likewise.
28262 (_dl_init): Likewise.
28263 * elf/dl-load.c (print_search_path): Likewise.
28264 (_dl_map_object): Likewise.
28265 * elf/dl-lookup.c (do_lookup_x): Likewise.
28266 (add_dependency): Likewise.
28267 (_dl_lookup_symbol_x): Likewise.
28268 (_dl_debug_bindings): Likewise.
28269 * elf/dl-open.c (_dl_show_scope): Likewise.
28270 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
28271 * elf/dl-version.c (match_symbol): Likewise.
28272 (_dl_check_map_versions): Likewise.
28273 * elf/rtld.c (dl_main): Likewise.
28274 (print_unresolved): Use RTLD_PROGNAME.
28275 (print_missing_version): Likewise.
28276 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
28277 (elf_machine_rela): Likewise.
28278 * sysdeps/powerpc/powerpc32/dl-machine.c
28279 (__process_machine_rela): Likewise.
28280 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
28281 Likewise.
28282 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
28283 Likewise.
28284 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
28285 Likewise.
28286 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
28287 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
28288 Likewise.
28289 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
28290 Likewise.
28291 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
28292
8a9f20c8
CD
282932013-05-28 Carlos O'Donell <carlos@redhat.com>
28294
28295 * po/be.po: Add descriptive title.
28296 * po/zh_CN.po: Likewise.
28297 * po/header.pot: Likewise.
28298
0e60d68e
MF
282992013-05-28 Mike Frysinger <vapier@gentoo.org>
28300
28301 * locale/programs/locarchive.c (create_archive): Inlucde fname in
28302 error message.
28303 (enlarge_archive): Likewise.
28304
56b672e9
BN
283052013-05-28 Ben North <ben@redfrontdoor.org>
28306
28307 * manual/arith.texi (frexp): It is the magnitude of the return
28308 value which lies in [0.5, 1), not the return value itself.
28309
5e056687
AZ
283102013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28311
28312 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28313
2b66ef5d
TS
283142013-05-26 Thomas Schwinge <thomas@codesourcery.com>
28315
528c2405
TS
28316 * stdio-common/bug26.c (main): Correct fscanf template.
28317
07b4c13d
TS
28318 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
28319 declare _dl_skip_args.
28320
ec9dd97c
TS
28321 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
28322 Don't declare.
28323
2b66ef5d
TS
28324 * manual/platform.texi: Add missing @end deftypefun.
28325
4f8dfe27
JM
283262013-05-24 Joseph Myers <joseph@codesourcery.com>
28327
0323d086
JM
28328 [BZ #15529]
28329 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
28330 bit of mantissa of 2^16382.
28331 * math/libm-test.inc (hypot_test_data): Add more tests.
28332
dd4259b9
JM
28333 * math/libm-test.inc: Add drem and pow10 to list of tested
28334 functions.
28335 (pow10_test): New function.
28336 (drem_test): Likewise.
28337 (drem_test_tonearest): Likewise.
28338 (drem_test_towardzero): Likewise.
28339 (drem_test_downward): Likewise.
28340 (drem_test_upward): Likewise.
28341 (main): Call the new functions.
28342
4f8dfe27
JM
28343 * math/libm-test.inc (finite_test_data): Remove.
28344 (finite_test): Run tests from isfinite_test_data.
28345 (gamma_test_data): Remove.
28346 (gamma_test): Run tests from lgamma_test_data.
28347 * sysdeps/i386/fpu/libm-test-ulps: Update.
28348 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28349
d116b7c4
AZ
283502013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28351
28352 * manual/platform.texi: Add PowerPC PPR function set documentation.
28353 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
28354 implementation.
28355
e96e3767
CD
283562013-05-24 Carlos O'Donell <carlos@redhat.com>
28357
28358 * math/libm-test.inc (MAX_EXP): Define.
28359 (ULPDIFF): Define.
28360 (ulp): New function.
28361 (check_float_internal): Use ULPDIFF.
28362 (cpow_test): Disable failing test.
28363 (check_ulp): Test ulp() implemetnation.
28364 (main): Call check_ulp before starting tests.
28365
b679a606
JM
283662013-05-24 Joseph Myers <joseph@codesourcery.com>
28367
e8bdba36
JM
28368 * math/gen-libm-test.pl (generate_testfile): Do not handle
28369 START_DATA and END_DATA.
28370 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
28371 END_DATA.
28372 (acos_tonearest_test_data): Likewise.
28373 (acos_towardzero_test_data): Likewise.
28374 (acos_downward_test_data): Likewise.
28375 (acos_upward_test_data): Likewise.
28376 (acosh_test_data): Likewise.
28377 (asin_test_data): Likewise.
28378 (asin_tonearest_test_data): Likewise.
28379 (asin_towardzero_test_data): Likewise.
28380 (asin_downward_test_data): Likewise.
28381 (asin_upward_test_data): Likewise.
28382 (asinh_test_data): Likewise.
28383 (atan_test_data): Likewise.
28384 (atanh_test_data): Likewise.
28385 (atan2_test_data): Likewise.
28386 (cabs_test_data): Likewise.
28387 (cacos_test_data): Likewise.
28388 (cacosh_test_data): Likewise.
28389 (carg_test_data): Likewise.
28390 (casin_test_data): Likewise.
28391 (casinh_test_data): Likewise.
28392 (catan_test_data): Likewise.
28393 (catanh_test_data): Likewise.
28394 (cbrt_test_data): Likewise.
28395 (ccos_test_data): Likewise.
28396 (ccosh_test_data): Likewise.
28397 (ceil_test_data): Likewise.
28398 (cexp_test_data): Likewise.
28399 (cimag_test_data): Likewise.
28400 (clog_test_data): Likewise.
28401 (clog10_test_data): Likewise.
28402 (conj_test_data): Likewise.
28403 (copysign_test_data): Likewise.
28404 (cos_test_data): Likewise.
28405 (cos_tonearest_test_data): Likewise.
28406 (cos_towardzero_test_data): Likewise.
28407 (cos_downward_test_data): Likewise.
28408 (cos_upward_test_data): Likewise.
28409 (cosh_test_data): Likewise.
28410 (cosh_tonearest_test_data): Likewise.
28411 (cosh_towardzero_test_data): Likewise.
28412 (cosh_downward_test_data): Likewise.
28413 (cosh_upward_test_data): Likewise.
28414 (cpow_test_data): Likewise.
28415 (cproj_test_data): Likewise.
28416 (creal_test_data): Likewise.
28417 (csin_test_data): Likewise.
28418 (csinh_test_data): Likewise.
28419 (csqrt_test_data): Likewise.
28420 (ctan_test_data): Likewise.
28421 (ctan_tonearest_test_data): Likewise.
28422 (ctan_towardzero_test_data): Likewise.
28423 (ctan_downward_test_data): Likewise.
28424 (ctan_upward_test_data): Likewise.
28425 (ctanh_test_data): Likewise.
28426 (ctanh_tonearest_test_data): Likewise.
28427 (ctanh_towardzero_test_data): Likewise.
28428 (ctanh_downward_test_data): Likewise.
28429 (ctanh_upward_test_data): Likewise.
28430 (erf_test_data): Likewise.
28431 (erfc_test_data): Likewise.
28432 (exp_test_data): Likewise.
28433 (exp_tonearest_test_data): Likewise.
28434 (exp_towardzero_test_data): Likewise.
28435 (exp_downward_test_data): Likewise.
28436 (exp_upward_test_data): Likewise.
28437 (exp10_test_data): Likewise.
28438 (exp2_test_data): Likewise.
28439 (expm1_test_data): Likewise.
28440 (fabs_test_data): Likewise.
28441 (fdim_test_data): Likewise.
28442 (finite_test_data): Likewise.
28443 (floor_test_data): Likewise.
28444 (fma_test_data): Likewise.
28445 (fma_towardzero_test_data): Likewise.
28446 (fma_downward_test_data): Likewise.
28447 (fma_upward_test_data): Likewise.
28448 (fmax_test_data): Likewise.
28449 (fmin_test_data): Likewise.
28450 (fmod_test_data): Likewise.
28451 (fpclassify_test_data): Likewise.
28452 (frexp_test_data): Likewise.
28453 (gamma_test_data): Likewise.
28454 (hypot_test_data): Likewise.
28455 (ilogb_test_data): Likewise.
28456 (isfinite_test_data): Likewise.
28457 (isgreater_test_data): Likewise.
28458 (isgreaterequal_test_data): Likewise.
28459 (isinf_test_data): Likewise.
28460 (isless_test_data): Likewise.
28461 (islessequal_test_data): Likewise.
28462 (islessgreater_test_data): Likewise.
28463 (isnan_test_data): Likewise.
28464 (isnormal_test_data): Likewise.
28465 (issignaling_test_data): Likewise.
28466 (isunordered_test_data): Likewise.
28467 (j0_test_data): Likewise.
28468 (j1_test_data): Likewise.
28469 (jn_test_data): Likewise.
28470 (ldexp_test_data): Likewise.
28471 (lgamma_test_data): Likewise.
28472 (lrint_test_data): Likewise.
28473 (lrint_tonearest_test_data): Likewise.
28474 (lrint_towardzero_test_data): Likewise.
28475 (lrint_downward_test_data): Likewise.
28476 (lrint_upward_test_data): Likewise.
28477 (llrint_test_data): Likewise.
28478 (llrint_tonearest_test_data): Likewise.
28479 (llrint_towardzero_test_data): Likewise.
28480 (llrint_downward_test_data): Likewise.
28481 (llrint_upward_test_data): Likewise.
28482 (log_test_data): Likewise.
28483 (log10_test_data): Likewise.
28484 (log1p_test_data): Likewise.
28485 (log2_test_data): Likewise.
28486 (logb_test_data): Likewise.
28487 (logb_downward_test_data): Likewise.
28488 (lround_test_data): Likewise.
28489 (llround_test_data): Likewise.
28490 (modf_test_data): Likewise.
28491 (nearbyint_test_data): Likewise.
28492 (nextafter_test_data): Likewise.
28493 (nexttoward_test_data): Likewise.
28494 (pow_test_data): Likewise.
28495 (pow_tonearest_test_data): Likewise.
28496 (pow_towardzero_test_data): Likewise.
28497 (pow_downward_test_data): Likewise.
28498 (pow_upward_test_data): Likewise.
28499 (remainder_test_data): Likewise.
28500 (remainder_tonearest_test_data): Likewise.
28501 (remainder_towardzero_test_data): Likewise.
28502 (remainder_downward_test_data): Likewise.
28503 (remainder_upward_test_data): Likewise.
28504 (remquo_test_data): Likewise.
28505 (rint_test_data): Likewise.
28506 (rint_tonearest_test_data): Likewise.
28507 (rint_towardzero_test_data): Likewise.
28508 (rint_downward_test_data): Likewise.
28509 (rint_upward_test_data): Likewise.
28510 (round_test_data): Likewise.
28511 (scalb_test_data): Likewise.
28512 (scalbn_test_data): Likewise.
28513 (scalbln_test_data): Likewise.
28514 (signbit_test_data): Likewise.
28515 (sin_test_data): Likewise.
28516 (sin_tonearest_test_data): Likewise.
28517 (sin_towardzero_test_data): Likewise.
28518 (sin_downward_test_data): Likewise.
28519 (sin_upward_test_data): Likewise.
28520 (sincos_test_data): Likewise.
28521 (sinh_test_data): Likewise.
28522 (sinh_tonearest_test_data): Likewise.
28523 (sinh_towardzero_test_data): Likewise.
28524 (sinh_downward_test_data): Likewise.
28525 (sinh_upward_test_data): Likewise.
28526 (sqrt_test_data): Likewise.
28527 (tan_test_data): Likewise.
28528 (tan_tonearest_test_data): Likewise.
28529 (tan_towardzero_test_data): Likewise.
28530 (tan_downward_test_data): Likewise.
28531 (tan_upward_test_data): Likewise.
28532 (tanh_test_data): Likewise.
28533 (tgamma_test_data): Likewise.
28534 (trunc_test_data): Likewise.
28535 (y0_test_data): Likewise.
28536 (y1_test_data): Likewise.
28537 (yn_test_data): Likewise.
28538 (significand_test_data): Likewise.
28539
b679a606
JM
28540 * math/gen-libm-test.pl (@functions): Remove variable.
28541 (generate_testfile): Don't handle START and END lines.
28542 * math/libm-test.inc (START): New macro.
28543 (END): Likewise.
28544 (END_COMPLEX): Likewise.
28545 (acos_test): Use END macro without arguments.
28546 (acos_test_tonearest): Likewise.
28547 (acos_test_towardzero): Likewise.
28548 (acos_test_downward): Likewise.
28549 (acos_test_upward): Likewise.
28550 (acosh_test): Likewise.
28551 (asin_test): Likewise.
28552 (asin_test_tonearest): Likewise.
28553 (asin_test_towardzero): Likewise.
28554 (asin_test_downward): Likewise.
28555 (asin_test_upward): Likewise.
28556 (asinh_test): Likewise.
28557 (atan_test): Likewise.
28558 (atanh_test): Likewise.
28559 (atan2_test): Likewise.
28560 (cabs_test): Likewise.
28561 (cacos_test): Use END_COMPLEX macro without arguments.
28562 (cacosh_test): Likewise.
28563 (carg_test): Use END macro without arguments.
28564 (casin_test): Use END_COMPLEX macro without arguments.
28565 (casinh_test): Likewise.
28566 (catan_test): Likewise.
28567 (catanh_test): Likewise.
28568 (cbrt_test): Use END macro without arguments.
28569 (ccos_test): Use END_COMPLEX macro without arguments.
28570 (ccosh_test): Likewise.
28571 (ceil_test): Use END macro without arguments.
28572 (cexp_test): Use END_COMPLEX macro without arguments.
28573 (cimag_test): Use END macro without arguments.
28574 (clog_test): Use END_COMPLEX macro without arguments.
28575 (clog10_test): Likewise.
28576 (conj_test): Likewise.
28577 (copysign_test): Use END macro without arguments.
28578 (cos_test): Likewise.
28579 (cos_test_tonearest): Likewise.
28580 (cos_test_towardzero): Likewise.
28581 (cos_test_downward): Likewise.
28582 (cos_test_upward): Likewise.
28583 (cosh_test): Likewise.
28584 (cosh_test_tonearest): Likewise.
28585 (cosh_test_towardzero): Likewise.
28586 (cosh_test_downward): Likewise.
28587 (cosh_test_upward): Likewise.
28588 (cpow_test): Use END_COMPLEX macro without arguments.
28589 (cproj_test): Likewise.
28590 (creal_test): Use END macro without arguments.
28591 (csin_test): Use END_COMPLEX macro without arguments.
28592 (csinh_test): Likewise.
28593 (csqrt_test): Likewise.
28594 (ctan_test): Likewise.
28595 (ctan_test_tonearest): Likewise.
28596 (ctan_test_towardzero): Likewise.
28597 (ctan_test_downward): Likewise.
28598 (ctan_test_upward): Likewise.
28599 (ctanh_test): Likewise.
28600 (ctanh_test_tonearest): Likewise.
28601 (ctanh_test_towardzero): Likewise.
28602 (ctanh_test_downward): Likewise.
28603 (ctanh_test_upward): Likewise.
28604 (erf_test): Use END macro without arguments.
28605 (erfc_test): Likewise.
28606 (exp_test): Likewise.
28607 (exp_test_tonearest): Likewise.
28608 (exp_test_towardzero): Likewise.
28609 (exp_test_downward): Likewise.
28610 (exp_test_upward): Likewise.
28611 (exp10_test): Likewise.
28612 (exp2_test): Likewise.
28613 (expm1_test): Likewise.
28614 (fabs_test): Likewise.
28615 (fdim_test): Likewise.
28616 (finite_test): Likewise.
28617 (floor_test): Likewise.
28618 (fma_test): Likewise.
28619 (fma_test_towardzero): Likewise.
28620 (fma_test_downward): Likewise.
28621 (fma_test_upward): Likewise.
28622 (fmax_test): Likewise.
28623 (fmin_test): Likewise.
28624 (fmod_test): Likewise.
28625 (fpclassify_test): Likewise.
28626 (frexp_test): Likewise.
28627 (gamma_test): Likewise.
28628 (hypot_test): Likewise.
28629 (ilogb_test): Likewise.
28630 (isfinite_test): Likewise.
28631 (isgreater_test): Likewise.
28632 (isgreaterequal_test): Likewise.
28633 (isinf_test): Likewise.
28634 (isless_test): Likewise.
28635 (islessequal_test): Likewise.
28636 (islessgreater_test): Likewise.
28637 (isnan_test): Likewise.
28638 (isnormal_test): Likewise.
28639 (issignaling_test): Likewise.
28640 (isunordered_test): Likewise.
28641 (j0_test): Likewise.
28642 (j1_test): Likewise.
28643 (jn_test): Likewise.
28644 (ldexp_test): Likewise.
28645 (lgamma_test): Likewise.
28646 (lrint_test): Likewise.
28647 (lrint_test_tonearest): Likewise.
28648 (lrint_test_towardzero): Likewise.
28649 (lrint_test_downward): Likewise.
28650 (lrint_test_upward): Likewise.
28651 (llrint_test): Likewise.
28652 (llrint_test_tonearest): Likewise.
28653 (llrint_test_towardzero): Likewise.
28654 (llrint_test_downward): Likewise.
28655 (llrint_test_upward): Likewise.
28656 (log_test): Likewise.
28657 (log10_test): Likewise.
28658 (log1p_test): Likewise.
28659 (log2_test): Likewise.
28660 (logb_test): Likewise.
28661 (logb_test_downward): Likewise.
28662 (lround_test): Likewise.
28663 (llround_test): Likewise.
28664 (modf_test): Likewise.
28665 (nearbyint_test): Likewise.
28666 (nextafter_test): Likewise.
28667 (nexttoward_test): Likewise.
28668 (pow_test): Likewise.
28669 (pow_test_tonearest): Likewise.
28670 (pow_test_towardzero): Likewise.
28671 (pow_test_downward): Likewise.
28672 (pow_test_upward): Likewise.
28673 (remainder_test): Likewise.
28674 (remainder_test_tonearest): Likewise.
28675 (remainder_test_towardzero): Likewise.
28676 (remainder_test_downward): Likewise.
28677 (remainder_test_upward): Likewise.
28678 (remquo_test): Likewise.
28679 (rint_test): Likewise.
28680 (rint_test_tonearest): Likewise.
28681 (rint_test_towardzero): Likewise.
28682 (rint_test_downward): Likewise.
28683 (rint_test_upward): Likewise.
28684 (round_test): Likewise.
28685 (scalb_test): Likewise.
28686 (scalbn_test): Likewise.
28687 (scalbln_test): Likewise.
28688 (signbit_test): Likewise.
28689 (sin_test): Likewise.
28690 (sin_test_tonearest): Likewise.
28691 (sin_test_towardzero): Likewise.
28692 (sin_test_downward): Likewise.
28693 (sin_test_upward): Likewise.
28694 (sincos_test): Likewise.
28695 (sinh_test): Likewise.
28696 (sinh_test_tonearest): Likewise.
28697 (sinh_test_towardzero): Likewise.
28698 (sinh_test_downward): Likewise.
28699 (sinh_test_upward): Likewise.
28700 (sqrt_test): Likewise.
28701 (tan_test): Likewise.
28702 (tan_test_tonearest): Likewise.
28703 (tan_test_towardzero): Likewise.
28704 (tan_test_downward): Likewise.
28705 (tan_test_upward): Likewise.
28706 (tanh_test): Likewise.
28707 (tgamma_test): Likewise.
28708 (trunc_test): Likewise.
28709 (y0_test): Likewise.
28710 (y1_test): Likewise.
28711 (yn_test): Likewise.
28712 (significand_test): Likewise.
28713
bae143d2
OB
287142013-05-24 Ondřej Bílka <neleai@seznam.cz>
28715
28716 [BZ #15381]
28717 * libio/genops.c (_IO_no_init): Initialize wide struct info.
28718
9323d39b
EM
287192013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
28720
d4ea44a0 28721 [BZ #14894]
9323d39b
EM
28722 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
28723 __ppc_mdoio and __ppc_mdoom.
28724 * manual/platform.texi: Document new functions __ppc_yield,
28725 __ppc_mdoio and __ppc_mdoom.
28726
13e23af7
CD
287272013-05-22 Carlos O'Donell <carlos@redhat.com>
28728
28729 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
28730 (main): Mention "tls" pseudo-hwcap is legacy.
28731 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
28732
351fe550
JM
287332013-05-22 Joseph Myers <joseph@codesourcery.com>
28734
28735 * math/gen-libm-test.pl (parse_args): Output only string of
28736 arguments as text for test name, not full call or descriptions of
28737 tests for extra outputs.
28738 (generate_testfile): Do not pass function name to parse_args.
28739 Generate this_func variable from START.
28740 * math/libm-test.inc (struct test_f_f_data): Rename test_name
28741 field to arg_str.
28742 (struct test_ff_f_data): Likewise.
28743 (test_ff_f_data_nexttoward): Likewise.
28744 (struct test_fi_f_data): Likewise.
28745 (struct test_fl_f_data): Likewise.
28746 (struct test_if_f_data): Likewise.
28747 (struct test_fff_f_data): Likewise.
28748 (struct test_c_f_data): Likewise.
28749 (struct test_f_f1_data): Likewise. Remove field extra_name.
28750 (struct test_fF_f1_data): Likewise.
28751 (struct test_ffI_f1_data): Likewise.
28752 (struct test_c_c_data): Rename test_name field to arg_str.
28753 (struct test_cc_c_data): Likewise.
28754 (struct test_f_i_data): Likewise.
28755 (struct test_ff_i_data): Likewise.
28756 (struct test_f_l_data): Likewise.
28757 (struct test_f_L_data): Likewise.
28758 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
28759 and extra2_name.
28760 (COMMON_TEST_SETUP): New macro.
28761 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
28762 (COMMON_TEST_CLEANUP): Likewise.
28763 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
28764 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
28765 macros.
28766 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
28767 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
28768 macros.
28769 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
28770 (RUN_TEST_fff_f): Take argument string. Call new setup and
28771 cleanup macros.
28772 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
28773 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
28774 macros.
28775 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
28776 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
28777 macros.
28778 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
28779 (RUN_TEST_fF_f1): Take argument string. Call new setup and
28780 cleanup macros.
28781 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
28782 (RUN_TEST_fI_f1): Take argument string. Call new setup and
28783 cleanup macros.
28784 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
28785 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
28786 cleanup macros.
28787 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
28788 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
28789 macros.
28790 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
28791 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
28792 macros.
28793 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
28794 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
28795 macros.
28796 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
28797 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
28798 cleanup macros.
28799 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
28800 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
28801 cleanup macros.
28802 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
28803 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
28804 macros.
28805 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
28806 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
28807 cleanup macros.
28808 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
28809 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
28810 macros.
28811 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
28812 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
28813 macros.
28814 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
28815 (RUN_TEST_fFF_11): Take argument string. Call new setup and
28816 cleanup macros.
28817 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
28818
85118d4d
EBM
288192013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
28820
28821 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
28822 to _sifields.sigfault.
28823 (si_addr_lsb): Define new macro.
28824 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
28825 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
28826 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
28827
7a44c18f
CD
288282013-05-03 Carlos O'Donell <carlos at redhat.com>
28829
28830 [BZ #15441]
28831 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
28832 returns -1.
28833 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
28834 null return -1.
28835 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
28836 loading the domain.
28837
b50a7181
JM
288382013-05-22 Joseph Myers <joseph@codesourcery.com>
28839
28840 * math/gen-libm-test.pl (parse_args): Do not include expected
28841 result in test name.
28842 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
28843 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28844 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28845 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
28846 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28847 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28848
051063c8
SP
288492013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
28850
3ce9e010
SP
28851 * benchtests/Makefile: Sort function entries.
28852
051063c8
SP
28853 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
28854 tanh, asinh, acosh, atanh.
28855 * benchtests/acos-inputs: New file.
28856 * benchtests/acosh-inputs: New file.
28857 * benchtests/asin-inputs: New file.
28858 * benchtests/asinh-inputs: New file.
28859 * benchtests/atanh-inputs: New file.
28860 * benchtests/cosh-inputs: New file.
28861 * benchtests/log-inputs: New file.
28862 * benchtests/sinh-inputs: New file.
28863 * benchtests/tanh-inputs: New file.
28864
47c22455
DL
288652013-05-21 Dmitry V. Levin <ldv@altlinux.org>
28866
28867 [BZ #15339]
28868 * posix/tst-getaddrinfo4.c: New test.
28869 * posix/Makefile (tests): Add it.
28870
3d04f5db
SP
288712013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28872
28873 [BZ #15339]
28874 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
28875 when no services were used.
28876 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
28877 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
28878
d5dd6189
AS
288792013-05-21 Andreas Schwab <schwab@suse.de>
28880
28881 [BZ #15014]
28882 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
28883 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
28884 successful.
28885 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
28886 redundant variable declarations and reallocation of buffer when
28887 parsing as IPv6 address. Always set NSS status when called from
28888 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
28889 buffer too small. Correct computation of needed size.
28890 * nss/Makefile (tests): Add test-digits-dots.
28891 * nss/test-digits-dots.c: New test.
28892
fef94eab
SP
288932013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28894
28895 * benchtests/Makefile: Remove instructions for adding
28896 benchmark tests.
28897 * benchtests/README: New file to explain how to execute and
28898 enhance the benchmark tests.
28899
e39adf43
AS
289002013-05-21 Andreas Schwab <schwab@suse.de>
28901
28902 [BZ #15493]
28903 * setjmp/Makefile (tests): Add tst-sigsetjmp.
28904 * setjmp/tst-sigsetjmp.c: New test.
28905
b2b671b6
OB
289062013-05-20 Ondřej Bílka <neleai@seznam.cz>
28907
28908 * sysdeps/x86_64/memset.S (memset): New implementation.
28909 (__bzero): Likewise.
28910 (__memset_tail): New function.
28911
2d48b41c
OB
289122013-05-20 Ondřej Bílka <neleai@seznam.cz>
28913
28914 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
28915 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
28916 __memcpy_sse2_unaligned ifunc selection.
28917 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
28918 Add memcpy-sse2-unaligned.S.
28919 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
28920 Add: __memcpy_sse2_unaligned.
28921
f16cc3eb
JM
289222013-05-19 Joseph Myers <joseph@codesourcery.com>
28923
3e694268
JM
28924 [BZ #15490]
28925 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
28926 math_force_eval before restoring floating-point envrionment.
28927 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
28928 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
28929 Likewise.
28930 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
28931 <math_private.h>.
28932 (__nearbyintl): Use math_force_eval before restoring
28933 floating-point environment.
28934 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
28935
db62a907
JM
28936 * math/gen-libm-test.pl (special_functions): Remove.
28937 (parse_args): Don't handle TEST_extra. Handle functions with no
28938 return value.
28939 * math/libm-test.inc (struct test_sincos_data): Replace with
28940 struct test_fFF_11_data.
28941 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
28942 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
28943 (sincos_test_data): Change element type to struct
28944 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
28945 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
28946 RUN_TEST_LOOP_sincos.
28947 * math/README.libm-test: Don't mention special handling of
28948 individual functions.
28949 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
28950 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28951 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28952 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
28953 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28954 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28955
f16cc3eb
JM
28956 * math/gen-libm-test.pl (get_variable): Remove function.
28957 (parse_args): Don't show pointer parameters to call in test
28958 names. Use "extra output N" in test names for extra outputs
28959 rather than naming variables.
28960
3779b5b6
JM
289612013-05-18 Joseph Myers <joseph@codesourcery.com>
28962
2ee094ff
JM
28963 [BZ #15488]
28964 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
28965 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
28966 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
28967 double tests.
28968 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
28969 disable.
28970 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
28971 check_long_double.
28972
3779b5b6
JM
28973 * math/gen-libm-test.pl (@tests): Remove variable.
28974 ($count): Likewise.
28975 (new_test): Remove function.
28976 (show_exceptions): New function.
28977 (special_functions): Use show_exceptions instead of new_test.
28978 (parse_args): Likewise.
28979 (generate_testfile): Pass only function name in generated call to
28980 print_max_error or print_complex_max_error.
28981 (get_ulps): Do not handle complex tests specially.
28982 (output_test): Rename to ...
28983 (get_all_ulps_for_test): ... this. Return a string rather than
28984 printing to a file. Require ulps to be present.
28985 (output_ulps): Generate arrays rather than #defines.
28986 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
28987 (struct ulp_data): New type.
28988 (BUILD_COMPLEX_ULP): Remove macro.
28989 (compare_ulp_data): New function.
28990 (find_ulps): Likewise.
28991 (find_test_ulps): Likewise.
28992 (find_function_ulps): Likewise.
28993 (find_complex_function_ulps): Likewise.
28994 (print_max_error): Determine allowed ulps using
28995 find_function_ulps.
28996 (print_complex_max_error): Determine allowed ulps using
28997 find_complex_function_ulps.
28998 (check_float_internal): Determine max ulps using find_test_ulps.
28999 (check_float): Do not take max_ulp parameter. Update call to
29000 check_float_internal.
29001 (check_complex): Likewise.
29002 (check_int): Do not take max_ulp parameter.
29003 (check_long): Likewise.
29004 (check_bool): Likewise.
29005 (check_longlong): Likewise.
29006 (struct test_f_f_data): Remove max_ulp field.
29007 (struct test_ff_f_data): Likewise.
29008 (struct test_ff_f_data_nexttoward): Likewise.
29009 (struct test_fi_f_data): Likewise.
29010 (struct test_fl_f_data): Likewise.
29011 (struct test_if_f_data): Likewise.
29012 (struct test_fff_f_data): Likewise.
29013 (struct test_c_f_data): Likewise.
29014 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
29015 (struct test_fF_f1_data): Likewise.
29016 (struct test_ffI_f1_data): Likewise.
29017 (struct test_c_c_data): Remove max_ulp field.
29018 (struct test_cc_c_data): Likewise.
29019 (struct test_f_i_data): Likewise.
29020 (struct test_ff_i_data): Likewise.
29021 (struct test_f_l_data): Likewise.
29022 (struct test_f_L_data): Likewise.
29023 (struct test_sincos_data): Likewise.
29024 (RUN_TEST_f_f): Do not handle ulps.
29025 (RUN_TEST_LOOP_f_f): Likewise.
29026 (RUN_TEST_2_f): Likewise.
29027 (RUN_TEST_LOOP_2_f): Likewise.
29028 (RUN_TEST_fff_f): Likewise.
29029 (RUN_TEST_LOOP_fff_f): Likewise.
29030 (RUN_TEST_c_f): Likewise.
29031 (RUN_TEST_LOOP_c_f): Likewise.
29032 (RUN_TEST_f_f1): Likewise.
29033 (RUN_TEST_LOOP_f_f1): Likewise.
29034 (RUN_TEST_fF_f1): Likewise.
29035 (RUN_TEST_LOOP_fF_f1): Likewise.
29036 (RUN_TEST_fI_f1): Likewise.
29037 (RUN_TEST_LOOP_fI_f1): Likewise.
29038 (RUN_TEST_ffI_f1): Likewise.
29039 (RUN_TEST_LOOP_ffI_f1): Likewise.
29040 (RUN_TEST_c_c): Likewise.
29041 (RUN_TEST_LOOP_c_c): Likewise.
29042 (RUN_TEST_cc_c): Likewise.
29043 (RUN_TEST_LOOP_cc_c): Likewise.
29044 (RUN_TEST_f_i): Likewise.
29045 (RUN_TEST_LOOP_f_i): Likewise.
29046 (RUN_TEST_f_i_tg): Likewise.
29047 (RUN_TEST_LOOP_f_i_tg): Likewise.
29048 (RUN_TEST_ff_i_tg): Likewise.
29049 (RUN_TEST_LOOP_ff_i_tg): Likewise.
29050 (RUN_TEST_f_b): Likewise.
29051 (RUN_TEST_LOOP_f_b): Likewise.
29052 (RUN_TEST_f_b_tg): Likewise.
29053 (RUN_TEST_LOOP_f_b_tg): Likewise.
29054 (RUN_TEST_f_l): Likewise.
29055 (RUN_TEST_LOOP_f_l): Likewise.
29056 (RUN_TEST_f_L): Likewise.
29057 (RUN_TEST_LOOP_f_L): Likewise.
29058 (RUN_TEST_sincos): Likewise.
29059 (RUN_TEST_LOOP_sincos): Likewise.
29060
8269107f
JM
290612013-05-17 Joseph Myers <joseph@codesourcery.com>
29062
bb38759d
JM
29063 [BZ #15480]
29064 [BZ #15485]
29065 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
29066 main case of finite arguments, set rounding mode to FE_TONEAREST
29067 and discard exceptions.
29068 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
29069 exceptions.
29070 (remainder_tonearest_test_data): New variable.
29071 (remainder_test_tonearest): New function.
29072 (remainder_towardzero_test_data): New variable.
29073 (remainder_test_towardzero): New function.
29074 (remainder_downward_test_data): New variable.
29075 (remainder_test_downward): New function.
29076 (remainder_upward_test_data): New variable.
29077 (remainder_test_upward): New function.
29078 (main): Call the new test functions.
29079
a00bdcf0
JM
29080 * math/libm-test.inc (struct test_f_f1_data): Remove field
29081 extra_init.
29082 (struct test_fF_f1_data): Likewise.
29083 (struct test_ffI_f1_data): Likewise.
29084 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
29085 based on value of EXTRA_EXPECTED.
29086 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
29087 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
29088 EXTRA_VAR based on value of EXTRA_EXPECTED.
29089 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
29090 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
29091 EXTRA_VAR based on value of EXTRA_EXPECTED.
29092 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
29093 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
29094 EXTRA_VAR based on value of EXTRA_EXPECTED.
29095 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
29096 * math/gen-libm-test.pl (parse_args): Don't output initializers
29097 for extra output values.
29098
de407f79
JM
29099 * math/libm-test.inc (check_int): Expect result to be exactly
29100 equal to expected value and do not handle ulps.
29101 (check_long): Likewise.
29102 (check_longlong): Likewise.
29103
8269107f
JM
29104 * math/libm-test.inc (ceil_test_data): Test for "inexact"
29105 exceptions.
29106 (cimag_test_data): Likewise.
29107 (conj_test_data): Likewise.
29108 (copysign_test_data): Likewise.
29109 (cproj_test_data): Likewise.
29110 (creal_test_data): Likewise.
29111 (fabs_test_data): Likewise.
29112 (fdim_test_data): Likewise.
29113 (finite_test_data): Likewise.
29114 (floor_test_data): Likewise.
29115 (fmax_test_data): Likewise.
29116 (fmin_test_data): Likewise.
29117 (fmod_test_data): Likewise.
29118 (fpclassify_test_data): Likewise.
29119 (frexp_test_data): Likewise.
29120 (ilogb_test_data): Likewise.
29121 (isfinite_test_data): Likewise.
29122 (isgreater_test_data): Likewise.
29123 (isgreaterequal_test_data): Likewise.
29124 (isinf_test_data): Likewise.
29125 (isless_test_data): Likewise.
29126 (islessequal_test_data): Likewise.
29127 (islessgreater_test_data): Likewise.
29128 (isnan_test_data): Likewise.
29129 (isnormal_test_data): Likewise.
29130 (issignaling_test_data): Likewise.
29131 (isunordered_test_data): Likewise.
29132 (ldexp_test_data): Likewise.
29133 (lrint_test_data): Likewise.
29134 (lrint_test_data) [TEST_FLOAT]: Disable one test.
29135 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
29136 (lrint_tonearest_test_data): Test for "inexact" exceptions.
29137 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
29138 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
29139 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
29140 test input.
29141 (lrint_towardzero_test_data): Test for "inexact" exceptions.
29142 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
29143 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
29144 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
29145 that test input.
29146 (lrint_downward_test_data): Test for "inexact" exceptions.
29147 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
29148 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
29149 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
29150 test input.
29151 (lrint_upward_test_data): Test for "inexact" exceptions.
29152 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
29153 test input.
29154 (llrint_test_data): Test for "inexact" exceptions.
29155 (llrint_test_data) [TEST_FLOAT]: Disable one test.
29156 (llrint_tonearest_test_data): Test for "inexact" exceptions.
29157 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
29158 (llrint_towardzero_test_data): Test for "inexact" exceptions.
29159 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
29160 (llrint_downward_test_data): Test for "inexact" exceptions.
29161 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
29162 (llrint_upward_test_data): Test for "inexact" exceptions.
29163 (logb_test_data): Likewise.
29164 (logb_downward_test_data): Likewise.
29165 (nextafter_test_data): Likewise.
29166 (nexttoward_test_data): Likewise.
29167 (remainder_test_data): Likewise.
29168 (remquo_test_data): Likewise.
29169 (scalbn_test_data): Likewise.
29170 (scalbln_test_data): Likewise.
29171 (signbit_test_data): Likewise.
29172 (sqrt_test_data): Likewise.
29173 (significand_test_data): Likewise.
29174
48a18de1
SP
291752013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
29176
29177 [BZ #15424]
29178 * benchtests/bench-modf.c (struct args): Mark arg0 as
29179 volatile.
29180 * scripts/bench.pl: Mark members of struct args as volatile.
29181
13d3b41a
AZ
291822013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29183
68191c1d 29184 [BZ # 15497]
13d3b41a
AZ
29185 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
29186 negative infinity on POWER6 or lower.
29187 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
29188
2848b105
MR
291892013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
29190
29191 [BZ #15442]
29192 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
29193 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
29194 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
29195 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
29196 (_FP_SETQNAN): New macro.
29197 (_FP_SETQNAN_SEMIRAW): Likewise.
29198 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
29199 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
29200 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
29201 (FP_EXTEND): Use _FP_FRAC_SNANP.
29202 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
29203 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
29204 into account.
29205 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
29206 New macro.
29207 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
29208 Likewise.
29209
323e5cb7
JM
292102013-05-16 Joseph Myers <joseph@codesourcery.com>
29211
c58b274f
JM
29212 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
29213 with DIVIDE_BY_ZERO_EXCEPTION.
29214 (gamma_test_data): Likewise.
29215 (lgamma_test_data): Likewise.
29216 (log_test_data): Likewise.
29217 (log10_test_data): Likewise.
29218 (log2_test_data): Likewise.
29219 (tgamma_test_data): Likewise.
29220
0ab34904
JM
29221 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
29222 (acos_test_tonearest): Likewise.
29223 (acos_test_towardzero): Likewise.
29224 (acos_test_downward): Likewise.
29225 (acos_test_upward): Likewise.
29226 (acosh_test): Likewise.
29227 (asin_test): Likewise.
29228 (asin_test_tonearest): Likewise.
29229 (asin_test_towardzero): Likewise.
29230 (asin_test_downward): Likewise.
29231 (asin_test_upward): Likewise.
29232 (asinh_test): Likewise.
29233 (atan_test): Likewise.
29234 (atanh_test): Likewise.
29235 (atan2_test): Likewise.
29236 (cabs_test): Likewise.
29237 (cacos_test): Likewise.
29238 (cacosh_test): Likewise.
29239 (casin_test): Likewise.
29240 (casinh_test): Likewise.
29241 (catan_test): Likewise.
29242 (catanh_test): Likewise.
29243 (cbrt_test): Likewise.
29244 (ccos_test): Likewise.
29245 (ccosh_test): Likewise.
29246 (cexp_test): Likewise.
29247 (clog_test): Likewise.
29248 (clog10_test): Likewise.
29249 (cos_test): Likewise.
29250 (cos_test_tonearest): Likewise.
29251 (cos_test_towardzero): Likewise.
29252 (cos_test_downward): Likewise.
29253 (cos_test_upward): Likewise.
29254 (cosh_test): Likewise.
29255 (cosh_test_tonearest): Likewise.
29256 (cosh_test_towardzero): Likewise.
29257 (cosh_test_downward): Likewise.
29258 (cosh_test_upward): Likewise.
29259 (cpow_test): Likewise.
29260 (csin_test): Likewise.
29261 (csinh_test): Likewise.
29262 (csqrt_test): Likewise.
29263 (ctan_test): Likewise.
29264 (ctan_test_tonearest): Likewise.
29265 (ctan_test_towardzero): Likewise.
29266 (ctan_test_downward): Likewise.
29267 (ctan_test_upward): Likewise.
29268 (ctanh_test): Likewise.
29269 (ctanh_test_tonearest): Likewise.
29270 (ctanh_test_towardzero): Likewise.
29271 (ctanh_test_downward): Likewise.
29272 (ctanh_test_upward): Likewise.
29273 (erf_test): Likewise.
29274 (erfc_test): Likewise.
29275 (exp_test): Likewise.
29276 (exp_test_tonearest): Likewise.
29277 (exp_test_towardzero): Likewise.
29278 (exp_test_downward): Likewise.
29279 (exp_test_upward): Likewise.
29280 (exp10_test): Likewise.
29281 (exp2_test): Likewise.
29282 (expm1_test): Likewise.
29283 (fmod_test): Likewise.
29284 (gamma_test): Likewise.
29285 (hypot_test): Likewise.
29286 (j0_test): Likewise.
29287 (j1_test): Likewise.
29288 (jn_test): Likewise.
29289 (lgamma_test): Likewise.
29290 (log_test): Likewise.
29291 (log10_test): Likewise.
29292 (log1p_test): Likewise.
29293 (log2_test): Likewise.
29294 (logb_test_downward): Likewise.
29295 (pow_test): Likewise.
29296 (pow_test_tonearest): Likewise.
29297 (pow_test_towardzero): Likewise.
29298 (pow_test_downward): Likewise.
29299 (pow_test_upward): Likewise.
29300 (remainder_test): Likewise.
29301 (remquo_test): Likewise.
29302 (sin_test): Likewise.
29303 (sin_test_tonearest): Likewise.
29304 (sin_test_towardzero): Likewise.
29305 (sin_test_downward): Likewise.
29306 (sin_test_upward): Likewise.
29307 (sincos_test): Likewise.
29308 (sinh_test): Likewise.
29309 (sinh_test_tonearest): Likewise.
29310 (sinh_test_towardzero): Likewise.
29311 (sinh_test_downward): Likewise.
29312 (sinh_test_upward): Likewise.
29313 (sqrt_test): Likewise.
29314 (tan_test): Likewise.
29315 (tan_test_tonearest): Likewise.
29316 (tan_test_towardzero): Likewise.
29317 (tan_test_downward): Likewise.
29318 (tan_test_upward): Likewise.
29319 (tanh_test): Likewise.
29320 (tgamma_test): Likewise.
29321 (y0_test): Likewise.
29322 (y1_test): Likewise.
29323 (yn_test): Likewise.
29324
323e5cb7
JM
29325 * math/gen-libm-test.pl (adjust_arg): Remove function.
29326 (special_function): Remove argument $in_func. Only handle
29327 generating output for tables of tests, not inside functions.
29328 (parse_args): Likewise.
29329 (generate_testfile): Remove variable $in_func. Update call to
29330 parse_args.
29331 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
29332 (MINUS_ZERO_INIT): Rename macro to minus_zero.
29333 (PLUS_INFTY_INIT): Rename macro to plus_infty.
29334 (MINUS_INFTY_INIT): Rename macro to minus_infty.
29335 (QNAN_VALUE_INIT): Rename macro to qnan_value.
29336 (MAX_VALUE_INIT): Rename macro to max_value.
29337 (MIN_VALUE_INIT): Rename macro to min_value.
29338 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
29339 (plus_zero): Remove variable.
29340 (minus_zero): Likewise.
29341 (plus_infty): Likewise.
29342 (minus_infty): Likewise.
29343 (qnan_value): Likewise.
29344 (max_value): Likewise.
29345 (min_value): Likewise.
29346 (min_subnorm_value): Likewise.
29347
e054f494
RA
293482013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
29349
29350 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
29351 uint64_t or uint32_t usage.
29352 * crypt/sha256-block.c: Likewise.
29353 * crypt/sha256-crypt.c: Likewise.
29354 * crypt/sha256.c: Likewise.
29355 * crypt/sha512-block.c: Likewise.
29356 * crypt/sha512-crypt.c: Likewise.
29357 * crypt/sha512.c: Likewise.
29358 * debug/backtrace-tst.c: Likewise.
29359 * debug/pcprofiledump.c: Likewise.
29360 * elf/cache.c: Likewise.
29361 * elf/dl-cache.c: Likewise.
29362 * elf/dl-misc.c: Likewise.
29363 * elf/dl-profile.c: Likewise.
29364 * elf/dl-support.c: Likewise.
29365 * elf/ldconfig.c: Likewise.
29366 * elf/sprof.c: Likewise.
29367 * iconv/dummy-repertoire.c: Likewise.
29368 * iconv/iconv_charmap.c: Likewise.
29369 * iconv/skeleton.c: Likewise.
29370 * iconvdata/8bit-generic.c: Likewise.
29371 * iconvdata/cp737.h: Likewise.
29372 * iconvdata/cp775.h: Likewise.
29373 * iconvdata/ibm1008.h: Likewise.
29374 * iconvdata/ibm1025.h: Likewise.
29375 * iconvdata/ibm1046.h: Likewise.
29376 * iconvdata/ibm1097.h: Likewise.
29377 * iconvdata/ibm1112.h: Likewise.
29378 * iconvdata/ibm1122.h: Likewise.
29379 * iconvdata/ibm1123.h: Likewise.
29380 * iconvdata/ibm1124.h: Likewise.
29381 * iconvdata/ibm1129.h: Likewise.
29382 * iconvdata/ibm1130.h: Likewise.
29383 * iconvdata/ibm1132.h: Likewise.
29384 * iconvdata/ibm1133.h: Likewise.
29385 * iconvdata/ibm1137.h: Likewise.
29386 * iconvdata/ibm1140.h: Likewise.
29387 * iconvdata/ibm1141.h: Likewise.
29388 * iconvdata/ibm1142.h: Likewise.
29389 * iconvdata/ibm1143.h: Likewise.
29390 * iconvdata/ibm1144.h: Likewise.
29391 * iconvdata/ibm1145.h: Likewise.
29392 * iconvdata/ibm1146.h: Likewise.
29393 * iconvdata/ibm1147.h: Likewise.
29394 * iconvdata/ibm1148.h: Likewise.
29395 * iconvdata/ibm1149.h: Likewise.
29396 * iconvdata/ibm1153.h: Likewise.
29397 * iconvdata/ibm1154.h: Likewise.
29398 * iconvdata/ibm1155.h: Likewise.
29399 * iconvdata/ibm1156.h: Likewise.
29400 * iconvdata/ibm1157.h: Likewise.
29401 * iconvdata/ibm1158.h: Likewise.
29402 * iconvdata/ibm1160.h: Likewise.
29403 * iconvdata/ibm1161.h: Likewise.
29404 * iconvdata/ibm1162.h: Likewise.
29405 * iconvdata/ibm1163.h: Likewise.
29406 * iconvdata/ibm1164.h: Likewise.
29407 * iconvdata/ibm1166.h: Likewise.
29408 * iconvdata/ibm1167.h: Likewise.
29409 * iconvdata/ibm12712.h: Likewise.
29410 * iconvdata/ibm1390.h: Likewise.
29411 * iconvdata/ibm1399.h: Likewise.
29412 * iconvdata/ibm16804.h: Likewise.
29413 * iconvdata/ibm4517.h: Likewise.
29414 * iconvdata/ibm4899.h: Likewise.
29415 * iconvdata/ibm4909.h: Likewise.
29416 * iconvdata/ibm4971.h: Likewise.
29417 * iconvdata/ibm5347.h: Likewise.
29418 * iconvdata/ibm803.h: Likewise.
29419 * iconvdata/ibm856.h: Likewise.
29420 * iconvdata/ibm901.h: Likewise.
29421 * iconvdata/ibm902.h: Likewise.
29422 * iconvdata/ibm9030.h: Likewise.
29423 * iconvdata/ibm9066.h: Likewise.
29424 * iconvdata/ibm921.h: Likewise.
29425 * iconvdata/ibm922.h: Likewise.
29426 * iconvdata/ibm9448.h: Likewise.
29427 * iconvdata/isiri-3342.h: Likewise.
29428 * iconvdata/jis0201.h: Likewise.
29429 * include/link.h: Likewise.
29430 * include/netdb.h: Likewise.
29431 * inet/check_native.c: Likewise.
29432 * inet/check_pf.c: Likewise.
29433 * inet/getipv4sourcefilter.c: Likewise.
29434 * inet/getnameinfo.c: Likewise.
29435 * inet/getsourcefilter.c: Likewise.
29436 * inet/htonl.c: Likewise.
29437 * inet/setipv4sourcefilter.c: Likewise.
29438 * inet/setsourcefilter.c: Likewise.
29439 * inet/test-inet6_opt.c: Likewise.
29440 * inet/tst-network.c: Likewise.
29441 * locale/C-collate.c: Likewise.
29442 * locale/C-ctype.c: Likewise.
29443 * locale/C-time.c: Likewise.
29444 * locale/C-translit.h: Likewise.
29445 * locale/loadarchive.c: Likewise.
29446 * locale/programs/3level.h: Likewise.
29447 * locale/programs/charmap.c: Likewise.
29448 * locale/programs/charmap.h: Likewise.
29449 * locale/programs/ld-address.c: Likewise.
29450 * locale/programs/ld-collate.c: Likewise.
29451 * locale/programs/ld-ctype.c: Likewise.
29452 * locale/programs/ld-identification.c: Likewise.
29453 * locale/programs/ld-measurement.c: Likewise.
29454 * locale/programs/ld-messages.c: Likewise.
29455 * locale/programs/ld-monetary.c: Likewise.
29456 * locale/programs/ld-name.c: Likewise.
29457 * locale/programs/ld-numeric.c: Likewise.
29458 * locale/programs/ld-paper.c: Likewise.
29459 * locale/programs/ld-telephone.c: Likewise.
29460 * locale/programs/ld-time.c: Likewise.
29461 * locale/programs/linereader.c: Likewise.
29462 * locale/programs/locale.c: Likewise.
29463 * locale/programs/locarchive.c: Likewise.
29464 * locale/programs/locfile.h: Likewise.
29465 * locale/programs/repertoire.c: Likewise.
29466 * locale/programs/simple-hash.c: Likewise.
29467 * locale/programs/simple-hash.h: Likewise.
29468 * malloc/memusage.c: Likewise.
29469 * malloc/memusagestat.c: Likewise.
29470 * nis/nis_defaults.c: Likewise.
29471 * nis/nis_hash.c: Likewise.
29472 * nis/nis_print.c: Likewise.
29473 * nis/nis_xdr.c: Likewise.
29474 * nscd/connections.c: Likewise.
29475 * nscd/hstcache.c: Likewise.
29476 * nscd/nscd_gethst_r.c: Likewise.
29477 * nscd/nscd_getserv_r.c: Likewise.
29478 * nscd/nscd_helper.c: Likewise.
29479 * nscd/servicescache.c: Likewise.
29480 * nss/makedb.c: Likewise.
29481 * nss/nss_db/db-XXX.c: Likewise.
29482 * nss/nss_db/db-initgroups.c: Likewise.
29483 * nss/nss_db/db-netgrp.c: Likewise.
29484 * nss/nss_files/files-network.c: Likewise.
29485 * nss/nss_files/files-parse.c: Likewise.
29486 * posix/bug-regex5.c: Likewise.
29487 * posix/fnmatch_loop.c: Likewise.
29488 * posix/regcomp.c: Likewise.
29489 * posix/regexec.c: Likewise.
29490 * posix/tst-rfc3484-2.c: Likewise.
29491 * posix/tst-rfc3484-3.c: Likewise.
29492 * posix/tst-rfc3484.c: Likewise.
29493 * resolv/nss_dns/dns-canon.c: Likewise.
29494 * resolv/nss_dns/dns-network.c: Likewise.
29495 * resolv/res_init.c: Likewise.
29496 * resolv/res_mkquery.c: Likewise.
29497 * resolv/tst-aton.c: Likewise.
29498 * stdlib/cxa_atexit.c: Likewise.
29499 * stdlib/cxa_finalize.c: Likewise.
29500 * stdlib/gen-fpioconst.c: Likewise.
29501 * stdlib/strtol_l.c: Likewise.
29502 * string/tst-endian.c: Likewise.
29503 * sunrpc/auth_des.c: Likewise.
29504 * sunrpc/clnt_udp.c: Likewise.
29505 * sunrpc/rtime.c: Likewise.
29506 * sunrpc/svcauth_des.c: Likewise.
29507 * sunrpc/xdr.c: Likewise.
29508 * sunrpc/xdr_intXX_t.c: Likewise.
29509 * sunrpc/xdr_rec.c: Likewise.
29510 * sysdeps/generic/ldconfig.h: Likewise.
29511 * sysdeps/generic/ldsodefs.h: Likewise.
29512 * sysdeps/generic/memusage.h: Likewise.
29513 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
29514 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
29515 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
29516 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
29517 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29518 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
29519 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
29520 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
29521 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
29522 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
29523 * sysdeps/posix/getaddrinfo.c: Likewise.
29524 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
29525 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29526 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
29527 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
29528 * sysdeps/powerpc/test-gettimebase.c: Likewise.
29529 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
29530 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
29531 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
29532 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
29533 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
29534 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
29535 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
29536 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
29537 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
29538 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
29539 * sysdeps/x86_64/dl-tls.h: Likewise.
29540 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
29541 * time/alt_digit.c: Likewise.
29542 * time/era.c: Likewise.
29543 * wcsmbs/tst-c16c32-1.c: Likewise.
29544
8c75f674
JM
295452013-05-16 Joseph Myers <joseph@codesourcery.com>
29546
29547 * math/libm-test.inc (struct test_sincos_data): New type.
29548 (RUN_TEST_LOOP_sincos): New macro.
29549 (sincos_test_data): New variable.
29550 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
29551
e6e49e59
RH
295522013-05-16 Richard Henderson <rth@redhat.com>
29553
29554 * math/atest-exp2.c (LIMB64): New macro.
29555 (CONSTSZ): New macro.
29556 (mp_exp1, mp_exp_m1, mp_log2): New variables.
29557 (hexdig): Move ...
29558 (print_mpn_fp): ... to function scope.
29559 (read_mpn_hex): Remove.
29560 (get_log2): Remove.
29561 (exp2_mpn): Use mp_log2.
29562 (main): Use mp_exp1.
29563
15c7c18d
JM
295642013-05-16 Joseph Myers <joseph@codesourcery.com>
29565
105a07df
JM
29566 * math/libm-test.inc: Remove comment about not testing "inexact"
29567 exceptions.
29568 (INEXACT_EXCEPTION): New macro.
29569 (NO_INEXACT_EXCEPTION): Likewise.
29570 (INVALID_EXCEPTION_OK): Update value.
29571 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
29572 (OVERFLOW_EXCEPTION_OK): Likewise.
29573 (UNDERFLOW_EXCEPTION_OK): Likewise.
29574 (IGNORE_ZERO_INF_SIGN): Likewise.
29575 (ERRNO_UNCHANGED): Likewise.
29576 (ERRNO_EDOM): Likewise.
29577 (ERRNO_ERANGE): Likewise.
29578 (test_exceptions): Handle testing "inexact" exceptions.
29579 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
29580 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
29581 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
29582 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
29583 INEXACT_EXCEPTION.
29584 (rint_towardzero_test_data): Likewise.
29585 (rint_downward_test_data): Likewise.
29586 (rint_upward_test_data): Likewise.
29587
e9eee333
JM
29588 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
29589 with OVERFLOW_EXCEPTION.
29590 (exp10_test_data): Likewise.
29591 (exp2_test_data): Likewise.
29592 (expm1_test_data): Likewise.
29593 (lgamma_test_data): Likewise.
29594 (pow_test_data): Likewise.
29595 (tgamma_test_data): Likewise.
29596 (yn_test_data): Remove duplicate test of overflow.
29597
1c38ff73
JM
29598 * math/libm-test.inc (struct test_cc_c_data): New type.
29599 (RUN_TEST_LOOP_cc_c): New macro.
29600 (cpow_test_data): New variable.
29601 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
29602
15c7c18d
JM
29603 * math/libm-test.inc (struct test_f_L_data): New type.
29604 (RUN_TEST_LOOP_f_L): New macro.
29605 (llrint_test_data): New variable.
29606 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
29607 (llrint_tonearest_test_data): New variable.
29608 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
29609 (llrint_towardzero_test_data): New variable.
29610 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
29611 (llrint_downward_test_data): New variable.
29612 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
29613 (llrint_upward_test_data): New variable.
29614 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
29615 (llround_test_data): New variable.
29616 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
29617
f137ff13
PC
296182013-05-13 Peter Collingbourne <pcc@google.com>
29619
29620 * math/atest-exp2.c (get_log2): Remove const attribute.
29621
3608cb24
JM
296222013-05-15 Joseph Myers <joseph@codesourcery.com>
29623
29624 * math/libm-test.inc (struct test_f_l_data): New type.
29625 (RUN_TEST_LOOP_f_l): New macro.
29626 (lrint_test_data): New variable.
29627 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
29628 (lrint_tonearest_test_data): New variable.
29629 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
29630 (lrint_towardzero_test_data): New variable.
29631 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
29632 (lrint_downward_test_data): New variable.
29633 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
29634 (lrint_upward_test_data): New variable.
29635 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
29636 (lround_test_data): New variable.
29637 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
29638
39b1f617
PC
296392013-05-15 Peter Collingbourne <pcc@google.com>
29640
1deff3dc
PC
29641 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
29642 (EXTRACT_WORDS64) Use where appropriate.
29643 (INSERT_WORDS64) Likewise.
29644
791f3ba0
PC
29645 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
29646 constraints with x constraints.
29647 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
29648
39b1f617
PC
29649 * malloc/obstack.c (_obstack_compat): Add initializer.
29650
12fba011
EM
296512013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
29652
29653 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
29654 si_trapno and add si_addr_lsb to _sifields.sigfault.
29655 (si_trapno): Remove macro.
29656 (si_addr_lsb): Define new macro.
29657 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
29658
d369f531
JM
296592013-05-15 Joseph Myers <joseph@codesourcery.com>
29660
b861c6c4
JM
29661 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
29662 instead of TEST_f_l.
29663 (llrint_test_tonearest): Likewise.
29664 (llrint_test_towardzero): Likewise.
29665 (llrint_test_downward): Likewise.
29666 (llrint_test_upward): Likewise.
29667 (llround_test): Likewise.
29668
7abeee12
JM
29669 * math/libm-test.inc (struct test_f_i_data): Add comment.
29670 (RUN_TEST_LOOP_f_b): New macro.
29671 (RUN_TEST_LOOP_f_b_tg): Likewise.
29672 (finite_test_data): New variable.
29673 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
29674 (isfinite_test_data): New variable.
29675 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
29676 (isinf_test_data): New variable.
29677 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
29678 (isnan_test_data): New variable.
29679 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
29680 (isnormal_test_data): New variable.
29681 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
29682 (issignaling_test_data): New variable.
29683 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
29684 (signbit_test_data): New variable.
29685 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
29686
cbe8c4d3
JM
29687 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
29688 with INVALID_EXCEPTION.
29689 (acosh_test_data): Likewise.
29690 (asin_test_data): Likewise.
29691 (atanh_test_data): Likewise.
29692 (fmod_test_data): Likewise.
29693 (log_test_data): Likewise.
29694 (log10_test_data): Likewise.
29695 (log2_test_data): Likewise.
29696 (pow_test_data): Likewise.
29697 (sqrt_test_data): Likewise.
29698 (y0_test_data): Likewise.
29699 (y1_test_data): Likewise.
29700 (yn_test_data): Likewise.
29701
5575c0e5
JM
29702 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
29703 function contents.
29704
d369f531
JM
29705 * math/libm-test.inc (struct test_ff_i_data): New type.
29706 (RUN_TEST_LOOP_ff_i_tg): New macro.
29707 (isgreater_test_data): New variable.
29708 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29709 (isgreaterequal_test_data): New variable.
29710 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29711 (isless_test_data): New variable.
29712 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29713 (islessequal_test_data): New variable.
29714 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29715 (islessgreater_test_data): New variable.
29716 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29717 (isunordered_test_data): New variable.
29718 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29719
781fd748
DM
297202013-05-14 David S. Miller <davem@davemloft.net>
29721
29722 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29723
87aa21df
JM
297242013-05-14 Joseph Myers <joseph@codesourcery.com>
29725
5e908270
JM
29726 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
29727
f71172e5
JM
29728 * math/libm-test.inc (struct test_fF_f1_data): Change type of
29729 extra_test to int.
29730 (struct test_f_i_data): Change type of max_ulp to int.
29731
8cfa635a
JM
29732 * math/libm-test.inc (test_ffI_f1_data): New type.
29733 (RUN_TEST_LOOP_ffI_f1): New macro.
29734 (remquo_test_data): New variable.
29735 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
29736
2bcb36b2
JM
29737 * setjmp/tst-setjmp-fp.c: New file.
29738 * setjmp/Makefile (tests): Add tst-setjmp-fp.
29739 (link-libm): New variable.
29740 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
29741
acbd839a
JM
29742 * math/libm-test.inc (struct test_f_i_data): New type.
29743 (RUN_TEST_LOOP_f_i): New macro.
29744 (RUN_TEST_LOOP_f_i_tg): Likewise.
29745 (fpclassify_test_data): New variable.
29746 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
29747 (ilogb_test_data): New variable.
29748 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
29749
e414d745
JM
29750 * math/libm-test.inc (scalbln_test): Correct function name in END
29751 call.
29752
d9c2a0fd
JM
29753 * math/libm-test.inc (struct test_f_f1_data): Add comment.
29754 (RUN_TEST_LOOP_fI_f1): New macro.
29755 (frexp_test_data): New variable.
29756 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
29757
9dc9095d
JM
29758 * math/libm-test.inc (struct test_fF_f1_data): New type.
29759 (RUN_TEST_LOOP_fF_f1): New macro.
29760 (modf_test_data): New variable.
29761 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
29762
87aa21df
JM
29763 * math/libm-test.inc (struct test_f_f1_data): New type.
29764 (RUN_TEST_LOOP_f_f1): New macro.
29765 (gamma_test_data): New variable.
29766 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
29767 (lgamma_test_data): New variable.
29768 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
29769
141af660
CD
297702013-05-13 Carlos O'Donell <carlos@redhat.com>
29771
29772 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
29773 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
29774 (main): Comment "tls" pseudo-hwcap.
29775
6d33265c
JM
297762013-05-13 Joseph Myers <joseph@codesourcery.com>
29777
68fc074c
JM
29778 * math/libm-test.inc (struct test_fl_f_data): New type.
29779 (RUN_TEST_LOOP_fl_f): New variable.
29780 (scalbln_test_data): New variable.
29781 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
29782
243216e1
JM
29783 * math/libm-test.inc (struct test_fi_f_data): New type.
29784 (RUN_TEST_LOOP_fi_f): New macro.
29785 (ldexp_test_data): New variable.
29786 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
29787 (scalbn_test_data): New variable.
29788 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
29789
6a1992e2
JM
29790 * math/libm-test.inc (struct test_c_f_data): New type.
29791 (RUN_TEST_LOOP_c_f): New macro.
29792 (cabs_test_data): New variable.
29793 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
29794 (carg_test_data): New variable.
29795 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
29796 (cimag_test_data): New variable.
29797 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
29798 (creal_test_data): New variable.
29799 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
29800
0e400df5
JM
29801 * math/libm-test.inc (struct test_if_f_data): New type.
29802 (RUN_TEST_LOOP_if_f): New macro.
29803 (jn_test_data): New variable.
29804 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
29805 (yn_test_data): New variable.
29806 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
29807
6d33265c
JM
29808 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
29809
f98ece5f
AZ
298102013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29811
29812 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
29813 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
29814
0f7d347b
SP
298152013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
29816
43fe811b
SP
29817 * benchtests/Makefile (CPPFLAGS-nonlib): Add
29818 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
29819 (bench-deps): Add bench-timing.h.
29820 * benchtests-bench-skeleton.c: Include bench-timing.h.
29821 (main): Use TIMING_* macros instead of clock_gettime.
29822 * benchtests/bench-timing.h: New file.
29823
0f7d347b
SP
29824 [BZ #14582]
29825 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
29826 Renamed from _LIB_VERSION.
29827 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
29828
601a3a5f
JM
298292013-05-12 Joseph Myers <joseph@codesourcery.com>
29830
4f184d30
JM
29831 * math/libm-test.inc (struct test_fff_f_data): New type.
29832 (RUN_TEST_LOOP_fff_f): New macro.
29833 (fma_test_data): New variable.
29834 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
29835 (fma_towardzero_test_data): New variable.
29836 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
29837 (fma_downward_test_data): New variable.
29838 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
29839 (fma_upward_test_data): New variable.
29840 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
29841
08198877
JM
29842 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
29843 (struct test_c_c_data): New type.
29844 (RUN_TEST_LOOP_c_c): New macro.
29845 (cacos_test_data): New variable.
29846 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
29847 (cacosh_test_data): New variable.
29848 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
29849 (casin_test_data): New variable.
29850 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
29851 (casinh_test_data): New variable.
29852 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
29853 (catan_test_data): New variable.
29854 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
29855 (catanh_test_data): New variable.
29856 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
29857 (ccos_test_data): New variable.
29858 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
29859 (ccosh_test_data): New variable.
29860 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
29861 (cexp_test_data): New variable.
29862 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
29863 (clog_test_data): New variable.
29864 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
29865 (clog10_test_data): New variable.
29866 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
29867 (conj_test_data): New variable.
29868 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
29869 (cproj_test_data): New variable.
29870 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
29871 (csin_test_data): New variable.
29872 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
29873 (csinh_test_data): New variable.
29874 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
29875 (csqrt_test_data): New variable.
29876 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
29877 (ctan_test_data): New variable.
29878 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
29879 (ctan_tonearest_test_data): New variable.
29880 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
29881 (ctan_towardzero_test_data): New variable.
29882 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
29883 (ctan_downward_test_data): New variable.
29884 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
29885 (ctan_upward_test_data): New variable.
29886 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
29887 (ctanh_test_data): New variable.
29888 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
29889 (ctanh_tonearest_test_data): New variable.
29890 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
29891 (ctanh_towardzero_test_data): New variable.
29892 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
29893 (ctanh_downward_test_data): New variable.
29894 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
29895 (ctanh_upward_test_data): New variable.
29896 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
29897 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
29898 of BUILD_COMPLEX.
29899
601a3a5f
JM
29900 * math/libm-test.inc (struct test_ff_f_data): New type.
29901 (struct test_ff_f_data_nexttoward): Likewise.
29902 (RUN_TEST_LOOP_2_f): New macro.
29903 (RUN_TEST_LOOP_ff_f): Likewise.
29904 (atan2_test_data): New variable.
29905 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
29906 (copysign_test_data): New variable.
29907 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
29908 (fdim_test_data): New variable.
29909 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
29910 (fmax_test_data): New variable.
29911 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
29912 (fmin_test_data): New variable.
29913 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
29914 (fmod_test_data): New variable.
29915 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
29916 (hypot_test_data): New variable.
29917 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
29918 (nextafter_test_data): New variable.
29919 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
29920 (nexttoward_test_data): New variable.
29921 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
29922 (pow_test_data): New variable.
29923 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
29924 (pow_tonearest_test_data): New variable.
29925 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
29926 (pow_towardzero_test_data): New variable.
29927 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
29928 (pow_downward_test_data): New variable.
29929 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
29930 (pow_upward_test_data): New variable.
29931 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
29932 (remainder_test_data): New variable.
29933 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
29934 (scalb_test_data): New variable.
29935 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
29936 * sysdeps/i386/fpu/libm-test-ulps: Update.
29937
74c57478
JM
299382013-05-11 Joseph Myers <joseph@codesourcery.com>
29939
8329e4da
JM
29940 * math/libm-test.inc (fma_test): Use max_value instead of local
29941 variable fltmax.
29942 (nextafter_test): Likewise.
29943
74c57478
JM
29944 * math/libm-test.inc (acos_towardzero_test_data): New variable.
29945 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29946 (acos_downward_test_data): New variable.
29947 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29948 (acos_upward_test_data): New variable.
29949 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29950 (acosh_test_data): New variable.
29951 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
29952 (asin_test_data): New variable.
29953 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
29954 (asin_tonearest_test_data): New variable.
29955 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29956 (asin_towardzero_test_data): New variable.
29957 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29958 (asin_downward_test_data): New variable.
29959 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29960 (asin_upward_test_data): New variable.
29961 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29962 (asinh_test_data): New variable.
29963 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
29964 (atan_test_data): New variable.
29965 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
29966 (atanh_test_data): New variable.
29967 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
29968 (cbrt_test_data): New variable.
29969 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
29970 (ceil_test_data): New variable.
29971 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
29972 (cos_test_data): New variable.
29973 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
29974 (cos_tonearest_test_data): New variable.
29975 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29976 (cos_towardzero_test_data): New variable.
29977 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29978 (cos_downward_test_data): New variable.
29979 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29980 (cos_upward_test_data): New variable.
29981 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29982 (cosh_test_data): New variable.
29983 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
29984 (cosh_tonearest_test_data): New variable.
29985 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29986 (cosh_towardzero_test_data): New variable.
29987 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29988 (cosh_downward_test_data): New variable.
29989 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29990 (cosh_upward_test_data): New variable.
29991 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29992 (erf_test_data): New variable.
29993 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
29994 (erfc_test_data): New variable.
29995 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
29996 (exp_test_data): New variable.
29997 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
29998 (exp_tonearest_test_data): New variable.
29999 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
30000 (exp_towardzero_test_data): New variable.
30001 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
30002 (exp_downward_test_data): New variable.
30003 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
30004 (exp_upward_test_data): New variable.
30005 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
30006 (exp10_test_data): New variable.
30007 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
30008 (exp2_test_data): New variable.
30009 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
30010 (expm1_test_data): New variable.
30011 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
30012 (fabs_test_data): New variable.
30013 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
30014 (floor_test_data): New variable.
30015 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
30016 (j0_test_data): New variable.
30017 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
30018 (j1_test_data): New variable.
30019 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
30020 (log_test_data): New variable.
30021 (log_test): Run tests with RUN_TEST_LOOP_f_f.
30022 (log10_test_data): New variable.
30023 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
30024 (log1p_test_data): New variable.
30025 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
30026 (log2_test_data): New variable.
30027 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
30028 (logb_test_data): New variable.
30029 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
30030 (logb_downward_test_data): New variable.
30031 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
30032 (nearbyint_test_data): New variable.
30033 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
30034 (rint_test_data): New variable.
30035 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
30036 (rint_tonearest_test_data): New variable.
30037 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
30038 (rint_towardzero_test_data): New variable.
30039 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
30040 (rint_downward_test_data): New variable.
30041 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
30042 (rint_upward_test_data): New variable.
30043 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
30044 (round_test_data): New variable.
30045 (round_test): Run tests with RUN_TEST_LOOP_f_f.
30046 (sin_test_data): New variable.
30047 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
30048 (sin_tonearest_test_data): New variable.
30049 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
30050 (sin_towardzero_test_data): New variable.
30051 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
30052 (sin_downward_test_data): New variable.
30053 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
30054 (sin_upward_test_data): New variable.
30055 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
30056 (sinh_test_data): New variable.
30057 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
30058 (sinh_tonearest_test_data): New variable.
30059 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
30060 (sinh_towardzero_test_data): New variable.
30061 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
30062 (sinh_downward_test_data): New variable.
30063 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
30064 (sinh_upward_test_data): New variable.
30065 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
30066 (sqrt_test_data): New variable.
30067 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
30068 (tan_test_data): New variable.
30069 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
30070 (tan_tonearest_test_data): New variable.
30071 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
30072 (tan_towardzero_test_data): New variable.
30073 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
30074 (tan_downward_test_data): New variable.
30075 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
30076 (tan_upward_test_data): New variable.
30077 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
30078 (tanh_test_data): New variable.
30079 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
30080 (tgamma_test_data): New variable.
30081 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
30082 (trunc_test_data): New variable.
30083 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
30084 (y0_test_data): New variable.
30085 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
30086 (y1_test_data): New variable.
30087 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
30088 (significand_test_data): New variable.
30089 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
30090
7187d844
CG
300912013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
30092
30093 [BZ #12387]
30094 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
30095
f63fae73
PT
300962013-05-10 Pino Toscano <toscano.pino@tiscali.it>
30097
30098 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
30099
8a67a4b3
AJ
301002013-05-10 Andreas Jaeger <aj@suse.de>
30101
30102 [BZ #15448]
30103 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
30104 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
30105
51df539d
JM
301062013-05-10 Joseph Myers <joseph@codesourcery.com>
30107
30108 * math/gen-libm-test.pl (adjust_arg): New function.
30109 (special_functions): Handle generating output in both functions
30110 and arrays.
30111 (parse_args): Likewise.
30112 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
30113 $in_func argument to parse_args.
30114 * math/libm-test.inc (struct test_f_f_data): New type.
30115 (IF_ROUND_INIT_): New macro.
30116 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
30117 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
30118 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
30119 (IF_ROUND_INIT_FE_UPWARD): Likewise.
30120 (ROUND_RESTORE_): Likewise.
30121 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
30122 (ROUND_RESTORE_FE_TONEAREST): Likewise.
30123 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
30124 (ROUND_RESTORE_FE_UPWARD): Likewise.
30125 (RUN_TEST_LOOP_f_f): New macro.
30126 (acos_test_data): New variable.
30127 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
30128 (acos_tonearest_test_data): New variable.
30129 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
30130
5c637fe5
SP
301312013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
30132
30133 * benchtests/bench-skeleton.c (startup): Fix coding style.
30134
ab2b9461
JM
301352013-05-10 Joseph Myers <joseph@codesourcery.com>
30136
30137 [BZ #6809]
30138 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
30139 negative infinity argument.
30140 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
30141 negative infinity argument.
30142 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
30143 negative infinity argument.
30144 * math/libm-test.inc (tgamma_test): Expect errno to be set for
30145 domain errors.
30146
4c0fe6fe
FW
301472013-05-10 Florian Weimer <fweimer@redhat.com>
30148
30149 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
30150 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
30151 * iconv/iconv_prog.c (main): Likewise.
30152 * locale/programs/charmap-dir.c (charmap_readdir)
30153 (fopen_uncompressed): Likewise.
30154 * locale/programs/locfile.c (siblings_uncached)
30155 (write_locale_data): Use lstat64 instead of lstat.
30156 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
30157 stat.
30158
a3375d29
AJ
301592013-05-10 Andreas Jaeger <aj@suse.de>
30160
30161 [BZ #15395]
30162 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
30163 localization.
30164 Include <locale.h>.
30165
36129722
CD
301662013-05-09 Carlos O'Donell <carlos@redhat.com>
30167
30168 * elf/dl-close.c (_dl_close_worker): Add comments.
30169
faa7f811
JM
301702013-05-09 Joseph Myers <joseph@codesourcery.com>
30171
ed41ffef
JM
30172 [BZ #15359]
30173 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
30174 high part of pi/2.
30175 (__ieee754_rem_pio2l): Update comments.
30176
d0213cd0
JM
30177 [BZ #15429]
30178 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
30179 high part of pi/2.
30180 (__ieee754_rem_pio2l): Update comments.
30181
0d3e777a
JM
30182 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
30183 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
30184
24f56066
JM
30185 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
30186 M_PI_4l.
30187
faa7f811
JM
30188 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
30189 (M_PI_34_LOG10El): Likewise.
30190 (M_PI2_LOG10El): Likewise.
30191 (M_PI4_LOG10El): Likewise.
30192 (M_PI_LOG10El): Likewise.
30193
e9a5e0fd
AZ
301942013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30195
30196 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30197
d8cd06db
JM
301982013-05-08 Joseph Myers <joseph@codesourcery.com>
30199
a0d9f9d7
JM
30200 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
30201 (MINUS_ZERO_INIT): Likewise.
30202 (PLUS_INFTY_INIT): Likewise.
30203 (MINUS_INFTY_INIT): Likewise.
30204 (QNAN_VALUE_INIT): Likewise.
30205 (MAX_VALUE_INIT): Likewise.
30206 (MIN_VALUE_INIT): Likewise.
30207 (MIN_SUBNORM_VALUE_INIT): Likewise.
30208 (plus_zero): Initialize with PLUS_ZERO_INIT.
30209 (minus_zero): Initialize with MINUS_ZERO_INIT.
30210 (plus_infty): Initialize with PLUS_INFTY_INIT.
30211 (minus_infty): Initialize with MINUS_INFTY_INIT.
30212 (qnan_value): Initialize with QNAN_VALUE_INIT.
30213 (max_value): Initialize with MAX_VALUE_INIT.
30214 (min_value): Initialize with MIN_VALUE_INIT.
30215 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
30216
ae08db3b
JM
30217 * math/libm-test.inc (RUN_TEST_if_f): New macro.
30218 (jn_test): Use TEST_if_f instead of TEST_ff_f.
30219 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
30220 (yn_test): Use TEST_if_f instead of TEST_ff_f.
30221
f44bf14a
JM
30222 * math/libm-test.inc (RUN_TEST_f_f): New macro.
30223 (RUN_TEST_2_f): Likewise.
30224 (RUN_TEST_ff_f): Likewise.
30225 (RUN_TEST_fi_f): Likewise.
30226 (RUN_TEST_fl_f): Likewise.
30227 (RUN_TEST_fff_f): Likewise.
30228 (RUN_TEST_c_f): Likewise.
30229 (RUN_TEST_f_f1): Likewise.
30230 (RUN_TEST_fF_f1): Likewise.
30231 (RUN_TEST_fI_f1): Likewise.
30232 (RUN_TEST_ffI_f1): Likewise.
30233 (RUN_TEST_c_c): Likewise.
30234 (RUN_TEST_cc_c): Likewise.
30235 (RUN_TEST_f_i): Likewise.
30236 (RUN_TEST_f_i_tg): Likewise.
30237 (RUN_TEST_ff_i_tg): Likewise.
30238 (RUN_TEST_f_b): Likewise.
30239 (RUN_TEST_f_b_tg): Likewise.
30240 (RUN_TEST_f_l): Likewise.
30241 (RUN_TEST_f_L): Likewise.
30242 (RUN_TEST_sincos): Likewise.
30243 * math/gen-libm-test.pl (new_test): Take new argument to indicate
30244 whether to show exceptions. Do not include ");\n" in return
30245 value.
30246 (special_functions): Output call to RUN_TEST_sincos instead of
30247 check_float calls. Update calls to new_test.
30248 (parse_args): Output call to single RUN_TEST_* macro instead of
30249 check_* calls and other assignments. Update calls to new_test.
30250
d8cd06db
JM
30251 [BZ #2546]
30252 [BZ #2560]
30253 [BZ #5159]
30254 [BZ #15426]
30255 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
30256 input to result for tgamma overflow.
30257 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
30258 (gamma_coeff): New variable.
30259 (NCOEFF): New macro.
30260 (gamma_positive): New function.
30261 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
30262 underflow here. Use gamma_positive instead of exp (lgamma) for
30263 other arguments.
30264 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
30265 (gamma_coeff): New variable.
30266 (NCOEFF): New macro.
30267 (gammaf_positive): New function.
30268 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
30269 underflow here. Use gamma_positive instead of exp (lgamma) for
30270 other arguments.
30271 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
30272 (gamma_coeff): New variable.
30273 (NCOEFF): New macro.
30274 (gammal_positive): New function.
30275 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
30276 underflow here. Use gamma_positive instead of exp (lgamma) for
30277 other arguments.
30278 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
30279 (gamma_coeff): New variable.
30280 (NCOEFF): New macro.
30281 (gammal_positive): New function.
30282 (__ieee754_gammal_r): Handle positive infinity, overflow and
30283 underflow here. Handle NaN the same as positive infinity. Remove
30284 check x < 0xffffffff for negative integers. Use gamma_positive
30285 instead of exp (lgamma) for other arguments.
30286 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
30287 (gamma_coeff): New variable.
30288 (NCOEFF): New macro.
30289 (gammal_positive): New function.
30290 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
30291 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
30292 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
30293 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
30294 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
30295 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
30296 * sysdeps/generic/math_private.h (__gamma_productf): New
30297 prototype.
30298 (__gamma_product): Likewise.
30299 (__gamma_productl): Likewise.
30300 * math/Makefile (libm-calls): Add gamma_product.
30301 * math/libm-test.inc (tgamma_test): Add more tests.
30302 * sysdeps/i386/fpu/libm-test-ulps: Update.
30303 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30304
bb7cf681
OB
303052013-05-08 Ondřej Bílka <neleai@seznam.cz>
30306
30307 * benchtests/bench-skeleton.c (main): Preheat CPU.
30308
ba853947
AJ
303092013-05-07 Aurelien Jarno <aurelien@aurel32.net>
30310
30311 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
30312
8347c74c
RM
303132013-05-07 Roland McGrath <roland@hack.frob.com>
30314
30315 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
30316 and _dl_skip_args_internal.
30317
e8dd4791
CD
303182013-05-07 Carlos O'Donell <carlos@redhat.com>
30319
30320 * manual/message.texi (Message Translation): Talk about users.
30321 Message to key mapping impacts design.
30322
c7405830
RM
303232013-05-06 Roland McGrath <roland@hack.frob.com>
30324
a9173057
RM
30325 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
30326
976e2f03
RM
30327 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
30328
9723ffc5
RM
30329 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
30330 * sysdeps/wordsize-64/glob64.c: ... here.
30331
962e6658
RM
30332 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
30333 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
30334 New macros.
30335
ee586a6d
RM
30336 * debug/getlogin_r_chk.c: Moved to ...
30337 * login/getlogin_r_chk.c: ... here.
30338 * debug/Makefile (routines): Move getlogin_r_chk to ...
30339 * login/Makefile (routines): ... here.
30340 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
30341 * login/Versions (libc: GLIBC_2.4): ... here.
30342
355f9165
RM
30343 * io/poll.c (__poll): Renamed from poll.
30344 Add libc_hidden_def.
30345 (poll): Define as weak alias.
30346
bd9ffde6
RM
30347 * debug/ptsname_r_chk.c: Moved to ...
30348 * login/ptsname_r_chk.c: ... here.
30349 * debug/Makefile (routines): Move ptsname_r_chk to ...
30350 * login/Makefile (routines): ... here.
30351 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
30352 * login/Versions (libc: GLIBC_2.4): ... here.
30353
8fb16a04
RM
30354 * posix/getlogin.c: Moved to ...
30355 * login/getlogin.c: ... here.
30356 * posix/getlogin_r.c: Moved to ...
30357 * login/getlogin_r.c: ... here.
30358 * posix/getlogin_r.c: Moved to ...
30359 * login/getlogin_r.c: ... here.
30360 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
30361 * login/Makefile (routines): ... here.
30362 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
30363 * login/Versions (libc: GLIBC_2.0): ... here.
30364
b99b892f
RM
30365 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
30366 (setrlimit): Define as weak alias.
30367
c7405830
RM
30368 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
30369 Call __ names for open, ftruncate, and close.
30370 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
30371 (truncate): Define as weak alias.
30372
5bf96de5
JM
303732013-05-06 Joseph Myers <joseph@codesourcery.com>
30374
9ea3513c
JM
30375 * math/gen-libm-test.pl (parse_args): Initialize x before each
30376 test of frexp, modf and remquo.
30377
5bf96de5
JM
30378 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
30379 test signgam value.
30380
16e616a7
AZ
303812013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30382
30383 [BZ #15418]
30384 [BZ #15419]
30385 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
30386 internal tests.
30387 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
30388
d5e82754
RM
303892013-05-06 Roland McGrath <roland@hack.frob.com>
30390
30391 * elf/dl-writev.h: New file.
30392 * elf/dl-misc.c: Include it.
30393 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
30394 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
30395
a7548d41
JM
303962013-05-04 Joseph Myers <joseph@codesourcery.com>
30397
b7dab1e4
JM
30398 * math/libm-test.inc (noXFails): Remove variable.
30399 (noXPasses): Likewise.
30400 (BUILD_COMPLEX_INT): Remove macro.
30401 (print_screen): Remove xfail argument.
30402 (print_screen_max_error): Likewise.
30403 (update_stats): Likewise.
30404 (print_max_error): Likewise. Update calls to other affected
30405 functions.
30406 (print_complex_max_error): Likewise.
30407 (test_single_exception): Update calls to print_screen.
30408 (test_single_errno): Likewise.
30409 (check_float_internal): Remove xfail argument. Update calls to
30410 other affected functions.
30411 (check_float): Likewise.
30412 (check_complex): Likewise.
30413 (check_int): Likewise.
30414 (check_long): Likewise.
30415 (check_bool): Likewise.
30416 (check_longlong): Likewise.
30417 (main): Don't print noXFails and noXPasses.
30418 * math/gen-libm-test.pl (top level): Don't mention expected
30419 failure handling in comment.
30420 (new_test): Don't handle expected failures.
30421 (parse_args): Don't mention expected failure handling in comment.
30422 (generate_testfile): Don't handle expected failures.
30423 (parse_ulps): Likewise.
30424 (print_ulps_file): Likewise.
30425 (get_failure): Remove function.
30426 (output_test): Don't handle expected failures.
30427 * make/README.libm-test: Don't mention expected failure handling.
30428
a7548d41
JM
30429 * math/libm-test.inc (plus_zero): Make const. Add initializer.
30430 (minus_zero): Likewise.
30431 (plus_infty): Likewise.
30432 (minus_infty): Likewise.
30433 (qnan_value): Likewise.
30434 (max_value): Likewise.
30435 (min_value): Likewise.
30436 (min_subnorm_value): Likewise.
30437 (initialize): Do not initialize those variables dynamically.
30438
60bfd54c
RM
304392013-05-03 Roland McGrath <roland@hack.frob.com>
30440
cc0e6ed8
RM
30441 * io/open.c (__open_2): Moved to ...
30442 * io/open_2.c: ... this new file.
30443 * io/open64.c (__open64_2): Moved to ...
30444 * io/open64_2.c: ... this new file.
30445 * io/openat.c (__openat_2): Moved to ...
30446 * io/openat_2.c: ... this new file.
30447 * io/openat64.c (__openat64_2): Moved to ...
30448 * io/openat64_2.c: ... this new file.
30449 * io/Makefile (routines): Add them.
30450 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
30451 * sysdeps/unix/sysv/linux/open_2.c: File removed.
30452 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
30453 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
30454 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
30455 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
30456 (__openat64): Add hidden_ver.
30457 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
30458 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
30459
60bfd54c
RM
30460 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
30461 Separately conditionalize setting of GLRO(dl_sysinfo) so
30462 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
30463 as well, but the actual setting is only under [NEED_DL_SYSINFO].
30464
83e7640f
AZ
304652013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30466
30467 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
30468 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
30469 definition.
30470 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
30471 * sysdeps/unix/sysv/linux/powerpc/init-first.c
30472 (_libc_vdso_platform_setup): Add __vdso_time initialization.
30473 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
30474 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
30475
d5dc2af3
JM
304762013-05-03 Joseph Myers <joseph@codesourcery.com>
30477
c31a5b1e
JM
30478 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
30479 test signgam value.
30480
d5dc2af3
JM
30481 * math/libm-test.inc (hypot_test): Do not use
30482 IGNORE_ZERO_INF_SIGN.
30483
164fd39d
AJ
304842013-05-03 Andreas Jaeger <aj@suse.de>
30485
30486 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
30487 Linux 3.9.
30488 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
30489 (PF_MAX): Adjust for VSOCK change.
30490
8237f48c
AZ
304912013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30492
30493 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30494
9df02941
CD
304952013-05-02 Carlos O'Donell <carlos@redhat.com>
30496
30497 [BZ #15264]
30498 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
30499 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
30500 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
30501
d422395e
DM
305022013-05-02 David S. Miller <davem@davemloft.net>
30503
30504 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30505
a07c5731
OB
305062013-05-01 Ondřej Bílka <neleai@seznam.cz>
30507
30508 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
30509
1324e37f
RM
305102013-05-01 Roland McGrath <roland@hack.frob.com>
30511
30512 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
30513
0695940b
RS
305142013-05-01 Richard Smith <richard@metafoo.co.uk>
30515
bb5f27ad 30516 [BZ #14952]
0695940b
RS
30517 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
30518 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
30519 Use __attribute__ ((__gnu_inline__)).
30520 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
30521 Don't use __attribute__ ((__gnu_inline__)).
30522
10de07f5
JM
305232013-05-01 Joseph Myers <joseph@codesourcery.com>
30524
30525 [BZ #15423]
30526 * math/s_catan.c (__catan): Handle small real or imaginary part of
30527 input specially to avoid spurious underflow.
30528 * math/s_catanf.c (__catanf): Likewise.
30529 * math/s_catanh.c (__catanh): Likewise.
30530 * math/s_catanhf.c (__catanhf): Likewise.
30531 * math/s_catanhl.c (__catanhl): Likewise.
30532 * math/s_catanl.c (__catanl): Likewise.
30533 * math/libm-test.inc (catan_test): Add more tests.
30534 (catanh_test): Likewise.
30535 * sysdeps/i386/fpu/libm-test-ulps: Update.
30536 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30537
cb4d5414
AZ
305382013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30539
30540 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30541
caf84319
JM
305422013-04-30 Joseph Myers <joseph@codesourcery.com>
30543
30544 [BZ #15416]
30545 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
30546 accurately for denominator in atan2.
30547 * math/s_catanf.c (__catanf): Likewise.
30548 * math/s_catanh.c (__catanh): Likewise.
30549 * math/s_catanhf.c (__catanhf): Likewise.
30550 * math/s_catanhl.c (__catanhl): Likewise.
30551 * math/s_catanl.c (__catanl): Likewise.
30552 * math/libm-test.inc (catan_test): Add more tests.
30553 (catanh_test): Likewise.
30554 * sysdeps/i386/fpu/libm-test-ulps: Update.
30555 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30556
d569c6ee
SP
305572013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
30558
6dbe713d
SP
30559 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
30560
f0ee064b
SP
30561 * benchtests/Makefile (bench): Remove slow benchmarks.
30562 * benchtests/atan-inputs: Add slow benchmark inputs.
30563 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
30564 (BENCH_FUNC): Accept variant offset.
30565 (VARIANT): Define.
30566 * benchtests/bench-skeleton.c (main): Run benchmark for each
30567 variant.
30568 * benchtests/cos-inputs: Add slow benchmark inputs.
30569 * benchtests/exp-inputs: Likewise.
30570 * benchtests/pow-inputs: Likewise.
30571 * benchtests/sin-inputs: Likewise.
30572 * benchtests/slowatan-inputs: Remove.
30573 * benchtests/slowatan.c: Remove.
30574 * benchtests/slowcos-inputs: Remove.
30575 * benchtests/slowcos.c: Remove.
30576 * benchtests/slowexp-inputs: Remove.
30577 * benchtests/slowexp.c: Remove.
30578 * benchtests/slowpow-inputs: Remove.
30579 * benchtests/slowpow.c: Remove.
30580 * benchtests/slowsin-inputs: Remove.
30581 * benchtests/slowsin.c: Remove.
30582 * benchtests/slowtan-inputs: Remove.
30583 * benchtests/slowtan.c: Remove.
30584 * benchtests/tan-inputs: Add slow benchmark inputs.
30585 * scripts/bench.pl: Parse comments and directives.
30586
d569c6ee
SP
30587 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
30588 in CPPFLAGS.
30589 ($(objpfx)bench-%.c): Remove *-ITER.
30590 * benchtests/bench-modf.c: Remove definition of ITER.
30591 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
30592 (main): Loop for DURATION seconds instead of fixed number of
30593 iterations.
30594 * scripts/bench.pl: Don't expect iterations in parameters.
30595
a6a242fe
RM
305962013-04-29 Roland McGrath <roland@hack.frob.com>
30597
30598 * io/fchdir.c (__fchdir): Renamed from fchdir.
30599 (fchdir): Define as weak alias.
30600
f2da7793
JM
306012013-04-29 Joseph Myers <joseph@codesourcery.com>
30602
30603 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
30604 (ERRNO_EDOM): Likewise.
30605 (ERRNO_ERANGE): Likewise.
30606 (noErrnoTests): New variable.
30607 (init_max_error): Set errno to 0.
30608 (test_single_errno): New function.
30609 (test_errno): Likewise.
30610 (check_float_internal): Call test_errno. Set errno to 0.
30611 (check_complex): Refer to errno tests in comment.
30612 (check_int): Call test_errno. Set errno to 0.
30613 (check_long): Likewise.
30614 (check_bool): Likewise.
30615 (check_longlong): Likewise.
30616 (cos_test): Use ERRNO_* flags for errno tests instead of
30617 check_int.
30618 (expm1_test): Likewise.
30619 (fmod_test): Likewise.
30620 (ilogb_test): Likewise.
30621 (lgamma_test): Likewise.
30622 (pow_test): Likewise.
30623 (remainder_test): Likewise.
30624 (sin_test): Likewise.
30625 (tan_test): Likewise.
30626 (yn_test): Likewise.
30627 (initialize): Set errno to 0.
30628 (main): Print number of errno tests.
30629 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
30630
b1a36ceb
AJ
306312013-04-29 Andreas Jaeger <aj@suse.de>
30632
c3ed8088
AJ
30633 [BZ #15084]
30634 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
30635 and RES_USEVC.
30636
f1a24198
AJ
30637 [BZ #15085]
30638 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
30639 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
30640 unimplemented.
30641
9ce3b2cb
AJ
30642 [BZ #15380]
30643 * stdlib/random.c (__initstate): Return NULL if
30644 __initstate fails.
30645
f1a24198 30646 [BZ #15086]
b1a36ceb
AJ
30647 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
30648 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
30649 RES_SNGLKUPREOP.
30650
7e7b6f36
AZ
306512013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30652
30653 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30654
4d14f449
JM
306552013-04-29 Joseph Myers <joseph@codesourcery.com>
30656
30657 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
30658 of individual tests.
30659 (casin_test): Likewise.
30660 (casinh_test): Likewise.
30661
5b4217d7
JM
306622013-04-27 Joseph Myers <joseph@codesourcery.com>
30663
30664 [BZ #15409]
30665 * math/s_catan.c (__catan): Handle arguments with large real or
30666 imaginary part separately without squaring.
30667 * math/s_catanf.c (__catanf): Likewise.
30668 * math/s_catanh.c (__catanh): Likewise.
30669 * math/s_catanhf.c (__catanhf): Likewise.
30670 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
30671 and redefine.
30672 (__catanhl): Handle arguments with large real or imaginary part
30673 separately without squaring.
30674 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
30675 and redefine.
30676 (__catanl): Handle arguments with large real or imaginary part
30677 separately without squaring.
30678 * math/libm-test.inc (catan_test): Add more tests.
30679 (catanh_test): Likewise.
30680 * sysdeps/i386/fpu/libm-test-ulps: Update.
30681 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30682
4220c3ef
AJ
306832013-04-27 Andreas Jaeger <aj@suse.de>
30684
30685 [BZ #15007]
30686 * stdlib/stdlib.h: Update guards for qecvt.
30687 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
30688 <stdlib.h>.
30689
4721b2d1
AM
306902013-04-27 Allan McRae <allan@archlinux.org>
30691
30692 * sysdeps/i386/fpu/libm-test-ulps: Update.
30693
f0302940
JM
306942013-04-26 Joseph Myers <joseph@codesourcery.com>
30695
9457fd95
JM
30696 [BZ #15406]
30697 * math/s_catan.c: Include <float.h>.
30698 (__catan): Ensure underflow exception occurs for underflowed
30699 result.
30700 * math/s_catanf.c: Include <float.h>.
30701 (__catanf): Ensure underflow exception occurs for underflowed
30702 result.
30703 * math/s_catanh.c: Include <float.h>.
30704 (__catanh): Ensure underflow exception occurs for underflowed
30705 result.
30706 * math/s_catanhf.c: Include <float.h>.
30707 (__catanhf): Ensure underflow exception occurs for underflowed
30708 result.
30709 * math/s_catanhl.c: Include <float.h>.
30710 (__catanhl): Ensure underflow exception occurs for underflowed
30711 result.
30712 * math/s_catanl.c: Include <float.h>.
30713 (__catanl): Ensure underflow exception occurs for underflowed
30714 result.
30715 * math/libm-test.inc (catan_test): Add more tests.
30716 (catanh_test): Likewise.
30717
f0302940
JM
30718 [BZ #15405]
30719 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
30720 underflowed result.
30721 * math/s_ccoshf.c (__ccoshf): Likewise.
30722 * math/s_ccoshl.c (__ccoshl): Likewise.
30723 * math/s_csin.c (__csin): Likewise.
30724 * math/s_csinf.c (__csinf): Likewise.
30725 * math/s_csinh.c (__csinh): Likewise.
30726 * math/s_csinhf.c (__csinhf): Likewise.
30727 * math/s_csinhl.c (__csinhl): Likewise.
30728 * math/s_csinl.c (__csinl): Likewise.
30729 * math/libm-test.inc (ccos_test): Add more tests.
30730 (ccosh_test): Likewise.
30731 (csin_test): Likewise.
30732 (csinh_test): Likewise.
30733
aa630f59
AZ
307342013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30735
30736 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
30737 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
30738 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
30739 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
30740 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
30741 powerpc/power5+/fpu folders.
30742 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
30743
30744
1b835983
MT
307452013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
30746
30747 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30748
73709b26
JM
307492013-04-25 Joseph Myers <joseph@codesourcery.com>
30750
30751 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
30752 additions to variable.
30753 [$(config-machine) = x86_64] (modules-names): Likewise.
30754 ($(objpfx)tst-audit3): Remove dependency.
30755 ($(objpfx)tst-audit3.out): Likewise.
30756 ($(objpfx)tst-audit4): Likewise.
30757 ($(objpfx)tst-audit4.out): Likewise.
30758 ($(objpfx)tst-audit5): Likewise.
30759 ($(objpfx)tst-audit5.out): Likewise.
30760 ($(objpfx)tst-audit6): Likewise.
30761 ($(objpfx)tst-audit6.out): Likewise.
30762 ($(objpfx)tst-audit7): Likewise.
30763 ($(objpfx)tst-audit7.out): Likewise.
30764 (tst-audit3-ENV): Remove variable.
30765 (tst-audit4-ENV): Likewise.
30766 (tst-audit5-ENV): Likewise.
30767 (tst-audit6-ENV): Likewise.
30768 (tst-audit7-ENV): Likewise.
30769 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
30770 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
30771 addition to variable.
30772 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
30773 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
30774 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
30775 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
30776 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
30777 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
30778 tst-audit3, tst-audit4 and tst-audit5.
30779 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
30780 tst-audit6 and tst-audit7.
30781 [$(subdir) = elf] (modules-names): Add audit modules for those
30782 tests.
30783 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
30784 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
30785 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
30786 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
30787 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
30788 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
30789 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
30790 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
30791 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
30792 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
30793 [$(subdir) = elf] (tst-audit3-ENV): New variable.
30794 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
30795 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
30796 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
30797 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
30798 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
30799 Likewise.
30800 [$(subdir) = elf && $(config-cflags-avx) = yes]
30801 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
30802 [$(subdir) = elf && $(config-cflags-avx) = yes]
30803 (CFLAGS-tst-auditmod4a.c): Likewise.
30804 [$(subdir) = elf && $(config-cflags-avx) = yes]
30805 (CFLAGS-tst-auditmod4b.c): Likewise.
30806 [$(subdir) = elf && $(config-cflags-avx) = yes]
30807 (CFLAGS-tst-auditmod6b.c): Likewise.
30808 [$(subdir) = elf && $(config-cflags-avx) = yes]
30809 (CFLAGS-tst-auditmod6c.c): Likewise.
30810 [$(subdir) = elf && $(config-cflags-avx) = yes]
30811 (CFLAGS-tst-auditmod7b.c): Likewise.
30812 * elf/tst-audit3.c: Move to ...
30813 * sysdeps/x86_64/tst-audit3.c: ... here.
30814 * elf/tst-audit4.c: Move to ...
30815 * sysdeps/x86_64/tst-audit4.c: ... here.
30816 * elf/tst-audit5.c: Move to ...
30817 * sysdeps/x86_64/tst-audit5.c: ... here.
30818 * elf/tst-audit6.c: Move to ...
30819 * sysdeps/x86_64/tst-audit6.c: ... here.
30820 * elf/tst-audit7.c: Move to ...
30821 * sysdeps/x86_64/tst-audit7.c: ... here.
30822 * elf/tst-auditmod3a.c: Move to ...
30823 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
30824 * elf/tst-auditmod3b.c: Move to ...
30825 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
30826 * elf/tst-auditmod4a.c: Move to ...
30827 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
30828 * elf/tst-auditmod4b.c: Move to ...
30829 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
30830 * elf/tst-auditmod5a.c: Move to ...
30831 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
30832 * elf/tst-auditmod5b.c: Move to ...
30833 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
30834 * elf/tst-auditmod6a.c: Move to ...
30835 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
30836 * elf/tst-auditmod6b.c: Move to ...
30837 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
30838 * elf/tst-auditmod6c.c: Move to ...
30839 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
30840 * elf/tst-auditmod7a.c: Move to ...
30841 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
30842 * elf/tst-auditmod7b.c: Move to ...
30843 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
30844
1ef74943
PP
308452013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
30846
30847 [BZ #15366]
30848 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
30849 define unconditionally.
30850 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
30851 define unconditionally.
30852 (INT8_C, INT16_C, etc.): Likewise.
30853
93fd48c5
MR
308542013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
30855
ae9552cf
MR
30856 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
30857 __ehdr_start with hidden visibility.
30858
93fd48c5
MR
30859 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
30860
418601aa
CD
308612013-04-24 Carlos O'Donell <carlos@redhat.com>
30862
30863 * math/libm-test.inc (cos_test): Use accurate hex constants.
30864 (sincost_test): Likewise.
30865
2f38fbfe
JM
308662013-04-24 Joseph Myers <joseph@codesourcery.com>
30867
5e221800
JM
30868 * math/libm-test.inc (catan_test): Add more tests.
30869 (catanh_test): Likewise.
30870
77f143fd
JM
30871 * math/s_catanf.c (__catanf): Use suffixed floating-point
30872 constants.
30873 * math/s_catanhf.c (__catanhf): Likewise.
30874 * math/s_catanhl.c (__catanhl): Likewise.
30875 * math/s_catanl.c (__catanl): Likewise.
30876
2f38fbfe
JM
30877 [BZ #15394]
30878 * math/s_catan.c (__catan): Calculate imaginary part of result
30879 with log1p not log unless computing log of number close to 0.
30880 * math/s_catanf.c (__catanf): Likewise.
30881 * math/s_catanl.c (__catanl): Likewise.
30882 * math/s_catanh.c (__catanh): Calculate real part of result with
30883 log1p not log unless computing log of number close to 0.
30884 * math/s_catanhf.c (__catanhf): Likewise.
30885 * math/s_catanhl.c (__catanhl): Likewise.
30886 * math/libm-test.inc (catan_test): Add more tests.
30887 (catanh_test): Likewise.
30888 * sysdeps/i386/fpu/libm-test-ulps: Update.
30889 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30890
45d69176
SP
308912013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
30892
30893 * benchtests/Makefile: Mention files in which fast and slow
30894 paths of math functions are implemented.
30895
87f51853
RM
308962013-04-23 Roland McGrath <roland@hack.frob.com>
30897
30898 * sysdeps/posix/timespec_get.c: New file.
30899
3c026539
AZ
309002013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30901
30902 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
30903 POWER.
30904 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
30905 for POWER.
30906 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
30907 powerpc/power5/fpu folders.
30908 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
30909 * benchtests/Makefile: Add modf testcase.
30910 * benchtests/bench-modf.c: New file: Benchmark test for mo
30911
ff491d14
SP
309122013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
30913
30914 [BZ #14888]
30915 * time/Makefile (tests): Add tst-strptime-whitespace.
30916 * time/strptime_l.c (get_number): Use ISSPACE.
30917 (__strptime_internal): Likewise.
30918 * time/tst-strptime-whitespace.c: New test case.
30919
7ed3f4e8
AS
309202013-04-23 Andreas Schwab <schwab@linux-m68k.org>
30921
30922 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
30923 member.
30924 (_nss_files_init): Set it here.
30925
5c95f7b6
HC
309262013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
30927
30928 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
30929 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
30930 unsigned.
30931
d34c9158
JBG
309322013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
30933
30934 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
30935
2169712d
SP
309362013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
30937
30938 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
30939 size just once.
30940
29c5de99
DM
309412013-04-21 David S. Miller <davem@davemloft.net>
30942
30943 * po/ru.po: Update Russion translation from translation project.
30944
ccdad15d
AC
309452013-04-17 Adam Conrad <adconrad@0c3.net>
30946
30947 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
30948 and setfsgid.
30949
0f122b8d
CD
309502013-04-17 Carlos O'Donell <carlos@redhat.com>
30951
5c5b07da 30952 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 30953 * configure: Regenerate.
5c5b07da 30954 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
30955 Add example to error message.
30956 * sysdeps/i386/configure: Regenerate.
30957
037714dd
SP
309582013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
30959
30960 * benchtests/Makefile (bench): Add cos, tan, slowcos and
30961 slowtan.
30962 * benchtests/cos-inputs: New file.
30963 * benchtests/slowcos-inputs: New file.
30964 * benchtests/slowcos.c: New file.
30965 * benchtests/slowtan-inputs: New file.
30966 * benchtests/slowtan.c: New file.
30967 * benchtests/tan-inputs: New file.
30968
e913141d
RM
309692013-04-16 Roland McGrath <roland@hack.frob.com>
30970
30971 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
30972 considered kosher.
30973
a2964074
SP
309742013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
30975
4856bcd2
SP
30976 * benchtests/Makefile: Include cppflags-iterator.mk to add
30977 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
30978
a2964074
SP
30979 * Makefile.in (bench-clean): New target.
30980 * benchtests/Makefile (bench-clean): Likewise.
30981
9fbf9aca
DH
309822013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
30983
30984 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
30985
207d1e2a
TS
309862013-04-15 Thomas Schwinge <thomas@codesourcery.com>
30987
30988 * stdio-common/tstdiomisc.c: Fix coding-style violation.
30989
306dfba9
AS
309902013-04-15 Andreas Schwab <schwab@suse.de>
30991
30992 * nscd/grpcache.c (cache_addgr): Properly check for short write.
30993 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30994 * nscd/pwdcache.c (cache_addpw): Likewise.
30995 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
30996 more than recsize.
30997
206a6699
SP
309982013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30999
31000 * benchtests/Makefile (bench): Write all output to
31001 bench-out.tmp together.
31002
0582f6b3
AS
310032013-04-15 Andreas Schwab <schwab@suse.de>
31004
31005 * nscd/nscd.c (main): Don't fork again after closing files.
31006
acb4325f
SP
310072013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
31008
5cb26d0a
SP
31009 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
31010
acb4325f
SP
31011 * benchtests/Rules (bench-deps): Collect dependencies into a
31012 single variable. Add Makefile to dependencies.
31013 ($(objpfx)bench-%.c): Depend on bench-deps.
31014
47792506
RM
310152013-04-12 Roland McGrath <roland@hack.frob.com>
31016 Xavier Roche <roche+kml2@exalead.com>
31017
31018 [BZ #15361]
31019 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
31020 just that it's a file descriptor.
31021 * manual/llio.texi (Synchronizing AIO Operations): Update description
31022 for EBADF error from aio_fsync.
31023
8fc1bee5
SP
310242013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
31025
31026 * Rules (bench): Move target definition...
31027 * benchtests/Makefile: ... here.
31028
aba5e333
CD
310292013-04-11 Carlos O'Donell <carlos@redhat.com>
31030
31031 * math/libm-test.inc (cos_test): Fix PI/2 test.
31032 (sincos_test): Likewise.
31033 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
31034 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
31035
273cdee8
AS
310362013-04-11 Andreas Schwab <schwab@suse.de>
31037
6ecec3b6
AS
31038 [BZ #13988]
31039 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
31040 accept exponent character only when digits were seen.
31041 * stdio-common/Makefile (tests): Add bug26.
31042 * stdio-common/bug26.c: New file.
31043
273cdee8
AS
31044 [BZ #14293]
31045 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
31046 non-freeable.
31047
8da491f5
SP
310482013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
31049
01dc6df9
SP
31050 * Makeconfig (rtld-prefix): Define built linker prefix.
31051 * Rules (run-bench): Use it.
31052 * math/Makefile (run-regen-ulps): Likewise.
31053
8da491f5
SP
31054 * Rules (bench): Remove eval.
31055
abe7f530
SP
310562013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
31057 Roland McGrath <roland@hack.frob.com>
31058 Ondrej Bilka <neleai@seznam.cz>
31059
31060 [BZ #15346]
31061 * time/getdate.c: Include ctype.h and alloca.h.
31062 (__getdate_r): Trim leading and trailing spaces of input.
31063 * time/tst-getdate.c (tests): Add tests with leading and
31064 trailing spaces.
31065
61c23e62
RM
310662013-04-08 Roland McGrath <roland@hack.frob.com>
31067
31068 [BZ #14280]
31069 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
31070 when computing value.
31071
7208a313
CD
310722013-04-06 Carlos O'Donell <carlos@redhat.com>
31073
085b2d41
CD
31074 * math/README.libm-test (How can I generate "libm-test-ulps"?):
31075 Use testrun.sh to run libm tests.
31076
7208a313
CD
31077 [BZ #15309]
31078 * elf/dl-open.c (dl_open_worker): memset all of seen array.
31079
872c0acd
MM
310802013-04-06 Marko Myllynen <myllynen@redhat.com>
31081
31082 [BZ #15264]
31083 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
31084
26510bdd
CD
310852013-04-06 Carlos O'Donell <carlos@redhat.com>
31086
31087 * Makefile.in (regen-ulps): New target.
31088 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
31089 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
31090 [ifneq (no,$(PERL)] (regen-ulps): New target.
31091 [ifeq (no,$(PERL)] (regen-ulps): New target.
31092 * math/libm-test.inc (ulps_file_name): Define.
31093 (output_dir): New variable.
31094 (options): Add "output-dir" option.
31095 (parse_opt): Handle 'o' case.
31096 (main): If output_dir is non-NULL use it as a prefix
31097 otherwise use "".
31098 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
31099
a01f19c8
CD
311002013-04-06 Carlos O'Donell <carlos@redhat.com>
31101
31102 [BZ #10060, #10062]
31103 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
31104 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
31105 fail configure if __sync_val_compare_and_swap is not inlined.
31106 * sysdeps/i386/configure: Regenerate.
31107 * configure.in: Build for i686 when configured for i386.
31108 * configure: Regenerate.
31109 * README: Remove i386 reference.
31110
b7a329a5
CD
311112013-04-06 Carlos O'Donell <carlos@redhat.com>
31112
31113 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
31114 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31115
bf0f50df
TS
311162013-04-05 Thomas Schwinge <thomas@codesourcery.com>
31117
ee091edf
TS
31118 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
31119 (lmsnanval): New variables.
31120 (F): Add conversion tests.
31121 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
31122 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
31123
a8b792d6
TS
31124 * stdio-common/tstdiomisc.c (F): Properly collect individual
31125 tests' results.
31126
a1cbf437
TS
31127 [BZ #14686, #15336]
31128 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
31129 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
31130 Instead, use input NaN values or generate a qNaN by arithmetic
31131 operation. Also fix bugs to comply with the standard.
31132 * math/libm-test.inc (remainder_test): Add more tests.
31133
8b43a0c9
TS
31134 [BZ #15335, #15342]
31135 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
31136 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
31137 input NaN values or generate a qNaN by arithmetic operation.
31138
d91da4ce
TS
31139 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
31140 unreachable code.
31141
bf0f50df
TS
31142 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
31143 definitions.
31144
05e166c8
JM
311452013-04-03 Joseph Myers <joseph@codesourcery.com>
31146
31147 [BZ #14478]
31148 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
31149 underflowed result.
31150 * math/s_cexpf.c (__cexpf): Likewise.
31151 * math/s_cexpl.c (__cexpl): Likewise.
31152 * math/libm-test.inc (cexp_test): Add more tests.
31153
1cef1b19
AS
311542013-04-03 Andreas Schwab <schwab@suse.de>
31155
31156 [BZ #15330]
31157 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
31158 order arrays from heap if bigger than alloca cutoff.
31159
74d87055
TS
311602013-04-03 Thomas Schwinge <thomas@codesourcery.com>
31161
31162 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
31163 (SNAN_TESTS_double): Refer to GCC PR56831.
31164 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
31165 GCC PR56828.
31166
d755bba4
SP
311672013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
31168
90d5d5bb
SP
31169 * Rules (bench): Move bench.out after the run is complete.
31170
73e0cd5d
SP
31171 * Rules (bench): Echo currently running benchmark.
31172
64aabd4b
SP
31173 * benchtests/Makefile (bench): Add atan and slowatan.
31174 * benchtests/atan-inputs: New file.
31175 * benchtests/slowatan-inputs: New file.
31176 * benchtests/slowatan.c: New file.
31177
c871eccd
SP
31178 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
31179 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
31180 its value.
31181
d755bba4
SP
31182 [BZ #15305]
31183 * sysdeps/unix/sysv/linux/kernel-features.h
31184 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
31185 __ASSUME_XFS_RESTRICTED_CHOWN.
31186 * sysdeps/unix/sysv/linux/pathconf.c
31187 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
31188 Save and restore errno.
31189
52ce4860
JM
311902013-04-02 Joseph Myers <joseph@codesourcery.com>
31191
31192 [BZ #15327]
31193 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
31194 arguments using __kernel_casinh.
31195 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
31196 arguments using __kernel_casinhf.
31197 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
31198 arguments using __kernel_casinhl.
31199 * math/libm-test.inc (cacosh_test): Add more tests.
31200 * sysdeps/i386/fpu/libm-test-ulps: Update.
31201 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31202
81f311c2
SP
312032013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
31204
e7906a47
SP
31205 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
31206 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
31207
92e3664b
SP
31208 * bench/Makefile (bench): Add sin and slowsin.
31209 * benchtests/sin-inputs: New file.
31210 * benchtests/slowsin-inputs: New file.
31211 * benchtests/slowsin.c: New file.
31212
81f311c2
SP
31213 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
31214 (bench): Add slowexp and slowpow.
31215 (exp-ITER): Increase iterations.
31216 (pow-ITER): Likewise.
31217 * benchtests/exp-inputs: Change input.
31218 * benchtests/pow-inputs: Likewise.
31219 * benchtests/slowexp-inputs: New file.
31220 * benchtests/slowexp.c: New file.
31221 * benchtests/slowpow-inputs: New file.
31222 * benchtests/slowpow.c: New file.
31223
ab0f1aa9
AZ
312242013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31225
31226 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
31227 instructions.
31228 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
31229 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
31230 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
31231 * benchtests/Makefile: Add rint benchtest.
31232 * benchtests/rint-inputs: Input for rint benchtest.
31233
57267616
TS
312342013-04-02 Thomas Schwinge <thomas@codesourcery.com>
31235
31236 * Versions.def (libm): Add GLIBC_2.18.
31237 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
31238 hidden libm prototypes.
31239 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
31240 * math/Makefile (libm-calls): Add s_issignaling.
31241 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
31242 __issignalingf, __issignalingl. Adjust all libm.abilist files.
31243 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
31244 declaration.
31245 * math/math.h [__USE_GNU] (issignaling): New macro.
31246 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
31247 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
31248 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
31249 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
31250 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
31251 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
31252 * manual/arith.texi (issignaling): New section.
31253 * manual/libm-err-tab.pl (@all_functions): Update comment.
31254 * math/gen-libm-test.pl (parse_args): Apply special handling for
31255 issignaling.
31256 * math/libm-test.inc (print_float, issignaling_test): New
31257 functions.
31258 (check_float_internal): Add issignaling checks.
31259 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
31260 default definition.
31261 * sysdeps/powerpc/math-tests.h: New file.
31262 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
31263 tests.
31264 * math/test-snan.c (TEST_FUNC): Likewise.
31265
6142896d
DM
312662013-03-30 David S. Miller <davem@davemloft.net>
31267
31268 * po/de.po: Update from translation team.
31269
ccc8cadf
JM
312702013-03-30 Joseph Myers <joseph@codesourcery.com>
31271
31272 [BZ #10357]
31273 * math/k_casinh.c (__kernel_casinh): Handle arguments with
31274 imaginary part less than 1.0 and real part less than 0.5
31275 specially.
31276 * math/k_casinhf.c (__kernel_casinhf): Likewise.
31277 * math/k_casinhl.c (__kernel_casinhl): Likewise.
31278 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
31279 (cacos_test): Add more tests.
31280 (casin_test): Likewise.
31281 (casinh_test): Likewise.
31282 * sysdeps/i386/fpu/libm-test-ulps: Update.
31283 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31284
0f6a8d4b
SP
312852013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
31286
0d1029de
SP
31287 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
31288 ONE with its value.
31289
c2d94018
SP
31290 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
31291 (__pow_mp): Replace ONE and MONE with their values.
31292 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
31293 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
31294 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
31295 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
31296 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
31297 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
31298
27ec37f1
SP
31299 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
31300
a64d7e0e
SP
31301 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
31302 (__pow_mp): Replace ZERO and MZERO with their values.
31303 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
31304 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
31305 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
31306 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
31307 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
31308 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
31309 (__sqr): Likewise.
31310
d26dd3eb
SP
31311 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
31312
0f6a8d4b
SP
31313 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
31314
e57b0c61
RM
313152013-03-28 Roland McGrath <roland@hack.frob.com>
31316
31317 * include/stdlib.h [!SHARED] (__call_tls_dtors):
31318 Declare with __attribute__ ((weak)).
31319 * stdlib/exit.c (__libc_atexit) [!SHARED]:
31320 Call __call_tls_dtors only if it's not NULL.
31321
356b3480
RM
313222013-03-28 Roland McGrath <roland@hack.frob.com>
31323
288f7d79
RM
31324 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
31325 didn't do it already, then set _dl_phdr and _dl_phnum based on the
31326 magic __ehdr_start linker symbol if it's defined.
31327 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
31328 them up here if it was already done.
31329
dc0a0263
RM
31330 * elf/dl-support.c (_dl_phdr): Make pointer to const.
31331 (_dl_aux_init): Use const in cast when setting it.
31332 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
31333 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
31334 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
31335
3d3436ae
RM
31336 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
31337 Declare them here.
31338 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
31339 * csu/libc-tls.c: Nor here.
31340 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
31341
356b3480
RM
31342 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
31343 (__libc_message): Never call vsyslog.
31344
b0f1246a
AM
313452013-03-28 Alan Modra <amodra@gmail.com>
31346
31347 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
31348 Define as empty.
31349 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
31350 Likewise.
31351
fbbe2b9a
AZ
313522013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31353
31354 [BZ #15214]
31355 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
31356 underflow.
31357 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31358
1728ab37
SP
313592013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31360
7a86be6e
SP
31361 [BZ #15304]
31362 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
31363 Don't add gid passed as argument.
31364
1728ab37
SP
31365 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
31366
3a7182a1
JM
313672013-03-27 Joseph Myers <joseph@codesourcery.com>
31368
31369 [BZ #15307]
31370 * math/k_casinh.c (__kernel_casinh): Handle arguments with
31371 imaginary part between 1.0 and 1.5 and real part less than 0.5
31372 specially.
31373 * math/k_casinhf.c (__kernel_casinhf): Likewise.
31374 * math/k_casinhl.c (__kernel_casinhl): Likewise.
31375 * math/libm-test.inc (cacos_test): Add more tests.
31376 (casin_test): Likewise.
31377 (casinh_test): Likewise.
31378 * sysdeps/i386/fpu/libm-test-ulps: Update.
31379 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31380
6f2e90e7
SP
313812013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31382
5739f705
SP
31383 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
31384 constants.
31385 (norm): Likewise.
31386 (denorm): Likewise.
31387 (__dbl_mp): Likewise.
31388 (add_magnitudes): Likewise.
31389 (sub_magnitudes): Likewise.
31390 (__add): Likewise.
31391 (__sub): Likewise.
31392 (__mul): Likewise.
31393 (__sqr): Likewise.
31394 (__inv): Likewise.
31395 (__dvd): Likewise.
31396
e375e83d
SP
31397 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
31398 commented code.
31399 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
31400 (__dubcos): Likewise.
31401 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
31402 (__ieee754_acos): Likewise.
31403 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
31404 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
31405 (__exp1): Likewise.
31406 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
31407 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
31408 (log1): Likewise.
31409 (my_log2): Likewise.
31410 (checkint): Likewise.
31411 * sysdeps/ieee754/dbl-64/e_remainder.c
31412 (__ieee754_remainder): Likewise.
31413 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
31414 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
31415 (bsloww): Likewise.
31416 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
31417
6f2e90e7
SP
31418 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
31419 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
31420 MANTISSA_STORE_T to store computations on mantissa. Use
31421 macros for rounding and division.
31422 (denorm): Likewise.
31423 (__dbl_mp): Likewise.
31424 (add_magnitudes): Likewise.
31425 (sub_magnitudes): Likewise.
31426 (__mul): Likewise.
31427 (__sqr): Likewise.
31428 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
31429 powers of two in terms of TWOPOW macro.
31430 (mp_no): Make type of mantissa as MANTISSA_T.
31431 [!RADIXI]: Define RADIXI.
31432 [!TWO52]: Define TWO52.
31433 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
31434
fce14d4e
AZ
314352013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31436
31437 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
31438 llroundl symbol when building for PPC32.
31439
9ad027fb
MW
314402013-03-24 Mark H Weaver <mhw@netris.org>
31441
31442 * manual/arith.texi (Normalization Functions): Fix prototypes for
31443 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
31444
e42a38dd
AZ
314452013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31446
31447 [BZ #13889]
31448 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
31449 high value to check if expl overflow.
31450 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
31451 to check for underflow and overflow.
31452 * math/libm-test.inc: Add exp test.
31453
2e0fb521
DL
314542013-03-21 Dmitry V. Levin <ldv@altlinux.org>
31455
31456 [BZ #11120]
31457 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
31458 with NOT_IN_libc.
31459
b5784d95
AZ
314602013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31461
31462 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
31463 symbol.
31464
5aa4a1a1
TS
314652013-03-21 Thomas Schwinge <thomas@codesourcery.com>
31466
bdef0be7
TS
31467 * math/gen-libm-test.pl (parse_args, special_functions): Properly
31468 wrap blocks consisting of several statements.
31469
5aa4a1a1
TS
31470 * sysdeps/generic/math-tests.h: New file.
31471 * sysdeps/i386/fpu/math-tests.h: Likewise.
31472 * math/test-snan.c: Include it.
31473 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
31474
98c48fe5
JM
314752013-03-21 Joseph Myers <joseph@codesourcery.com>
31476
31477 [BZ #15285]
31478 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
31479 (__ieee754_j0l): Do not improve calculations using cos of twice
31480 input for inputs above LDBL_MAX / 2.0L.
31481 (__ieee754_y0l): Likewise.
31482 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
31483 (__ieee754_j1l): Do not improve calculations using cos of twice
31484 input for inputs above LDBL_MAX / 2.0L.
31485 (__ieee754_y1l): Likewise.
31486 * math/libm-test.inc (j0_test): Add another test.
31487 (j1_test): Likewise.
31488 (y0_test): Likewise.
31489 (y1_test): Likewise.
31490 * sysdeps/i386/fpu/libm-test-ulps: Update.
31491
3775a8bc
SP
314922013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
31493
31494 * Rules ($(objpfx)bench-%.c): Include code from a C source
31495 file.
31496
0a1b2ae6
JM
314972013-03-21 Joseph Myers <joseph@codesourcery.com>
31498
31499 [BZ #15287]
31500 * math/k_casinh.c (__kernel_casinh): Handle arguments with
31501 imaginary part 1.0 and real part less than 0.5 specially.
31502 * math/k_casinhf.c (__kernel_casinhf): Likewise.
31503 * math/k_casinhl.c (__kernel_casinhl): Likewise.
31504 * math/libm-test.inc (cacos_test): Add more tests.
31505 (casin_test): Likewise.
31506 (casinh_test): Likewise.
31507 * sysdeps/i386/fpu/libm-test-ulps: Update.
31508 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31509
b33d4ce4
SP
315102013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
31511
31512 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
31513 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
31514
bef0b507
JM
315152013-03-20 Joseph Myers <joseph@codesourcery.com>
31516
31517 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
31518 * config.make.in (config-cflags-sse4): Remove variable.
31519 (config-cflags-avx): Likewise.
31520 (config-cflags-sse2avx): Likewise.
31521 (config-cflags-novzeroupper): Likewise.
31522 (config-asflags-i686): Likewise.
31523 (have-mfma4): Likewise.
31524 (have-as-vis3): Likewise.
31525 (MIG): Likewise.
31526 * configure.in (MIG): Do not AC_SUBST.
31527 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
31528 (libc_cv_cc_sse4): Do not AC_SUBST.
31529 (libc_cv_cc_avx): Likewise.
31530 (libc_cv_cc_sse2avx): Likewise.
31531 (libc_cv_cc_novzeroupper): Likewise.
31532 (libc_cv_cc_fma4): Likewise.
31533 (libc_cv_as_i686): Likewise.
31534 (libc_cv_sparc_as_vis3): Likewise.
31535 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
31536 LIBC_CONFIG_VAR.
31537 (config-asflags-i686): Likewise.
31538 (config-cflags-avx): Likewise.
31539 (config-cflags-sse2avx): Likewise.
31540 (have-mfma4): Likewise.
31541 (config-cflags-novzeroupper): Likewise.
31542 * sysdeps/mach/configure.in (MIG): Likewise.
31543 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
31544 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
31545 LIBC_CONFIG_VAR.
31546 (config-cflags-avx): Likewise.
31547 (config-cflags-sse2avx): Likewise.
31548 (have-mfma4): Likewise.
31549 (config-cflags-novzeroupper): Likewise.
31550 * configure: Regenerated.
31551 * sysdeps/i386/configure: Likewise.
31552 * sysdeps/mach/configure: Likewise.
31553 * sysdeps/sparc/configure: Likewise.
31554 * sysdeps/x86_64/configure: Likewise.
31555
912cc4b3
RM
315562013-03-20 Roland McGrath <roland@hack.frob.com>
31557
31558 [BZ #14812]
31559 * locale/programs/localedef.c (options): Put N_ translation marker
31560 on argument names, not just descriptions.
31561
04eed2b0
MS
315622013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31563
31564 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
31565
a065ceff
OB
315662013-03-20 Ondřej Bílka <neleai@seznam.cz>
31567
9bb2a810 31568 [BZ #14176]
a065ceff
OB
31569 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
31570
a600e5ce
RM
315712013-03-19 Roland McGrath <roland@hack.frob.com>
31572
31573 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
31574 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
31575 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
31576 [!BEFORE_ABORT] (before_abort): New function.
31577 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
31578 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
31579 (writev_for_fatal): New function.
31580 (WRITEV_FOR_FATAL): New macro; call that.
31581 (backtrace_and_maps): New function.
31582 (BEFORE_ABORT): New macro; call that.
31583 (struct str_list): Type removed.
31584 (__libc_message, __libc_fatal): Functions removed.
31585 Include <sysdeps/posix/libc_fatal.c> instead.
31586
6b18bea6
JM
315872013-03-19 Joseph Myers <joseph@codesourcery.com>
31588
31589 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
31590 constants.
31591 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
31592 double constants.
31593
aaa8cb4b
AS
315942013-03-19 Andreas Schwab <schwab@suse.de>
31595
44673770
AS
31596 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
31597 * sysdeps/gnu/configure: Regenerate.
31598
aaa8cb4b
AS
31599 * configure.in: Substitute libc_cv_rtlddir.
31600 * configure: Regenerate.
31601 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
31602 * Makeconfig (rtlddir, inst_rtlddir): New variables.
31603 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
31604 * elf/Makefile (install-others, CFLAGS-interp.c)
31605 (ldso_install, common-ldd-rewrite): Likewise.
31606 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
31607 $(inst_slibdir)/$(rtld-installed-name).
31608 * scripts/rellns-sh: Add -p option.
31609 * Makerules (make-shlib-link): Use rellns-sh to get relative name
31610 for source.
31611
d3cfc668
SP
316122013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
31613
31614 * manual/nptl.texi: Renamed to ...
31615 * manual/threads.texi: ... this.
31616 * manual/Makefile (chapters): Update.
31617
0e2b9cdd
RM
316182013-03-18 Roland McGrath <roland@hack.frob.com>
31619
31620 [BZ #14812]
31621 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
31622 on argument names, not just descriptions.
0e2b9cdd
RM
31623 * malloc/memusagestat.c (options): Likewise.
31624 * nss/getent.c (options): Likewise.
63270c24
RM
31625
316262013-03-18 Benno Schulenberg <bensberg@justemail.net>
31627
31628 [BZ #14812]
31629 * iconv/iconv_prog.c (options): Put N_ translation marker
31630 on argument names, not just descriptions.
31631 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 31632
b2e1393c
OB
316332013-03-18 Ondrej Bilka <neleai@seznam.cz>
31634
31635 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
31636 implementation which is faster on all x86_64 architectures.
31637 Tested on AMD, Intel Nehalem, SNB, IVB.
31638 * sysdeps/x86_64/strnlen.S: Likewise.
31639
31640 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
31641 Remove all multiarch strlen and strnlen versions.
31642 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
31643 Remove strlen and strnlen related parts.
31644
31645 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
31646 Inline strlen part.
31647 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
31648
31649 * sysdeps/x86_64/multiarch/strlen.S: Remove.
31650 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
31651 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
31652 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
31653 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
31654 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
31655
ec4ff04d
CD
316562013-03-17 Carlos O'Donell <carlos@redhat.com>
31657
31658 * manual/memory.texi (Malloc Tunable Parameters):
31659 Sort parameters alphabetically. Add comments for missing entries.
31660
cd18e90a
DM
316612013-03-17 David S. Miller <davem@davemloft.net>
31662
31663 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31664
2a185d32
JM
316652013-03-16 Joseph Myers <joseph@codesourcery.com>
31666
d2f9799e
JM
31667 [BZ #15283]
31668 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
31669 for arguments at most half maximum finite value.
31670 * math/libm-test.inc (j0_test): Add more tests.
31671 (j1_test): Likewise.
31672 (y0_test): Likewise.
31673 (y1_test): Likewise.
31674 * sysdeps/i386/fpu/libm-test-ulps: Update.
31675 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31676
2a185d32
JM
31677 [BZ #14155]
31678 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
31679 1 / x and functions P and Q for arguments above 0x1p256L.
31680 (__ieee754_y0l): Likewise.
31681 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
31682 (__ieee754_y1l): Likewise.
31683 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
31684 (j1_test): Likewise.
31685 (y0_test): Likewise.
31686 (y1_test): Likewise.
31687
6cbec759
TS
316882013-03-16 Thomas Schwinge <thomas@codesourcery.com>
31689
31690 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
31691 variable.
31692
bc16e260
RM
316932013-03-15 Roland McGrath <roland@hack.frob.com>
31694
aefc9b8c
RM
31695 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
31696 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
31697 zero since it's initialized to EXEC_PAGESIZE.
31698
bc16e260
RM
31699 * sysdeps/unix/sysv/linux/ldsodefs.h
31700 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
31701 * sysdeps/generic/ldsodefs.h: ... here.
31702
a57da955
TS
317032013-03-15 Thomas Schwinge <thomas@codesourcery.com>
31704
af00a34d
TS
31705 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
31706
495ded2c
TS
31707 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
31708 math/test-snan.c.
31709 * math/test-snan.c: Renamed from
31710 sysdeps/powerpc/fpu/test-powerpc-snan.c.
31711 * math/Makefile (tests): Add test-snan.
31712 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
31713 test-powerpc-snan.
31714
777b0332
TS
31715 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
31716 SUFFIX. Initialize qNaN_var with __builtin_nan family of
31717 functions.
31718 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
31719 __builtin_nan family of functions.
31720 * math/libm-test.inc (initialize): Initialize qnan_value with
31721 __builtin_nan family of functions.
31722 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
31723 Remove variables.
31724 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
31725 Remove functions.
31726 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
31727 storage class. Initialize qNaN_var and sNaN_var with
31728 __builtin_nan and __builtin_nans families of functions,
31729 respectively.
31730
64d063b8
TS
31731 * math/libm-test.inc (acosh_test): Also test with qNaN input.
31732 (sqrt_test): Remove duplicate test with qNaN input.
31733 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
31734 (round_test, signbit_test, significand_test): Note missing +/-Inf
31735 as well as qNaN tests.
31736
67e971f1
TS
31737 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
31738 qNaN_var. Fix a few strings, too.
31739 * math/libm-test.inc (nan_value): Rename to qnan_value.
31740 * math/gen-libm-test.pl (%beautify): Adjust to that.
31741 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
31742 * math/test-misc.c (main): Likewise.
31743 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
31744 to __qnan_bytes, and __qnan_union, respectively.
31745 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
31746 Likewise.
31747 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
31748 and lqnanval, respectively.
31749 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
31750 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
31751 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
31752 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
31753
64487e12
TS
31754 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
31755 * math/test-misc.c (main) [__x86_64__]: Enable test for long
31756 doubles.
31757
e015e27b
TS
31758 * math/test-misc.c (main): Fix copy'n'pastos.
31759 * misc/tst-efgcvt.c (special): Likewise.
31760
a57da955
TS
31761 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
31762 Remove declarations.
31763
1e380345
SP
317642013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
31765
31766 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
31767 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
31768 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
31769 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
31770
ef26eece
AZ
317712013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31772
31773 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
31774 macro to return vdso values correctly in IFUNC implementations.
31775 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
31776 Optimization by using IFUNC.
31777
8cfdb7e0
SP
317782013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
31779 Richard Henderson <rth@redhat.com>
31780 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31781
31782 * Makefile.in (bench): New target.
31783 * NEWS: Mention the benchmark framework.
31784 * Rules (bench): Likewise.
31785 (binaries-bench): Generate binaries for functions to
31786 benchmark.
31787 * benchtests/Makefile: New makefile for benchmark tests.
31788 * benchtests/bench-skeleton.c: New skeleton file for benchmark
31789 programs.
31790 * benchtests/exp-inputs: New input file for EXP function.
31791 * benchtests/pow-inputs: New input file for POW function.
31792 * scripts/bench.pl: New script to generate source files for
31793 benchmark programs.
31794
bcda9880
SP
317952013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
31796
d22ca8cd
SP
31797 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
31798 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
31799 computations on mantissa. Use macros for rounding and
31800 division.
31801 (denorm): Likewise.
31802 (__dbl_mp): Likewise.
31803 (add_magnitudes): Likewise.
31804 (sub_magnitudes): Likewise.
31805 (__mul): Likewise.
31806 (__sqr): Likewise.
31807 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
31808 powers of two in terms of TWOPOW macro.
31809 (mp_no): Make type of mantissa as MANTISSA_T.
31810 [!RADIXI]: Define RADIXI.
31811 [!TWO52]: Define TWO52.
31812 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
31813
bcda9880
SP
31814 * manual/nptl.texi (cindex): Modify threads to pthreads.
31815
06d5adfb
JM
318162013-03-15 Joseph Myers <joseph@codesourcery.com>
31817
31818 * sysdeps/x86_64/preconfigure: Regenerated.
31819
41c7328e
JM
318202013-03-14 Joseph Myers <joseph@codesourcery.com>
31821
31822 [BZ #14155]
31823 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
31824 0x1p28 and above.
31825 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
31826 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
31827 0x1p28 and above.
31828 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
31829 * math/libm-test.inc (j0_test): Do not allow one spurious
31830 underflow exception.
31831 (y1_test): Likewise.
31832
e25cfa60
SP
318332013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
31834
0409959c
SP
31835 * manual/Makefile (chapters): Add nptl.
31836 * manual/debug.texi (Debugging Support): Add link to Threads
31837 chapter.
31838 * manual/nptl.texi: New file.
31839
e25cfa60
SP
31840 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
31841
58a1335e
PB
318422013-03-14 Petr Baudis <pasky@ucw.cz>
31843
31844 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
31845 for non-NULL pointer before the memory validity test. Pointed
31846 out by Holger Brunck <holger.brunck@keymile.com>.
31847
9dc7c64f
AS
318482013-03-13 Andreas Schwab <schwab@suse.de>
31849
31850 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
31851 instead of .os.
31852
54206aa6
JM
318532013-03-13 Joseph Myers <joseph@codesourcery.com>
31854
31855 * timezone/zic.c: Update from tzcode 2013b.
31856
e98cdb38
CD
318572013-03-12 Carlos O'Donell <carlos@redhat.com>
31858
31859 * manual/install.texi (Configuring and compiling):
31860 Mention i686 and i586.
31861 * INSTALL: Regenerate.
31862
9967e003
RM
318632013-03-12 Roland McGrath <roland@hack.frob.com>
31864
31865 * sysdeps/init_array/elf-init.c: New file.
31866 * csu/elf-init.c
31867 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
31868 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
31869
31870 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
31871 __gmon_start__ as global, but as static with a .preinit_array pointer.
31872 * sysdeps/init_array/gmon-start.c: New file. Use that.
31873 * sysdeps/init_array/crti.S: New file, empty except for comments.
31874 * sysdeps/init_array/crtn.S: Likewise.
31875
e6b5a293 318762013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
31877
31878 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
31879 definining bcopy.
80f844c9
OB
31880 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31881 Remove Prefer_SSE_for_memop.
31882 * sysdeps/x86_64/multiarch/init-arch.h: Remove
31883 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
31884 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
31885 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
31886 memset-x86-64.
80f844c9 31887 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 31888 Remove bzero, memset ifunc support.
80f844c9
OB
31889 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
31890 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
31891 * sysdeps/x86_64/multiarch/memset.S: Likewise.
31892 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
31893
fb6b0fcb
AS
318942013-03-11 Andreas Schwab <schwab@suse.de>
31895
31896 [BZ #15234]
31897 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
31898 by SHLIB_COMPAT.
31899 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
31900 (GLIBC_2.16): Remove pthread_atfork.
31901
3e6bd4b1
PP
319022013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
31903
31904 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
31905 (ptestcases.h): Likewise.
31906
222d7f00
RM
319072013-03-08 Roland McGrath <roland@hack.frob.com>
31908
31909 * Makeconfig ($(common-objpfx)config.status): Depend on
31910 sysdeps/*/preconfigure{,.in} too.
31911
1ba4f030
JM
319122013-03-08 Joseph Myers <joseph@codesourcery.com>
31913
a222d91a
JM
31914 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
31915 (__free_hook): Use void * instead of __malloc_ptr_t.
31916 (__malloc_hook): Likewise.
31917 (__realloc_hook): Likewise.
31918 (__memalign_hook): Likewise.
31919 (__after_morecore_hook): Likewise.
31920 * malloc/arena.c (save_malloc_hook): Likewise.
31921 (save_free_hook): Likewise.
31922 * malloc/hooks.c (malloc_hook_ini): Likewise.
31923 (realloc_hook_ini): Likewise.
31924 (memalign_hook_ini): Likewise.
31925 * malloc/malloc.c (malloc_hook_ini): Likewise.
31926 (realloc_hook_ini): Likewise.
31927 (memalign_hook_ini): Likewise.
31928 (__free_hook): Likewise.
31929 (__malloc_hook): Likewise.
31930 (__realloc_hook): Likewise.
31931 (__memalign_hook): Likewise.
31932 (__libc_malloc): Likewise.
31933 (__libc_free): Likewise.
31934 (__libc_realloc): Likewise.
31935 (__libc_memalign): Likewise.
31936 (__libc_valloc): Likewise.
31937 (__libc_pvalloc): Likewise.
31938 (__libc_calloc): Likewise.
31939 (__posix_memalign): Likewise.
31940 * malloc/morecore.c (__sbrk): Likewise.
31941 (__default_morecore): Likewise.
31942
5cc45e10
JM
31943 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
31944
dd54b864
JM
31945 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
31946 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
31947 __malloc_ptrdiff_t.
31948
1ba4f030
JM
31949 * malloc/malloc.h (__malloc_size_t): Remove macro.
31950 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
31951 __malloc_size_t.
31952 (old_memalign_hook): Likewise.
31953 (old_realloc_hook): Likewise.
31954 (struct hdr): Likewise.
31955 (flood): Likewise.
31956 (mallochook): Likewise.
31957 (memalignhook): Likewise.
31958 (reallochook): Likewise.
31959 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
31960 (tr_old_realloc_hook): Likewise.
31961 (tr_old_memalign_hook): Likewise.
31962 (tr_mallochook): Likewise.
31963 (tr_reallochook): Likewise.
31964 (tr_memalignhook): Likewise.
31965
edf66e57
AZ
319662013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31967
31968 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
31969 default_ldbl_pack and using as default implementation.
31970 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
31971 implementation.
31972 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
31973 redundant definition.
31974 (ldbl_insert_mantissa): Likewise.
31975 (ldbl_canonicalize): Likewise.
31976 (ldbl_nearbyint): Likewise.
31977 (ldbl_pack): Rename to ldbl_pack_ppc.
31978 (ldbl_unpack): Rename to ldbl_unpack_ppc.
31979 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
31980 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
31981
6d9145d8
SP
319822013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
31983
31984 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
31985 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
31986 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
31987 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
31988 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
31989 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
31990 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
31991 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
31992
4dd4e157
AJ
319932013-03-07 Andreas Jaeger <aj@suse.de>
31994
31995 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31996 bits/mman-linux.h.
31997
adbb8027
SP
319982013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
31999
ce544b5b
SP
32000 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
32001 Include mpa.h and declare __MPEXP.
32002 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
32003 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
32004 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
32005 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
32006 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
32007 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
32008 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
32009
4cc149fd
SP
32010 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
32011 (__slowpow): Use long double EXPL and LOGL functions to
32012 compute POW.
32013 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
32014 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
32015 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
32016 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
32017 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
32018 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
32019
e6ebd4a7
SP
32020 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
32021 intermediate variable to calculate exponent.
32022 (__sqr): Likewise.
32023 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
32024 Likewise.
32025 (__sqr): Likewise.
32026
82a9811d
SP
32027 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
32028 [!NO__SQR]: Define __sqr.
32029 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
32030 and NO__SQR. Remove all code except __mul and __sqr. Include
32031 sysdeps/ieee754/dbl-64/mpa.c.
32032 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32033
adbb8027
SP
32034 [BZ #12723]
32035 * posix/Makefile (tests): Add tst-pathconf.
32036 * posix/tst-pathconf.c: New test case.
32037 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
32038 _PC_PIPE_BUF.
32039 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
32040
39120df9
PF
320412013-03-06 Patsy Franklin <pfrankli@redhat.com>
32042
32043 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
32044
67525cb8
AJ
320452013-03-06 Andreas Jaeger <aj@suse.de>
32046
664a9ce4
AJ
32047 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
32048 definition via __MAP_ANONYMOUS.
32049
8e39047d
AJ
32050 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
32051 it's not part of Linux headers.
32052
67525cb8
AJ
32053 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
32054 (MAP_HUGE_MASK): Define.
32055
32056 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
32057 Define.
32058 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
32059 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
32060 Define.
32061 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
32062 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
32063 Define.
32064 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
32065 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
32066 Define.
32067 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
32068
32069 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
32070 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
32071 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
32072 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
32073 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
32074 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
32075
32076 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
32077 Handle f2fs.
32078
32079 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32080 Handle f2fs and efivarfs.
32081
32082 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
32083 f2fs.
32084
32085 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
32086 (EFIVARFS_MAGIC): Add.
32087 (F2FS_LINK_MAX): Add.
32088
e1b42695
PP
320892013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
32090
32091 * stdio-common/vfprintf.c: Replace __builtin_expect with
32092 __glibc_unlikely.
32093
2d67d91a
JM
320942013-03-06 Joseph Myers <joseph@codesourcery.com>
32095
32096 [BZ #13550]
32097 * sysdeps/generic/bp-sym.h: Remove file.
32098 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
32099 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
32100 <bp-sym.h> and <bp-asm.h>.
32101 (__longjmp): Don't use BP_SYM.
32102 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
32103 and <bp-asm.h>.
32104 (memcpy): Don't use BP_SYM.
32105 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
32106 <bp-sym.h> and <bp-asm.h>.
32107 (memcpy): Don't use BP_SYM.
32108 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
32109 <bp-asm.h>.
32110 (memcpy): Don't use BP_SYM.
32111 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
32112 <bp-asm.h>.
32113 (memset): Don't use BP_SYM.
32114 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
32115 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
32116 (__bzero): Don't use BP_SYM.
32117 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
32118 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
32119 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
32120 <bp-sym.h> and <bp-asm.h>.
32121 (memcmp): Don't use BP_SYM. Remove comment about bounded
32122 pointers.
32123 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
32124 <bp-sym.h> and <bp-asm.h>.
32125 (memcpy): Don't use BP_SYM.
32126 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
32127 <bp-sym.h> and <bp-asm.h>.
32128 (memset): Don't use BP_SYM.
32129 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
32130 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
32131 (__bzero): Don't use BP_SYM.
32132 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
32133 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
32134 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
32135 <bp-sym.h> and <bp-asm.h>.
32136 (strncmp): Don't use BP_SYM. Remove comment about bounded
32137 pointers.
32138 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
32139 <bp-sym.h> and <bp-asm.h>.
32140 (memcpy): Don't use BP_SYM.
32141 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
32142 <bp-sym.h> and <bp-asm.h>.
32143 (memset): Don't use BP_SYM.
32144 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
32145 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
32146 (__bzero): Don't use BP_SYM.
32147 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
32148 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
32149 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
32150 <bp-sym.h> and <bp-asm.h>.
32151 (__memchr): Don't use BP_SYM.
32152 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
32153 <bp-sym.h> and <bp-asm.h>.
32154 (memcmp): Don't use BP_SYM. Remove comment about bounded
32155 pointers.
32156 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
32157 <bp-sym.h> and <bp-asm.h>.
32158 (memcpy): Don't use BP_SYM.
32159 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
32160 <bp-sym.h> and <bp-asm.h>.
32161 (__mempcpy): Don't use BP_SYM.
32162 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
32163 <bp-sym.h> and <bp-asm.h>.
32164 (__memrchr): Don't use BP_SYM.
32165 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
32166 <bp-sym.h> and <bp-asm.h>.
32167 (memset): Don't use BP_SYM.
32168 (__bzero): Likewise.
32169 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
32170 <bp-sym.h> and <bp-asm.h>.
32171 (__rawmemchr): Don't use BP_SYM.
32172 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
32173 <bp-sym.h> and <bp-asm.h>.
32174 (__STRCMP): Don't use BP_SYM.
32175 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
32176 <bp-sym.h> and <bp-asm.h>.
32177 (strchr): Don't use BP_SYM.
32178 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
32179 <bp-sym.h> and <bp-asm.h>.
32180 (__strchrnul): Don't use BP_SYM.
32181 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
32182 <bp-sym.h> and <bp-asm.h>.
32183 (strlen): Don't use BP_SYM.
32184 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
32185 <bp-sym.h> and <bp-asm.h>.
32186 (strncmp): Don't use BP_SYM. Remove comment about bounded
32187 pointers.
32188 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
32189 <bp-sym.h> and <bp-asm.h>.
32190 (__strnlen): Don't use BP_SYM.
32191 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
32192 <bp-sym.h> and <bp-asm.h>.
32193 (__GI__setjmp): Don't use BP_SYM.
32194 (_setjmp): Likewise.
32195 (__sigsetjmp): Likewise.
32196 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
32197 (L(start_addresses)): Don't use BP_SYM.
32198 (_start): Likewise.
32199 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
32200 <bp-asm.h>.
32201 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
32202 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
32203 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
32204 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
32205 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
32206 <bp-asm.h>.
32207 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
32208 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
32209 about bounded pointers.
32210 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
32211 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
32212 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
32213 <bp-asm.h>.
32214 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
32215 about bounded pointers. Remove GKM FIXME comments.
32216 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
32217 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
32218 <bp-asm.h>.
32219 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
32220 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
32221 Remove GKM FIXME comments.
32222 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
32223 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
32224 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
32225 <bp-asm.h>.
32226 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
32227 about bounded pointers. Remove GKM FIXME comment.
32228 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
32229 and <bp-asm.h>.
32230 (strncmp): Don't use BP_SYM. Remove comment about bounded
32231 pointers.
32232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
32233 <bp-sym.h> and <bp-asm.h>.
32234 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
32235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
32236 <bp-sym.h> and <bp-asm.h>.
32237 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
32238 comment.
32239
cdcf361f
PP
322402013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
32241
32242 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
32243 call free(NULL).
32244
3c4a2b15
DM
322452013-03-05 David S. Miller <davem@davemloft.net>
32246
32247 * po/es.po: Update from translation team.
32248
cdcf361f 322492013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
32250
32251 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
32252 <bits/mman-linux.h>.
32253 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
32254 is fine.
32255 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
32256 <bits/mman-linux.h> to end of file.
32257 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
32258 is fine.
32259 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
32260 <bits/mman-linux.h> to end of file.
32261 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
32262 is fine.
32263 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
32264 <bits/mman-linux.h> to end of file.
32265
32266 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
32267 (MCL_CURRENT, MCL_FUTURE): Define here.
32268
5f67c04f
AK
322692013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32270
8a4473cc 32271 [BZ #15232]
5f67c04f
AK
32272 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
32273 attribute_hidden.
32274 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
32275
c3e94a95
AK
322762013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32277
32278 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
32279 fourth parameter needed for rt_sigprocmask syscall.
32280 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
32281 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
32282 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
32283 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
32284 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
32285 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
32286
cfb6382a
JM
322872013-03-04 Joseph Myers <joseph@codesourcery.com>
32288
32289 [BZ #13550]
32290 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
32291 comment about bounded pointers.
32292 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
32293 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
32294
539d8e01
AJ
322952013-03-04 Andreas Jaeger <aj@suse.de>
32296
32297 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
32298 common definitions.
32299
32300 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
32301 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
32302 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
32303 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
32304 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
32305 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
32306
2e167a70 323072013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
32308
32309 [BZ #15055]
32310 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
32311 __ieee754_sqrl instead of __sqrl.
32312
68508633
JM
323132013-03-01 Joseph Myers <joseph@codesourcery.com>
32314
32315 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
32316 * sysdeps/powerpc/fpu_control.h: ... here.
32317 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
32318 * sysdeps/powerpc/bits/fenvinline.h: ... here.
32319 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
32320 * sysdeps/powerpc/bits/mathinline.h: ... here.
32321
7775448e
RM
323222013-03-01 Roland McGrath <roland@hack.frob.com>
32323
32324 * elf/dl-hwcaps.c (_dl_important_hwcaps):
32325 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
32326 to just [NEED_DL_SYSINFO_DSO].
32327 * elf/dl-support.c: Likewise.
32328 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
32329 * elf/rtld.c (dl_main): Likewise.
32330 * elf/setup-vdso.h (setup_vdso): Likewise.
32331 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
32332 * sysdeps/unix/sysv/linux/dl-sysdep.c
32333 (_dl_discover_osversion): Likewise.
32334
4e9b5995
CD
323352013-03-01 Carlos O'Donell <carlos@redhat.com>
32336
32337 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
32338 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
32339
e23872c8
SP
323402013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
32341
e5c74c63
SP
32342 * NEWS: Mention libm performance improvements and non-x86 PI
32343 futex support.
32344
e23872c8
SP
32345 * csu/libc-start.c (__pthread_initialize_minimal): Change
32346 function arguments.
32347 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
32348
b5510883
JM
323492013-02-28 Joseph Myers <joseph@codesourcery.com>
32350
32351 [BZ #13550]
32352 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
32353 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
32354 <bp-sym.h> and <bp-asm.h>.
32355 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
32356 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
32357 and <bp-asm.h>.
32358 (memcpy): Don't use BP_SYM.
32359 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
32360 <bp-asm.h>.
32361 (__mpn_add_n): Don't use BP_SYM.
32362 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
32363 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
32364 and <bp-asm.h>.
32365 (__mpn_addmul_1): Don't use BP_SYM.
32366 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32367 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
32368 <bp-sym.h>.
32369 (_setjmp): Don't use BP_SYM.
32370 (__novmx_setjmp): Likewise.
32371 (__GI__setjmp): Likewise.
32372 (__vmx_setjmp): Likewise.
32373 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
32374 <bp-sym.h>.
32375 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
32376 (__bzero): Don't use BP_SYM.
32377 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
32378 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
32379 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
32380 <bp-sym.h> and <bp-asm.h>.
32381 (memcpy): Don't use BP_SYM.
32382 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
32383 <bp-sym.h> and <bp-asm.h>.
32384 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
32385 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
32386 <bp-sym.h> and <bp-asm.h>.
32387 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
32388 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
32389 <bp-asm.h>.
32390 (__mpn_lshift): Don't use BP_SYM.
32391 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32392 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
32393 <bp-asm.h>.
32394 (memset): Don't use BP_SYM.
32395 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
32396 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
32397 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
32398 <bp-asm.h>.
32399 (__mpn_mul_1): Don't use BP_SYM.
32400 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32401 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
32402 <bp-sym.h> and <bp-asm.h>.
32403 (memcmp): Don't use BP_SYM.
32404 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
32405 <bp-sym.h> and <bp-asm.h>.
32406 (memcpy): Don't use BP_SYM.
32407 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
32408 <bp-sym.h> and <bp-asm.h>.
32409 (memset): Don't use BP_SYM.
32410 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
32411 <bp-sym.h> and <bp-asm.h>.
32412 (strncmp): Don't use BP_SYM.
32413 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
32414 <bp-sym.h> and <bp-asm.h>.
32415 (memcpy): Don't use BP_SYM.
32416 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
32417 <bp-sym.h> and <bp-asm.h>.
32418 (memset): Don't use BP_SYM.
32419 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
32420 <bp-sym.h> and <bp-asm.h>.
32421 (__memchr): Don't use BP_SYM.
32422 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
32423 <bp-sym.h> and <bp-asm.h>.
32424 (memcmp): Don't use BP_SYM.
32425 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
32426 <bp-sym.h> and <bp-asm.h>.
32427 (memcpy): Don't use BP_SYM.
32428 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
32429 <bp-sym.h> and <bp-asm.h>.
32430 (__mempcpy): Don't use BP_SYM.
32431 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
32432 <bp-sym.h> and <bp-asm.h>.
32433 (__memrchr): Don't use BP_SYM.
32434 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
32435 <bp-sym.h> and <bp-asm.h>.
32436 (memset): Don't use BP_SYM.
32437 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
32438 <bp-sym.h> and <bp-asm.h>.
32439 (__rawmemchr): Don't use BP_SYM.
32440 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
32441 <bp-sym.h> and <bp-asm.h>.
32442 (__STRCMP): Don't use BP_SYM.
32443 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
32444 <bp-sym.h> and <bp-asm.h>.
32445 (strchr): Don't use BP_SYM.
32446 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
32447 <bp-sym.h> and <bp-asm.h>.
32448 (__strchrnul): Don't use BP_SYM.
32449 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
32450 <bp-sym.h> and <bp-asm.h>.
32451 (strlen): Don't use BP_SYM.
32452 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
32453 <bp-sym.h> and <bp-asm.h>.
32454 (strncmp): Don't use BP_SYM.
32455 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
32456 <bp-sym.h> and <bp-asm.h>.
32457 (__strnlen): Don't use BP_SYM.
32458 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
32459 <bp-asm.h>.
32460 (__mpn_rshift): Don't use BP_SYM.
32461 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32462 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
32463 <bp-sym.h> and <bp-asm.h>.
32464 (__sigsetjmp): Don't use BP_SYM.
32465 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
32466 (L(start_addresses)): Don't use BP_SYM.
32467 (_start): Likewise.
32468 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
32469 <bp-asm.h>.
32470 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
32471 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
32472 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
32473 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
32474 <bp-asm.h>.
32475 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
32476 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
32477 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
32478 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
32479 <bp-asm.h>.
32480 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
32481 comments.
32482 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
32483 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
32484 <bp-asm.h>.
32485 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
32486 FIXME comments.
32487 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
32488 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
32489 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
32490 <bp-asm.h>.
32491 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
32492 comment.
32493 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
32494 and <bp-asm.h>.
32495 (strncmp): Don't use BP_SYM,
32496 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
32497 <bp-asm.h>.
32498 (__mpn_sub_n): Don't use BP_SYM.
32499 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32500 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
32501 and <bp-asm.h>.
32502 (__mpn_submul_1): Don't use BP_SYM.
32503 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
32505 <bp-sym.h> and <bp-asm.h>.
32506 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
32507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
32508 <bp-sym.h> and <bp-asm.h>.
32509 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
32510 comment.
32511
8d19fe64
SP
325122013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32513
32514 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
32515 Use ZK to minimize writes to Z.
32516 (sub_magnitudes): Simplify code a bit.
32517 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
32518 Use ZK to minimize writes to Z.
32519 (sub_magnitudes): Simplify code a bit.
32520
85bd816a
RM
325212013-02-27 Roland McGrath <roland@hack.frob.com>
32522
32523 * csu/gmon-start.c: Add special exception to license text.
32524
b5977bf2
RH
325252013-02-27 Richard Henderson <rth@redhat.com>
32526
32527 * scripts/config.guess: Update from config.git.
32528 * scripts/config.sub: Likewise.
32529
11d6e2f2
SP
325302013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
32531
09c14ed2
SP
32532 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
32533
a688864e
SP
32534 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
32535
6295157a
SP
32536 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
32537
b8de2202
SP
32538 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
32539
11d6e2f2
SP
32540 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
32541
7e80ddb8
RM
325422013-02-26 Roland McGrath <roland@hack.frob.com>
32543
32544 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
32545 [$(build-shared = yes].
7e80ddb8 32546
7da6d9ed
SP
325472013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
32548
45f05884
SP
32549 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
32550 (__mul): Reduce iterations for calculating mantissa.
32551
2236d359
SP
32552 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
32553 MPTWO.
32554 (__mpranred): Likewise.
32555
7da6d9ed
SP
32556 [BZ #15160]
32557 * malloc/memusagestat.c (main): Draw graphs for heap and stack
32558 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
32559
b7688c42
PE
325602013-02-26 Paul Eggert <eggert@cs.ucla.edu>
32561
32562 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
32563 Define __attribute__.
32564
53a5c423
SP
325652013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
32566
32567 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
32568 unused.
32569 * posix/regex_internal.h (__attribute): Remove.
32570 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
32571 (re_string_context_at): Likewise.
32572 (bitset_not): Use __attribute__ and mark function as possibly
32573 unused.
32574 (bitset_merge): Likewise.
32575 (bitset_mask): Likewise.
32576 (re_string_char_size_at): Likewise.
32577 (re_string_wchar_at): Likewise.
32578 (re_string_elem_size_at): Likewise.
32579
60f5a8b5
SP
325802013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
32581
2a983a2e
SP
32582 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
32583 code.
32584 (cc32): Likewise.
32585
e69804d1
SP
32586 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
32587 (__acr): Likewise.
32588 (__cpy): Likewise.
32589 (norm): Likewise.
32590 (denorm): Likewise.
32591 (__dbl_mp): Likewise.
32592 (add_magnitudes): Likewise.
32593 (sub_magnitudes): Likewise.
32594 (__mul): Likewise.
32595 (__inv): Likewise.
32596
2f22a1e8
SP
32597 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
32598 style.
32599
8930ddc7
SP
32600 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
32601 style.
32602
dc60cb11
SP
32603 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
32604 code.
32605
60f5a8b5
SP
32606 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
32607 up changes with default code.
32608 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
32609 Likewise.
32610
b4d1fd33
AM
326112013-02-24 Allan McRae <allan@archlinux.org>
32612
faf6f8bc
AM
32613 * manual/socket.texi (The Internet Namespace): Order menu items
32614 to match that in the file.
32615
b4d1fd33
AM
32616 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
32617 node listing of the info page menu.
32618
2366713d
JM
326192013-02-21 Joseph Myers <joseph@codesourcery.com>
32620
32621 [BZ #13550]
32622 * sysdeps/i386/bp-asm.h: Remove file.
32623 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
32624 (PARMS): Do not use macros from bp-asm.h.
32625 (S1): Likewise.
32626 (S2): Likewise.
32627 (SIZE): Likewise.
32628 (__mpn_add_n): Do not use BP_SYM
32629 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
32630 "bp-asm.h".
32631 (PARMS): Do not use macros from bp-asm.h.
32632 (S1): Likewise.
32633 (SIZE): Likewise.
32634 (__mpn_addmul_1): Do not use BP_SYM
32635 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
32636 "bp-asm.h".
32637 (PARMS): Do not use macros from bp-asm.h.
32638 (SIGMSK): Likewise.
32639 (_setjmp): Likewise. Do not use BP_SYM.
32640 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
32641 "bp-asm.h".
32642 (PARMS): Do not use macros from bp-asm.h.
32643 (SIGMSK): Likewise.
32644 (setjmp): Likewise. Do not use BP_SYM.
32645 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
32646 "bp-asm.h".
32647 (PARMS): Do not use macros from bp-asm.h.
32648 (__frexp): Do not use BP_SYM.
32649 (frexp): Likewise.
32650 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
32651 "bp-asm.h".
32652 (PARMS): Do not use macros from bp-asm.h.
32653 (__frexpf): Do not use BP_SYM.
32654 (frexpf): Likewise.
32655 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
32656 "bp-asm.h".
32657 (PARMS): Do not use macros from bp-asm.h.
32658 (__frexpl): Do not use BP_SYM.
32659 (frexpl): Likewise.
32660 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
32661 "bp-asm.h".
32662 (PARMS): Do not use macros from bp-asm.h.
32663 (__remquo): Do not use BP_SYM.
32664 (remquo): Likewise.
32665 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
32666 "bp-asm.h".
32667 (PARMS): Do not use macros from bp-asm.h.
32668 (__remquof): Do not use BP_SYM.
32669 (remquof): Likewise.
32670 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
32671 "bp-asm.h".
32672 (PARMS): Do not use macros from bp-asm.h.
32673 (__remquol): Do not use BP_SYM.
32674 (remquol): Likewise.
32675 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
32676 "bp-asm.h".
32677 (PARMS): Do not use macros from bp-asm.h.
32678 (DEST): Likewise.
32679 (SRC): Likewise.
32680 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
32681 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
32682 "bp-asm.h".
32683 (PARMS): Do not use macros from bp-asm.h.
32684 (strlen): Do not use BP_SYM.
32685 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
32686 "bp-asm.h".
32687 (PARMS): Do not use macros from bp-asm.h.
32688 (S1): Likewise.
32689 (S2): Likewise.
32690 (SIZE): Likewise.
32691 (__mpn_add_n): Do not use BP_SYM.
32692 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
32693 "bp-asm.h".
32694 (PARMS): Do not use macros from bp-asm.h.
32695 (S1): Likewise.
32696 (SIZE): Likewise.
32697 (__mpn_addmul_1): Do not use BP_SYM.
32698 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
32699 weak_alias.
32700 (bzero): Likewise.
32701 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
32702 "bp-asm.h".
32703 (PARMS): Do not use macros from bp-asm.h.
32704 (S): Likewise.
32705 (SIZE): Likewise.
32706 (__mpn_lshift): Do not use BP_SYM.
32707 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
32708 "bp-asm.h".
32709 (PARMS): Do not use macros from bp-asm.h.
32710 (DEST): Likewise.
32711 (SRC): Likewise.
32712 (LEN): Likewise.
32713 (memcpy): Likewise. Do not use BP_SYM.
32714 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
32715 libc_hidden_def and weak_alias.
32716 (mempcpy): Do not use BP_SYM in weak_alias.
32717 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
32718 "bp-asm.h".
32719 (PARMS): Do not use macros from bp-asm.h.
32720 (DEST): Likewise.
32721 (LEN): Likewise.
32722 [!BZERO_P] (CHR): Likewise.
32723 (memset): Likewise. Do not use BP_SYM.
32724 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
32725 "bp-asm.h".
32726 (PARMS): Do not use macros from bp-asm.h.
32727 (S1): Likewise.
32728 (SIZE): Likewise.
32729 (__mpn_mul_1): Do not use BP_SYM.
32730 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
32731 "bp-asm.h".
32732 (PARMS): Do not use macros from bp-asm.h.
32733 (S): Likewise.
32734 (SIZE): Likewise.
32735 (__mpn_rshift): Do not use BP_SYM.
32736 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
32737 "bp-asm.h".
32738 (PARMS): Do not use macros from bp-asm.h.
32739 (STR): Likewise.
32740 (CHR): Likewise.
32741 (strchr): Likewise. Do not use BP_SYM.
32742 (index): Do not use BP_SYM in weak_alias.
32743 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
32744 "bp-asm.h".
32745 (PARMS): Do not use macros from bp-asm.h.
32746 (DEST): Likewise.
32747 (SRC): Likewise.
32748 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
32749 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
32750 "bp-asm.h".
32751 (PARMS): Do not use macros from bp-asm.h.
32752 (strlen): Do not use BP_SYM.
32753 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
32754 "bp-asm.h".
32755 (PARMS): Do not use macros from bp-asm.h.
32756 (S1): Likewise.
32757 (S2): Likewise.
32758 (SIZE): Likewise.
32759 (__mpn_sub_n): Do not use BP_SYM.
32760 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
32761 "bp-asm.h".
32762 (PARMS): Do not use macros from bp-asm.h.
32763 (S1): Likewise.
32764 (SIZE): Likewise.
32765 (__mpn_submul_1): Do not use BP_SYM.
32766 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
32767 "bp-asm.h".
32768 (PARMS): Do not use macros from bp-asm.h.
32769 (S1): Likewise.
32770 (S2): Likewise.
32771 (SIZE): Likewise.
32772 (__mpn_add_n): Do not use BP_SYM.
32773 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
32774 weak_alias.
32775 (bzero): Likewise.
32776 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
32777 "bp-asm.h".
32778 (PARMS): Do not use macros from bp-asm.h.
32779 (BLK2): Likewise.
32780 (LEN): Likewise.
32781 (memcmp): Do not use BP_SYM.
32782 (bcmp): Do not use BP_SYM in weak_alias.
32783 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
32784 "bp-asm.h".
32785 (PARMS): Do not use macros from bp-asm.h.
32786 (DEST): Likewise.
32787 (SRC): Likewise.
32788 (LEN): Likewise.
32789 (memcpy): Likewise. Do not use BP_SYM.
32790 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
32791 "bp-asm.h".
32792 (PARMS): Do not use macros from bp-asm.h.
32793 (DEST): Likewise.
32794 (SRC): Likewise.
32795 (LEN): Likewise.
32796 (memmove): Likewise. Do not use BP_SYM.
32797 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
32798 "bp-asm.h".
32799 (PARMS): Do not use macros from bp-asm.h.
32800 (DEST): Likewise.
32801 (SRC): Likewise.
32802 (LEN): Likewise.
32803 (__mempcpy): Likewise. Do not use BP_SYM.
32804 (mempcpy): Do not use BP_SYM in weak_alias.
32805 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
32806 "bp-asm.h".
32807 (PARMS): Do not use macros from bp-asm.h.
32808 (DEST): Likewise.
32809 (LEN): Likewise.
32810 [!BZERO_P] (CHR): Likewise.
32811 (memset): Likewise. Do not use BP_SYM.
32812 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
32813 "bp-asm.h".
32814 (PARMS): Do not use macros from bp-asm.h.
32815 (STR2): Likewise.
32816 (strcmp): Do not use BP_SYM.
32817 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
32818 "bp-asm.h".
32819 (PARMS): Do not use macros from bp-asm.h.
32820 (STR): Likewise.
32821 (DELIM): Likewise.
32822 [USE_AS_STRTOK_R] (SAVE): Likewise.
32823 (FUNCTION): Likewise. Do not use BP_SYM.
32824 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
32825 aliases.
32826 (strtok_r): Likewise.
32827 (__GI___strtok_r): Likewise.
32828 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
32829 (PARMS): Do not use macros from bp-asm.h.
32830 (S): Likewise.
32831 (SIZE): Likewise.
32832 (__mpn_lshift): Do not use BP_SYM.
32833 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
32834 (PARMS): Do not use macros from bp-asm.h.
32835 (STR): Likewise.
32836 (CHR): Likewise.
32837 (__memchr): Do not use BP_SYM.
32838 (memchr): Do not use BP_SYM in weak_alias.
32839 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
32840 (PARMS): Do not use macros from bp-asm.h.
32841 (BLK2): Likewise.
32842 (LEN): Likewise.
32843 (memcmp): Do not use BP_SYM.
32844 (bcmp): Do not use BP_SYM in weak_alias.
32845 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
32846 (PARMS): Do not use macros from bp-asm.h.
32847 (S1): Likewise.
32848 (SIZE): Likewise.
32849 (__mpn_mul_1): Do not use BP_SYM.
32850 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
32851 "bp-asm.h".
32852 (PARMS): Do not use macros from bp-asm.h.
32853 (STR): Likewise.
32854 (CHR): Likewise.
32855 (__rawmemchr): Do not use BP_SYM.
32856 (rawmemchr): Do not use BP_SYM in weak_alias.
32857 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
32858 (PARMS): Do not use macros from bp-asm.h.
32859 (S): Likewise.
32860 (SIZE): Likewise.
32861 (__mpn_rshift): Do not use BP_SYM.
32862 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
32863 (PARMS): Do not use macros from bp-asm.h.
32864 (SIGMSK): Likewise.
32865 (__sigsetjmp): Likewise. Do not use BP_SYM.
32866 * sysdeps/i386/start.S: Do not include "bp-sym.h".
32867 (_start): Do not use BP_SYM.
32868 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
32869 (PARMS): Do not use macros from bp-asm.h.
32870 (DEST): Likewise.
32871 (SRC): Likewise.
32872 (__stpcpy): Likewise. Do not use BP_SYM.
32873 (stpcpy): Do not use BP_SYM in weak_alias.
32874 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
32875 "bp-asm.h".
32876 (PARMS): Do not use macros from bp-asm.h.
32877 (DEST): Likewise.
32878 (SRC): Likewise.
32879 (LEN): Likewise.
32880 (__stpncpy): Likewise. Do not use BP_SYM.
32881 (stpncpy): Do not use BP_SYM in weak_alias.
32882 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
32883 (PARMS): Do not use macros from bp-asm.h.
32884 (STR): Likewise.
32885 (CHR): Likewise.
32886 (strchr): Likewise. Do not use BP_SYM.
32887 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
32888 "bp-asm.h".
32889 (PARMS): Do not use macros from bp-asm.h.
32890 (STR): Likewise.
32891 (CHR): Likewise.
32892 (__strchrnul): Likewise. Do not use BP_SYM.
32893 (strchrnul): Do not use BP_SYM in weak_alias.
32894 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
32895 "bp-asm.h".
32896 (PARMS): Do not use macros from bp-asm.h.
32897 (STOP): Likewise.
32898 (strcspn): Do not use BP_SYM.
32899 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
32900 "bp-asm.h".
32901 (PARMS): Do not use macros from bp-asm.h.
32902 (STR): Likewise.
32903 (STOP): Likewise.
32904 (strpbrk): Likewise. Do not use BP_SYM.
32905 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
32906 "bp-asm.h".
32907 (PARMS): Do not use macros from bp-asm.h.
32908 (STR): Likewise.
32909 (CHR): Likewise.
32910 (strrchr): Likewise. Do not use BP_SYM.
32911 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
32912 (PARMS): Do not use macros from bp-asm.h.
32913 (SKIP): Likewise.
32914 (strspn): Do not use BP_SYM.
32915 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
32916 (PARMS): Do not use macros from bp-asm.h.
32917 (STR): Likewise.
32918 (DELIM): Likewise.
32919 (SAVE): Likewise.
32920 (FUNCTION): Likewise. Do not use BP_SYM.
32921 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
32922 aliases.
32923 (strtok_r): Likewise.
32924 (__GI___strtok_r): Likewise.
32925 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
32926 (PARMS): Do not use macros from bp-asm.h.
32927 (S1): Likewise.
32928 (S2): Likewise.
32929 (SIZE): Likewise.
32930 (__mpn_sub_n): Do not use BP_SYM.
32931 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
32932 "bp-asm.h".
32933 (PARMS): Do not use macros from bp-asm.h.
32934 (S1): Likewise.
32935 (SIZE): Likewise.
32936 (__mpn_submul_1): Do not use BP_SYM.
32937 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
32938 <bp-sym.h>.
32939 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
32940 and <bp-asm.h>.
32941 (PARMS): Do not use macros from bp-asm.h.
32942 (FLAGS): Likewise.
32943 (PTID): Likewise.
32944 (TLS): Likewise.
32945 (CTID): Likewise.
32946 (__clone): Do not use BP_SYM.
32947 (clone): Do not use BP_SYM in weak_alias.
32948 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
32949 and <bp-asm.h>.
32950 (PARMS): Do not use macros from bp-asm.h.
32951 (LEN): Likewise.
32952 (__mmap64): Do not use BP_SYM.
32953 (mmap64): Do not use BP_SYM in weak_alias.
32954 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
32955 <bp-sym.h> and <bp-asm.h>.
32956 (PARMS): Do not use macros from bp-asm.h.
32957 (__posix_fadvise64_l64): Do not use BP_SYM.
32958 * sysdeps/unix/sysv/linux/i386/semtimedop.S
32959 (PARMS): Do not use macros from bp-asm.h.
32960 (NSOPS): Likewise.
32961 (semtimedop): Do not use BP_SYM.
32962 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
32963 and <bp-asm.h>.
32964
582a3cff
AM
329652013-02-21 Allan McRae <allan@archlinux.org>
32966
32967 * manual/message.texi (Charset conversion in gettext):
32968 Move @end statement to beginning of line.
32969
bab8a695
SP
329702013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
32971
80945231
SP
32972 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
32973 static.
32974 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
32975 Likewise.
32976
bab8a695
SP
32977 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
32978 (denorm): Likewise.
32979 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
32980 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
32981
e21d7aa7
AK
329822013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32983
32984 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
32985 tail-call to the resolved function if pltexit isn't needed.
32986
4c7a4263
SP
329872013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
32988
32989 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
32990 or Y being zero as being unlikely.
32991 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
32992 Likewise.
32993
41f49342
CD
329942013-02-20 Carlos O'Donell <carlos@redhat.com>
32995
32996 * manual/nss.texi (System Databases and Name Service Switch):
32997 Remove frobnicate @pxref.
32998
50022a93
TS
329992013-02-20 Thomas Schwinge <thomas@codesourcery.com>
33000
33001 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
33002 __attribute__ ((unused)) to __attribute__ ((__unused__)).
33003
08cbd996
PM
330042013-02-20 Petr Machata <pmachata@redhat.com>
33005
33006 * elf/elf.h (R_ARM_TARGET1): New macro.
33007 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
33008 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
33009 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
33010 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
33011 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
33012 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
33013 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
33014 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
33015 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
33016 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
33017 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
33018 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
33019 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
33020 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
33021 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
33022 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
33023 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
33024 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
33025 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
33026 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
33027 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
33028 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
33029 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
33030 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
33031 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
33032 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
33033 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
33034 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
33035 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
33036 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
33037 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
33038 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
33039 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
33040 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
33041 (R_ARM_THM_GOT_BREL12): Likewise.
33042 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
33043 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
33044 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
33045 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
33046 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
33047 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
33048 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
33049 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
33050 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
33051
c7b275d6
TS
330522013-02-20 Thomas Schwinge <thomas@codesourcery.com>
33053
33054 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
33055 __attribute_used__ to __attribute__ ((unused)).
33056
20cd7fb3
SP
330572013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
33058
33059 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
33060 powerpc mpa.c.
33061 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
33062 comment formatting.
33063 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
33064
92945b52
JM
330652013-02-19 Joseph Myers <joseph@codesourcery.com>
33066
33067 [BZ #13550]
33068 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
33069 Remove macro.
33070 (ENTER): Remove both macro definitions.
33071 (LEAVE): Likewise.
33072 (CHECK_BOUNDS_LOW): Likewise.
33073 (CHECK_BOUNDS_HIGH): Likewise.
33074 (CHECK_BOUNDS_BOTH): Likewise.
33075 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
33076 (RETURN_BOUNDED_POINTER): Likewise.
33077 (RETURN_NULL_BOUNDED_POINTER): Likewise.
33078 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
33079 (POP_ERRNO_LOCATION_RETURN): Likewise.
33080 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
33081 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
33082 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
33083 macros.
33084 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33085 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
33086 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
33087 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
33088 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
33089 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
33090 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
33091 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
33092 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
33093 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
33094 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
33095 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
33096 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
33097 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
33098 removed macros.
33099 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33100 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
33101 macros.
33102 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
33103 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
33104 * sysdeps/i386/i586/memset.S (memset): Likewise.
33105 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
33106 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33107 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
33108 macros.
33109 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
33110 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
33111 Change uses of L(2) to L(out).
33112 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
33113 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
33114 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
33115 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
33116 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
33117 removed macros.
33118 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33119 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
33120 macros.
33121 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
33122 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
33123 (RETURN): Do not use macro LEAVE.
33124 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
33125 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
33126 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
33127 * sysdeps/i386/i686/memset.S (memset): Likewise.
33128 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
33129 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
33130 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
33131 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
33132 Likewise.
33133 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
33134 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
33135 L(1_2) and L(1_3) into L(1).
33136 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
33137 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
33138 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
33139 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
33140 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
33141 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
33142 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
33143 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33144 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
33145 macros.
33146 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
33147 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
33148 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
33149 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
33150 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
33151 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
33152 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
33153 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
33154 * sysdeps/i386/strcspn.S (strcspn): Likewise.
33155 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
33156 * sysdeps/i386/strrchr.S (strrchr): Likewise.
33157 * sysdeps/i386/strspn.S (strspn): Likewise.
33158 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
33159 conditional code.
33160 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
33161 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
33162 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
33163 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
33164 L(1_3) into L(1_1).
33165 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
33166 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
33167 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
33168 macros.
33169 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33170
2389741a
JJ
331712013-02-19 Jakub Jelinek <jakub@redhat.com>
33172
33173 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
33174 macro.
33175
2016b3cd
SP
331762013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
33177
e4f22324
SP
33178 * math/atest-exp.c (exp_mpn): Remove ROUND.
33179 * math/atest-exp2.c (exp_mpn): Likewise.
33180 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
33181
2016b3cd
SP
33182 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
33183 * stdlib/tst-tls-atexit-lib.c: Likewise.
33184 * stdlib/tst-tls-atexit.c: Likewise.
33185
4be9b544
MF
331862013-02-18 Mike Frysinger <vapier@gentoo.org>
33187
33188 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
33189 and __attribute_alloc_size__.
33190
2f62b9ee
MF
331912013-02-18 Mike Frysinger <vapier@gentoo.org>
33192
33193 * include/programs/xmalloc.h: Change __attribute_alloc_size to
33194 __attribute_alloc_size__.
33195 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
33196 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
33197
6ff444c4
MF
331982013-02-18 Mike Frysinger <vapier@gentoo.org>
33199
33200 * include/programs/xmalloc.h: New file.
33201 * catgets/gencat.c: Include it.
33202 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
33203 * elf/pldd.c: Likewise.
33204 * iconv/iconv_charmap.c: Likewise.
33205 * iconv/iconvconfig.c: Likewise.
33206 * iconv/strtab.c: Likewise.
33207 * locale/programs/locale.c: Likewise.
33208 * locale/programs/localedef.h: Likewise.
33209 * locale/programs/simple-hash.c: Likewise.
33210 * nscd/nscd.h: Likewise.
33211 * nss/makedb.c: Likewise.
33212 * sysdeps/generic/ldconfig.h: Likewise.
33213
be179c8a
SP
332142013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
33215
ba384f6e
SP
33216 * Versions.def: Add GLIBC_2.18.
33217 * include/link.h (struct link_map): New member l_tls_dtor_count.
33218 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
33219 (__call_tls_dtors): Likewise.
33220 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
33221 __cxa_thread_atexit_impl.
33222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33223 Likewise.
33224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33225 Likewise.
33226 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
33227 Likewise.
33228 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
33229 Likewise.
33230 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
33231 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
33232 Likewise.
33233 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
33234 Likewise.
33235 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
33236 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
33237 Likewise.
33238 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
33239 (tests): Add test case tst-tls-atexit.
33240 (modules-names): Add shared library for tst-tls-atexit.
85891aca 33241 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
33242 (GLIBC_PRIVATE): Add __call_tls_dtors.
33243 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
33244 for libstdc++.
33245 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
33246 * stdlib/tst-tls-atexit.c: New test case.
33247 * stdlib/tst-tls-atexit-lib.c: New test case.
33248
ffaa74cf 33249 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 33250
be179c8a
SP
33251 * elf/Versions (ld): Add _dl_find_dso_for_object.
33252 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
33253 * elf/dl-open.c (_dl_find_dso_for_object): New function.
33254 (dl_open_worker): Use _dl_find_dso_for_object.
33255 * elf/dl-sym.c (do_sym): Likewise.
33256 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
33257
f78b5caa
AK
332582013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33259
33260 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
33261 Syntactic changes only.
33262 (_dl_runtime_profile): Do a tail-call to the resolved function.
33263
29691210
JM
332642013-02-17 Joseph Myers <joseph@codesourcery.com>
33265
33266 [BZ #13550]
33267 * sysdeps/x86_64/bp-asm.h: Remove file.
33268 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
33269 <bp-sym.h> and <bp-asm.h>.
33270 (__clone): Do not use BP_SYM.
33271 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
33272 <bp-sym.h> and <bp-asm.h>.
33273 * sysdeps/unix/x86_64/sysdep.S: Likewise.
33274 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
33275 "bp-asm.h".
33276 (_setjmp): Do not use BP_SYM.
33277 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
33278 "bp-asm.h".
33279 (setjmp): Do not use BP_SYM.
33280 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
33281 libc_hidden_def.
33282 (mempcpy): Do not use BP_SYM in weak_alias.
33283 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
33284 "bp-asm.h".
33285 (strchr): Do not use BP_SYM.
33286 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
33287 "bp-asm.h".
33288 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
33289 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
33290 (_start): Do not use BP_SYM.
33291 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
33292 "bp-asm.h".
33293 (strcat): Do not use BP_SYM.
33294 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
33295 "bp-asm.h".
33296 (STRCMP): Do not use BP_SYM.
33297 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
33298 "bp-asm.h".
33299 (STRCPY): Do not use BP_SYM.
33300 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
33301 "bp-asm.h".
33302 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
33303 "bp-asm.h".
33304 (FUNCTION): Do not use BP_SYM.
33305 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
33306 weak_alias.
33307 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
33308
f238fd19
AJ
333092013-02-17 Andreas Jaeger <aj@suse.de>
33310
33311 * time/Versions: Sort entries.
33312 * string/Versions: Likewise.
33313 * resolv/Versions: Likewise.
33314 * posix/Versions: Likewise.
33315 * iconv/Versions: Likewise.
33316 * elf/Versions: Likewise.
33317 * wcsmbs/Versions: Likewise.
33318
bd07f23c 333192013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 33320
22af19f9
SP
33321 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
33322 loop termination condition.
33323
4709fe76
SP
33324 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
33325 variable to calculate EZ.
33326 (__sqr): Likewise.
2d0e0f29
SP
33327
33328 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
33329 the lower precision input.
33330
daaa7713
JM
333312013-02-15 Joseph Myers <joseph@codesourcery.com>
33332
33333 [BZ #13550]
33334 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
33335 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
33336 (run-via-rtld-prefix): Do not handle %-bp tests.
33337 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
33338 (all-object-suffixes): Remove .ob.
33339 (bppfx): Remove variable.
33340 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
33341 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
33342 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
33343 [$(build-bounded) = yes] (libtype.ob): Likewise.
33344 * Makerules (elide-routines.ob): Remove variable.
33345 (do-tests-clean): Do not handle *-bp.out.
33346 (common-mostlyclean): Do not handle *-bp and *-bp.out.
33347 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
33348 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
33349 (tests): Do not include $(tests-bp.out).
33350 (xtests): Do not include $(xtests-bp.out).
33351 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
33352 [$(build-bounded) = yes] ($(addprefix
33353 $(objpfx),$(binaries-bounded))): Remove rule.
33354 ($(objpfx)%-bp.out): Remove rule.
33355 * config.make.in (build-bounded): Remove variable.
33356 * crypt/Makefile [$(build-bounded) = yes]
33357 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
33358 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
33359 append to variable.
33360 [$(build-bounded) = yes] (install-lib): Likewise.
33361 [$(build-bounded) = yes] (generated): Likewise.
33362 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
33363 Remove rule.
33364 * intl/Makefile [$(build-bounded) = yes]
33365 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
33366 * math/Makefile [$(build-bounded) = yes]
33367 ($(tests:%=$(objpfx)%-bp): Likewise.
33368 * misc/Makefile [$(build-bounded) = yes]
33369 ($(objpfx)tst-tsearch-bp): Likewise.
33370 * nptl/Makeconfig (bounded-thread-library): Remove variable.
33371 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
33372 Remove dependency.
33373 * string/Makefile (o-objects.ob): Remove variable.
33374 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
33375 (CFLAGS-.ob): Remove variable.
33376 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
33377 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
33378 both definitions of variable.
33379 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
33380 (ASFLAGS-.ob): Remove variable.
33381
e97ed6dd
JM
333822013-02-14 Joseph Myers <joseph@codesourcery.com>
33383
2bdd4ca6
JM
33384 [BZ #13550]
33385 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
33386 Remove __BOUNDED_POINTERS__ from condition.
33387 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
33388 * string/bits/string2.h [!__NO_STRING_INLINES &&
33389 !__BOUNDED_POINTERS__]: Likewise.
33390 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
33391 Likewise.
33392 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
33393 Remove conditional code.
33394 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
33395 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
33396 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
33397 condition.
33398
e97ed6dd
JM
33399 [BZ #13550]
33400 * csu/libc-start.c: Do not include <bp-sym.h>.
33401 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
33402 * elf/dl-open.c: Do not include <bp-sym.h>.
33403 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
33404 * math/fegetenv.c: Do not include <bp-sym.h>.
33405 (fegetenv): Do not use BP_SYM in versioned symbols.
33406 * nptl/sysdeps/pthread/bits/libc-lockP.h
33407 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
33408 <bp-sym.h>.
33409 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33410 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
33411 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33412 (__pthread_mutex_destroy): Likewise.
33413 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33414 (__pthread_mutex_lock): Likewise.
33415 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33416 (__pthread_mutex_trylock): Likewise.
33417 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33418 (__pthread_mutex_unlock): Likewise.
33419 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33420 (__pthread_mutexattr_init): Likewise.
33421 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33422 (__pthread_mutexattr_destroy): Likewise.
33423 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33424 (__pthread_mutexattr_settype): Likewise.
33425 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33426 (__pthread_rwlock_init): Likewise.
33427 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33428 (__pthread_rwlock_destroy): Likewise.
33429 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33430 (__pthread_rwlock_rdlock): Likewise.
33431 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33432 (__pthread_rwlock_tryrdlock): Likewise.
33433 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33434 (__pthread_rwlock_wrlock): Likewise.
33435 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33436 (__pthread_rwlock_trywrlock): Likewise.
33437 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33438 (__pthread_rwlock_unlock): Likewise.
33439 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33440 (__pthread_key_create): Likewise.
33441 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33442 (__pthread_setspecific): Likewise.
33443 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33444 (__pthread_getspecific): Likewise.
33445 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
33446 Likewise.
33447 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33448 (_pthread_cleanup_push_defer): Likewise.
33449 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33450 (_pthread_cleanup_pop_restore): Likewise.
33451 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33452 (pthread_setcancelstate): Likewise.
33453 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
33454 <bp-sym.h>.
33455 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
33456 (memchr): Do not use BP_SYM in weak_alias.
33457 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
33458 (fegetenv): Do not use BP_SYM in versioned symbols.
33459 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
33460 (fesetenv): Do not use BP_SYM in versioned symbols.
33461 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
33462 (feupdateenv): Do not use BP_SYM in versioned symbols.
33463 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
33464 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
33465 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
33466 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
33467 (open64): Do not use BP_SYM in weak_alias.
33468 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
33469 (fegetenv): Do not use BP_SYM in versioned symbols.
33470 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
33471 (fesetenv): Do not use BP_SYM in versioned symbols.
33472 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
33473 (feupdateenv): Do not use BP_SYM in versioned symbols.
33474 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
33475 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
33476 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
33477 (feraiseexcept): Do not use BP_SYM in versioned symbols.
33478 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
33479 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
33480 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
33481 <bp-sym.h>.
33482 (__libc_start_main): Do not use BP_SYM.
33483
d6752ccd
SP
334842013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
33485
cb57ce60
SP
33486 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
33487 redundant return line.
33488 (norm): Likewise.
33489 (denorm): Likewise.
33490 (dbl_mp): Likewise.
33491 (sub_magnitudes): Likewise.
33492 (__add): Likewise.
33493 (__sub): Likewise.
33494 (__mul): Likewise.
33495 (__inv): Likewise.
33496 (__dvd): Likewise.
33497 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
33498 (norm): Likewise.
33499 (denorm): Likewise.
33500 (dbl_mp): Likewise.
33501 (sub_magnitudes): Likewise.
33502 (__add): Likewise.
33503 (__sub): Likewise.
33504 (__mul): Likewise.
33505 (__inv): Likewise.
33506 (__dvd): Likewise.
33507
f414520d
SP
33508 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
33509 instead of __mul.
33510 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
33511 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
33512 (cc32): Likewise.
33513
d6752ccd
SP
33514 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
33515 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
33516 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
33517 of __mul for squares.
33518 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
33519 function
33520 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
33521 Likewise.
33522 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
33523 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
33524
70d9946a
JM
335252013-02-13 Joseph Myers <joseph@codesourcery.com>
33526
33527 [BZ #13550]
33528 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
33529 code.
33530 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
33531 prototype or function definition. Rename ubp_* variables and
33532 parameters. Remove argv definitions conditional on
33533 [__BOUNDED_POINTERS__].
33534 * debug/backtrace.c (__backtrace): Do not use __unbounded.
33535 * elf/dl-runtime.c (_dl_fixup): Likewise.
33536 * include/set-hooks.h (RUN_HOOK): Likewise.
33537 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
33538 definition.
33539 * string/strcpy.c (strcpy): Do not use __unbounded.
33540 * sysdeps/generic/frame.h (struct layout): Likewise.
33541 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
33542 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
33543 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
33544 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
33545 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
33546 (__backtrace): Likewise.
33547 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
33548 use __ptrvalue.
33549 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
33550 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
33551 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
33552 Likewise.
33553 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
33554 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
33555 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
33556 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
33557 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
33558 Do not use __unbounded.
33559 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
33560 Rename __unboundedrlimits parameter to rlimits in prototype.
33561 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
33562 Do not use __unbounded.
33563 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
33564 not use __ptrvalue.
33565 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
33566 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
33567 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
33568 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
33569 __ptrvalue or __unbounded.
33570 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
33571 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
33572 use __unbounded.
33573 (__new_msgctl): Do not use __ptrvalue.
33574 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
33575 __unbounded.
33576 (__libc_msgrcv): Do not use __ptrvalue.
33577 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
33578 startup_info): Do not use __unbounded.
33579 (__libc_start_main): Likewise. Rename ubp_* variables and
33580 parameters. Remove argv definitions conditional on
33581 [__BOUNDED_POINTERS__].
33582 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
33583 __ptrvalue.
33584 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
33585 use __unbounded.
33586 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
33587 or __ptrvalue.
33588 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
33589 use __unbounded.
33590 (__new_shmctl): Do not use __ptrvalue.
33591 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
33592 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
33593 Likewise.
33594 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
33595 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
33596 (__libc_sigaction): Likewise.
33597 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
33598 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
33599 Likewise.
33600 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
33601
cc7834d6
OB
336022013-02-13 Ondřej Bílka <neleai@seznam.cz>
33603
ffb1ec7b 33604 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
33605
33606 * string/mempcpy.c: Implement by calling memcpy.
33607
bdf02814
SP
336082013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
33609
c2af38aa
SP
33610 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
33611
4e92d59e
SP
33612 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
33613 evaluation.
33614
909279a5
SP
33615 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
33616 values in the mantissa.
33617
bdf02814
SP
33618 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
33619 minimize writes to Z.
33620 (sub_magnitudes): Simplify code a bit.
33621
cd525923
RM
336222013-02-12 Roland McGrath <roland@hack.frob.com>
33623
33624 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
33625 from the message. The linker prefixes all warnings with that already.
33626
7e2f0d2d
AS
336272013-02-12 Andreas Schwab <schwab@suse.de>
33628
a445af0b
AS
33629 [BZ #15078]
33630 * posix/regexec.c (extend_buffers): Add parameter min_len.
33631 (check_matching): Pass minimum needed length.
33632 (clean_state_log_if_needed): Likewise.
33633 (get_subexp): Likewise.
33634 * posix/Makefile (tests): Add bug-regex34.
33635 (bug-regex34-ENV): Define.
33636 * posix/bug-regex34.c: New file.
33637
7e2f0d2d
AS
33638 [BZ #11561]
33639 * posix/regcomp.c (parse_bracket_exp): When looking up collating
33640 elements compare against the byte sequence of it, not its name.
33641 * posix/Makefile (tests): Add bug-regex35.
33642 (bug-regex35-ENV): Define.
33643 * posix/bug-regex35.c: New file.
33644
a175b684
TV
336452013-02-11 Tom de Vries <tom@codesourcery.com>
33646
33647 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
33648 comment.
33649 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
33650 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
33651 (CHECK_EOL): Add undef.
33652
310998fe 336532013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
33654
33655 * bits/stdlib-bsearch.h: New file.
33656 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 33657 * stdlib/stdlib.h: Likewise.
41eda41d 33658
8ded91fb
RM
336592013-02-11 Roland McGrath <roland@hack.frob.com>
33660
33661 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
33662 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
33663 declaration.
33664 * manual/search.texi (Array Search Function): Add missing const in
33665 lfind prototype.
33666 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
33667 declaration to use rlim_t.
33668 (Basic Scheduling Functions): Remove erroneous const from
33669 sched_getparam prototype. Remove erroneous * from
33670 sched_get_priority_max and sched_get_priority_min prototypes.
33671 (Resource Usage): Fix summary @comment on vtimes to refer to
33672 sys/vtimes.h rather than vtimes.h.
33673 Add missing *s in vtimes prototype.
33674 (Limits on Resources): Fix ulimit prototype to return long int.
33675 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
33676 prototypes to use long int rather than double.
33677 (BSD Random): Fix initstate and setstate to use char *, not void *.
33678 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
33679 prototype to make second argument 'struct aiocb64 *const[]'.
33680 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
33681 (Status of AIO Operations): Remove erroneous const in aio_return and
33682 aio_return64 prototypes.
33683 (Synchronizing I/O): Fix sync prototype to return void.
33684 * manual/startup.texi (Suboptions): Remove an erroneous const in
33685 getsubopt prototype.
33686 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
33687 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
33688 use size_t rather than int.
33689 (Scanning All Users): Likewise for getpwent_r.
33690 (Setting Groups): Add missing const to setgroups prototype.
33691 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
33692 * manual/socket.texi (Host Names): Fix gethostbyaddr and
33693 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
33694 'const void *' rather than 'const char *'.
33695 (Host Address Functions): Likewise for inet_ntop.
33696 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
33697 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
33698 ssize_t for return value.
33699 (Sending Data): Likewise for send, sendto, sendmsg.
33700 (Socket Option Functions): Add a missing const in setsockopt prototype.
33701 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
33702 use wchar_t for the argument.
33703 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
33704 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
33705 take no arguments.
33706 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
33707 double/float/long double for second argument.
33708 Fix return types of significand, significandf, significandl.
33709 * manual/filesys.texi (Setting Permissions): Use mode_t for second
33710 argument in fchmod prototype.
33711 (File Owner): Use uid_t and gid_t in fchown prototype.
33712 (File Times): Add const to utimes, futimes, and lutimes prototypes.
33713 (Making Special Files): Use mode_t and dev_t in mknod prototype.
33714 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
33715 use 'const struct dirent **' as argument types to CMP function pointer
33716 argument.
33717 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
33718 (File Times): Fix summary magic @comment for struct utimbuf and utime
33719 to refer to utime.h, not time.h.
33720 * manual/string.texi (Argz Functions): Add missing const in
33721 argz_extract and argz_next prototypes.
33722 (Finding Tokens in a String): Likewise for basename.
33723 (String/Array Comparison): Fix typo in wcscasecmp prototype.
33724 (Copying and Concatenation): Fix typo in wmemmove prototype.
33725 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
33726 (Signal Stack): Remove erroneous const in sigstack prototype.
33727 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
33728 prototype.
33729 (Simple Calendar Time): Likewise for stime.
33730 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
33731 prototype.
33732 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
33733 say sys/sysctl.h instead.
33734 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
33735 and vsyslog prototypes.
33736
fe77fe6d
TV
337372013-02-11 Tom de Vries <tom@codesourcery.com>
33738
33739 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
33740 Remove.
33741
3a09b620
RM
337422013-02-11 Roland McGrath <roland@hack.frob.com>
33743
33744 * misc/sys/mman.h: Fix typo in mremap comment.
33745
550a0b89
RM
337462013-02-08 Roland McGrath <roland@hack.frob.com>
33747
33748 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
33749 the '\0' terminator.
33750
a2da1673
JM
337512013-02-08 Joseph Myers <joseph@codesourcery.com>
33752
33753 [BZ #13550]
33754 * debug/segfault.c: Don't include <bp-checks.h>.
33755 * sysdeps/generic/bp-checks.h: Remove file.
33756 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
33757 (__GETDENTS): Don't use CHECK_N.
33758 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
33759 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
33760 (__getgroups): Don't use CHECK_N.
33761 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
33762 (setgroups): Don't use CHECK_N.
33763 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
33764 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
33765 (__libc_msgrcv): Don't use CHECK_N.
33766 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
33767 (__libc_msgsnd): Don't use CHECK_N.
33768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
33769 <bp-checks.h>.
33770 (__libc_pread): Don't use CHECK_N.
33771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
33772 include <bp-checks.h>.
33773 (__libc_pread64): Don't use CHECK_N.
33774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
33775 include <bp-checks.h>.
33776 (__libc_pwrite): Don't use CHECK_N.
33777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
33778 include <bp-checks.h>.
33779 (__libc_pwrite64): Don't use CHECK_N.
33780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
33781 <bp-checks.h>.
33782 (__libc_pread): Don't use CHECK_N.
33783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
33784 include <bp-checks.h>.
33785 (__libc_pread64): Don't use CHECK_N.
33786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
33787 include <bp-checks.h>.
33788 (__libc_pwrite): Don't use CHECK_N.
33789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
33790 include <bp-checks.h>.
33791 (__libc_pwrite64): Don't use CHECK_N.
33792 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
33793 (do_pread): Don't use CHECK_N.
33794 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
33795 (do_pread64): Don't use CHECK_N.
33796 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
33797 (do_pwrite): Don't use CHECK_N.
33798 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
33799 (do_pwrite64): Don't use CHECK_N.
33800 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
33801 (__libc_readv): Don't use CHECK_N.
33802 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
33803 (semop): Don't use CHECK_N.
33804 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
33805 <bp-checks.h>.
33806 (semtimedop): Don't use CHECK_N.
33807 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
33808 (__libc_pread): Don't use CHECK_N.
33809 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
33810 <bp-checks.h>.
33811 (__libc_pread64): Don't use CHECK_N.
33812 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
33813 <bp-checks.h>.
33814 (__libc_pwrite): Don't use CHECK_N.
33815 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
33816 <bp-checks.h>.
33817 (__libc_pwrite64): Don't use CHECK_N.
33818 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
33819 <bp-checks.h>.
33820 (__libc_msgrcv): Don't use CHECK_N.
33821 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
33822 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
33823 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
33824 (__libc_writev): Don't use CHECK_N.
33825
b84660a8
RM
338262013-02-08 Roland McGrath <roland@hack.frob.com>
33827
7f3e75f8
RM
33828 * string/strcpy.c: Removed unused variable.
33829
b84660a8
RM
33830 * Makeconfig (+sysdep-includes): Define with := rather than =.
33831 Use an existing include/ subdir of each sysdeps dir before it.
33832
471514d3
CD
338332013-02-08 Carlos O'Donell <carlos@redhat.com>
33834
33835 * nscd/connection.c (register_traced_file): Comment function.
33836 [HAVE_INOTIFY] (union __inev): Define.
33837 [HAVE_INOTIFY] (inotify_check_files): New function.
33838 [HAVE_INOTIFY] (clear_db_cache): Likewise.
33839 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
33840 clear_db_cache.
33841 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
33842
b2d3c3be
CD
338432013-02-08 Carlos O'Donell <carlos@redhat.com>
33844
33845 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
33846 loaded if not already and that a failure is permanent.
33847
b39949d2
CD
338482013-02-08 Carlos O'Donell <carlos@redhat.com>
33849
ddacd1db 33850 [BZ #15006]
b39949d2
CD
33851 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
33852 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
33853
b2c9eff4
JM
338542013-02-08 Joseph Myers <joseph@codesourcery.com>
33855
f3aae3f3
JM
33856 [BZ #13550]
33857 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
33858 (CHECK_1_NULL_OK): Likewise.
33859 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
33860 (__fxstat): Do not use CHECK_1.
33861 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
33862 <bp-checks.h>.
33863 (___fxstat64): Do not use CHECK_1.
33864 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
33865 <bp-checks.h>.
33866 (__fxstatat): Do not use CHECK_1.
33867 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
33868 <bp-checks.h>.
33869 (__fxstatat64): Do not use CHECK_1.
33870 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
33871 <bp-checks.h>.
33872 (__fxstat): Do not use CHECK_1.
33873 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
33874 <bp-checks.h>.
33875 (__fxstatat): Do not use CHECK_1.
33876 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
33877 <bp-checks.h>.
33878 (__getresgid): Do not use CHECK_1.
33879 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
33880 <bp-checks.h>.
33881 (__getresuid): Do not use CHECK_1.
33882 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
33883 <bp-checks.h>.
33884 (__lxstat): Do not use CHECK_1.
33885 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
33886 <bp-checks.h>.
33887 (__old_msgctl): Do not use CHECK_1.
33888 (__new_msgctl): Likewise.
33889 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
33890 <bp-checks.h>.
33891 (__new_setrlimit): Do not use CHECK_1.
33892 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
33893 <bp-checks.h>.
33894 (__old_shmctl): Do not use CHECK_1.
33895 (__new_shmctl): Likewise.
33896 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
33897 <bp-checks.h>.
33898 (__xstat): Do not use CHECK_1.
33899 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
33900 (__lxstat): Do not use CHECK_1.
33901 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
33902 <bp-checks.h>.
33903 (___lxstat64): Do not use CHECK_1.
33904 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
33905 (__old_msgctl): Do not use CHECK_1.
33906 (__new_msgctl): Likewise.
33907 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
33908 <bp-checks.h>.
33909 (__gettimeofday): Do not use CHECK_1.
33910 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
33911 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
33912 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
33913 <bp-checks.h>.
33914 (__gettimeofday): Do not use CHECK_1.
33915 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
33916 (__old_shmctl): Do not use CHECK_1_NULL_OK.
33917 (__new_shmctl): Do not use CHECK_1.
33918 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
33919 <bp-checks.h>.
33920 (do_sigtimedwait): Do not use CHECK_1.
33921 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
33922 <bp-checks.h>.
33923 (do_sigwaitinfo): Do not use CHECK_1.
33924 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
33925 <bp-checks.h>.
33926 (msgctl): Do not use CHECK_1.
33927 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
33928 <bp-checks.h>.
33929 (shmctl): Do not use CHECK_1.
33930 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
33931 (ustat): Do not use CHECK_1.
33932 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
33933 <bp-checks.h>.
33934 (__fxstat): Do not use CHECK_1.
33935 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
33936 <bp-checks.h>.
33937 (__fxstatat): Do not use CHECK_1.
33938 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
33939 <bp-checks.h>.
33940 (__lxstat): Do not use CHECK_1.
33941 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
33942 <bp-checks.h>.
33943 (__xstat): Do not use CHECK_1.
33944 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
33945 (__xstat): Do not use CHECK_1.
33946 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
33947 (___xstat64): Do not use CHECK_1.
33948
b2c9eff4
JM
33949 [BZ #13550]
33950 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
33951 definitions.
33952 (CHECK_BOUNDS_HIGH): Likewise.
33953 * string/strcpy.c: Do not include <bp-checks.h>.
33954 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
33955
f1d70dad
RM
339562013-02-07 Roland McGrath <roland@hack.frob.com>
33957
33958 * nscd/nscd-client.h (__nscd_drop_map_ref):
33959 Add __attribute__ ((unused)).
33960 * nis/nss-nisplus.h (niserr2nss): Likewise.
33961
33962 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
33963 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
33964
33965 * csu/libc-tls.c (init_static_tls, init_slotinfo):
33966 Remove inline keyword.
33967 * include/rounding-mode.h (round_away): Likewise.
33968 * libio/wfileops.c (adjust_wide_data): Likewise.
33969 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
33970 (__m128i_strloadu_tolower): Likewise.
33971 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
33972 (__m128i_strloadu_tolower): Likewise.
33973 * time/mktime.c (ydhms_diff): Likewise.
33974 * locale/elem-hash.h (elem_hash): Likewise.
33975 * locale/setlocale.c (setdata): Likewise.
33976 * posix/regex_internal.h (re_string_char_size_at): Likewise.
33977 (re_string_wchar_at): Likewise.
33978 (bitset_not, bitset_merge, bitset_mask): Likewise.
33979 [!(__GNUC__ > 3)] (inline): Remove macro.
33980 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
33981 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
33982 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
33983 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
33984 * string/memcmp.c (memcmp_bytes): Likewise.
33985 * locale/programs/locarchive.c (compute_hashval): Likewise.
33986 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
33987 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
33988 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
33989 * nss/getent.c (print_rpc, print_protocols): Likewise.
33990 (print_passwd, print_group, print_aliases): Likewise.
33991 * nis/nss-nisplus.h (niserr2nss): Likewise.
33992 * nscd/connections.c (restart_p): Likewise.
33993 Change return type to bool.
33994
eab55bfb
RM
339952013-02-05 Roland McGrath <roland@hack.frob.com>
33996
7bd642f5
RM
33997 * Makeconfig (all-Depend-files): Add existing
33998 $(sorted-subdirs:=/Depend) files.
33999 (all-subdirs): Remove nss.
34000 * sysdeps/unix/inet/Subdirs: Add it here instead.
34001 * hesiod/Depend: New file.
34002
573c29b2
RM
34003 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
34004 instead of calling alloca.
34005
b2e25af0
RM
34006 * io/lseek.c (__lseek): Rename to __libc_lseek.
34007 Define __lseek as an alias.
34008
eab55bfb
RM
34009 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
34010
9a0d1941
CD
340112013-02-04 Carlos O'Donell <carlos@redhat.com>
34012
34013 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
34014 else clause and remove check for non-standard endianness.
34015
b83bbec4
DM
340162013-02-04 David S. Miller <davem@davemloft.net>
34017
34018 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34019
6277fdab
JM
340202013-02-04 Joseph Myers <joseph@codesourcery.com>
34021
34022 [BZ #13550]
34023 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
34024 (__ubp_memchr): Remove prototype.
34025 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
34026 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
34027 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
34028 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
34029 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
34030 Remove alias.
34031 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
34032 (__ubp_memchr): Likewise.
34033 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
34034 (__ubp_memchr): Likewise.
34035 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
34036 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
34037 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
34038 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
34039 CHECK_STRING.
34040 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
34041 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
34042 (__getcwd): Do not use CHECK_STRING.
34043 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
34044 <bp-checks.h>.
34045 (__real_chown): Do not use CHECK_STRING.
34046 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
34047 <bp-checks.h>.
34048 (fchownat): Do not use CHECK_STRING.
34049 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
34050 CHECK_STRING.
34051 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
34052 <bp-checks.h>.
34053 (__lchown): Do not use CHECK_STRING.
34054 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
34055 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
34056 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
34057 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
34058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
34059 include <bp-checks.h>.
34060 (truncate64): Do not use CHECK_STRING.
34061 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
34062 <bp-checks.h>.
34063 (__real_chown): Do not use CHECK_STRING.
34064 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
34065 <bp-checks.h>.
34066 (__lchown): Do not use CHECK_STRING.
34067 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
34068 <bp-checks.h>.
34069 (__chown): Do not use CHECK_STRING.
34070 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
34071 <bp-checks.h>.
34072 (truncate64): Do not use CHECK_STRING.
34073 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
34074 Likewise.
34075 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
34076 (__xmknod): Do not use CHECK_STRING.
34077 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
34078 <bp-checks.h>.
34079 (__xmknodat): Do not use CHECK_STRING.
34080 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
34081 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
34082
903ae060
AS
340832013-02-04 Andreas Schwab <schwab@suse.de>
34084
34085 [BZ #14142]
34086 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
34087 * include/netdb.h: Likewise for h_errno.
34088 * elf/tst-stackguard1.c: Include <tls.h>.
34089
542f9466
JK
340902013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
34091
34092 * elf/link.h (struct link_map): Extend the l_addr comment.
34093 * include/link.h (struct link_map): Likewise.
34094
e782a927
JM
340952013-02-01 Joseph Myers <joseph@codesourcery.com>
34096
34097 [BZ #13550]
34098 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
34099 (BOUNDED_1): Remove macro.
34100 * debug/backtrace.c: Don't include <bp-checks.h>.
34101 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
34102 (__backtrace): Likewise.
34103 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
34104 <bp-checks.h>.
34105 (__backtrace): Don't use BOUNDED_1.
34106 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
34107 <bp-checks.h>.
34108 (__backtrace): Don't use BOUNDED_1.
34109 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
34110 (__backtrace): Don't use BOUNDED_1.
34111 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
34112 (shmat): Don't use BOUNDED_N.
34113
8cf28c5e
JM
341142013-01-31 Joseph Myers <joseph@codesourcery.com>
34115
3a7ac8a0
JM
34116 [BZ #13550]
34117 * sysdeps/generic/bp-start.h: Remove file.
34118 * csu/libc-start.c: Don't include <bp-start.h>.
34119 (LIBC_START_MAIN): Set up __environ directly instead of using
34120 INIT_ARGV_and_ENVIRON.
34121 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
34122 <bp-start.h>.
34123
f3499f95
JM
34124 [BZ #13550]
34125 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
34126 definitions.
34127 (CHECK_FCNTL): Likewise.
34128 (CHECK_N_PAGES): Likewise.
34129
32a45bea
JM
34130 [BZ #13550]
34131 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
34132 definitions.
34133 (CHECK_SIGSET_NULL_OK): Likewise.
34134 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
34135 <bp-checks.h>.
34136 (sigpending): Don't use CHECK_SIGSET.
34137 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
34138 <bp-checks.h>.
34139 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
34140 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
34141 <bp-checks.h>.
34142 (do_sigsuspend): Don't use CHECK_SIGSET.
34143 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
34144 use CHECK_SIGSET.
34145 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
34146 (do_sigwait): Don't use CHECK_SIGSET.
34147 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
34148 use CHECK_SIGSET.
34149 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
34150 include <bp-checks.h>.
34151 (sigpending): Don't use CHECK_SIGSET.
34152 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
34153 include <bp-checks.h>.
34154 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
34155 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
34156 <bp-checks.h>.
34157 (sigpending): Don't use CHECK_SIGSET.
34158 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
34159 <bp-checks.h>.
34160 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
34161
2e8a5c8c
JM
34162 [BZ #13550]
34163 * sysdeps/generic/bp-semctl.h: Remove file.
34164 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
34165 <bp-checks.h> and <bp-semctl.h>.
34166 (__old_semctl): Don't use CHECK_SEMCTL.
34167 (__new_semctl): Likewise.
34168 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
34169 and <bp-semctl.h>.
34170 (__old_semctl): Don't use CHECK_SEMCTL.
34171 (__new_semctl): Likewise.
34172 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
34173 <bp-checks.h> and <bp-semctl.h>.
34174 (__old_semctl): Don't use CHECK_SEMCTL.
34175 (__new_semctl): Likewise.
34176 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
34177 <bp-checks.h> and <bp-semctl.h>.
34178 (semctl): Don't use CHECK_SEMCTL.
34179
c2d54929
JM
34180 [BZ #13550]
34181 * Makerules (elide-bp-thunks): Remove variable.
34182 (elide-routines.oS): Don't use $(elide-bp-thunks).
34183 (elide-routines.os): Likewise.
34184 (elide-routines.o): Likewise.
34185 (elide-routines.op): Likewise.
34186 (elide-routines.og): Likewise.
34187 (objects): Don't use $(bp-thunks).
34188 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
34189 include.
34190 (common-generated): Do not add s-proto-bp.d.
34191 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
34192 (int): Likewise.
34193 (typ): Likewise.
34194 Do not generate makefile rules for bounded-pointer thunks.
34195 * sysdeps/generic/bp-thunks.h: Remove file.
34196 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
34197 * sysdeps/unix/s-proto-bp.S: Likewise.
34198
8cf28c5e
JM
34199 [BZ #15062]
34200 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
34201 parts of result separately when argument is not close to line from
34202 -i to i and one part of argument is small.
34203 * math/k_casinhf.c (__kernel_casinhf): Likewise.
34204 * math/k_casinhl.c (__kernel_casinhl): Likewise.
34205 * math/libm-test.inc (cacos_test): Add more tests.
34206 (casin_test): Likewise.
34207 (casinh_test): Likewise.
34208 * sysdeps/i386/fpu/libm-test-ulps: Update.
34209 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34210
c4e33b8d
DM
342112013-01-31 David S. Miller <davem@davemloft.net>
34212
34213 * po/de.po: Update from translation team.
34214
3b60b421
MK
342152013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
34216
34217 * time/tzfile.c: Include stdint.h for SIZE_MAX.
34218
bb931195
TS
342192013-01-25 Thomas Schwinge <thomas@codesourcery.com>
34220
b5a5da23
TS
34221 * configure.in (_AC_PROG_CC_C89): New definition.
34222 * configure: Regenerate.
34223
bb931195
TS
34224 * configure.in (AC_PROG_CPP): New definition.
34225 * configure: Regenerate.
34226
8c53a12c
JM
342272013-01-23 Joseph Myers <joseph@codesourcery.com>
34228
34229 * debug/tst-backtrace.h: New file.
34230 * debug/tst-backtrace2.c: Include tst-backtrace.h.
34231 (ret): Remove variable.
34232 (x): Likewise.
34233 (FAIL): Remove macro.
34234 (NO_INLINE): Likewise.
34235 (fn1): Use match function instead of strstr.
34236 * debug/tst-backtrace3.c: Include tst-backtrace.h.
34237 (ret): Remove variable.
34238 (x): Likewise.
34239 (FAIL): Remove macro.
34240 (NO_INLINE): Likewise.
34241 (fn): Use match function instead of strstr.
34242 * debug/tst-backtrace4.c: Include tst-backtrace.h.
34243 (ret): Remove variable.
34244 (x): Likewise.
34245 (FAIL): Remove macro.
34246 (NO_INLINE): Likewise.
34247 (handle_signal): Use match function instead of strstr.
34248 * debug/tst-backtrace5.c: Include tst-backtrace.h.
34249 (ret): Remove variable.
34250 (x): Likewise.
34251 (FAIL): Remove macro.
34252 (NO_INLINE): Likewise.
34253 (handle_signal): Use match function instead of strstr.
34254
4858fa2a
RM
342552013-01-23 Roland McGrath <roland@hack.frob.com>
34256
34257 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
34258
bae8e7f5
DM
342592013-01-23 David S. Miller <davem@davemloft.net>
34260
34261 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
34262 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
34263 argument of CAS if possible.
34264 * sysdeps/sparc/sparc64/bits/atomic.h
34265 (__arch_compare_and_exchange_val_32_acq): Likewise.
34266 (__arch_compare_and_exchange_val_64_acq): Likewise.
34267
9cbbc4ae
PT
342682013-01-23 Pino Toscano <toscano.pino@tiscali.it>
34269
34270 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
34271 * sysdeps/posix/ulimit.c: ... this.
92a601b8 34272 Include <limits.h>.
67b3f58c 34273 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 34274
5655a0b5
AC
342752013-01-23 Adam Conrad <adconrad@0c3.net>
34276
34277 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
34278 (LDFLAGS-tst-array5): Likewise.
34279
052aff95
JM
342802013-01-23 Joseph Myers <joseph@codesourcery.com>
34281
34282 [BZ #15036]
34283 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
34284 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
34285 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
34286 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
34287
7c1e01aa
DM
342882013-01-21 David S. Miller <davem@davemloft.net>
34289
34290 * sysdeps/sparc/backtrace.c: New file.
34291 * sysdeps/sparc/sparc32/backtrace.h: New file.
34292 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
34293 * sysdeps/sparc/sparc64/backtrace.h: New file.
34294 * sysdeps/sparc/sparc64/backtrace.c: Delete.
34295 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
34296 -funwind-tables.
34297
ab087e0a
AS
342982013-01-21 Andreas Schwab <schwab@suse.de>
34299
34300 [BZ #15020]
34301 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
34302 closed its stdout.
34303
ed689c2f
AS
343042013-01-20 Andreas Schwab <schwab@linux-m68k.org>
34305
34306 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
34307 "mpa2.h".
34308 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
34309
31d470ac
JM
343102013-01-18 Joseph Myers <joseph@codesourcery.com>
34311 Mark Mitchell <mark@codesourcery.com>
34312 Tom de Vries <tom@codesourcery.com>
34313 Paul Pluzhnikov <ppluzhnikov@google.com>
34314
34315 * debug/tst-backtrace2.c: New file.
34316 * debug/tst-backtrace3.c: Likewise.
34317 * debug/tst-backtrace4.c: Likewise.
34318 * debug/tst-backtrace5.c: Likewise.
34319 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
34320 (CFLAGS-tst-backtrace3.c): Likewise.
34321 (CFLAGS-tst-backtrace4.c): Likewise.
34322 (CFLAGS-tst-backtrace5.c): Likewise.
34323 (LDFLAGS-tst-backtrace2): Likewise.
34324 (LDFLAGS-tst-backtrace3): Likewise.
34325 (LDFLAGS-tst-backtrace4): Likewise.
34326 (LDFLAGS-tst-backtrace5): Likewise.
34327 (tests): Add new tests tst-backtrace2, tst-backtrace3,
34328 tst-backtrace4 and tst-backtrace5.
34329
90567f30 343302013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
34331 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
34332
34333 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
34334 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
34335 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
34336 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
34337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
34338 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
34339 "+r" and remove output regs list as redundant. Add explicit inline
34340 asm to specify register of return val to work around compiler codegen
34341 bug. Remove (int) cast on return value. Add return type parameter to
34342 use in macro so that this macro does not truncate return value for
34343 64-bit values.
34344 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
34345 pass to INTERNAL_VSYSCALL_NCS.
34346 (INLINE_VSYSCALL): Add 'long int' as return type to
34347 INTERNAL_VSYSCALL_NCS macro invocation.
34348 (INTERNAL_VSYSCALL): Add 'long int' as return type to
34349 INTERNAL_VSYSCALL_NCS macro invocation.
34350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
34351
d3b9ea61
SP
343522013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
34353
0b57daeb
SP
34354 [BZ #14496]
34355 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
34356 Fix application of SIMD FP exception mask.
34357
caa99d06
SP
34358 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
34359 mp_no from a power of two.
34360 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
34361 __mpexp_twomm1. Use __pow_mp.
34362
d3b9ea61
SP
34363 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
34364 multiplication.
34365
1dbaee3c
DM
343662013-01-17 David S. Miller <davem@davemloft.net>
34367
34368 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34369
728d7b43
JM
343702013-01-17 Joseph Myers <joseph@codesourcery.com>
34371
34372 [BZ #15023]
34373 * include/complex.h: Condition contents on [!_COMPLEX_H].
34374 (__kernel_casinhf): New prototype.
34375 (__kernel_casinh): Likewise.
34376 (__kernel_casinhl): Likewise.
34377 * math/Makefile (libm_calls): Add k_casinh.
34378 * math/k_casinh.c: New file.
34379 * math/k_casinhf.c: Likewise.
34380 * math/k_casinhl.c: Likewise.
34381 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
34382 finite nonzero arguments.
34383 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
34384 finite nonzero arguments.
34385 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
34386 finite nonzero arguments.
34387 * math/s_casinh.c: Do not include <float.h>.
34388 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
34389 * math/s_casinhf.c: Do not include <float.h>.
34390 (__casinhf): Move code for finite nonzero arguments to
34391 k_casinhf.c.
34392 * math/s_casinhl.c: Do not include <float.h>.
34393 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
34394 redefine.
34395 (__casinhl): Move code for finite nonzero arguments to
34396 k_casinhl.c.
34397 * math/libm-test.inc (cacos_test): Add more tests.
34398 * sysdeps/i386/fpu/libm-test-ulps: Update.
34399 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34400
2a26ef3a
PT
344012013-01-17 Pino Toscano <toscano.pino@tiscali.it>
34402
34403 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
34404 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
34405 [!HAVE_MREMAP]: Remove [defined linux] case.
34406 * malloc/arena.c: Do not include <malloc-sysdep.h>.
34407
a897655d
SP
344082013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
34409
34410 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
34411
881ebe89 344122013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
34413
34414 * elf/elf.h (R_386_SIZE32): New relocation.
34415 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
34416 R_386_SIZE32.
34417 (elf_machine_rela): Likewise.
34418 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
34419 R_X86_64_SIZE64 and R_X86_64_SIZE32.
34420
59981e9b
JM
344212013-01-17 Joseph Myers <joseph@codesourcery.com>
34422
34423 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
34424 (FP_FAST_FMA): Do not define.
34425 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
34426 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
34427 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
34428 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
34429 !_SOFT_FLOAT]: Likewise.
34430 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
34431 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
34432 value.
34433 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
34434 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
34435 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
34436 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
34437 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
34438 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
34439 file.
34440
cfa8054f
AS
344412013-01-16 Andreas Schwab <schwab@suse.de>
34442
34443 [BZ #14327]
34444 * include/stdlib.h (__mktemp): Add declaration.
34445 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
34446 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
34447
dd930cc5
SP
344482013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
34449
881ebe89
SP
34450 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
34451 definitions.
34452 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
34453 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
34454 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
34455 definitions here.
34456 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
34457 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
34458 definitions.
34459 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
34460 and ONE.
34461 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
34462 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
34463 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
34464 definitions.
34465 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
34466 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
34467 definitions.
34468 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 34469
dd930cc5
SP
34470 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
34471
c19a9f89
DM
344722013-01-15 David S. Miller <davem@davemloft.net>
34473
1aa61767
DM
34474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
34475 trunc{,f} to libm-sysdep_routes.
34476 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
34477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
34478 file.
34479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
34480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
34481 file.
34482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
34483 file.
34484 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
34485 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
34486 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
34487 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
34488 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
34489 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
34490 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
34491 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
34492
c42d5e98
DM
34493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
34494 nearbyint{,f} to libm-sysdep_routes.
34495 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
34496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
34497 New file.
34498 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
34499 file.
34500 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
34501 New file.
34502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
34503 file.
34504 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
34505 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
34506 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
34507 file.
34508 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
34509 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
34510 file.
34511 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
34512 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
34513 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
34514
c19a9f89
DM
34515 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
34516 libc_feholdexcept and libc_fesetenv.
34517
357679d2
MF
345182013-01-15 Mike Frysinger <vapier@gentoo.org>
34519
34520 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
34521
65a82e3d
DM
345222013-01-14 David S. Miller <davem@davemloft.net>
34523
8b954ab9
DM
34524 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
34525 (SPARC_ASM_VIS2_IFUNC): Likewise.
34526 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
34527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
34528 use of 'siam' instruction.
34529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
34530 Likewise.
34531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
34532 Likewise.
34533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
34534 Likewise.
34535 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
34536 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
34537 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
34538 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
34539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
34540 file.
34541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
34542 file.
34543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
34544 file.
34545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
34546 file.
34547 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
34548 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
34549 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
34550 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
34551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
34552 new VIS2 routines.
34553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
34554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
34555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
34556 Likewise.
34557 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
34558 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
34559 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
34560 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
34561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
34562 routines to libm-sysdep_routines.
34563 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
34564
65a82e3d
DM
34565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
34566 fdim/fdimf to libm-sysdep_routines.
34567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
34568 file.
34569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
34570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
34571 file.
34572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
34573 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
34574 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
34575 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
34576 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
34577 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
34578 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
34579
e34ab705
SP
345802013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
34581
2a91b573
SP
34582 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
34583 to optimize copies.
34584
1066a534
SP
34585 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
34586 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
34587 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
34588
e34ab705
SP
34589 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
34590 local variable MPTWO.
34591 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
34592 Likewise.
34593
aba5e596
MF
345942013-01-13 Mike Frysinger <vapier@gentoo.org>
34595
34596 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
34597 GLOB_NOESCAPE.
34598
e557e9e5
MF
345992013-01-13 Mike Frysinger <vapier@gentoo.org>
34600
34601 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
34602
0428cec9
MF
346032013-01-13 Mike Frysinger <vapier@gentoo.org>
34604
34605 * manual/pattern.texi (glob_t): Document gl_flags.
34606 (glob64_t): Likewise.
34607
8794a964
DM
346082013-01-11 David S. Miller <davem@davemloft.net>
34609
66438c3f
RM
34610 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
34611 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
34612 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
34613 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
34614 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
34615 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
34616 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
34617 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
34618 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
34619 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
34620 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
34621 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
34622 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
34623
4ae4244d
DM
34624 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
34625 sparc V9 rather than using V8 code.
34626 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
34627 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
34628
8794a964
DM
34629 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
34630 Move to...
34631 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
34632 Here.
34633
6270516e
RM
346342013-01-11 Roland McGrath <roland@hack.frob.com>
34635
34636 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
34637 not in the main loop.
34638 * configure: Regenerated.
34639
6a57d931
JM
346402013-01-11 Joseph Myers <joseph@codesourcery.com>
34641
34642 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
34643 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
34644 to just #else.
34645 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
34646 [!__GLIBC_HAVE_LONG_LONG] case.
34647 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
34648 condition to just #else.
34649 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
34650 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
34651 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
34652 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
34653 unconditional.
34654 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
34655 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
34656 #elif condition to just #else.
34657 * sysdeps/unix/sysv/linux/sys/sysmacros.h
34658 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
34659 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
34660 #elif condition to just #else.
34661
0e8529e9
SE
346622013-01-11 Steve Ellcey <sellcey@mips.com>
34663
34664 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
34665 (EF_MIPS_ARCH_64): Fix value.
34666 (EF_MIPS_ARCH_32R2): New.
34667 (EF_MIPS_ARCH_64R2): New.
34668
740b3dbe
L
346692013-01-11 H.J. Lu <hongjiu.lu@intel.com>
34670
34671 * Makeconfig (+link-pie-before-libc): New.
34672 (+link-pie-after-libc): Likewise.
34673 (+link-pie-tests): Likewise.
34674 (+link-pie): Rewritten.
34675 (link-before-libc): Remove $(config-LDFLAGS).
34676 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
34677 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
34678 (config-LDFLAGS): Renamed to ...
34679 (rtld-LDFLAGS): This.
34680 (rtld-tests-LDFLAGS): New macro.
34681 (link-libc-rpath-link): Likewise.
34682 (link-libc-tests-rpath-link): Likewise.
34683 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
34684 (link-libc): Prepand $(link-libc-rpath-link).
34685 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
34686 (test-program-prefix): New macro.
34687 (test-via-rtld-prefix): Likewise.
34688 (test-program-cmd): Likewise.
34689 (host-test-program-cmd): Likewise.
34690 * Makefile ($(common-objpfx)testrun.sh): Replace
34691 $(run-program-prefix) with $(test-program-prefix).
34692 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
34693 $(rtld-LDFLAGS).
34694 ($(common-objpfx)shlib.lds): Likewise.
34695 (build-module-helper): Likewise.
34696 ($(common-objpfx)format.lds): Likewise.
34697 * Rules (binaries-pie-tests): New.
34698 (binaries-pie-notests): Likewise.
34699 (binaries-pie): Rewritten.
34700 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
34701 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
34702 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
34703 (make-test-out): Replace $(host-built-program-cmd) with
34704 $(host-test-program-cmd).
34705 * config.make.in (build-hardcoded-path-in-tests): New variable.
34706 * configure.in (--enable-hardcoded-path-in-tests): New configure
34707 option.
34708 (hardcoded_path_in_tests): New AC_SUBST.
34709 * configure: Regenerated.
34710 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
34711 $(built-program-cmd) with $(test-program-cmd).
34712 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
34713 (test_program_cmd): This.
34714 * elf/Makefile ($(objpfx)order.out): Run test with
34715 $(test-program-prefix).
34716 ($(objpfx)order2.out): Likewise.
34717 ($(objpfx)tst-initorder.out): Likewise.
34718 ($(objpfx)tst-initorder2.out): Likewise.
34719 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
34720 $(test-program-cmd).
34721 ($(objpfx)tst-array1-static.out): Likewise.
34722 ($(objpfx)tst-array2.out): Likewise.
34723 ($(objpfx)tst-array3.out): Likewise.
34724 ($(objpfx)tst-array4.out): Likewise.
34725 ($(objpfx)tst-array5.out): Likewise.
34726 ($(objpfx)tst-array5-static.out): Likewise.
34727 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
34728 $(test-program-cmd).
34729 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
34730 $(run-program-prefix) with $(test-program-prefix).
34731 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
34732 (test_program_prefix): This.
34733 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
34734 $(run-program-prefix) with $(test-program-prefix).
34735 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
34736 (test_program_prefix): This.
34737 * iconvdata/tst-tables.sh: Likewise.
34738 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
34739 $(run-program-prefix) with $(test-program-prefix).
34740 ($(objpfx)tst-translit.out): Likewise.
34741 ($(objpfx)tst-gettext2.out): Likewise.
34742 ($(objpfx)tst-gettext4.out): Likewise.
34743 ($(objpfx)tst-gettext6.out): Likewise.
34744 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
34745 (test_program_prefix): This.
34746 * intl/tst-gettext2.sh: Likewise.
34747 * intl/tst-gettext4.sh Likewise.
34748 * intl/tst-gettext6.sh: Likewise.
34749 * intl/tst-translit.sh: Likewise.
34750 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
34751 with $(test-program-cmd).
34752 * libio/Makefile ($(objpfx)test-freopen.out): Replace
34753 $(run-program-prefix) with $(test-program-prefix).
34754 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
34755 (test_program_prefix): This.
34756 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
34757 $(run-program-prefix) with $(test-program-prefix).
34758 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
34759 (test_program_prefix): This.
34760 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
34761 * posix/Makefile ($(objpfx)globtest.out): Replace
34762 $(run-via-rtld-prefix) and $(test-wrapper) with
34763 $(test-program-prefix) and $(test-via-rtld-prefix).
34764 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
34765 $(test-program-prefix).
34766 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
34767 $(host-test-program-cmd).
34768 (tst-spawn-ARGS): Likewise.
34769 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
34770 $(test-program-prefix).
34771 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
34772 (test_via_rtld_prefix): This.
34773 (test_wrapper): Renamed to ...
34774 (test_program_prefix): This.
34775 (run_program_prefix): Replaced by test_program_prefix.
34776 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
34777 (test_program_prefix): This.
34778 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
34779 with $(host-test-program-cmd).
34780 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
34781 $(run-program-prefix) with $(test-program-prefix).
34782 ($(objpfx)tst-printf.out): Likewise.
34783 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
34784 $(test-program-cmd).
34785 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
34786 (test_program_prefix): This.
34787 * stdio-common/tst-unbputc.sh: Likewise.
34788 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
34789 $(run-program-prefix) with $(test-program-prefix).
34790 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
34791 (test_program_prefix): This.
34792 * string/Makefile ($(objpfx)tst-svc.out): Replace
34793 $(built-program-cmd) with $(test-program-cmd).
34794
c6fe55cf
AJ
347952013-01-11 Andreas Jaeger <aj@suse.de>
34796
34797 [BZ #15003]
34798 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
34799 value. Sync with Linux 3.7.
34800
9e6919c8
DM
348012013-01-10 David S. Miller <davem@davemloft.net>
34802
34803 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
34804 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
34805 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
34806
1c9f1a02
RM
348072013-01-10 Roland McGrath <roland@hack.frob.com>
34808
34809 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
34810 never set.
34811 * configure: Regenerated.
34812
b9de2dde
DM
348132013-01-10 David S. Miller <davem@davemloft.net>
34814
34815 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
34816 sparc V9 rather than using V8 code.
34817 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
34818 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
34819
e7f68ef4
RM
348202013-01-10 Roland McGrath <roland@hack.frob.com>
34821
34822 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
34823 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
34824 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
34825 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
34826 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
34827 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
34828 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
34829 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
34830 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
34831 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
34832 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
34833 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
34834 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
34835 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
34836 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
34837 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
34838 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
34839 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
34840 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
34841 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
34842 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
34843 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
34844 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
34845 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
34846 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
34847 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
34848 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
34849
5a47cc9c
DM
348502013-01-10 David S. Miller <davem@davemloft.net>
34851
34852 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34853
4cf8f209
L
348542013-01-10 H.J. Lu <hongjiu.lu@intel.com>
34855
34856 * posix/Makefile (tests-static): New variable.
34857 (tests): Add $(tests-static).
34858 (tst-exec-static-ARGS): New variable.
34859 (tst-spawn-static-ARGS): Likewise.
34860 * posix/tst-exec-static.c: New file.
34861 * posix/tst-spawn-static.c: Likewise.
34862 * posix/tst-exec.c: Support run directly.
34863 * posix/tst-spawn.c: Likewise.
34864
fed0faa1
JM
348652013-01-10 Joseph Myers <joseph@codesourcery.com>
34866
828beb13
JM
34867 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
34868 long.
34869 * math/bits/mathcalls.h (llrint): Likewise.
34870 (llround): Likewise.
34871 * stdlib/stdlib.h (struct drand48_data): Likewise.
34872 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
34873 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
34874 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
34875 Likewise.
34876 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
34877 Likewise.
34878 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
34879 (elf_greg_t): Likewise.
34880 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
34881 (__jmp_buf): Likewise.
34882 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
34883 definitions.
34884 (llrint): Likewise, for all definitions.
34885 (llrintl): Likewise.
34886
fed0faa1
JM
34887 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
34888 Remove [__GNUC__] condition.
34889 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
34890 condition to just [__USE_ISOC99].
34891 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
34892
1a20cb20
L
348932013-01-10 H.J. Lu <hongjiu.lu@intel.com>
34894
34895 [BZ #14200]
34896 * sysdeps/unix/sysv/linux/x86/bits/environments.h
34897 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
34898 defined.
34899 (_POSIX_V6_ILP32_OFF32): Likewise.
34900 (_XBS5_ILP32_OFF32): Likewise.
34901 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
34902 (__ILP32_OFFBIG_LDFLAGS): Likewise.
34903
751b85f7
SP
349042013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
34905
7490eb81
SP
34906 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
34907
751b85f7
SP
34908 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
34909 doubles __mpexp_twomm1. Adjust usage.
34910 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
34911 Remove.
34912
988197f0
AS
349132013-01-10 Andreas Schwab <schwab@suse.de>
34914
34915 [BZ #14964]
34916 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
34917 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
34918
e83d7298
DM
349192013-01-09 David S. Miller <davem@davemloft.net>
34920
034ed64b 34921 [BZ #15003]
57f41c40
AS
34922 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
34923 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
34924 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
34925 (TCP_FASTOPEN): Define.
e83d7298
DM
34926 (tcp_repair_opt): New structure.
34927 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
34928 enum values.
57f41c40
AS
34929 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
34930 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
34931 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
34932 (tcp_cookie_transactions): New structure.
34933
d5e0b9bd
AB
349342013-01-09 Anton Blanchard <anton@samba.org>
34935
34936 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
34937 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
34938 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
34939 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
34940
0c07e3ea
JM
349412013-01-09 Joseph Myers <joseph@codesourcery.com>
34942
34943 * include/features.h (__USE_ANSI): Remove.
34944
232f7002
RM
349452013-01-09 Roland McGrath <roland@hack.frob.com>
34946
ad98e30c
RM
34947 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
34948
232f7002
RM
34949 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
34950
950c99ca
SP
349512013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
34952
b5792741
SP
34953 * sysdeps/s390/fpu/libm-test-ulps: Update.
34954
47cf2278
SP
34955 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34956
950c99ca
SP
34957 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
34958 (__acr): Likewise.
34959 (__cpy): Likewise.
34960 (norm): Likewise.
34961 (denorm): Likewise.
34962 (__mp_dbl): Likewise.
34963 (__dbl_mp): Likewise.
34964 (add_magnitudes): Likewise.
34965 (sub_magnitudes): Likewise.
34966 (__add): Likewise.
34967 (__sub): Likewise.
34968 (__mul): Likewise.
34969 (__inv): Likewise.
34970 (__dvd): Likewise.
34971 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
34972 (__acr): Likewise.
34973 (__cpy): Likewise.
34974 (norm): Likewise.
34975 (denorm): Likewise.
34976 (__mp_dbl): Likewise.
34977 (__dbl_mp): Likewise.
34978 (add_magnitudes): Likewise.
34979 (sub_magnitudes): Likewise.
34980 (__add): Likewise.
34981 (__sub): Likewise.
34982 (__mul): Likewise.
34983 (__inv): Likewise.
34984 (__dvd): Likewise.
34985 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
34986 (__acr): Likewise.
34987 (__cpy): Likewise.
34988 (norm): Likewise.
34989 (denorm): Likewise.
34990 (__mp_dbl): Likewise.
34991 (__dbl_mp): Likewise.
34992 (add_magnitudes): Likewise.
34993 (sub_magnitudes): Likewise.
34994 (__add): Likewise.
34995 (__sub): Likewise.
34996 (__mul): Likewise.
34997 (__inv): Likewise.
34998 (__dvd): Likewise.
34999
eede9df9
JM
350002013-01-08 Joseph Myers <joseph@codesourcery.com>
35001
35002 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
35003 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
35004 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
35005 2 && __USE_EXTERN_INLINES]: Likewise.
35006
c40ea3d9
AJ
350072013-01-08 Andreas Jaeger <aj@suse.de>
35008
35009 [BZ# 14985]
35010 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
35011 Remove.
35012 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
35013 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
35014
2ccdea26
AB
350152013-01-07 Anton Blanchard <anton@samba.org>
35016
35017 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
35018 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
35019 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
35020 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
35021 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
35022 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
35023 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
35024 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
35025 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
35026 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
35027 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
35028 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
35029 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
35030 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
35031 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
35032 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
35033 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
35034 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
35035 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
35036 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
35037 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
35038 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
35039 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
35040 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
35041 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
35042 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
35043 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
35044 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
35045 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
35046 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
35047 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
35048 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
35049 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
35050 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
35051 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
35052 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
35053 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
35054 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
35055 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
35056 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
35057 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
35058 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
35059 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
35060
a9708fed
JM
350612013-01-07 Joseph Myers <joseph@codesourcery.com>
35062
375607b9
JM
35063 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
35064 (__MALLOC_PMT): Likewise.
35065 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
35066 [__GNUC__], only on [_LIBC].
35067 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
35068 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
35069 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
35070 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
35071 forward declaration.
35072 (realloc_hook_ini): Likewise.
35073 (memalign_hook_ini): Likewise.
35074 (__libc_memalign): Do not use __MALLOC_PMT in variable
35075 declaration.
35076 (__libc_valloc): Likewise.
35077 (__libc_pvalloc): Likewise.
35078 (__libc_calloc): Likewise.
35079 (__posix_memalign): Likewise.
35080
a9708fed
JM
35081 [BZ #14996]
35082 * math/s_casinh.c: Include <float.h>.
35083 (__casinh): Do not do computation with squaring and square root
35084 for large arguments.
35085 * math/s_casinhf.c: Include <float.h>.
35086 (__casinhf): Do not do computation with squaring and square root
35087 for large arguments.
35088 * math/s_casinhl.c: Include <float.h>.
35089 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
35090 (__casinhl): Do not do computation with squaring and square root
35091 for large arguments.
35092 * math/libm-test.inc (casin_test): Add more tests.
35093 (casinh_test): Likewise.
35094 * sysdeps/i386/fpu/libm-test-ulps: Update.
35095 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35096
afec409a
L
350972013-01-04 H.J. Lu <hongjiu.lu@intel.com>
35098
35099 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
35100 (__x86_64_raw_data_cache_size): Likewise.
35101 (__x86_64_data_cache_size_half): Likewise.
35102 (__x86_64_raw_data_cache_size_half): Likewise.
35103 (__x86_64_shared_cache_size): Likewise.
35104 (__x86_64_raw_shared_cache_size): Likewise.
35105 (__x86_64_shared_cache_size_half): Likewise.
35106 (__x86_64_raw_shared_cache_size_half): Likewise.
35107 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
35108 to ...
35109 (__x86_data_cache_size): This.
35110 (__x86_64_raw_data_cache_size): Renamed to ...
35111 (__x86_raw_data_cache_size): This.
35112 (__x86_64_data_cache_size_half): Renamed to ...
35113 (__x86_data_cache_size_half): This.
35114 (__x86_64_raw_data_cache_size_half): Renamed to ...
35115 (__x86_raw_data_cache_size_half): This.
35116 (__x86_64_shared_cache_size): Renamed to ...
35117 (__x86_shared_cache_size): This.
35118 (__x86_64_raw_shared_cache_size): Renamed to ...
35119 (__x86_raw_shared_cache_size): This.
35120 (__x86_64_shared_cache_size_half): Renamed to ...
35121 (__x86_shared_cache_size_half): This.
35122 (__x86_64_raw_shared_cache_size_half): Renamed to ...
35123 (__x86_raw_shared_cache_size_half): This.
35124 * sysdeps/x86_64/memcpy.S: Updated.
35125 * sysdeps/x86_64/memset.S: Likewise.
35126 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
35127 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
35128 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
35129
0b3986d0
DM
351302013-01-04 David S. Miller <davem@davemloft.net>
35131
35132 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35133
e47686e9
AS
351342013-01-04 Andreas Schwab <schwab@linux-m68k.org>
35135
d643bac1
AS
35136 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
35137 1 to avoid redefinition warning.
35138 (__USE_GNU): Don't define.
35139 (init_signaling_nan): Protoize.
35140
e47686e9
AS
35141 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35142
b18decba
SP
351432013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
35144
fffb407f
SP
35145 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
35146 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
35147 (__cpymn): Likewise.
35148 (norm): Remove commented code.
35149 (denorm): Likewise.
35150 (__mp_dbl): Likewise.
35151 (__inv): Likewise.
35152 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
35153 (__cpymn): Likewise.
35154 (norm): Remove commented code.
35155 (denorm): Likewise.
35156 (__mp_dbl): Likewise.
35157 (__inv): Likewise.
35158
b18decba
SP
35159 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
35160 mp_no value for 1.0 and 2.0.
35161 (norm): Use RADIXI instead of radixi.d.
35162 (denorm): Likewise.
35163 (__mul): Use 0.0 instead of zero.d.
35164 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
35165 mp_no value for 1.0 and 2.0.
35166 (norm): Use RADIXI instead of radixi.d.
35167 (denorm): Likewise.
35168 (__mul): Use 0.0 instead of zero.d.
35169
cdc1c96f
JM
351702013-01-04 Joseph Myers <joseph@codesourcery.com>
35171
35172 [BZ #14994]
35173 * math/s_casinh.c (__casinh): Reduce finite argument to first
35174 quadrant then set signs of results at the end.
35175 * math/s_casinhf.c (__casinhf): Likewise.
35176 * math/s_casinhl.c (__casinhl): Likewise.
35177 * math/libm-test.inc (casin_test): Add more tests.
35178 (casinh_test): Likewise.
35179 * sysdeps/i386/fpu/libm-test-ulps: Update.
35180 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35181
302913e1
SP
351822013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
35183
6420d207
SP
35184 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
35185
a9e48ab4
SP
35186 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
35187
b7837264
SP
35188 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
35189 declarations.
35190 (denorm): Likewise.
35191 (__mp_dbl): Likewise.
35192 (__inv): Likewise.
35193
f8af25d2
SP
35194 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
35195 and adjust the header comment.
35196
302913e1
SP
35197 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
35198 variable name from declaration.
35199
5d7dd1ca
L
352002013-01-03 H.J. Lu <hongjiu.lu@intel.com>
35201
35202 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35203 Initialize COMMON_CPUID_INDEX_7 element.
35204 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
35205 (CPUID_RTM): Likewise.
35206 (HAS_RTM): Likewise.
35207 (COMMON_CPUID_INDEX_7): New enum.
35208
2f5f40f4
AS
352092013-01-03 Andreas Schwab <schwab@linux-m68k.org>
35210
35211 [BZ #14981]
35212 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
35213 size is zero, record memory as freed.
35214
4056f4a0
AJ
352152013-01-03 Andreas Jaeger <aj@suse.de>
35216
35217 * po/ia.po: Add new Interlingua translation.
35218
ab15736f 352192012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
35220
35221 * locale/programs/localedef.c: Fix description of '--posix' flag.
35222
568035b7
JM
352232013-01-02 Joseph Myers <joseph@codesourcery.com>
35224
e6898b8d
JM
35225 * NEWS: Update dates in second copyright notice.
35226 * README: Update copyright dates in example.
35227 * manual/libc.texinfo: Update copyright dates.
35228 * scripts/test-installation.pl: Update copyright date in --version
35229 output.
35230
0e2f9562
JM
35231 * hurd/ctty-input.c: Fix copyright notice formatting.
35232 * hurd/ctty-output.c: Likewise.
35233 * hurd/dtable.c: Likewise.
35234 * hurd/hurd-raise.c: Likewise.
35235 * hurd/hurdprio.c: Likewise.
35236 * hurd/msgportdemux.c: Likewise.
35237 * misc/sys/file.h: Likewise.
35238 * misc/sys/ioctl.h: Likewise.
35239 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
35240 * sysdeps/mach/hurd/chdir.c: Likewise.
35241 * sysdeps/mach/hurd/fchdir.c: Likewise.
35242 * sysdeps/mach/hurd/rename.c: Likewise.
35243 * sysdeps/mach/hurd/rmdir.c: Likewise.
35244 * sysdeps/mach/hurd/seekdir.c: Likewise.
35245 * sysdeps/mach/hurd/setsid.c: Likewise.
35246 * sysdeps/posix/wait3.c: Likewise.
35247
568035b7
JM
35248 * All files with FSF copyright notices: Update copyright dates
35249 using scripts/update-copyrights.
35250 * intl/plural.c: Regenerated.
35251 * locale/programs/charmap-kw.h: Likewise.
35252 * locale/programs/locfile-kw.h: Likewise.
35253
da08f647
SP
352542013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
35255
0f5477af
SP
35256 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
35257 four values.
35258
44e0d4c2
SP
35259 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
35260 calculation loop and add branch prediction.
35261
4d55b4e5
SP
35262 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
35263 check access beyond bounds of m1np.
35264
da08f647
SP
35265 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
35266 MPTWO.
35267 (__inv): Remove local variable MPTWO to use the global
35268 constant.
35269 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
35270 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
35271 variable MPTWO.
35272 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
35273 MP3HALFS static const.
35274
8e051029
DM
352752013-01-01 David S. Miller <davem@davemloft.net>
35276
35277 * po/ca.po: Update from translation team.
35278
f4cf5f2d
JM
352792013-01-01 Joseph Myers <joseph@codesourcery.com>
35280
35281 * scripts/update-copyrights: New file.
35282 * Makeconfig: Reformat copyright notice.
35283 * ctype/ctype.h: Likewise.
35284 * debug/swprintf_chk.c: Likewise.
35285 * elf/dl-cache.c: Likewise.
35286 * elf/dl-debug.c: Likewise.
35287 * elf/dl-object.c: Likewise.
35288 * grp/initgroups.c: Likewise.
35289 * hurd/Makefile: Likewise.
35290 * hurd/hurd/signal.h: Likewise.
35291 * hurd/hurdfault.c: Likewise.
35292 * hurd/hurdioctl.c: Likewise.
35293 * hurd/hurdlookup.c: Likewise.
35294 * hurd/intr-msg.c: Likewise.
35295 * iconv/gconv_open.c: Likewise.
35296 * libio/swprintf.c: Likewise.
35297 * locale/lc-ctype.c: Likewise.
35298 * locale/nl_langinfo.c: Likewise.
35299 * mach/Machrules: Likewise.
35300 * mach/Makefile: Likewise.
35301 * malloc/obstack.h: Likewise.
35302 * manual/Makefile: Likewise.
35303 * manual/tsort.awk: Likewise.
35304 * misc/bits/stab.def: Likewise.
35305 * nis/nis_print_group_entry.c: Likewise.
35306 * nis/nis_table.c: Likewise.
35307 * nis/nss_compat/compat-pwd.c: Likewise.
35308 * nis/nss_compat/compat-spwd.c: Likewise.
35309 * po/Makefile: Likewise.
35310 * posix/fnmatch.c: Likewise.
35311 * posix/regex.h: Likewise.
35312 * resolv/Makefile: Likewise.
35313 * resolv/nss_dns/dns-network.c: Likewise.
35314 * resolv/res_hconf.c: Likewise.
35315 * scripts/gen-sorted.awk: Likewise.
35316 * soft-fp/soft-fp.h: Likewise.
35317 * stdio-common/printf.h: Likewise.
35318 * stdlib/monetary.h: Likewise.
35319 * stdlib/random.c: Likewise.
35320 * stdlib/random_r.c: Likewise.
35321 * sysdeps/generic/Makefile: Likewise.
35322 * sysdeps/gnu/Makefile: Likewise.
35323 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
35324 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
35325 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
35326 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
35327 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
35328 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
35329 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
35330 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
35331 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
35332 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
35333 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
35334 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
35335 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
35336 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
35337 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
35338 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
35339 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
35340 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
35341 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
35342 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
35343 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
35344 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
35345 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
35346 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
35347 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
35348 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
35349 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
35350 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
35351 * sysdeps/mach/hurd/errnos.awk: Likewise.
35352 * sysdeps/mach/hurd/fork.c: Likewise.
35353 * sysdeps/mach/hurd/getcwd.c: Likewise.
35354 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
35355 * sysdeps/mach/hurd/mmap.c: Likewise.
35356 * sysdeps/mach/hurd/utimes.c: Likewise.
35357 * sysdeps/mach/hurd/xmknod.c: Likewise.
35358 * sysdeps/posix/profil.c: Likewise.
35359 * sysdeps/posix/readdir_r.c: Likewise.
35360 * sysdeps/powerpc/bits/mathdef.h: Likewise.
35361 * sysdeps/powerpc/bits/setjmp.h: Likewise.
35362 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
35363 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
35364 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
35365 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
35366 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
35367 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
35368 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
35369 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
35370 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
35371 * sysdeps/pthread/lio_listio.c: Likewise.
35372 * sysdeps/sparc/dl-procinfo.h: Likewise.
35373 * sysdeps/unix/i386/sysdep.S: Likewise.
35374 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
35375 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
35376 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
35377 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
35378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
35379 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
35380 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
35381 * sysdeps/unix/sysv/linux/speed.c: Likewise.
35382 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
35383 * sysdeps/wordsize-32/divdi3.c: Likewise.
35384 * time/sys/time.h: Likewise.
35385 * wcsmbs/Makefile: Likewise.
35386
0549fbba
DM
353872013-01-01 David S. Miller <davem@davemloft.net>
35388
a141f1a7
DM
35389 * po/fr.po: Update from translation team.
35390
0549fbba
DM
35391 * catgets/gencat.c: Update copyright year.
35392 * csu/version.c: Likewise.
35393 * debug/catchsegv.sh: Likewise.
35394 * debug/pcprofiledump.c: Likewise.
35395 * debug/xtrace.sh: Likewise.
35396 * elf/ldconfig.c: Likewise.
35397 * elf/ldd.bash.in: Likewise.
35398 * elf/pldd.c: Likewise.
35399 * elf/sotruss.ksh: Likewise.
35400 * elf/sprof.c: Likewise.
35401 * iconv/iconv_prog.c: Likewise.
35402 * iconv/iconvconfig.c: Likewise.
35403 * locale/programs/locale.c: Likewise.
35404 * locale/programs/localedef.c: Likewise.
35405 * login/programs/pt_chown.c: Likewise.
35406 * malloc/memusage.sh: Likewise.
35407 * malloc/memusagestat.c: Likewise.
35408 * malloc/mtrace.pl: Likewise.
35409 * nscd/nscd.c: Likewise.
35410 * nss/getent.c: Likewise.
35411 * nss/makedb.c: Likewise.
35412 * posix/getconf.c: Likewise.
35413
18ea052c
SP
354142012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
35415
35416 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
35417 numbers.
35418
9c89fca6
MF
354192012-12-30 Mike Frysinger <vapier@gentoo.org>
35420
35421 * math/bits/mathcalls.h (modf): Use __nonnull.
35422
085ec079
SP
354232012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
35424
35425 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
35426 (split): Use macro CN instead of the bare value.
35427 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
35428 could be used.
35429 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
35430 instead of the bare value.
35431 (power1): Likewise.
35432
6d9f97e1
SP
354332012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35434
d63f73be
SP
35435 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
35436 __ATAN_TWOM.
35437 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
35438
6d9f97e1
SP
35439 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
35440 their values.
35441 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
35442 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
35443 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
35444 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
35445
4c4febf5
AJ
354462012-12-28 Andreas Jaeger <aj@suse.de>
35447
af5843ef
AJ
35448 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
35449 values are from Linux 3.7.
35450
4c4febf5
AJ
35451 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
35452 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
35453
99136f82
SP
354542012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35455
2f216c3c 35456 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
35457 TRUE case.
35458
99136f82
SP
35459 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
35460 (norm): Likewise.
35461 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
35462 variables with preprocessor constants.
35463 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
35464 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
35465 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
35466
7fffbdff
BH
354672012-12-27 Bruno Haible <bruno@clisp.org>
35468
35469 [BZ #14317]
35470 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
35471 only if needed.
35472
b76eb5f0
SP
354732012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
35474
31a7fe5c
SP
35475 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
35476 and use variable directly.
35477 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
35478
b76eb5f0
SP
35479 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
35480 MPONE.
35481 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
35482 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
35483 variable MPONE.
35484 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
35485 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
35486 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
35487 include directive. Remove local variable MPONE.
35488 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
35489 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
35490 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
35491
2c8bfe7d
DM
354922012-12-25 David S. Miller <davem@davemloft.net>
35493
35494 * version.h (RELEASE): Set to "development".
35495 (VERSION): Set to "2.17.90".
35496 * NEWS: Add 2.18 section.
35497
147d03b0
DM
354982012-12-21 David S. Miller <davem@davemloft.net>
35499
35500 * po/hr.po: Update from translation team.
35501
a8ebb2b9
AK
355022012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35503
35504 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
35505
95b4f1b6
SE
355062012-12-19 Steve Ellcey <sellcey@mips.com>
35507
b2d94007 35508 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 35509
cedb2a90
MS
355102012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35511
35512 * manual/contrib.texi (Contributors): Spelling correction.
35513
bbf527d6
DM
355142012-12-15 David S. Miller <davem@davemloft.net>
35515
35516 * po/ru.po: Update from translation team.
35517
bc38c906
DM
355182012-12-13 David S. Miller <davem@davemloft.net>
35519
85429b1a
DM
35520 * NEWS: Mention IFUNC testsuite enhancements.
35521
d283e353
DM
35522 * po/pl.po: Update from translation team.
35523 * po/bg.po: Likewise.
35524
bc38c906
DM
35525 * manual/contrib.texi (Contributors): Update entries for Hongjiu
35526 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
35527
a181b0d7
DM
355282012-12-11 David S. Miller <davem@davemloft.net>
35529
4641d57e
DM
35530 * po/sv.po: Update from translation team.
35531
f7bc6495
DM
35532 * po/vi.po: Update from translation team.
35533
6fc9048f
DM
35534 * po/cs.po: Update from translation team.
35535
a181b0d7
DM
35536 * po/de.po: Update from translation team.
35537 * po/eo.po: Likewise.
35538 * po/nl.po: Likewise.
35539
f70bfe80
SP
355402012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
35541
3c8b4190
SP
35542 [BZ #14246]
35543 * manual/argp.texi (Argp Helper Functions): Move node to follow
35544 Argp Parsing State.
35545
f70bfe80
SP
35546 [BZ #14872]
35547 * manual/conf.texi (Limits on File System Capacity): Mention if
35548 terminating null is included in the max size.
35549
188f0adf
AJ
355502012-12-10 Andreas Jaeger <aj@suse.de>
35551
35552 * po/cs.po: Update from translation team.
35553
56e7d3ad
SP
355542012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
35555
35556 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
35557 void pointer and cast to uintptr_t.
35558 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
35559 path.
35560 * sysdeps/s390/s390-64/memcpy.S: Likewise.
35561 * sysdeps/s390/s390-64/memset.S: Likewise.
35562
76f2d2ea 355632012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
35564
35565 [BZ #14833]
35566 * menual/message.texi (Message Translation): Fix typos.
35567 (Helper programs for gettext): Likewise.
35568
67cbf9a2
AS
355692012-12-07 Andreas Schwab <schwab@linux-m68k.org>
35570
35571 [BZ #14898]
35572 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
35573 Change to -1.
35574
682d0e9a
DM
355752012-12-07 David S. Miller <davem@davemloft.net>
35576
35577 * po/libc.pot: Update.
35578
573cd484
RH
355792012-12-07 Richard Henderson <rth@redhat.com>
35580
7e9da188 35581 [BZ #10114]
573cd484
RH
35582 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
35583 normal/normal case to before the switch.
35584 (_FP_DIV): Likewise.
35585
e933a943
MF
355862012-12-06 Carlos O'Donell <carlos@systemhalted.org>
35587 Mike Frysinger <vapier@gentoo.org>
35588
35589 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
35590 check for __NR_fadvise64_64.
35591
82123268
CM
355922012-12-06 Chris Metcalf <cmetcalf@tilera.com>
35593
35594 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
35595 0, not just to plain "0" as a statement.
35596 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
35597 with cw.
35598
d9814526
JM
355992012-12-06 Joseph Myers <joseph@codesourcery.com>
35600
35601 * NEWS: Use sourceware.org in Bugzilla URL.
35602
7728c574
SP
356032012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
35604
f16946dd
SP
35605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
35606 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
35607
5704bbcb
SP
35608 * stdio-common/tst-put-error.c (do_test): Add newline to the
35609 padded test to ensure flush.
35610
17aa0516
JL
356112012-12-05 Jeff Law <law@redhat.com>
35612
35613 * sunrpc/etc.rpc (fedfs_admin): Add entry.
35614
363313b5
JM
356152012-12-05 Joseph Myers <joseph@codesourcery.com>
35616
effbd42a
JM
35617 * README: Don't refer to ports add-on as distributed separately.
35618 Mention AArch64 in list of systems supported in the ports add-on.
35619
87600365
JM
35620 * LICENSES: Add more non-FSF copyright and license notices.
35621
a0d7066a
JM
35622 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
35623 ((unused)).
35624
66ca5a5b
JM
35625 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
35626
363313b5
JM
35627 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
35628 10000 as width of padded output.
35629
b37984ad
JM
356302012-12-04 Joseph Myers <joseph@codesourcery.com>
35631
9003570a
JM
35632 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
35633
b37984ad
JM
35634 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
35635 variable LX with __attribute__ ((unused)).
35636 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
35637 Likewise.
35638 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
35639 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
35640 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
35641 with __attribute__ ((unused)).
35642
c8df52ec
DM
356432012-12-04 David S. Miller <davem@abraco.davemloft.net>
35644
35645 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
35646
b3b099af
JM
356472012-12-04 Joseph Myers <joseph@codesourcery.com>
35648
c33aa6e3
JM
35649 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
35650 (CFLAGS-nldbl-acos.c): New variable.
35651 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
35652 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
35653 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
35654 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
35655 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
35656 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
35657 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
35658 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
35659 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
35660 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
35661 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
35662 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
35663 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
35664 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
35665 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
35666 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
35667 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
35668 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
35669 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
35670 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
35671 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
35672 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
35673 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
35674 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
35675 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
35676 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
35677 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
35678 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
35679 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
35680 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
35681 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
35682 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
35683 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
35684 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
35685 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
35686 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
35687 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
35688 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
35689 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
35690 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
35691 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
35692 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
35693 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
35694 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
35695 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
35696 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
35697 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
35698 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
35699 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
35700 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
35701 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
35702 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
35703 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
35704 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
35705 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
35706 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
35707 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
35708 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
35709 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
35710 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
35711 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
35712 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
35713 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
35714 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
35715 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
35716 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
35717 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
35718 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
35719 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
35720 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
35721 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
35722 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
35723 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
35724 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
35725 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
35726 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
35727 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
35728 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
35729 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
35730 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
35731 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
35732 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
35733 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
35734 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
35735 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
35736 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
35737 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
35738 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
35739 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
35740 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
35741 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
35742 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
35743 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
35744 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
35745 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
35746 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
35747 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
35748
20f0018d
JM
35749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
35750 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
35751
b3b099af
JM
35752 [BZ #14914]
35753 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
35754 whole low double instead of just low 47 bits when splitting values
35755 into two parts.
35756
029264d1
AM
357572012-12-03 Allan McRae <allan@archlinux.org>
35758
35759 * manual/stdio.texi (Predefined Printf Handlers): Remove
35760 @hsep and @vsep usage.
35761
c9d6789e
MF
357622012-12-03 Mike Frysinger <vapier@gentoo.org>
35763
35764 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
35765 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
35766
4b7634a5
JL
357672012-12-03 Jeff Law <law@redhat.com>
35768
35769 * time/sys/time.h (settimeofday): Do not mark TV argument
35770 as __nonnull.
35771
eb6cbd24
MF
357722012-12-01 Mike Frysinger <vapier@gentoo.org>
35773
35774 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
35775 when currently writing and seek to current position when not.
35776 * libio/Makefile (tests): Remove bug-fclose1.
35777 * libio/bug-fclose1.c: Delete.
35778
f638872a
JM
357792012-12-01 Joseph Myers <joseph@codesourcery.com>
35780
35781 * manual/arith.texi (feenableexcept): Fix typo.
35782 (fedisableexcept): Likewise.
35783
48085d14
RM
357842012-11-30 Roland McGrath <roland@hack.frob.com>
35785
35786 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
35787 second, differently-typed declaration, rather than a cast.
35788
1a538b9f
SP
357892012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
35790
35791 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
35792 * include/rpc/svc.h: ... here.
35793
d07f2ff1 357942012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
35795
35796 [BZ #13013]
35797 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
35798 depending n and resplen2 to catch cases where answer
35799 equals answerp2.
35800
c93ec1f0
CD
358012012-11-29 Carlos O'Donell <carlos@systemhalted.org>
35802
35803 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
35804 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
35805
37db69de
MF
358062012-11-29 Mike Frysinger <vapier@gentoo.org>
35807
35808 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
35809
e10c4e4f
RM
358102012-11-29 Roland McGrath <roland@hack.frob.com>
35811
35812 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
35813
2af1b328
JL
358142012-11-28 Jeff Law <law@redhat.com>
35815
35816 [BZ #13761]
35817 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
35818 dataset_temporary. Track alloca usage into alloca_used.
35819 If dataset is large allocate and release it via malloc/free.
35820
111db5b1
FW
358212012-06-04 Florian Weimer <fweimer@redhat.com>
35822
f06cc227 35823 [BZ #14197]
111db5b1
FW
35824 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
35825
dd694abd
DM
358262012-11-28 David S. Miller <davem@davemloft.net>
35827
35828 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35829
9984dd01
JM
358302012-11-28 Joseph Myers <joseph@codesourcery.com>
35831
35832 [BZ #14803]
35833 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
35834 of pi/2 rounded to nearest to 64 bits.
35835 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
35836 nearest to 64 bits.
35837 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
35838 bits.
35839
14bc93a9
JL
358402012-11-28 Jeff Law <law@redhat.com>
35841 Martin Osvald <mosvald@redhat.com>
35842
35843 [BZ #14889]
35844 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
35845 * sunrpc/svc.c: Include time.h.
35846 (__svc_accept_failed): New function.
35847 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
35848 any reason other than EINTR, call __svc_accept_failed.
35849 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
35850 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
35851
e3c6aa3a
AS
358522012-11-28 Andreas Schwab <schwab@suse.de>
35853
35854 * scripts/abilist.awk: Also handle indirect functions in .opd
35855 section.
35856
1bead169
JM
358572012-11-28 Joseph Myers <joseph@codesourcery.com>
35858
35859 [BZ #13881]
35860 * sysdeps/x86/fpu/powl_helper.c: New file.
35861 * sysdeps/x86/fpu/Makefile: Likewise.
35862 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
35863 (p3): New object.
35864 (__ieee754_powl): Use __powl_helper for finite arguments except
35865 integer exponents below 8.
35866 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
35867 (p3): New object.
35868 (__ieee754_powl): Use __powl_helper for finite arguments except
35869 integer exponents below 8.
35870 * math/libm-test.inc (pow_test): Add more tests and enable some
35871 previously disabled tests.
35872 * sysdeps/i386/fpu/libm-test-ulps: Update.
35873 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35874
0817d63d
SP
358752012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35876 Carlos O'Donell <carlos_odonell@mentor.com>
35877
35878 * nss/makedb.c (is_prime): Assert that input is odd and greater
35879 than 4. Note that fact in a comment too.
35880 (next_prime): Add 4 to input.
35881
de2fd463
SP
358822012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
35883
35884 [BZ #11741]
35885 * libio/Makefile (tests): Add test case tst-fwrite-error.
35886 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
35887 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
35888 * libio/tst-fwrite-error.c: New test case.
35889
c515fb51
L
358902012-11-26 H.J. Lu <hongjiu.lu@intel.com>
35891
35892 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
35893 before casting to void *.
35894 * include/libc-internal.h (__pointer_type): New macro.
35895 (__integer_if_pointer_type_sub): Likewise.
35896 (__integer_if_pointer_type): Likewise.
35897 (cast_to_integer): Likewise.
35898 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
35899 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
35900 before casting to atomic64_t.
35901 (atomic_exchange_acq): Likewise.
35902 (__arch_exchange_and_add_body): Likewise.
35903 (__arch_add_body): Likewise.
35904 (atomic_add_negative): Likewise.
35905 (atomic_add_zero): Likewise.
35906
4cf77aa9
JM
359072012-11-26 Joseph Myers <joseph@codesourcery.com>
35908
35909 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
35910 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
35911 (add_fdes): Likewise.
35912 (linear_search_fdes): Likewise.
35913 (binary_search_unencoded_fdes): Likewise.
35914
d260b3b4
AS
359152012-11-26 Andreas Schwab <schwab@linux-m68k.org>
35916
35917 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
35918
67060746
AC
359192012-11-24 Adam Conrad <adconrad@0c3.net>
35920
35921 * configure.in: Autodetect C++ header directories.
35922 * configure: Regenerated.
35923
800938a1
MF
359242012-11-23 Mike Frysinger <vapier@gentoo.org>
35925
35926 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
35927
4e6e34e6
AS
359282012-11-23 Andreas Schwab <schwab@linux-m68k.org>
35929
35930 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35931
7c7feb47
JM
359322012-11-22 Joseph Myers <joseph@codesourcery.com>
35933
7184dcdf
JM
35934 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
35935 LDBL_MANT_DIG == 106]: Disable some tests.
35936 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
35937 Likewise.
35938 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
35939 Likewise.
35940
0a42601f
JM
35941 [BZ #14871]
35942 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
35943 input for small inputs. Return +/- pi/2 for large inputs.
35944 * math/libm-test.inc (atan_test): Add more tests.
35945
79c9b9fe
JM
35946 * sysdeps/generic/unwind-dw2-fde-glibc.c
35947 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
35948 __attribute__ ((unused)).
35949
c60d3bf2
JM
35950 [BZ #14645]
35951 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
35952 x * y if x and y are nonzero and z is zero.
35953
ef1e0867
JM
35954 [BZ #14811]
35955 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
35956 nonzero exponents with absolute value below 0x1p-117 to +/-
35957 0x1p-117.
35958
1468ded3
JM
35959 [BZ #14869]
35960 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
35961 up arguments below 2**-450, not just those below 2**-500.
35962 * math/libm-test.inc (hypot_test): Add another test.
35963
8e27e3cc
JM
35964 [BZ #14868]
35965 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
35966 Return a+b for ratio over 2**120, not 2**60.
35967 * math/libm-test.inc (hypot_test): Add another test.
35968
c9c0279b
JM
35969 * math/libm-test.inc (clog_test): Use
35970 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
35971 (clog10_test): Likewise.
35972
7c7feb47
JM
35973 [BZ #6778]
35974 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
35975
fff1530e
AS
359762012-11-22 Andreas Schwab <schwab@suse.de>
35977
35978 * sysdeps/i386/fpu/libm-test-ulps: Update.
35979
94558d30
PT
359802012-11-22 Pino Toscano <toscano.pino@tiscali.it>
35981
35982 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
35983 printf output with newline.
35984
7e1be741
L
359852012-11-21 H.J. Lu <hongjiu.lu@intel.com>
35986
6bfea974
L
35987 [BZ #14865]
35988 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
35989 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
35990 -z nodlopen, -z initfirst and -z execstack support.
35991 * configure: Regenerated.
35992
7e1be741
L
35993 * elf/elf.h (DF_1_NODIRECT): New macro.
35994 (DF_1_IGNMULDEF): Likewise.
35995 (DF_1_NOKSYMS): Likewise.
35996 (DF_1_NOHDR): Likewise.
35997 (DF_1_EDITED): Likewise.
35998 (DF_1_NORELOC): Likewise.
35999 (DF_1_SYMINTPOSE): Likewise.
36000 (DF_1_GLOBAUDIT): Likewise.
36001 (DF_1_SINGLETON): Likewise.
36002 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
36003 DT_1_SUPPORTED_MASK bits.
36004 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
36005
105ce2ce
CD
360062012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
36007
36008 * sysdeps/unix/make-syscalls.sh: Document prefixes.
36009
123be9de
TS
360102012-11-20 Thomas Schwinge <thomas@codesourcery.com>
36011
d072f3f7
TS
36012 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
36013 macro.
36014
123be9de
TS
36015 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
36016 (sendmmsg): Move declarations...
36017 * socket/sys/socket.h: ... here.
36018 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
36019 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
36020 include it from...
36021 * socket/recvmmsg.c: ... this new file.
36022 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
36023 (sendmmsg): Rename to __sendmmsg, create weak alias and make
36024 definition of __sendmmsg hidden.
36025 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
36026 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
36027 Move ENOSYS stub into and include it from...
36028 * socket/sendmmsg.c: ... this new file.
36029 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
36030 (sysdep_routines): Move recvmmsg and sendmmsg...
36031 * socket/Makefile (routines): ... here.
36032 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
36033 (GLIBC_PRIVATE): Add __sendmmsg.
36034 * include/sys/socket.h (__sendmmsg): Add declarations.
36035 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
36036 sendmmsg.
36037
cf9a5d18
JM
360382012-11-20 Joseph Myers <joseph@codesourcery.com>
36039
36040 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
36041 variable I1 with __attribute__ ((unused)).
36042 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
36043
ecd4caf9
JM
360442012-11-19 Joseph Myers <joseph@codesourcery.com>
36045
be14d48f
JM
36046 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
36047 DUMMY variables with __attribute__ ((unused)).
36048
ecd4caf9
JM
36049 * bits/byteswap.h: Include <bits/types.h>.
36050 (__bswap_64): Use __uint64_t instead of unsigned long long int.
36051
986cab95
PT
360522012-11-19 Pino Toscano <toscano.pino@tiscali.it>
36053
36054 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
36055 string_t. Do not manually set errno.
36056 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
36057 length with __strnlen. Make sure to both set errno and return it on
36058 failure.
36059
6d33cc9d
DM
360602012-11-19 David S. Miller <davem@davemloft.net>
36061
36062 With help from Joseph Myers.
36063 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
36064 very large arguments properly.
36065 * math/libm-test.inc (atan_test): New tests.
36066 (atan2_test): New tests.
36067 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36068 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36069
ee663277
JM
360702012-11-19 Joseph Myers <joseph@codesourcery.com>
36071
877f2d8e
JM
36072 [BZ #14856]
36073 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
36074 Define to 3.
36075
116fc08a
JM
36076 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
36077 [POSIX] (EADDRNOTAVAIL): Likewise.
36078 [POSIX] (EAFNOSUPPORT): Likewise.
36079 [POSIX] (EALREADY): Likewise.
36080 [POSIX] (ECONNABORTED): Likewise.
36081 [POSIX] (ECONNREFUSED): Likewise.
36082 [POSIX] (ECONNRESET): Likewise.
36083 [POSIX] (EDESTADDRREQ): Likewise.
36084 [POSIX] (EDQUOT): Likewise.
36085 [POSIX] (EHOSTUNREACH): Likewise.
36086 [POSIX] (EIDRM): Likewise.
36087 [POSIX] (EISCONN): Likewise.
36088 [POSIX] (ELOOP): Likewise.
36089 [POSIX] (EMULTIHOP): Likewise.
36090 [POSIX] (ENETDOWN): Likewise.
36091 [POSIX] (ENETUNREACH): Likewise.
36092 [POSIX] (ENOBUFS): Likewise.
36093 [POSIX] (ENODATA): Likewise.
36094 [POSIX] (ENOLINK): Likewise.
36095 [POSIX] (ENOMSG): Likewise.
36096 [POSIX] (ENOPROTOOPT): Likewise.
36097 [POSIX] (ENOSR): Likewise.
36098 [POSIX] (ENOSTR): Likewise.
36099 [POSIX] (ENOTCONN): Likewise.
36100 [POSIX] (ENOTSOCK): Likewise.
36101 [POSIX] (EOPNOTSUPP): Likewise.
36102 [POSIX] (EOVERFLOW): Likewise.
36103 [POSIX] (EPROTO): Likewise.
36104 [POSIX] (EPROTONOSUPPORT): Likewise.
36105 [POSIX] (EPROTOTYPE): Likewise.
36106 [POSIX] (ESTALE): Likewise.
36107 [POSIX] (ETIME): Likewise.
36108 [POSIX] (ETXTBSY): Likewise.
36109 [POSIX] (EWOULDBLOCK): Likewise.
36110 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
36111 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
36112 [POSIX] (SEEK_CUR): Likewise.
36113 [POSIX] (SEEK_END): Likewise.
36114 [POSIX || UNIX98] (mode_t): Do not require.
36115 [POSIX] (off_t): Likewise.
36116 [POSIX] (pid_t): Likewise.
36117 [POSIX] (sys/stat.h): Do not allow header.
36118 [POSIX] (unistd.h): Likewise.
36119 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
36120 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
36121 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
36122 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
36123 require.
36124 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
36125 sigevent): Specify elements.
36126 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
36127 entry.
36128 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
36129 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
36130
a483863f
JM
36131 * conform/data/cpio.h-data [POSIX]: Disable whole file.
36132 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
36133 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
36134 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
36135 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
36136 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
36137 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
36138 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
36139 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
36140 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
36141 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
36142 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
36143 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
36144 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
36145 Likewise.
36146 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
36147 Likewise.
36148 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
36149 Likewise.
36150 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
36151 Likewise.
36152 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
36153 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
36154 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
36155 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
36156 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
36157 Specify lower bound on value.
36158 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
36159 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
36160 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
36161 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
36162 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
36163 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
36164 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
36165 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
36166 value.
36167 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
36168 as optional.
36169 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
36170 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
36171 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
36172 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
36173 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
36174 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
36175 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
36176 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
36177 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
36178 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
36179 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
36180 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
36181 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
36182 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
36183 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
36184 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
36185 entry.
36186 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
36187 optional.
36188 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
36189 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
36190 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
36191 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
36192 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
36193 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
36194 Likewise.
36195 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
36196 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
36197 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
36198 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
36199 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
36200 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
36201 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
36202 as optional.
36203 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
36204 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
36205 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
36206 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
36207 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
36208 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
36209 specify as optional.
36210 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
36211 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
36212 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
36213 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
36214 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
36215 [XPG3] (NL_LANGMAX): Likewise.
36216 [POSIX || XPG3] (NL_MSGMAX): Likewise.
36217 [POSIX || XPG3] (NL_NMAX): Likewise.
36218 [POSIX || XPG3] (NL_SETMAX): Likewise.
36219 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
36220 [XPG3] (NZERO): Likewise.
36221 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
36222 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
36223 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
36224 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
36225 (REG_ERANGE): Expect.
36226 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
36227 optional-constant.
36228 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
36229 Use (void) in prototype.
36230 [POSIX] (*_t): Allow.
36231 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
36232 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
36233 (WRDE_BADVAL): Expect.
36234
5ba924e3
JM
36235 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
36236 expect.
36237 [XPG3 || XPG4] (O_RSYNC): Likewise.
36238 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
36239 Likewise.
36240 [XPG3 || XPG4] (pthread_sigmask): Likewise.
36241 [XPG3 || XPG4] (sigqueue): Likewise.
36242 [XPG3 || XPG4] (sigtimedwait): Likewise.
36243 [XPG3 || XPG4] (sigwaitinfo): Likewise.
36244 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
36245 [XPG3 || XPG4] (vsnprintf): Likewise.
36246 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
36247 Likewise.
36248 [XPG3 || XPG4] (blksize_t): Likewise.
36249 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
36250 Likewise.
36251 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
36252 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
36253 [XPG3 || XPG4] (struct itimerspec): Likewise.
36254 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
36255 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
36256 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
36257 [XPG3 || XPG4] (clockid_t): Likewise.
36258 [XPG3 || XPG4] (timer_t): Likewise.
36259 [XPG3 || XPG4] (clock_getres): Likewise.
36260 [XPG3 || XPG4] (clock_gettime): Likewise.
36261 [XPG3 || XPG4] (clock_settime): Likewise.
36262 [XPG3 || XPG4] (nanosleep): Likewise.
36263 [XPG3 || XPG4] (timer_create): Likewise.
36264 [XPG3 || XPG4] (timer_delete): Likewise.
36265 [XPG3 || XPG4] (timer_gettime): Likewise.
36266 [XPG3 || XPG4] (timer_getoverrun): Likewise.
36267 [XPG3 || XPG4] (timer_settime): Likewise.
36268 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
36269 [XPG3 || XPG4] (getlogin_r): Likewise.
36270 [XPG3 || XPG4] (pread): Likewise.
36271 [XPG3 || XPG4] (pthread_atfork): Likewise.
36272 [XPG3 || XPG4] (pwrite): Likewise.
36273
ee663277
JM
36274 [BZ #14835]
36275 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
36276 <bits/siginfo.h>.
36277
942caa16
PT
362782012-11-19 Pino Toscano <toscano.pino@tiscali.it>
36279
e19af380
PT
36280 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
36281 finalizing MALLSTREAM.
36282
942caa16
PT
36283 * sysdeps/mach/hurd/syncfs.c: New file.
36284
cfde9b46
SP
362852012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
36286
36287 [BZ #14719]
36288 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
36289 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
36290 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
36291 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
36292 (_nss_dns_gethostbyname4_r): Likewise.
36293 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
36294 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
36295
f6da27e5
PH
362962012-11-19 Peng Haitao <penght@cn.fujitsu.com>
36297
36298 [BZ #13763]
36299 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
36300
6665d4a2
SM
363012012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
36302
1f51ee92
SM
36303 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
36304 * elf/cache.c (print_entry): Print ",AArch64" for
36305 FLAG_AARCH64_LIB64
36306
6665d4a2
SM
36307 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
36308 * elf/cache.c (print_entry): Print ",hard-float" for
36309 FLAG_ARM_LIBHF.
36310
05b227bd
DM
363112012-11-18 David S. Miller <davem@davemloft.net>
36312
36313 With help from Joseph Myers.
36314 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
36315 cutoff to 2**-13.
36316 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
36317 cutoff to 2**-25.
36318 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
36319 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
36320 small.
36321 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
36322 * math/libm-test.inc (y0_test): New tests.
36323 (y1_test): New tests.
36324 * sysdeps/i386/fpu/libm-test-ulps: Update.
36325 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36326 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36327
786b0b67
AS
363282012-11-18 Andreas Schwab <schwab@linux-m68k.org>
36329
36330 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
36331 64-bit targets.
36332 * configure: Regenerated.
36333
8e18b86d
DM
363342012-11-17 David S. Miller <davem@davemloft.net>
36335
36336 [BZ #14811]
36337 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
36338 nonzero exponents with absolute value below 0x1p-128 to +/-
36339 0x1p-128.
36340
531f1ae0
JM
363412012-11-17 Joseph Myers <joseph@codesourcery.com>
36342
12df29e2
JM
36343 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
36344
150dc1a0
JM
36345 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
36346
531f1ae0
JM
36347 * posix/getconf-speclist.c: New file.
36348 * posix/posix-envs.def: Likewise.
36349 * posix/confstr.c (START_ENV_GROUP): New macro.
36350 (END_ENV_GROUP): Likewise.
36351 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
36352 (KNOWN_PRESENT_ENV_STRING): Likewise.
36353 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
36354 (UNKNOWN_ENVIRONMENT): Likewise.
36355 (confstr): Include posix-envs.def instead of handling
36356 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
36357 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
36358 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
36359 (END_ENV_GROUP): Likewise.
36360 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
36361 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
36362 (UNKNOWN_ENVIRONMENT): Likewise.
36363 (__sysconf): Include posix-envs.def instead of handling associated
36364 cases directly here.
36365 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
36366 preprocessing getconf-speclist.c rather than running getconf or
36367 generating empty file.
36368
a93f9cbc
PT
363692012-11-16 Pino Toscano <toscano.pino@tiscali.it>
36370
36371 * scripts/check-local-headers.sh: Ignore 'mach' headers.
36372
d64d9f87
AL
363732012-11-16 Andrej Lajovic <natrij@gmail.com>
36374
36375 [BZ #14672]
36376 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
36377
447885eb
DM
363782012-11-16 David S. Miller <davem@davemloft.net>
36379
36380 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
36381 smaller than LDBL_EPSILON/2.0L, just return xm1.
36382
bcbf9830
L
363832012-11-16 H.J. Lu <hongjiu.lu@intel.com>
36384
36385 * elf/tst-array1.c (init): Set constructor priority to 1000.
36386 (fini): Set destructor priority to 1000.
36387 * elf/tst-array2dep.c: Likewise.
36388
2b766585
SP
363892012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
36390
36391 [BZ #11741]
36392 * libio/fileops.c (_IO_new_file_write): Correctly return error.
36393 (_IO_new_file_xsputn): Also return EOF if none of the input
36394 data was written when overflow failed.
36395 * libio/iopadn.c (_IO_padn): Likewise.
36396 * libio/iowpadn.c (_IO_wpadn): Likewise.
36397 * stdio-common/tst-put-error.c: Add copyright notice.
36398 (do_test): Add case for printing padded string.
36399 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
36400 _IO_padn returned error.
36401 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
36402 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
36403 return EOF.
36404
b1848fde
SP
364052012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
36406
36407 * libio/libioP.h: Add comment note that the references to C++
36408 bits are now obsolete.
36409
2fd89785
MS
364102012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
36411
36412 * math/libm-test.inc (check_complex): Use asprintf.
36413
e3ea5409
JM
364142012-11-14 Joseph Myers <joseph@codesourcery.com>
36415
36416 * debug/pcprofiledump.c (print_version): Update copyright year.
36417 * malloc/memusagestat.c (print_version): Likewise.
36418
2e64d265
L
364192012-11-14 H.J. Lu <hongjiu.lu@intel.com>
36420
36421 [BZ #14831]
36422 * elf/Makefile (tests): Add tst-audit8.
36423 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
36424 ($(objpfx)tst-audit8.out): New target.
36425 (tst-audit8-ENV): New variable.
36426 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
36427 audit if l_reloc_result is NULL.
36428 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
36429 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
36430 * elf/tst-audit8.c: New file.
36431
c485e4d2
MS
364322012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
36433
36434 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
36435 * misc/Makefile (CFLAGS-select.c): Define.
36436 * posix/Makefile (CFLAGS-pause.c): Define.
36437
3a0d900a
DM
364382012-11-13 David S. Miller <davem@davemloft.net>
36439
36440 * crypt/Makefile: Move test targets after toplevel Rules
36441 inclusion. Grab any necessary sysdep routines when linking.
36442 * crypt/md5.c (md5_process_block): Remove define, we will always
36443 name it __md5_process_block.
36444 (md5_finish_ctx): Update md5_process_block call.
36445 (md5_stream): Likewise.
36446 (md5_process_bytes): Likewise.
36447 (md5_process_block): Rename to __md5_process_block and move to ...
36448 * crypt/md5-block.c: ... here.
36449 * crypt/sha256.c (sha256_process_block): Move to ...
36450 * crypt/sha256-block.c: ... here.
36451 * crypt/sha512.c (sha512_process_block): Move to ...
36452 * crypt/sha512-block.c: ... here.
36453 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
36454 path.
36455 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
36456 * sysdeps/sparc/sparc64/multiarch/Makefile
36457 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
36458 crypt subdir.
36459 (localedef-aux): Add md5 crypto assembler when in locale subdir.
36460 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
36461 multiarch changes.
36462 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
36463 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
36464 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
36465 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
36466 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
36467 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
36468 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
36469 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
36470 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
36471 file.
36472 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
36473 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
36474 file.
36475 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
36476
8ca89318
JM
364772012-11-13 Joseph Myers <joseph@codesourcery.com>
36478
e27d476a
JM
36479 * timezone/tzselect.ksh: Update from tzcode git revision
36480 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
36481 * timezone/zdump.c: Likewise.
36482 * timezone/zic.c: Likewise.
36483 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
36484 in TZVERSION setting, not $(PKGVERSION).
36485 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
36486 REPORT_BUGS_TO settings.
36487
8ca89318
JM
36488 [BZ #14838]
36489 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
36490 macro.
36491
47594329
MS
364922012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
36493
36494 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
36495 detection to immediately after _FP_ROUND().
36496 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
36497 bits are 0.
36498
640ac3f1
DM
364992012-11-11 David S. Miller <davem@davemloft.net>
36500
36501 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
36502 inttypes.h
36503 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
36504 __close rather than their public counterparts.
36505
3d2577bb
JM
365062012-11-10 Joseph Myers <joseph@codesourcery.com>
36507
36508 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
36509 file.
36510 [UNIX98] (sem_timedwait): Do not expect.
36511 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
36512 [XPG4 || UNIX98] (sockatmark): Do not expect.
36513 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
36514 (clock_getcpuclockid): Do not expect.
36515 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
36516 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
36517 Do not expect.
36518 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
36519 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
36520 [UNIX98] (vwscanf): Likewise.
36521 [UNIX98] (vswscanf): Likewise.
36522
fb1ae1ee
JM
365232012-11-09 Joseph Myers <joseph@codesourcery.com>
36524
9ec6f8bd
JM
36525 * timezone/version.h: Remove file.
36526 * timezone/README: Do not refer to version.h.
36527 * timezone/Makefile ($(objpfx)zic.o): New dependency on
36528 $(objpfx)version.h.
36529 ($(objpfx)zdump.o): Likewise.
c3f81911 36530 ($(objpfx)version.h): New target.
9ec6f8bd 36531
0aa8f8a1
JM
36532 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
36533 2012i.
36534 * timezone/README: Don't mention modification to tzselect.ksh.
36535 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
36536 work on unmodified tzselect.ksh. Substitute version numbers in
36537 tzselect.ksh.
36538
4e87147f
JM
36539 * Makefile (format-me): Remove.
36540 (INSTALL): Adjust indentation. Use commands directly instead of
36541 using $(format-me).
36542
8b748aed
JM
36543 * aclocal.m4 (ACX_PKGVERSION): New macro.
36544 (ACX_BUGURL): Likewise.
36545 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
36546 (PKGVERSION): New AC_DEFINE_UNQUOTED.
36547 (REPORT_BUGS_TO): Likewise.
36548 * configure: Regenerated.
36549 * config.h.in (PKGVERSION): New macro.
36550 (REPORT_BUGS_TO): Likewise.
36551 * config.make.in (PKGVERSION): New variable.
36552 (PKGVERSION_TEXI): Likewise.
36553 (REPORT_BUGS_TO): Likewise.
36554 (REPORT_BUGS_TEXI): Likewise.
36555 * Makefile (format-me): Use -I$(common-objpfx)manual.
36556 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
36557 ($(common-objpfx)manual/%): New target.
36558 (manual/%): Remove target.
36559 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
36560 (print_version): Use PKGVERSION.
36561 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
36562 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
36563 and REPORT_BUGS_TO.
36564 ($(objpfx)xtrace): Likewise.
36565 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
36566 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
36567 (print_version): Use PKGVERSION.
36568 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
36569 (do_version): Use PKGVERSION.
36570 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
36571 REPORT_BUGS_TO.
36572 (common-ldd-rewrite): Likewise.
36573 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
36574 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
36575 (print_version): Use PKGVERSION.
36576 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
36577 * elf/pldd.c (argp_program_bug_address): Remove variable.
36578 (more_help): New function.
36579 (argp): Use more_help.
36580 (print_version): Use PKGVERSION.
36581 * elf/sln.c (main): Use PKGVERSION.
36582 (usage): Use REPORT_BUGS_TO.
36583 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
36584 (top level): Use PKGVERSION.
36585 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
36586 (print_version): Use PKGVERSION.
36587 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
36588 (print_version): Use PKGVERSION.
36589 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
36590 (print_version): Use PKGVERSION.
36591 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
36592 (print_version): Use PKGVERSION.
36593 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
36594 (print_version): Use PKGVERSION.
36595 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
36596 (print_version): Use PKGVERSION.
36597 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
36598 and BUGURL.
36599 ($(objpfx)memusage): Likewise.
36600 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
36601 (do_version): Use PKGVERSION.
36602 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
36603 (print_version): Use PKGVERSION.
36604 * malloc/mtrace.pl ($PACKAGE): Remove variable.
36605 ($PKGVERSION): New variable.
36606 ($REPORT_BUGS_TO): Likewise.
36607 (usage): Use $REPORT_BUGS_TO.
36608 (top level): Use $PKGVERSION.
36609 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
36610 ($(objpfx)pkgvers.texi): New rule.
36611 ($(objpfx)stamp-pkgvers): Likewise.
36612 * manual/install.texi: Include pkgvers.texi.
36613 (--with-pkgversion): Document new configure option.
36614 (--with-bugurl): Likewise.
36615 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
36616 than necessarily for this particular distribution. Use
36617 REPORT_BUGS_TO for where to report bugs.
36618 * INSTALL: Regenerated.
36619 * manual/libc.texinfo: Include pkgvers.texi.
36620 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
36621 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
36622 (print_version): Use PKGVERSION.
36623 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
36624 (print_version): Use PKGVERSION.
36625 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
36626 (print_version): Use PKGVERSION.
36627 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
36628 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
36629 macro.
36630 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
36631 (print_version): Use PKGVERSION.
36632 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
36633 (print_version): Use PKGVERSION.
36634 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
36635 and PKGVERSION.
36636
92e4b6a9
JM
36637 * timezone/checktab.awk: Update from tzcode 2012i.
36638 * timezone/ialloc.c: Likewise.
36639 * timezone/private.h: Likewise.
36640 * timezone/scheck.c: Likewise.
36641 * timezone/tzfile.h: Likewise.
36642 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
36643 (TZVERSION): Hardcode tzcode version number.
36644 * timezone/zdump.c: Update from tzcode 2012i.
36645 * timezone/zic.c: Likewise.
36646 * timezone/version.h: New file.
36647 * timezone/README: Describe version.h. Update upstream location.
36648
9bde902c
JM
36649 [BZ #14824]
36650 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
36651 (mktemp): Enable declaration.
36652 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
36653 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
36654 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
36655 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
36656 Likewise.
36657 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
36658 Likewise.
36659 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
36660 Likewise.
36661 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
36662 Likewise.
36663 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
36664 Likewise.
36665 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
36666 Likewise.
36667
fb1ae1ee
JM
36668 [BZ #14821]
36669 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
36670 offset in buffer as u_int32_t not u_long. Consistently use memcpy
36671 for copies of such integer values.
36672 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
36673 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
36674
2c1adbcb
AJ
366752012-11-09 Andreas Jaeger <aj@suse.de>
36676
36677 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
36678 definitions and declarations that are provided by
36679 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
36680
d0f8457e
AK
366812012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36682
3a235abb 36683 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
36684 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
36685 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
36686 definition.
36687
57241e26
MS
366882012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
36689
36690 * elf/elf.h: Update comment before AArch64 relocations.
36691
60e8270d
DM
366922012-11-07 David S. Miller <davem@davemloft.net>
36693
36694 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
36695 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
36696 (__start_context): Declare.
36697 (__makecontext_ret): Delete.
36698 (__makecontext): Hook up __start_context instead of
36699 __makecontext_ret.
36700 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
36701 (sysdep_routines): Add __start_context when in stdlib.
36702
0fbb0fbc
JM
367032012-11-07 Joseph Myers <joseph@codesourcery.com>
36704
36705 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
36706 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
36707 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
36708 hardcoded "nm".
36709 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
36710 (READELF): New variable. Use it instead of hardcoded "readelf".
36711
eb48db7e
L
367122012-11-07 H.J. Lu <hongjiu.lu@intel.com>
36713
36714 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
36715 * sysdeps/x86/Makefile: Here.
36716 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
36717 * sysdeps/x86/tst-xmmymm.sh: This.
36718
05bcf62a
JM
367192012-11-07 Joseph Myers <joseph@codesourcery.com>
36720
c4b6cf53
JM
36721 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
36722 expectations.
36723 [UNIX98] (pthread_barrier_t): Do not expect.
36724 [UNIX98] (pthread_barrierattr_t): Likewise.
36725 [UNIX98] (pthread_spinlock_t): Likewise.
36726 [UNIX98] (pthread_barrier_destroy): Likewise.
36727 [UNIX98] (pthread_barrier_init): Likewise.
36728 [UNIX98] (pthread_barrier_wait): Likewise.
36729 [UNIX98] (pthread_barrierattr_destroy): Likewise.
36730 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
36731 [UNIX98] (pthread_barrierattr_init): Likewise.
36732 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
36733 [UNIX98] (pthread_getcpuclockid): Likewise.
36734 [UNIX98] (pthread_mutex_timedlock): Likewise.
36735 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
36736 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
36737 [UNIX98] (pthread_sigmask): Likewise.
36738 [UNIX98] (pthread_spin_destroy): Likewise.
36739 [UNIX98] (pthread_spin_init): Likewise.
36740 [UNIX98] (pthread_spin_lock): Likewise.
36741 [UNIX98] (pthread_spin_trylock): Likewise.
36742 [UNIX98] (pthread_spin_unlock): Likewise.
36743 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
36744 Do not expect.
36745 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
36746 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
36747 [XPG3 || XPG4] (pthread_cond_t): Likewise.
36748 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
36749 [XPG3 || XPG4] (pthread_key_t): Likewise.
36750 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
36751 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
36752 [XPG3 || XPG4] (pthread_once_t): Likewise.
36753 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
36754 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
36755 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
36756 [XPG3 || XPG4] (pthread_t): Likewise.
36757
cbe6e120
JM
36758 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
36759 not expect.
36760 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
36761
1b126443
JM
36762 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
36763 Change function return type to int.
36764
b961a573
JM
36765 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
36766 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
36767 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
36768 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
36769 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
36770 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
36771 [!POSIX] (posix_madvise): Likewise.
36772 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
36773 && !UNIX98].
36774 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
36775 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
36776 (mode_t): Likewise.
36777 (posix_mem_offset): Likewise.
36778 (posix_typed_mem_get_info): Likewise.
36779 (posix_typed_mem_open): Likewise.
36780
9e188909
JM
36781 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
36782 Change condition to [XOPEN2K8].
36783
05bcf62a
JM
36784 * conform/conformtest.pl: Preprocess allow-header data with -x c
36785 instead of from stdin.
36786 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
36787 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
36788 [C99-based standards] (cerfc): Likewise.
36789 [C99-based standards] (cexp2): Likewise.
36790 [C99-based standards] (cexpm1): Likewise.
36791 [C99-based standards] (clog10): Likewise.
36792 [C99-based standards] (clog1p): Likewise.
36793 [C99-based standards] (clog2): Likewise.
36794 [C99-based standards] (clgamma): Likewise.
36795 [C99-based standards] (ctgamma): Likewise.
36796 [C99-based standards] (cerff): Likewise.
36797 [C99-based standards] (cerfcf): Likewise.
36798 [C99-based standards] (cexp2f): Likewise.
36799 [C99-based standards] (cexpm1f): Likewise.
36800 [C99-based standards] (clog10f): Likewise.
36801 [C99-based standards] (clog1pf): Likewise.
36802 [C99-based standards] (clog2f): Likewise.
36803 [C99-based standards] (clgammaf): Likewise.
36804 [C99-based standards] (ctgammaf): Likewise.
36805 [C99-based standards] (cerfl): Likewise.
36806 [C99-based standards] (cerfcl): Likewise.
36807 [C99-based standards] (cexp2l): Likewise.
36808 [C99-based standards] (cexpm1l): Likewise.
36809 [C99-based standards] (clog10l): Likewise.
36810 [C99-based standards] (clog1pl): Likewise.
36811 [C99-based standards] (clog2l): Likewise.
36812 [C99-based standards] (clgammal): Likewise.
36813 [C99-based standards] (ctgammal): Likewise.
36814 * conform/data/inttypes.h-data [C99-based standards]: Include
36815 stdint.h-data. Remove all expectations for stdint.h contents.
36816 [C99-based standards] (PRI*): Do not allow.
36817 [C99-based standards] (SCN*): Likewise.
36818 [C99-based standards] (*_t): Likewise.
36819 [C99-based-standards] (PRId8): Expect macro.
36820 [C99-based-standards] (PRIi8): Likewise.
36821 [C99-based-standards] (PRIo8): Likewise.
36822 [C99-based-standards] (PRIu8): Likewise.
36823 [C99-based-standards] (PRIx8): Likewise.
36824 [C99-based-standards] (PRIX8): Likewise.
36825 [C99-based-standards] (SCNd8): Likewise.
36826 [C99-based-standards] (SCNi8): Likewise.
36827 [C99-based-standards] (SCNo8): Likewise.
36828 [C99-based-standards] (SCNu8): Likewise.
36829 [C99-based-standards] (SCNx8): Likewise.
36830 [C99-based-standards] (PRIdLEAST8): Likewise.
36831 [C99-based-standards] (PRIiLEAST8): Likewise.
36832 [C99-based-standards] (PRIoLEAST8): Likewise.
36833 [C99-based-standards] (PRIuLEAST8): Likewise.
36834 [C99-based-standards] (PRIxLEAST8): Likewise.
36835 [C99-based-standards] (PRIXLEAST8): Likewise.
36836 [C99-based-standards] (SCNdLEAST8): Likewise.
36837 [C99-based-standards] (SCNiLEAST8): Likewise.
36838 [C99-based-standards] (SCNoLEAST8): Likewise.
36839 [C99-based-standards] (SCNuLEAST8): Likewise.
36840 [C99-based-standards] (SCNxLEAST8): Likewise.
36841 [C99-based-standards] (PRIdFAST8): Likewise.
36842 [C99-based-standards] (PRIiFAST8): Likewise.
36843 [C99-based-standards] (PRIoFAST8): Likewise.
36844 [C99-based-standards] (PRIuFAST8): Likewise.
36845 [C99-based-standards] (PRIxFAST8): Likewise.
36846 [C99-based-standards] (PRIXFAST8): Likewise.
36847 [C99-based-standards] (SCNdFAST8): Likewise.
36848 [C99-based-standards] (SCNiFAST8): Likewise.
36849 [C99-based-standards] (SCNoFAST8): Likewise.
36850 [C99-based-standards] (SCNuFAST8): Likewise.
36851 [C99-based-standards] (SCNxFAST8): Likewise.
36852 [C99-based-standards] (PRId16): Likewise.
36853 [C99-based-standards] (PRIi16): Likewise.
36854 [C99-based-standards] (PRIo16): Likewise.
36855 [C99-based-standards] (PRIu16): Likewise.
36856 [C99-based-standards] (PRIx16): Likewise.
36857 [C99-based-standards] (PRIX16): Likewise.
36858 [C99-based-standards] (SCNd16): Likewise.
36859 [C99-based-standards] (SCNi16): Likewise.
36860 [C99-based-standards] (SCNo16): Likewise.
36861 [C99-based-standards] (SCNu16): Likewise.
36862 [C99-based-standards] (SCNx16): Likewise.
36863 [C99-based-standards] (PRIdLEAST16): Likewise.
36864 [C99-based-standards] (PRIiLEAST16): Likewise.
36865 [C99-based-standards] (PRIoLEAST16): Likewise.
36866 [C99-based-standards] (PRIuLEAST16): Likewise.
36867 [C99-based-standards] (PRIxLEAST16): Likewise.
36868 [C99-based-standards] (PRIXLEAST16): Likewise.
36869 [C99-based-standards] (SCNdLEAST16): Likewise.
36870 [C99-based-standards] (SCNiLEAST16): Likewise.
36871 [C99-based-standards] (SCNoLEAST16): Likewise.
36872 [C99-based-standards] (SCNuLEAST16): Likewise.
36873 [C99-based-standards] (SCNxLEAST16): Likewise.
36874 [C99-based-standards] (PRIdFAST16): Likewise.
36875 [C99-based-standards] (PRIiFAST16): Likewise.
36876 [C99-based-standards] (PRIoFAST16): Likewise.
36877 [C99-based-standards] (PRIuFAST16): Likewise.
36878 [C99-based-standards] (PRIxFAST16): Likewise.
36879 [C99-based-standards] (PRIXFAST16): Likewise.
36880 [C99-based-standards] (SCNdFAST16): Likewise.
36881 [C99-based-standards] (SCNiFAST16): Likewise.
36882 [C99-based-standards] (SCNoFAST16): Likewise.
36883 [C99-based-standards] (SCNuFAST16): Likewise.
36884 [C99-based-standards] (SCNxFAST16): Likewise.
36885 [C99-based-standards] (PRId32): Likewise.
36886 [C99-based-standards] (PRIi32): Likewise.
36887 [C99-based-standards] (PRIo32): Likewise.
36888 [C99-based-standards] (PRIu32): Likewise.
36889 [C99-based-standards] (PRIx32): Likewise.
36890 [C99-based-standards] (PRIX32): Likewise.
36891 [C99-based-standards] (SCNd32): Likewise.
36892 [C99-based-standards] (SCNi32): Likewise.
36893 [C99-based-standards] (SCNo32): Likewise.
36894 [C99-based-standards] (SCNu32): Likewise.
36895 [C99-based-standards] (SCNx32): Likewise.
36896 [C99-based-standards] (PRIdLEAST32): Likewise.
36897 [C99-based-standards] (PRIiLEAST32): Likewise.
36898 [C99-based-standards] (PRIoLEAST32): Likewise.
36899 [C99-based-standards] (PRIuLEAST32): Likewise.
36900 [C99-based-standards] (PRIxLEAST32): Likewise.
36901 [C99-based-standards] (PRIXLEAST32): Likewise.
36902 [C99-based-standards] (SCNdLEAST32): Likewise.
36903 [C99-based-standards] (SCNiLEAST32): Likewise.
36904 [C99-based-standards] (SCNoLEAST32): Likewise.
36905 [C99-based-standards] (SCNuLEAST32): Likewise.
36906 [C99-based-standards] (SCNxLEAST32): Likewise.
36907 [C99-based-standards] (PRIdFAST32): Likewise.
36908 [C99-based-standards] (PRIiFAST32): Likewise.
36909 [C99-based-standards] (PRIoFAST32): Likewise.
36910 [C99-based-standards] (PRIuFAST32): Likewise.
36911 [C99-based-standards] (PRIxFAST32): Likewise.
36912 [C99-based-standards] (PRIXFAST32): Likewise.
36913 [C99-based-standards] (SCNdFAST32): Likewise.
36914 [C99-based-standards] (SCNiFAST32): Likewise.
36915 [C99-based-standards] (SCNoFAST32): Likewise.
36916 [C99-based-standards] (SCNuFAST32): Likewise.
36917 [C99-based-standards] (SCNxFAST32): Likewise.
36918 [C99-based-standards] (PRId64): Likewise.
36919 [C99-based-standards] (PRIi64): Likewise.
36920 [C99-based-standards] (PRIo64): Likewise.
36921 [C99-based-standards] (PRIu64): Likewise.
36922 [C99-based-standards] (PRIx64): Likewise.
36923 [C99-based-standards] (PRIX64): Likewise.
36924 [C99-based-standards] (SCNd64): Likewise.
36925 [C99-based-standards] (SCNi64): Likewise.
36926 [C99-based-standards] (SCNo64): Likewise.
36927 [C99-based-standards] (SCNu64): Likewise.
36928 [C99-based-standards] (SCNx64): Likewise.
36929 [C99-based-standards] (PRIdLEAST64): Likewise.
36930 [C99-based-standards] (PRIiLEAST64): Likewise.
36931 [C99-based-standards] (PRIoLEAST64): Likewise.
36932 [C99-based-standards] (PRIuLEAST64): Likewise.
36933 [C99-based-standards] (PRIxLEAST64): Likewise.
36934 [C99-based-standards] (PRIXLEAST64): Likewise.
36935 [C99-based-standards] (SCNdLEAST64): Likewise.
36936 [C99-based-standards] (SCNiLEAST64): Likewise.
36937 [C99-based-standards] (SCNoLEAST64): Likewise.
36938 [C99-based-standards] (SCNuLEAST64): Likewise.
36939 [C99-based-standards] (SCNxLEAST64): Likewise.
36940 [C99-based-standards] (PRIdFAST64): Likewise.
36941 [C99-based-standards] (PRIiFAST64): Likewise.
36942 [C99-based-standards] (PRIoFAST64): Likewise.
36943 [C99-based-standards] (PRIuFAST64): Likewise.
36944 [C99-based-standards] (PRIxFAST64): Likewise.
36945 [C99-based-standards] (PRIXFAST64): Likewise.
36946 [C99-based-standards] (SCNdFAST64): Likewise.
36947 [C99-based-standards] (SCNiFAST64): Likewise.
36948 [C99-based-standards] (SCNoFAST64): Likewise.
36949 [C99-based-standards] (SCNuFAST64): Likewise.
36950 [C99-based-standards] (SCNxFAST64): Likewise.
36951 [C99-based-standards] (PRIdMAX): Likewise.
36952 [C99-based-standards] (PRIiMAX): Likewise.
36953 [C99-based-standards] (PRIoMAX): Likewise.
36954 [C99-based-standards] (PRIuMAX): Likewise.
36955 [C99-based-standards] (PRIxMAX): Likewise.
36956 [C99-based-standards] (PRIXMAX): Likewise.
36957 [C99-based-standards] (SCNdMAX): Likewise.
36958 [C99-based-standards] (SCNiMAX): Likewise.
36959 [C99-based-standards] (SCNoMAX): Likewise.
36960 [C99-based-standards] (SCNuMAX): Likewise.
36961 [C99-based-standards] (SCNxMAX): Likewise.
36962 [C99-based-standards] (PRIdPTR): Likewise.
36963 [C99-based-standards] (PRIiPTR): Likewise.
36964 [C99-based-standards] (PRIoPTR): Likewise.
36965 [C99-based-standards] (PRIuPTR): Likewise.
36966 [C99-based-standards] (PRIxPTR): Likewise.
36967 [C99-based-standards] (PRIXPTR): Likewise.
36968 [C99-based-standards] (SCNdPTR): Likewise.
36969 [C99-based-standards] (SCNiPTR): Likewise.
36970 [C99-based-standards] (SCNoPTR): Likewise.
36971 [C99-based-standards] (SCNuPTR): Likewise.
36972 [C99-based-standards] (SCNxPTR): Likewise.
36973 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
36974 allow.
36975 * conform/data/stdint.h-data: Update comments to clarify
36976 requirements.
36977 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
36978 type.
36979 [C99-based standards] (INT8_MAX): Likewise.
36980 [C99-based standards] (INT16_MIN): Likewise.
36981 [C99-based standards] (INT16_MAX): Likewise.
36982 [C99-based standards] (INT32_MIN): Likewise.
36983 [C99-based standards] (INT32_MAX): Likewise.
36984 [C99-based standards] (INT64_MIN): Likewise.
36985 [C99-based standards] (INT64_MAX): Likewise.
36986 [C99-based standards] (UINT8_MAX): Likewise.
36987 [C99-based standards] (UINT16_MAX): Likewise.
36988 [C99-based standards] (UINT32_MAX): Likewise.
36989 [C99-based standards] (UINT64_MAX): Likewise.
36990 [C99-based standards] (INT_LEAST8_MIN): Likewise.
36991 [C99-based standards] (INT_LEAST8_MAX): Likewise.
36992 [C99-based standards] (INT_LEAST16_MIN): Likewise.
36993 [C99-based standards] (INT_LEAST16_MAX): Likewise.
36994 [C99-based standards] (INT_LEAST32_MIN): Likewise.
36995 [C99-based standards] (INT_LEAST32_MAX): Likewise.
36996 [C99-based standards] (INT_LEAST64_MIN): Likewise.
36997 [C99-based standards] (INT_LEAST64_MAX): Likewise.
36998 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
36999 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
37000 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
37001 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
37002 [C99-based standards] (INT_FAST8_MIN): Likewise.
37003 [C99-based standards] (INT_FAST8_MAX): Likewise.
37004 [C99-based standards] (INT_FAST16_MIN): Likewise.
37005 [C99-based standards] (INT_FAST16_MAX): Likewise.
37006 [C99-based standards] (INT_FAST32_MIN): Likewise.
37007 [C99-based standards] (INT_FAST32_MAX): Likewise.
37008 [C99-based standards] (INT_FAST64_MIN): Likewise.
37009 [C99-based standards] (INT_FAST64_MAX): Likewise.
37010 [C99-based standards] (UINT_FAST8_MAX): Likewise.
37011 [C99-based standards] (UINT_FAST16_MAX): Likewise.
37012 [C99-based standards] (UINT_FAST32_MAX): Likewise.
37013 [C99-based standards] (UINT_FAST64_MAX): Likewise.
37014 [C99-based standards] (INTPTR_MIN): Likewise.
37015 [C99-based standards] (INTPTR_MAX): Likewise.
37016 [C99-based standards] (UINTPTR_MAX): Likewise.
37017 [C99-based standards] (INTMAX_MIN): Likewise.
37018 [C99-based standards] (INTMAX_MAX): Likewise.
37019 [C99-based standards] (UINTMAX_MAX): Likewise.
37020 [C99-based standards] (PTRDIFF_MIN): Likewise.
37021 [C99-based standards] (PTRDIFF_MAX): Likewise.
37022 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
37023 [C99-based standards] (SIZE_MAX): Likewise.
37024 [C99-based standards] (WCHAR_MAX): Likewise.
37025 [C99-based standards] (WINT_MAX): Likewise.
37026 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
37027 constraint on value.
37028 [C99-based standards] (WCHAR_MIN): Likewise.
37029 [C99-based standards] (WINT_MIN): Likewise.
37030 [C99-based standards] (*_t): Allow.
37031 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
37032 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
37033 Include math.h-data and complex.h-data. Remove all expectations
37034 of math.h and complex.h contents.
37035 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
37036 at end of line.
37037 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
37038 (struct tm): Expect tag.
37039 [C99-based-standards] (wcstof): Expect function.
37040 [C99-based-standards] (wcstold): Likewise.
37041 [C99-based-standards] (wcstoll): Likewise.
37042 [C99-based-standards] (wcstoull): Likewise.
37043 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
37044 macro-int-constant. Specify type.
37045 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
37046 constraint on value.
37047 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
37048 Specify type.
37049 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
37050 Specify value.
37051 [ISO C standards]: Do not allow headers.
37052 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
37053 wcs[abcdefghijklmnopqrstuvwxyz]*.
37054 [ISO C standards] (*_t): Do not allow.
37055 * conform/data/wctype.h-data [C99-based standards] (iswblank):
37056 Expect function.
37057 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
37058 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
37059 Specify type.
37060 [ISO C standards]: Do not allow headers.
37061 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
37062 is[abcdefghijklmnopqrstuvwxyz]*.
37063 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
37064 to[abcdefghijklmnopqrstuvwxyz]*.
37065 [ISO C standards] (*_t): Do not allow.
37066 * conform/data/stdalign.h-data: New file.
37067 * conform/data/stdbool.h-data: Likewise.
37068 * conform/data/stdnoreturn.h-data: Likewise.
37069
7514feb8
RM
370702012-11-07 Roland McGrath <roland@hack.frob.com>
37071
37072 [BZ #14815]
37073 * manual/filesys.texi (Directory Entries): Typo fix.
37074 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
37075
19b2ecfc
MS
370762012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
37077
37078 * elf/elf.h (EM_AARCH64): New macro.
37079 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
37080 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
37081 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
37082 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
37083 (R_AARCH64_TLSDESC): Likewise.
37084 (NT_ARM_TLS): Likewise.
37085 (NT_ARM_HW_BREAK): Likewise.
37086 (NT_ARM_HW_WATCH): Likewise.
37087
60e235ee
JM
370882012-11-07 Joseph Myers <joseph@codesourcery.com>
37089
37090 [BZ #14811]
37091 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
37092 (__ieee754_powl): Saturate nonzero exponents with absolute value
37093 below 0x1p-79 to +/- 0x1p-79.
37094 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
37095 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
37096 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
37097 nonzero exponents with absolute value below 0x1p-32 to +/-
37098 0x1p-32.
37099 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
37100 (__ieee754_powl): Saturate nonzero exponents with absolute value
37101 below 0x1p-79 to +/- 0x1p-79.
37102 * math/libm-test.inc (pow_test): Add more tests.
37103
0ab234b7
AK
371042012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37105
37106 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
37107 _dl_s390_cap_flags with kernel. Increase string length.
37108 (_dl_s390_platforms): Add z196 and zEC12.
37109
45832f74
JM
371102012-11-07 Joseph Myers <joseph@codesourcery.com>
37111
37112 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
37113 Change XOPEN21K to XOPEN2K.
37114
19218757
MK
371152012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
37116
37117 * string/memmove.c: Use memcpy when possible.
37118
c5f45721
AJ
371192012-11-06 Andreas Jaeger <aj@suse.de>
37120
37121 * po/eo.po: Update from translation team.
37122
82477c28
JM
371232012-11-06 Joseph Myers <joseph@codesourcery.com>
37124
37125 [BZ #14793]
37126 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
37127 exponent and small x and y exponents, scale x or y up. Increase
37128 by 2 the exponent used in scaling up.
37129 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37130 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37131 * math/libm-test.inc (fma_test): Add more tests.
37132 (fma_test_towardzero): Likewise.
37133 (fma_test_downward): Likewise.
37134 (fma_test_upward): Likewise.
37135
99252c8c
JM
371362012-11-05 Joseph Myers <joseph@codesourcery.com>
37137
acfa885f
JM
37138 [BZ #14805]
37139 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
37140 fenv_t *.
37141
99252c8c
JM
37142 [BZ #14801]
37143 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
37144 namespace for names of struct fields.
37145 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
37146 fenv_t fields.
37147 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
37148 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
37149
d6d98dea
ST
371502012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
37151
37152 [BZ #3665]
37153 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
37154
e10bb107
TS
371552012-11-04 Thomas Schwinge <thomas@codesourcery.com>
37156
37157 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
37158 PTR_DEMANGLE.
37159
37160 [BZ #5246]
37161 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
37162 PTR_DEMANGLE.
37163
a0c2940d
JM
371642012-11-04 Joseph Myers <joseph@codesourcery.com>
37165
37166 [BZ #14797]
37167 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
37168 definitely overflow as x * y not x * y + z.
37169 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37170 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37171 * math/libm-test.inc (fma_test): Add more tests.
37172 (fma_test_towardzero): Likewise.
37173 (fma_test_downward): Likewise.
37174 (fma_test_upward): Likewise.
37175
b830319d
TS
371762012-11-04 Thomas Schwinge <thomas@codesourcery.com>
37177
37178 [BZ #157]
37179
37180 * include/stub-tag.h: Remove file.
37181 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
37182 '#include' of it.
37183 * manual/maint.texi (Porting): Don't reference it.
37184 * Makerules ($(objpfx)stubs): Likewise.
37185 * dirent/closedir.c: Don't include <stub-tag.h>.
37186 * dirent/dirfd.c: Likewise.
37187 * dirent/fdopendir.c: Likewise.
37188 * dirent/getdents.c: Likewise.
37189 * dirent/getdents64.c: Likewise.
37190 * dirent/opendir.c: Likewise.
37191 * dirent/readdir.c: Likewise.
37192 * dirent/readdir64.c: Likewise.
37193 * dirent/readdir64_r.c: Likewise.
37194 * dirent/readdir_r.c: Likewise.
37195 * dirent/rewinddir.c: Likewise.
37196 * dirent/seekdir.c: Likewise.
37197 * dirent/telldir.c: Likewise.
37198 * gmon/profil.c: Likewise.
37199 * grp/setgroups.c: Likewise.
37200 * inet/if_index.c: Likewise.
37201 * io/access.c: Likewise.
37202 * io/chdir.c: Likewise.
37203 * io/chmod.c: Likewise.
37204 * io/chown.c: Likewise.
37205 * io/close.c: Likewise.
37206 * io/dup.c: Likewise.
37207 * io/dup2.c: Likewise.
37208 * io/dup3.c: Likewise.
37209 * io/euidaccess.c: Likewise.
37210 * io/faccessat.c: Likewise.
37211 * io/fchdir.c: Likewise.
37212 * io/fchmod.c: Likewise.
37213 * io/fchmodat.c: Likewise.
37214 * io/fchown.c: Likewise.
37215 * io/fchownat.c: Likewise.
37216 * io/fcntl.c: Likewise.
37217 * io/flock.c: Likewise.
37218 * io/fstatfs.c: Likewise.
37219 * io/fstatfs64.c: Likewise.
37220 * io/fstatvfs.c: Likewise.
37221 * io/fstatvfs64.c: Likewise.
37222 * io/futimens.c: Likewise.
37223 * io/fxstat.c: Likewise.
37224 * io/fxstat64.c: Likewise.
37225 * io/fxstatat.c: Likewise.
37226 * io/fxstatat64.c: Likewise.
37227 * io/getcwd.c: Likewise.
37228 * io/isatty.c: Likewise.
37229 * io/lchmod.c: Likewise.
37230 * io/lchown.c: Likewise.
37231 * io/link.c: Likewise.
37232 * io/linkat.c: Likewise.
37233 * io/lseek.c: Likewise.
37234 * io/lseek64.c: Likewise.
37235 * io/lxstat64.c: Likewise.
37236 * io/mkdir.c: Likewise.
37237 * io/mkdirat.c: Likewise.
37238 * io/mkfifo.c: Likewise.
37239 * io/mkfifoat.c: Likewise.
37240 * io/open.c: Likewise.
37241 * io/open64.c: Likewise.
37242 * io/openat.c: Likewise.
37243 * io/openat64.c: Likewise.
37244 * io/pipe.c: Likewise.
37245 * io/pipe2.c: Likewise.
37246 * io/poll.c: Likewise.
37247 * io/posix_fadvise.c: Likewise.
37248 * io/posix_fadvise64.c: Likewise.
37249 * io/posix_fallocate.c: Likewise.
37250 * io/posix_fallocate64.c: Likewise.
37251 * io/read.c: Likewise.
37252 * io/readlink.c: Likewise.
37253 * io/readlinkat.c: Likewise.
37254 * io/rmdir.c: Likewise.
37255 * io/sendfile.c: Likewise.
37256 * io/sendfile64.c: Likewise.
37257 * io/statfs.c: Likewise.
37258 * io/statfs64.c: Likewise.
37259 * io/statvfs.c: Likewise.
37260 * io/statvfs64.c: Likewise.
37261 * io/symlink.c: Likewise.
37262 * io/symlinkat.c: Likewise.
37263 * io/ttyname.c: Likewise.
37264 * io/ttyname_r.c: Likewise.
37265 * io/umask.c: Likewise.
37266 * io/unlink.c: Likewise.
37267 * io/unlinkat.c: Likewise.
37268 * io/utime.c: Likewise.
37269 * io/utimensat.c: Likewise.
37270 * io/write.c: Likewise.
37271 * io/xmknod.c: Likewise.
37272 * io/xmknodat.c: Likewise.
37273 * io/xstat.c: Likewise.
37274 * io/xstat64.c: Likewise.
37275 * login/getpt.c: Likewise.
37276 * login/grantpt.c: Likewise.
37277 * login/unlockpt.c: Likewise.
37278 * math/e_acoshl.c: Likewise.
37279 * math/e_acosl.c: Likewise.
37280 * math/e_asinl.c: Likewise.
37281 * math/e_atan2l.c: Likewise.
37282 * math/e_atanhl.c: Likewise.
37283 * math/e_coshl.c: Likewise.
37284 * math/e_expl.c: Likewise.
37285 * math/e_fmodl.c: Likewise.
37286 * math/e_gammal_r.c: Likewise.
37287 * math/e_hypotl.c: Likewise.
37288 * math/e_j0l.c: Likewise.
37289 * math/e_j1l.c: Likewise.
37290 * math/e_jnl.c: Likewise.
37291 * math/e_lgammal_r.c: Likewise.
37292 * math/e_log10l.c: Likewise.
37293 * math/e_log2l.c: Likewise.
37294 * math/e_logl.c: Likewise.
37295 * math/e_powl.c: Likewise.
37296 * math/e_rem_pio2l.c: Likewise.
37297 * math/e_sinhl.c: Likewise.
37298 * math/e_sqrtl.c: Likewise.
37299 * math/fclrexcpt.c: Likewise.
37300 * math/fedisblxcpt.c: Likewise.
37301 * math/feenablxcpt.c: Likewise.
37302 * math/fegetenv.c: Likewise.
37303 * math/fegetexcept.c: Likewise.
37304 * math/fegetround.c: Likewise.
37305 * math/feholdexcpt.c: Likewise.
37306 * math/fesetenv.c: Likewise.
37307 * math/fesetround.c: Likewise.
37308 * math/feupdateenv.c: Likewise.
37309 * math/fgetexcptflg.c: Likewise.
37310 * math/fraiseexcpt.c: Likewise.
37311 * math/fsetexcptflg.c: Likewise.
37312 * math/ftestexcept.c: Likewise.
37313 * math/k_cosl.c: Likewise.
37314 * math/k_rem_pio2l.c: Likewise.
37315 * math/k_sinl.c: Likewise.
37316 * math/k_tanl.c: Likewise.
37317 * math/s_asinhl.c: Likewise.
37318 * math/s_atanl.c: Likewise.
37319 * math/s_cbrtl.c: Likewise.
37320 * math/s_erfl.c: Likewise.
37321 * math/s_expm1l.c: Likewise.
37322 * math/s_log1pl.c: Likewise.
37323 * math/s_tanhl.c: Likewise.
37324 * misc/acct.c: Likewise.
37325 * misc/brk.c: Likewise.
37326 * misc/chflags.c: Likewise.
37327 * misc/chroot.c: Likewise.
37328 * misc/fchflags.c: Likewise.
37329 * misc/fgetxattr.c: Likewise.
37330 * misc/flistxattr.c: Likewise.
37331 * misc/fremovexattr.c: Likewise.
37332 * misc/fsetxattr.c: Likewise.
37333 * misc/fsync.c: Likewise.
37334 * misc/ftruncate.c: Likewise.
37335 * misc/futimes.c: Likewise.
37336 * misc/futimesat.c: Likewise.
37337 * misc/getdomain.c: Likewise.
37338 * misc/getdtsz.c: Likewise.
37339 * misc/gethostid.c: Likewise.
37340 * misc/gethostname.c: Likewise.
37341 * misc/getloadavg.c: Likewise.
37342 * misc/getpagesize.c: Likewise.
37343 * misc/getsysstats.c: Likewise.
37344 * misc/getxattr.c: Likewise.
37345 * misc/gtty.c: Likewise.
37346 * misc/ioctl.c: Likewise.
37347 * misc/lgetxattr.c: Likewise.
37348 * misc/listxattr.c: Likewise.
37349 * misc/llistxattr.c: Likewise.
37350 * misc/lremovexattr.c: Likewise.
37351 * misc/lsetxattr.c: Likewise.
37352 * misc/lutimes.c: Likewise.
37353 * misc/madvise.c: Likewise.
37354 * misc/mincore.c: Likewise.
37355 * misc/mlock.c: Likewise.
37356 * misc/mlockall.c: Likewise.
37357 * misc/mmap.c: Likewise.
37358 * misc/mprotect.c: Likewise.
37359 * misc/msync.c: Likewise.
37360 * misc/munlock.c: Likewise.
37361 * misc/munlockall.c: Likewise.
37362 * misc/munmap.c: Likewise.
37363 * misc/preadv.c: Likewise.
37364 * misc/preadv64.c: Likewise.
37365 * misc/ptrace.c: Likewise.
37366 * misc/pwritev.c: Likewise.
37367 * misc/pwritev64.c: Likewise.
37368 * misc/readv.c: Likewise.
37369 * misc/reboot.c: Likewise.
37370 * misc/remap_file_pages.c: Likewise.
37371 * misc/removexattr.c: Likewise.
37372 * misc/revoke.c: Likewise.
37373 * misc/select.c: Likewise.
37374 * misc/setdomain.c: Likewise.
37375 * misc/setegid.c: Likewise.
37376 * misc/seteuid.c: Likewise.
37377 * misc/sethostid.c: Likewise.
37378 * misc/sethostname.c: Likewise.
37379 * misc/setregid.c: Likewise.
37380 * misc/setreuid.c: Likewise.
37381 * misc/setxattr.c: Likewise.
37382 * misc/sstk.c: Likewise.
37383 * misc/stty.c: Likewise.
37384 * misc/swapoff.c: Likewise.
37385 * misc/swapon.c: Likewise.
37386 * misc/sync.c: Likewise.
37387 * misc/syncfs.c: Likewise.
37388 * misc/syscall.c: Likewise.
37389 * misc/truncate.c: Likewise.
37390 * misc/ualarm.c: Likewise.
37391 * misc/usleep.c: Likewise.
37392 * misc/ustat.c: Likewise.
37393 * misc/utimes.c: Likewise.
37394 * misc/vhangup.c: Likewise.
37395 * misc/writev.c: Likewise.
37396 * posix/_exit.c: Likewise.
37397 * posix/alarm.c: Likewise.
37398 * posix/execve.c: Likewise.
37399 * posix/fexecve.c: Likewise.
37400 * posix/fork.c: Likewise.
37401 * posix/fpathconf.c: Likewise.
37402 * posix/getaddrinfo.c: Likewise.
37403 * posix/getegid.c: Likewise.
37404 * posix/geteuid.c: Likewise.
37405 * posix/getgid.c: Likewise.
37406 * posix/getgroups.c: Likewise.
37407 * posix/getlogin.c: Likewise.
37408 * posix/getlogin_r.c: Likewise.
37409 * posix/getpgid.c: Likewise.
37410 * posix/getpid.c: Likewise.
37411 * posix/getppid.c: Likewise.
37412 * posix/getresgid.c: Likewise.
37413 * posix/getresuid.c: Likewise.
37414 * posix/getsid.c: Likewise.
37415 * posix/getuid.c: Likewise.
37416 * posix/glob64.c: Likewise.
37417 * posix/nanosleep.c: Likewise.
37418 * posix/pathconf.c: Likewise.
37419 * posix/pause.c: Likewise.
37420 * posix/posix_madvise.c: Likewise.
37421 * posix/pread.c: Likewise.
37422 * posix/pread64.c: Likewise.
37423 * posix/pwrite.c: Likewise.
37424 * posix/pwrite64.c: Likewise.
37425 * posix/sched_getaffinity.c: Likewise.
37426 * posix/sched_getp.c: Likewise.
37427 * posix/sched_gets.c: Likewise.
37428 * posix/sched_primax.c: Likewise.
37429 * posix/sched_primin.c: Likewise.
37430 * posix/sched_rr_gi.c: Likewise.
37431 * posix/sched_setaffinity.c: Likewise.
37432 * posix/sched_setp.c: Likewise.
37433 * posix/sched_sets.c: Likewise.
37434 * posix/sched_yield.c: Likewise.
37435 * posix/setgid.c: Likewise.
37436 * posix/setlogin.c: Likewise.
37437 * posix/setpgid.c: Likewise.
37438 * posix/setresgid.c: Likewise.
37439 * posix/setresuid.c: Likewise.
37440 * posix/setsid.c: Likewise.
37441 * posix/setuid.c: Likewise.
37442 * posix/sleep.c: Likewise.
37443 * posix/spawni.c: Likewise.
37444 * posix/sysconf.c: Likewise.
37445 * posix/times.c: Likewise.
37446 * posix/wait.c: Likewise.
37447 * posix/wait3.c: Likewise.
37448 * posix/wait4.c: Likewise.
37449 * posix/waitpid.c: Likewise.
37450 * resolv/gai_sigqueue.c: Likewise.
37451 * resource/getpriority.c: Likewise.
37452 * resource/getrlimit.c: Likewise.
37453 * resource/getrusage.c: Likewise.
37454 * resource/nice.c: Likewise.
37455 * resource/setpriority.c: Likewise.
37456 * resource/setrlimit.c: Likewise.
37457 * resource/ulimit.c: Likewise.
37458 * rt/aio_cancel.c: Likewise.
37459 * rt/aio_fsync.c: Likewise.
37460 * rt/aio_read.c: Likewise.
37461 * rt/aio_sigqueue.c: Likewise.
37462 * rt/aio_suspend.c: Likewise.
37463 * rt/aio_write.c: Likewise.
37464 * rt/clock_getres.c: Likewise.
37465 * rt/clock_gettime.c: Likewise.
37466 * rt/clock_nanosleep.c: Likewise.
37467 * rt/clock_settime.c: Likewise.
37468 * rt/lio_listio.c: Likewise.
37469 * rt/mq_close.c: Likewise.
37470 * rt/mq_getattr.c: Likewise.
37471 * rt/mq_notify.c: Likewise.
37472 * rt/mq_open.c: Likewise.
37473 * rt/mq_receive.c: Likewise.
37474 * rt/mq_send.c: Likewise.
37475 * rt/mq_setattr.c: Likewise.
37476 * rt/mq_timedreceive.c: Likewise.
37477 * rt/mq_timedsend.c: Likewise.
37478 * rt/mq_unlink.c: Likewise.
37479 * rt/shm_open.c: Likewise.
37480 * rt/shm_unlink.c: Likewise.
37481 * rt/timer_create.c: Likewise.
37482 * rt/timer_delete.c: Likewise.
37483 * rt/timer_getoverr.c: Likewise.
37484 * rt/timer_gettime.c: Likewise.
37485 * rt/timer_settime.c: Likewise.
37486 * setjmp/__longjmp.c: Likewise.
37487 * setjmp/setjmp.c: Likewise.
37488 * signal/kill.c: Likewise.
37489 * signal/killpg.c: Likewise.
37490 * signal/raise.c: Likewise.
37491 * signal/sigaction.c: Likewise.
37492 * signal/sigaltstack.c: Likewise.
37493 * signal/sigblock.c: Likewise.
37494 * signal/sigignore.c: Likewise.
37495 * signal/sigintr.c: Likewise.
37496 * signal/signal.c: Likewise.
37497 * signal/sigpause.c: Likewise.
37498 * signal/sigpending.c: Likewise.
37499 * signal/sigqueue.c: Likewise.
37500 * signal/sigreturn.c: Likewise.
37501 * signal/sigset.c: Likewise.
37502 * signal/sigsetmask.c: Likewise.
37503 * signal/sigstack.c: Likewise.
37504 * signal/sigsuspend.c: Likewise.
37505 * signal/sigtimedwait.c: Likewise.
37506 * signal/sigvec.c: Likewise.
37507 * signal/sigwait.c: Likewise.
37508 * signal/sigwaitinfo.c: Likewise.
37509 * signal/sysv_signal.c: Likewise.
37510 * socket/accept.c: Likewise.
37511 * socket/accept4.c: Likewise.
37512 * socket/bind.c: Likewise.
37513 * socket/connect.c: Likewise.
37514 * socket/getpeername.c: Likewise.
37515 * socket/getsockname.c: Likewise.
37516 * socket/getsockopt.c: Likewise.
37517 * socket/isfdtype.c: Likewise.
37518 * socket/listen.c: Likewise.
37519 * socket/recv.c: Likewise.
37520 * socket/recvfrom.c: Likewise.
37521 * socket/recvmsg.c: Likewise.
37522 * socket/send.c: Likewise.
37523 * socket/sendmsg.c: Likewise.
37524 * socket/sendto.c: Likewise.
37525 * socket/setsockopt.c: Likewise.
37526 * socket/shutdown.c: Likewise.
37527 * socket/sockatmark.c: Likewise.
37528 * socket/socket.c: Likewise.
37529 * socket/socketpair.c: Likewise.
37530 * stdio-common/ctermid.c: Likewise.
37531 * stdio-common/cuserid.c: Likewise.
37532 * stdio-common/remove.c: Likewise.
37533 * stdio-common/rename.c: Likewise.
37534 * stdio-common/renameat.c: Likewise.
37535 * stdio-common/tempname.c: Likewise.
37536 * stdlib/getcontext.c: Likewise.
37537 * stdlib/makecontext.c: Likewise.
37538 * stdlib/setcontext.c: Likewise.
37539 * stdlib/swapcontext.c: Likewise.
37540 * stdlib/system.c: Likewise.
37541 * streams/fattach.c: Likewise.
37542 * streams/fdetach.c: Likewise.
37543 * streams/getmsg.c: Likewise.
37544 * streams/getpmsg.c: Likewise.
37545 * streams/putmsg.c: Likewise.
37546 * streams/putpmsg.c: Likewise.
37547 * sysdeps/unix/bsd/getpt.c: Likewise.
37548 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
37549 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
37550 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
37551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
37552 Likewise.
37553 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
37554 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
37555 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
37556 * sysvipc/msgctl.c: Likewise.
37557 * sysvipc/msgget.c: Likewise.
37558 * sysvipc/msgrcv.c: Likewise.
37559 * sysvipc/msgsnd.c: Likewise.
37560 * sysvipc/semctl.c: Likewise.
37561 * sysvipc/semget.c: Likewise.
37562 * sysvipc/semop.c: Likewise.
37563 * sysvipc/semtimedop.c: Likewise.
37564 * sysvipc/shmat.c: Likewise.
37565 * sysvipc/shmctl.c: Likewise.
37566 * sysvipc/shmdt.c: Likewise.
37567 * sysvipc/shmget.c: Likewise.
37568 * termios/tcdrain.c: Likewise.
37569 * termios/tcflow.c: Likewise.
37570 * termios/tcflush.c: Likewise.
37571 * termios/tcgetattr.c: Likewise.
37572 * termios/tcgetpgrp.c: Likewise.
37573 * termios/tcsendbrk.c: Likewise.
37574 * termios/tcsetattr.c: Likewise.
37575 * termios/tcsetpgrp.c: Likewise.
37576 * time/adjtime.c: Likewise.
37577 * time/clock.c: Likewise.
37578 * time/getitimer.c: Likewise.
37579 * time/gettimeofday.c: Likewise.
37580 * time/setitimer.c: Likewise.
37581 * time/settimeofday.c: Likewise.
37582 * time/stime.c: Likewise.
37583 * time/time.c: Likewise.
37584
375852012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 37586
a20492cf
PT
37587 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
37588 /usr/old/bin.
37589
72e182e3
PT
37590 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
37591 instead of spaces.
37592 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
37593
fbeafede
JM
375942012-11-03 Joseph Myers <joseph@codesourcery.com>
37595
5b5b04d6
JM
37596 [BZ #14796]
37597 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
37598 FE_TONEAREST before applying Dekker multiplication and Knuth
37599 addition. Clear inexact exceptions and check for exact zero
37600 results afterwards.
37601 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37602 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
37603 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37604 * math/libm-test.inc (fma_test): Add more tests.
37605 (fma_test_towardzero): Likewise.
37606 (fma_test_downward): Likewise.
37607 (fma_test_upward): Likewise.
37608 * sysdeps/generic/math_private.h (default_libc_fesetround): New
37609 function.
37610 (libc_fesetround): New macro.
37611 (libc_fesetroundf): Likewise.
37612 (libc_fesetroundl): Likewise.
37613 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
37614 function.
37615 (libc_fesetround_387): Likewise.
37616 (libc_fesetroundf): New macro.
37617 (libc_fesetround): Likewise.
37618 (libc_fesetroundl): Likewise.
37619 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
37620 function.
37621 (libc_fesetroundf): New macro.
37622 (libc_fesetround): Likewise.
37623 (libc_fesetroundl): Likewise.
37624 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
37625 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
37626 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
37627 libm_hidden_ver.
37628 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
37629 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
37630 libm_hidden_def.
37631 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
37632 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
37633 libm_hidden_ver.
37634 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
37635 libm_hidden_def.
37636
fbeafede
JM
37637 [BZ #3439]
37638 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
37639 integer constant usable in #if and use that to give value to enum
37640 constant.
37641 (FE_DIVBYZERO): Likewise.
37642 (FE_UNDERFLOW): Likewise.
37643 (FE_OVERFLOW): Likewise.
37644 (FE_INVALID): Likewise.
37645 (FE_INVALID_SNAN): Likewise.
37646 (FE_INVALID_ISI): Likewise.
37647 (FE_INVALID_IDI): Likewise.
37648 (FE_INVALID_ZDZ): Likewise.
37649 (FE_INVALID_IMZ): Likewise.
37650 (FE_INVALID_COMPARE): Likewise.
37651 (FE_INVALID_SOFTWARE): Likewise.
37652 (FE_INVALID_SQRT): Likewise.
37653 (FE_INVALID_INTEGER_CONVERSION): Likewise.
37654 (FE_TONEAREST): Likewise.
37655 (FE_TOWARDZERO): Likewise.
37656 (FE_UPWARD): Likewise.
37657 (FE_DOWNWARD): Likewise.
37658 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
37659 (FE_DIVBYZERO): Likewise.
37660 (FE_OVERFLOW): Likewise.
37661 (FE_UNDERFLOW): Likewise.
37662 (FE_INEXACT): Likewise.
37663 (FE_TONEAREST): Likewise.
37664 (FE_DOWNWARD): Likewise.
37665 (FE_UPWARD): Likewise.
37666 (FE_TOWARDZERO): Likewise.
37667 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
37668 (FE_UNDERFLOW): Likewise.
37669 (FE_OVERFLOW): Likewise.
37670 (FE_DIVBYZERO): Likewise.
37671 (FE_INVALID): Likewise.
37672 (FE_TONEAREST): Likewise.
37673 (FE_TOWARDZERO): Likewise.
37674 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
37675 (FE_OVERFLOW): Likewise.
37676 (FE_UNDERFLOW): Likewise.
37677 (FE_DIVBYZERO): Likewise.
37678 (FE_INEXACT): Likewise.
37679 (FE_TONEAREST): Likewise.
37680 (FE_TOWARDZERO): Likewise.
37681 (FE_UPWARD): Likewise.
37682 (FE_DOWNWARD): Likewise.
37683 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
37684 (FE_DIVBYZERO): Likewise.
37685 (FE_OVERFLOW): Likewise.
37686 (FE_UNDERFLOW): Likewise.
37687 (FE_INEXACT): Likewise.
37688 (FE_TONEAREST): Likewise.
37689 (FE_DOWNWARD): Likewise.
37690 (FE_UPWARD): Likewise.
37691 (FE_TOWARDZERO): Likewise.
37692
105ca950
CM
376932012-11-02 Chris Metcalf <cmetcalf@tilera.com>
37694
37695 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
37696
a542b389
AS
376972012-11-03 Andreas Schwab <schwab@linux-m68k.org>
37698
37699 * scripts/cross-test-ssh.sh (command): Use newlines to separate
37700 commands. Quote $PWD.
37701 (blacklist_exports): Don't use remove_newlines. Replace "declare
37702 -x" by "export".
37703 (remove_newlines): Remove.
37704
f62c8abc
L
377052012-11-02 H.J. Lu <hongjiu.lu@intel.com>
37706
37707 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
37708 * stdlib/stdlib.h (atof): Moved to ...
37709 * include/bits/stdlib-float.h: Here. New file.
37710 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
37711 * stdlib/bits/stdlib-float.h: New file.
37712 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
37713 -mno-sse -mno-mmx.
37714 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
37715 <xmmintrin.h>.
37716
0155d5b2
JM
377172012-11-02 Joseph Myers <joseph@codesourcery.com>
37718
a68d0680
JM
37719 * conform/conformtest.pl (@headers): Add fenv.h.
37720 * conform/data/fenv.h-data: New file.
37721 * include/fenv.h [_ISOMAC]: Disable all contents of file except
37722 include of <math/fenv.h>.
37723
caf7f573
JM
37724 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
37725 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
37726 && !UNIX98]. Enables tests for XOPEN2K8.
37727 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
37728 POSIX2008]: Likewise.
37729
6c073ad6
JM
37730 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
37731 (struct rusage): Do not expect type or its members.
37732
0155d5b2
JM
37733 [BZ #3439]
37734 * math/math.h (FP_NAN): Define macro to integer constant usable in
37735 #if and use that to give value to enum constant.
37736 (FP_INFINITE): Likewise.
37737 (FP_ZERO): Likewise.
37738 (FP_SUBNORMAL): Likewise.
37739 (FP_NORMAL): Likewise.
37740
b5dcacb4
AS
377412012-11-02 Andreas Schwab <schwab@linux-m68k.org>
37742
37743 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
37744 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
37745 arguments.
37746
f7934be8
RM
377472012-11-02 Roland McGrath <roland@hack.frob.com>
37748
37749 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
37750 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
37751 autoconf-time if not.
37752 * configure.in: Remove AC_PREREQ.
37753
d7d08bde
TMQMF
377542012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37755
37756 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
37757 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
37758 of the internal implementation.
37759
dcdae19a
JM
377602012-11-02 Joseph Myers <joseph@codesourcery.com>
37761
37762 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
37763 except include of <misc/sys/syslog.h>.
37764
d6cffd3e
AS
377652012-11-01 Andreas Schwab <schwab@linux-m68k.org>
37766
37767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
37768 function returns with a NULL context exit with zero.
37769
b3563932
TMQMF
377702012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37771
37772 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
37773
b288a93d
L
377742012-11-01 H.J. Lu <hongjiu.lu@intel.com>
37775
37776 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
37777 (run_program_cmd): This.
37778 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
37779 (tst_langinfo): New variable. Use it.
37780
a2421a68
SAS
377812012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
37782
37783 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
37784 floating point opcodes.
37785
6f796e1b
TS
377862012-11-01 Thomas Schwinge <thomas@codesourcery.com>
37787
7402596b
TS
37788 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
37789 variable.
37790
d0d4f868
TS
37791 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
37792
6f796e1b
TS
37793 * sysdeps/mach/hurd/powerpc: Remove directory.
37794 * sysdeps/mach/powerpc: Likewise.
37795
4da224a2
AS
377962012-11-01 Andreas Schwab <schwab@linux-m68k.org>
37797
37798 * scripts/check-local-headers.sh: Ignore c++ headers.
37799
341dd673
TS
378002012-11-01 Thomas Schwinge <thomas@codesourcery.com>
37801
37802 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
37803 __libc_cleanup_region_start argument.
37804
473611b2
JM
378052012-11-01 Joseph Myers <joseph@codesourcery.com>
37806
37807 [BZ #14784]
37808 [BZ #14785]
37809 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
37810 x * y using scaling, not as x * y + z.
37811 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37812 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37813 * math/libm-test.inc (fma_test): Add more tests.
37814 (fma_test_towardzero): Likewise.
37815 (fma_test_downward): Likewise.
37816 (fma_test_upward): Likewise.
37817
4078da3d
TS
378182012-11-01 Thomas Schwinge <thomas@codesourcery.com>
37819
37820 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
37821
903252aa
JM
378222012-10-31 Joseph Myers <joseph@codesourcery.com>
37823
37824 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
37825 New variable.
37826
cbc818d0
TS
378272012-10-31 Thomas Schwinge <thomas@codesourcery.com>
37828
37829 * rt/tst-shm.c (worker): Correct checking for mmap failure.
37830
5a03cb1e
AS
378312012-10-31 Andreas Schwab <schwab@linux-m68k.org>
37832
37833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37834 Fix sort order.
37835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37836 Likewise.
37837
90aff2ff
TMQMF
378382012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37839
37840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37841 Fix the order of the list for glibc 2.17.
37842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37843 Likewise.
37844
1818fcb7
AS
378452012-10-31 Andreas Schwab <schwab@linux-m68k.org>
37846
37847 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37848
ef82f4da
JM
378492012-10-31 Joseph Myers <joseph@codesourcery.com>
37850
16a0e2ec
JM
37851 [BZ #14610]
37852 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
37853 for low part of x being zero before using __atanl (y).
37854 * math/libm-test.inc (atan2_test): Add another test.
37855
0eb69512
JM
37856 * manual/install.texi (Configuring and compiling): Document
37857 general use of test-wrapper and test-wrapper-env.
37858 * INSTALL: Regenerated.
37859
ef82f4da
JM
37860 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
37861 (__fma): Do not extract and scale down low bits on after-rounding
37862 systems when result rounded to normal precision would have normal
37863 exponent.
37864 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
37865 (__fmal): Do not extract and scale down low bits on after-rounding
37866 systems when result rounded to normal precision would have normal
37867 exponent.
37868 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
37869 (__fmal): Do not extract and scale down low bits on after-rounding
37870 systems when result rounded to normal precision would have normal
37871 exponent.
37872 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
37873 macro.
37874 (fma_test): Add more tests.
37875 (fma_test_towardzero): Likewise.
37876 (fma_test_downward): Likewise.
37877 (fma_test_upward): Likewise.
37878
954ef0d9
L
378792012-10-30 H.J. Lu <hongjiu.lu@intel.com>
37880
37881 * sysdeps/i386/tininess.h: Renamed to ...
37882 * sysdeps/x86/tininess.h: This.
37883 * sysdeps/x86_64/tininess.h: Removed.
37884
df61ffb2
JM
378852012-10-30 Joseph Myers <joseph@codesourcery.com>
37886
37887 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
37888 input. Use $(build-program-cmd).
37889 ($(objpfx)tst-array1-static.out): Likewise.
37890 ($(objpfx)tst-array2.out): Likewise.
37891 ($(objpfx)tst-array3.out): Likewise.
37892 ($(objpfx)tst-array4.out): Likewise.
37893 ($(objpfx)tst-array5.out): Likewise.
37894 ($(objpfx)tst-array5-static.out): Likewise.
37895
01767843
CM
378962012-10-30 Chris Metcalf <cmetcalf@tilera.com>
37897
47cc1490
CM
37898 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
37899 if defined.
37900
01767843
CM
37901 * nss/nsswitch.h (nss_interface_function): Provide new
37902 macro for use with NSS functions.
37903 * grp/initgroups.c: Use new macro.
37904 * nss/getXXbyYY.c: Likewise.
37905 * nss/getXXbyYY_r.c: Likewise.
37906 * nss/getXXent.c: Likewise.
37907 * nss/getXXent_r.c: Likewise.
37908 * sysdeps/posix/getaddrinfo.c: Likewise.
37909
8321aa97
AJ
379102012-10-30 Andreas Jaeger <aj@suse.de>
37911
37912 * po/ru.po: Update Russion translation from translation project.
37913
2a27fd6d
JM
379142012-10-30 Joseph Myers <joseph@codesourcery.com>
37915
8627a232
JM
37916 [BZ #14152]
37917 [BZ #14783]
37918 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
37919 result and shift together with sticky bit instead of replicating
37920 round-to-nearest rounding.
37921 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37922 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37923 * math/libm-test.inc (fma_test): Add more tests. Do not permit
37924 missing underflow exceptions.
37925 (fma_test_towardzero): Add more tests.
37926 (fma_test_downward): Likewise.
37927 (fma_test_upward): Likewise.
37928
2a27fd6d
JM
37929 [BZ #14047]
37930 * sysdeps/generic/tininess.h: New file.
37931 * sysdeps/i386/tininess.h: Likewise.
37932 * sysdeps/sh/tininess.h: Likewise.
37933 * sysdeps/x86_64/tininess.h: Likewise.
37934 * stdlib/tst-strtod-underflow.c: Likewise.
37935 * stdlib/tst-tininess.c: Likewise.
37936 * stdlib/strtod_l.c: Include <tininess.h>.
37937 (round_and_return): Do not set errno for exact underflow cases.
37938 Force an underflow exception when setting errno for underflow.
37939 Determine underflow based on rounding to normal precision if
37940 TININESS_AFTER_ROUNDING.
37941 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
37942 ERANGE for exact underflow cases.
37943 * stdlib/Makefile (tests): Add tst-tininess and
37944 tst-strtod-underflow.
37945 ($(objpfx)tst-tininess): Use $(link-libm).
37946 ($(objpfx)tst-strtod-underflow): Likewise.
37947
e7170363
AJ
379482012-10-30 Andreas Jaeger <aj@suse.de>
37949
e5088dc6
AJ
37950 [BZ#14767]
37951 * elf/Makefile (tests): Remove conditional for have-initfini-array
37952 since this is now always required and the variable does not exist
37953 anymore.
37954 (tests-static): Likewise.
37955 (modules-names): Likewise.
37956
e7170363 37957 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
37958
37959 * elf/tst-array1.c (fini_array): Make writeable so that it can be
37960 merged with constructor/destructor.
37961 (init_array): Likewise.
37962 * elf/tst-array2dep.c (fini_array): Likewise.
37963 (init_array): Likewise.
37964
60457d8a
MF
379652012-10-29 Mike Frysinger <vapier@gentoo.org>
37966
37967 * manual/message.texi: Delete @cartouche tags.
37968
8bece752
PT
379692012-10-29 Pino Toscano <toscano.pino@tiscali.it>
37970
94ce799f
PT
37971 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
37972 EOPNOTSUPP.
37973 * sysdeps/mach/hurd/fsync.c: Likewise.
37974
8bece752
PT
37975 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
37976 [_POSIX_REALTIME_SIGNALS]: Change condition to
37977 [_POSIX_REALTIME_SIGNALS > 0].
37978
86ebe6b1
AJ
379792012-10-27 Andreas Jaeger <aj@suse.de>
37980
37981 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
37982 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
37983 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
37984 [__WORDSIZE != 64]: Likewise.
37985
54399c08
L
379862012-10-26 H.J. Lu <hongjiu.lu@intel.com>
37987
37988 * iconvdata/tst-table.sh: Remove ${SHELL}.
37989 * iconvdata/tst-tables.sh: Likewise.
37990
e2211bed
DM
379912012-10-25 David S. Miller <davem@davemloft.net>
37992
37993 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37994 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
37995 of strtoull.
37996
f303f97c
DM
37997 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
37998 ifunc-impl-list.c
37999 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38000 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
38001 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
38002 file.
38003
1e9d84cd
RM
380042012-10-25 Roland McGrath <roland@hack.frob.com>
38005
38006 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38007 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
38008 __getdirentries.
38009
df381762
JM
380102012-10-25 Joseph Myers <joseph@codesourcery.com>
38011 Jim Blandy <jimb@codesourcery.com>
38012
38013 * scripts/cross-test-ssh.sh: New file.
38014 * manual/install.texi (Configuring and compiling): Document use of
38015 cross-test-ssh.sh.
38016 * INSTALL: Regenerated.
38017
bff64913
PT
380182012-10-25 Pino Toscano <toscano.pino@tiscali.it>
38019
38020 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
38021 EOPNOTSUPP.
38022
25fe8932
JM
380232012-10-25 Joseph Myers <joseph@codesourcery.com>
38024
38025 * Makeconfig (run-program-prefix): Fix comment.
38026
cc1290d0
JM
380272012-10-24 Joseph Myers <joseph@codesourcery.com>
38028 Jim Blandy <jimb@codesourcery.com>
38029
38030 * Makeconfig (test-wrapper): New variable,
38031 (test-wrapper-env): Likewise.
38032 [$(cross-compiling) = yes && $(test-wrapper) != ""]
38033 (run-built-tests): Define to yes.
38034 (run-program-prefix): Use $(test-wrapper).
38035 (built-program-cmd): Likewise.
38036 * Rules (make-test-out): Use $(test-wrapper-env) and
38037 $(host-built-program-cmd).
38038 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
38039 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
38040 tst-pathopt.sh.
38041 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
38042 $(test-wrapper-env) to tst-rtld-load-self.sh.
38043 ($(objpfx)order2.out): Use $(test-wrapper).
38044 ($(objpfx)tst-initorder.out): Likewise.
38045 ($(objpfx)tst-initorder2.out): Likewise.
38046 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
38047 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
38048 (test_wrapper_env): New variable. Use it to run ld.so.
38049 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
38050 Use it to run ld.so.
38051 (test_wrapper_env): Likewise.
38052 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
38053 $(test-wrapper) to run-iconv-test.sh.
38054 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
38055 (ICONV): Use $test_wrapper.
38056 * posix/Makefile ($(objpfx)globtest.out): Pass
38057 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
38058 globtest.sh, not $(run-program-prefix).
38059 * posix/globtest.sh (run_via_rtld_prefix): New variable.
38060 (test_wrapper): Likewise.
38061 (test_wrapper_env): Likewise. Use it to run globtest with HOME
38062 set together with run_via_rtld_prefix.
38063 (run_program_prefix): Define in terms of test_wrapper and
38064 run_via_rtld_prefix.
38065
6e6249d0
RM
380662012-10-24 Roland McGrath <roland@hack.frob.com>
38067
38068 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
38069 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
38070 Targets removed.
38071
38072 [BZ #14743]
38073 * include/time.h: Remove librt_hidden_proto (clock_gettime).
38074 Declare __clock_getres, __clock_gettime, __clock_settime,
38075 __clock_nanosleep, and __clock_getcpuclockid.
38076 * rt/clock_gettime.c: Define __clock_gettime as an alias.
38077 Remove librt_hidden_def (clock_gettime).
38078 * sysdeps/unix/clock_gettime.c: Likewise.
38079 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
38080 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
38081 * rt/clock_getres.c: Define __clock_getres as an alias.
38082 * sysdeps/posix/clock_getres.c: Likewise.
38083 * rt/clock_settime.c: Define __clock_settime as an alias.
38084 * sysdeps/unix/clock_settime.c: Likewise.
38085 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
38086 * sysdeps/unix/clock_nanosleep.c: Likewise.
38087 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
38088 * rt/clock-compat.c: New file.
38089 * rt/Makefile (librt-routines): Add clock-compat and move
38090 $(clock-routines) to ...
38091 (routines): ... here, new variable.
38092 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
38093 Don't add get_clockfreq here.
38094 * rt/Versions (libc: GLIBC_2.17): New version set.
38095 Add clock_* symbols here.
38096 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
38097 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
38098 (GLIBC_2.17): Add clock_* symbols.
38099 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
38100 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
38101 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
38102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38103 Likewise.
38104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38105 Likewise.
38106 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
38107 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
38108 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
38109 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
38110 * NEWS: Mention the move.
38111
38112 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
38113 Use __open, __read, __close rather than their public counterparts.
38114 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38115 (__get_clockfreq_via_cpuinfo): Likewise.
38116 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
38117 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
38118
38119 * config.h.in (HAVE_IFUNC): New #undef.
38120 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
38121 was successful.
38122 * configure: Regenerated.
38123
0cae3f4b
MF
381242012-10-24 Mike Frysinger <vapier@gentoo.org>
38125
38126 * configure.in: Move READELF check to start of file.
38127 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
38128 libc_cv_asm_gnu_indirect_function in the process.
38129 * configure: Regenerated.
38130
8175a253
MF
381312012-10-24 Mike Frysinger <vapier@gentoo.org>
38132
38133 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
38134 send the output to /dev/null.
38135 (libc_cv_cc_with_libunwind): Likewise.
38136 (libc_cv_as_noexecstack): Likewise.
38137 * configure: Regenerate.
38138
0708a7d1
JM
381392012-10-24 Joseph Myers <joseph@codesourcery.com>
38140
10b40d85
JM
38141 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
38142
0708a7d1
JM
38143 * posix/globtest.sh (TMPDIR): Do not set.
38144 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
38145 (testout): Likewise.
38146
9fddec1a
AJ
381472012-10-24 Andreas Jaeger <aj@suse.de>
38148
3a8db22f
AJ
38149 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
38150 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
38151 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
38152 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
38153 posix_fadvise64, posix_fallocate64.
38154
9fddec1a
AJ
38155 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
38156 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
38157 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
38158 Likewise.
38159 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
38160 Likewise.
38161 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
38162
38163 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
38164 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
38165 <bits/fcntl-linux.h>.
38166 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
38167
38168 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
38169 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
38170 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
38171 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
38172 [__WORDSIZE != 64]: Likewise.
38173
ebfd1bbd
JM
381742012-10-23 Joseph Myers <joseph@codesourcery.com>
38175
03ac099f
JM
38176 * Makeconfig (run-built-tests): New variable.
38177 * Rules [$(cross-compiling) = yes]: Change condition to
38178 [$(run-built-tests) = no].
38179 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
38180 to [$(run-built-tests) = yes].
38181 * elf/Makefile [$(cross-compiling) = no]: Likewise
38182 * grp/Makefile [$(cross-compiling) = no]: Likewise.
38183 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
38184 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
38185 * intl/Makefile [$(cross-compiling) = no]: Likewise.
38186 * io/Makefile [$(cross-compiling) = no]: Likewise.
38187 * libio/Makefile [$(cross-compiling) = no]: Likewise.
38188 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
38189 * misc/Makefile [$(cross-compiling) = no]: Likewise.
38190 * posix/Makefile [$(cross-compiling) = no]: Likewise.
38191 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
38192 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
38193 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
38194 * string/Makefile [$(cross-compiling) = no]: Likewise.
38195
ebfd1bbd
JM
38196 * posix/Makefile ($(objpfx)globtest.out): Pass
38197 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
38198 $(rtld-installed-name).
38199 * posix/globtest.sh (elf_objpfx): Remove variable.
38200 (rtld_installed_name): Likewise.
38201 (library_path): Likewise.
38202 (run_program_prefix): New variable. Use for running globtest
38203 binary.
38204
166bca24
JB
382052012-10-23 Jim Blandy <jimb@codesourcery.com>
38206 Joseph Myers <joseph@codesourcery.com>
38207
38208 * Makeconfig (host-built-program-cmd): New variable.
38209 * elf/Makefile (tst-stackguard1-ARGS): Use
38210 $(host-built-program-cmd).
38211 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
38212 (tst-spawn-ARGS): Likewise.
38213 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
38214
88866099
JM
382152012-10-23 Joseph Myers <joseph@codesourcery.com>
38216 Jim Blandy <jimb@codesourcery.com>
38217
38218 * Makeconfig (run-via-rtld-prefix): New variable.
38219 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
38220 (built-program-cmd): Likewise.
38221
b4b4c296
AJ
382222012-10-22 Andreas Jaeger <aj@suse.de>
38223
38224 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
38225 __O_RSYNC if it exists, otherwise to O_SYNC.
38226
6fb54a22
JB
382272012-10-22 Jim Blandy <jimb@codesourcery.com>
38228 Joseph Myers <joseph@codesourcery.com>
38229
38230 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
38231 /dev/null.
38232 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
38233 from /dev/null
38234 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
38235 /dev/null.
38236
481b90b9
AJ
382372012-10-22 Andreas Jaeger <aj@suse.de>
38238
2a0e2669
AJ
38239 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
38240 Define always.
38241 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
38242
76e38f9a
AJ
38243 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38244 bits/fcntl-linux.h.
38245
7cd37b43
AJ
38246 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
38247 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
38248
481b90b9
AJ
38249 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
38250 to __O_LARGEFILE.
38251 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
38252 to __O_LARGEFILE.
38253
aba75984
JB
382542012-10-21 Jim Blandy <jimb@codesourcery.com>
38255 Joseph Myers <joseph@codesourcery.com>
38256
38257 * config.make.in (NM): New variable.
38258
88d4247f
AJ
382592012-10-21 Andreas Jaeger <aj@suse.de>
38260
38261 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
38262 definitions and declarations that are provided by
38263 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
38264
f2eed205
L
382652012-10-20 H.J. Lu <hongjiu.lu@intel.com>
38266
38267 [BZ #14683]
38268 * elf/Makefile (tests-static): Add tst-leaks1-static.
38269 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
38270 ($(objpfx)tst-leaks1-static): New rule.
38271 ($(objpfx)tst-leaks1-static-mem): Likewise.
38272 (tst-leaks1-static-ENV): New macro.
38273 * elf/dl-open.c (dl_open_worker): Check the main application
38274 only if SHARED is defined.
38275 * elf/tst-leaks1-static.c: New file.
38276
335e6931
AJ
382772012-10-20 Andreas Jaeger <aj@suse.de>
38278
38279 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
38280 generic values for Linux.
38281 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
38282 and declarations that are provided by <bits/fcntl-linux.h> and
38283 include <bits/fcntl-linux.h>.
38284 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38285 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38286
ac5c94d3
RM
382872012-10-20 Roland McGrath <roland@hack.frob.com>
38288
38289 * io/fcntl.h: Move include of <bits/types.h> to the top and
38290 include it unconditionally.
38291
de54b33a
L
382922012-10-20 H.J. Lu <hongjiu.lu@intel.com>
38293
228cfb01
L
38294 * wcsmbs/Makefile (tests-ifunc): New variable.
38295 (tests): Add $(tests-ifunc).
38296 * wcsmbs/test-wcschr-ifunc.c: New file.
38297 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
38298 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
38299 * wcsmbs/test-wcslen-ifunc.c: Likewise.
38300 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
38301 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
38302
69f07e5f
L
38303 * string/Makefile (tests-ifunc): New variable.
38304 (tests): Add $(tests-ifunc).
38305 * string/test-memccpy.c (TEST_NAME): New macro.
38306 * string/test-memchr.c (TEST_NAME): Likewise.
38307 * string/test-memcmp.c (TEST_NAME): Likewise.
38308 * string/test-memcpy.c (TEST_NAME): Likewise.
38309 * string/test-memmem.c (TEST_NAME): Likewise.
38310 * string/test-memmove.c (TEST_NAME): Likewise.
38311 * string/test-memset.c (TEST_NAME): Likewise.
38312 * string/test-rawmemchr.c (TEST_NAME): Likewise.
38313 * string/test-stpcpy.c (TEST_NAME): Likewise.
38314 * string/test-stpncpy.c (TEST_NAME): Likewise.
38315 * string/test-strcasecmp.c (TEST_NAME): Likewise.
38316 * string/test-strcasestr.c (TEST_NAME): Likewise.
38317 * string/test-strcat.c (TEST_NAME): Likewise.
38318 * string/test-strchr.c (TEST_NAME): Likewise.
38319 * string/test-strcmp.c(TEST_NAME): Likewise.
38320 * string/test-strcpy.c (TEST_NAME): Likewise.
38321 * string/test-strcspn.c (TEST_NAME): Likewise.
38322 * string/test-strlen.c (TEST_NAME): Likewise.
38323 * string/test-strncasecmp.c (TEST_NAME): Likewise.
38324 * string/test-strncmp.c (TEST_NAME): Likewise.
38325 * string/test-strncpy.c (TEST_NAME): Likewise.
38326 * string/test-strnlen.c (TEST_NAME): Likewise.
38327 * string/test-strpbrk.c (TEST_NAME): Likewise.
38328 * string/test-strrchr.c (TEST_NAME): Likewise.
38329 * string/test-strspn.c (TEST_NAME): Likewise.
38330 * string/test-strstr.c (TEST_NAME): Likewise.
38331 * string/test-bcopy-ifunc.c: New file.
38332 * string/test-bzero-ifunc.c: Likewise.
38333 * string/test-memccpy-ifunc.c: Likewise.
38334 * string/test-memchr-ifunc.c: Likewise.
38335 * string/test-memcmp-ifunc.c: Likewise.
38336 * string/test-memcpy-ifunc.c: Likewise.
38337 * string/test-memmem-ifunc.c: Likewise.
38338 * string/test-memmove-ifunc.c: Likewise.
38339 * string/test-mempcpy-ifunc.c: Likewise.
38340 * string/test-memset-ifunc.c: Likewise.
38341 * string/test-rawmemchr-ifunc.c: Likewise.
38342 * string/test-stpcpy-ifunc.c: Likewise.
38343 * string/test-stpncpy-ifunc.c: Likewise.
38344 * string/test-strcasecmp-ifunc.c: Likewise.
38345 * string/test-strcasestr-ifunc.c: Likewise.
38346 * string/test-strcat-ifunc.c: Likewise.
38347 * string/test-strchr-ifunc.c: Likewise.
38348 * string/test-strchrnul-ifunc.c: Likewise.
38349 * string/test-strcmp-ifunc.c: Likewise.
38350 * string/test-strcpy-ifunc.c: Likewise.
38351 * string/test-strcspn-ifunc.c: Likewise.
38352 * string/test-strlen-ifunc.c: Likewise.
38353 * string/test-strncasecmp-ifunc.c: Likewise.
38354 * string/test-strncat-ifunc.c: Likewise.
38355 * string/test-strncmp-ifunc.c: Likewise.
38356 * string/test-strncpy-ifunc.c: Likewise.
38357 * string/test-strnlen-ifunc.c: Likewise.
38358 * string/test-strpbrk-ifunc.c: Likewise.
38359 * string/test-strrchr-ifunc.c: Likewise.
38360 * string/test-strspn-ifunc.c: Likewise.
38361 * string/test-strstr-ifunc.c: Likewise.
38362
de54b33a
L
38363 * debug/Makefile (tests-ifunc): New variable.
38364 (tests): Add $(tests-ifunc).
38365 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
38366 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
38367 * debug/test-stpcpy_chk-ifunc.c: New file.
38368 * debug/test-strcpy_chk-ifunc.c: Likewise.
38369
88481c16
SP
383702012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
38371
38372 [BZ #13601]
38373 * elf/dl-load.c (open_verify): Retry read if the entire ELF
38374 header is not read in.
38375
135948bd
JM
383762012-10-19 Joseph Myers <joseph@codesourcery.com>
38377
89f1c388
JM
38378 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
38379 script to $(SHELL) as $<. Pass $(common-objpfx) to script
38380 directly. Pass built executable to script as
38381 $(built-program-cmd).
38382 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
38383 $testprogram without using LD_LIBRARY_PATH and $ldso.
38384
e40a0d21
JM
38385 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
38386 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
38387 $(rtld-installed-name).
38388 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
38389 (rtld_installed_name): Likewise.
38390 (library_path): Likewise.
38391 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
38392 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
38393 $(run-program-prefix) to tst-tables.sh.
38394 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
38395 it to run tst-table-from and tst-table-to.
38396 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
38397 Pass it to tst-table.sh.
38398 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
38399 $(run-program-prefix) to tst-gettext.sh.
38400 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
38401 tst-translit.sh.
38402 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
38403 tst-gettext2.sh.
38404 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
38405 to run tst-gettext.
38406 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
38407 to run tst-gettext2.
38408 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
38409 to run tst-translit.
38410 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
38411 $(run-program-prefix) to tst-mtrace.sh.
38412 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
38413 to run tst-mtrace.
38414 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
38415 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
38416 $(rtld-installed-name).
38417 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
38418 (rtld_installed_name): Likewise.
38419 (run_program_prefix): New variable. Use it to run wordexp-test.
38420
728e272a
JM
38421 * Makeconfig (ARCH): Remove all definitions.
38422 (machine): Likewise.
38423 [ARCH]: Remove conditional code.
38424 [!objdir]: Give error.
38425 [!objdir] (objpfx): Remove.
38426 [!objdir] (common-objpfx): Likewise.
38427 [!objdir] (common-objdir): Likewise.
38428 * configure.in (config_makefile): Remove. Hardcode Makefile in
38429 AC_CONFIG_FILES call.
38430 * configure: Regenerated.
38431
d528cdcf
JM
38432 [BZ #13888]
38433 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
38434 or TMPDIR.
38435 (testout): Likewise.
38436
135948bd
JM
38437 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
38438 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
38439 $(rtld-installed-name).
38440 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
38441 (rtld_installed_name): Likwise.
38442 (runit): Remove function.
38443 (run_getconf): New variable, Use it for running getconf binary.
38444
38c78296
L
384452012-10-18 H.J. Lu <hongjiu.lu@intel.com>
38446
38447 [BZ #14716]
38448 * string/test-memmem.c (check_result): New function.
38449 (do_one_test): Use it.
38450 (check1): New function.
38451 (test_main): Use it.
38452
d077f65f
MT
384532012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
38454
38455 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
38456
ced52c71
JM
384572012-10-18 Joseph Myers <joseph@codesourcery.com>
38458
38459 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
38460 (_G_LSEEK64): Likewise.
38461 (_G_MMAP64): Likewise.
38462 (_G_FSTAT64): Likewise.
38463 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
38464 (_G_LSEEK64): Likewise.
38465 (_G_MMAP64): Likewise.
38466 (_G_FSTAT64): Likewise.
38467 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
38468 unconditional. Call __mmap64 directly.
38469 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
38470 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
38471 __lseek64 directly.
38472 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
38473 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
38474 __mmap64 directly.
38475 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
38476 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
38477 __lseek64 directly.
38478 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
38479 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
38480 __lseek64 directly.
38481 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
38482 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
38483 __lseek64 directly.
38484 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
38485 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
38486 __fxstat64 directly.
38487 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
38488 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
38489 unconditional.
38490 (freopen64) [!_G_OPEN64]: Remove conditional code.
38491 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
38492 unconditional.
38493 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
38494 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
38495 unconditional.
38496 (ftello64) [!_G_LSEEK64]: Remove conditional code.
38497 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
38498 unconditional.
38499 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
38500 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
38501 unconditional.
38502 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
38503 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
38504 unconditional.
38505 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
38506 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
38507 unconditional.
38508 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
38509 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
38510 unconditional.
38511 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
38512
b741de23
SP
385132012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
38514
38515 [BZ #12140]
38516 * manual/memory.texi (Malloc Tunable Parameters): Add note
38517 about free list pointers overwriting some perturb bytes.
38518 Wording suggested by Roland McGrath.
38519
f9b9d9c9
JM
385202012-10-17 Joseph Myers <joseph@codesourcery.com>
38521
38522 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
38523 (lgamma_test): Likewise.
38524 (tgamma_test): Likewise.
38525
172a631a
FW
385262012-10-16 Florian Weimer <fweimer@redhat.com>
38527
38528 [BZ #14700]
38529 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
38530 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
38531
e9f37252
MK
385322012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
38533
38534 * NEWS: Mention BZ #14716.
38535 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
38536 when removing AVAILABLE1_USES_J macro.
38537
d394eb74
L
385382012-10-12 H.J. Lu <hongjiu.lu@intel.com>
38539
38540 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
38541 (__bswap_64): __uint64_t for unsigned 64-bit int.
38542
ca38dc17
AS
385432012-10-12 Andreas Schwab <schwab@linux-m68k.org>
38544
38545 * include/string.h (memmem): Declare libc hidden alias.
38546 * string/memmem.c (memmem): Define libc hidden alias.
38547 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
38548 __read, __close instead of open, read, close.
38549
9a387d1f
L
385502012-10-11 H.J. Lu <hongjiu.lu@intel.com>
38551
ac49ecaf
L
38552 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
38553 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
38554 global and hidden.
38555 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
38556 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
38557 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
38558 Likewise.
38559 (__rawmemchr_sse2): Likewise.
38560 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
38561 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
38562 (__strchr_sse2): Likewise.
38563 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
38564 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
38565 (__strcasecmp_sse2): Likewise.
38566 (__strncasecmp_sse2): Likewise.
38567 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
38568 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
38569 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
38570 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
38571 (__strrchr_sse2): Likewise.
38572 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
38573 ifunc-impl-list.c.
38574 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
38575 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
38576 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
38577 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
38578 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
38579 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
38580 * sysdeps/x86_64/multiarch/memset.S: Likewise.
38581 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
38582 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
38583 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
38584 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
38585 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
38586 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
38587 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
38588 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
38589 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
38590 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
38591 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
38592 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
38593 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
38594 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
38595 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
38596 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
38597 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
38598 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
38599 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
38600 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
38601 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
38602 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
38603 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
38604
b090e8ea
L
38605 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
38606 global and hidden.
38607 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
38608 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
38609 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
38610 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
38611 Likewise.
38612 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
38613 Likewise.
38614 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
38615 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
38616 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
38617 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
38618 ifunc-impl-list.c.
38619 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
38620 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
38621 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
38622 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
38623 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
38624 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
38625 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
38626 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
38627 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
38628 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
38629 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
38630 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
38631 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
38632 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
38633 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
38634 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
38635 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
38636 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
38637 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
38638 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
38639 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
38640 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
38641 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
38642 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
38643 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
38644 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
38645 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
38646 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
38647 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
38648 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
38649 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
38650 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
38651 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
38652 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
38653 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
38654 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
38655 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
38656 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
38657 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
38658 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
38659 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
38660
11dd4af6
L
38661 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
38662 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
38663 * include/ifunc-impl-list.h: New file.
38664 * misc/ifunc-impl-list.c: Likewise.
38665 * misc/Makefile (routines): Add ifunc-impl-list.
38666 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
38667 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
38668 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
38669 TEST_NAME]: New variables.
11dd4af6
L
38670 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
38671 are defined.
38672 (test_init): Call __libc_ifunc_impl_list to initialize
38673 func_list if TEST_IFUNC and TEST_NAME are defined.
38674
9a387d1f
L
38675 * string/Makefile (strop-tests): Add bcopy and bzero.
38676 * string/test-bcopy.c: New file.
38677 * string/test-bzero.c: Likewise.
38678 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
38679 defined.
38680 * string/test-memset.c: Support bzero test if TEST_BZERO is
38681 defined.
38682 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
38683 __libc_memmove.
38684 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
38685 __libc_memset.
38686 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
38687 of memset.
38688
472371b9
JM
386892012-10-10 Joseph Myers <joseph@codesourcery.com>
38690
1e4a9536
JM
38691 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
38692 * configure: Regenerated.
38693
d173d12e
JM
38694 * Makeconfig (+link-static-before-libc): Don't include
38695 $(link-static-libc).
38696
472371b9
JM
38697 * libio/libio.h (_IO_pos_t): Remove.
38698
89a3ad0b
AO
386992012-10-10 Alexandre Oliva <aoliva@redhat.com>
38700
38701 * NEWS: Add note about FIPS mode. Wording suggested by Roland
38702 McGrath.
38703
e7451425
AO
387042012-10-10 Alexandre Oliva <aoliva@redhat.com>
38705
38706 * crypt/crypt-entry.c: Include fips-private.h.
38707 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
38708 * crypt/md5c-test.c (main): Tolerate disabled MD5.
38709 * sysdeps/unix/sysv/linux/fips-private.h: New file.
38710 * sysdeps/generic/fips-private.h: New file, dummy fallback.
38711
4ba74a35
AO
387122012-10-10 Alexandre Oliva <aoliva@redhat.com>
38713
38714 * crypt/crypt-private.h: Include stdbool.h.
38715 (_ufc_setup_salt_r): Return bool.
38716 * crypt/crypt-entry.c: Include errno.h.
38717 (__crypt_r): Return NULL with EINVAL for bad salt.
38718 * crypt/crypt_util.c (bad_for_salt): New.
38719 (_ufc_setup_salt_r): Check that salt is long enough and within
38720 the specified alphabet.
38721 * crypt/badsalttest.c: New file.
38722 * crypt/Makefile (tests): Add it.
38723 ($(objpfx)badsalttest): New.
38724
f96f1242
MK
387252012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
38726
38727 * NEWS: Add entry for BZ #14602.
38728
0e8e0c1c
JM
387292012-10-09 Joseph Myers <joseph@codesourcery.com>
38730
38731 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
38732 type-generic.
38733 * math/libm-test.inc: Update comment listing what functions and
38734 macros are tested.
38735 (isgreater_test): New function.
38736 (isgreaterequal_test): Likewise.
38737 (isless_test): Likewise.
38738 (islessequal_test): Likewise.
38739 (islessgreater_test): Likewise.
38740 (isunordered_test): Likewise.
38741 (main): Call the new functions.
38742
273edc5e
RM
387432012-10-09 Roland McGrath <roland@hack.frob.com>
38744
b8493de0
RM
38745 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
38746 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
38747 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
38748 * sysdeps/i386/configure: Regenerated.
38749 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
38750 * sysdeps/mach/configure: Regenerated.
38751 * sysdeps/mach/hurd/configure: Regenerated.
38752 * sysdeps/powerpc/configure: Regenerated.
38753 * sysdeps/powerpc/powerpc32/configure: Regenerated.
38754 * sysdeps/powerpc/powerpc64/configure: Regenerated.
38755 * sysdeps/s390/s390-32/configure: Regenerated.
38756 * sysdeps/s390/s390-64/configure: Regenerated.
38757 * sysdeps/sh/configure: Regenerated.
38758 * sysdeps/sparc/configure: Regenerated.
38759 * sysdeps/unix/sysv/linux/configure: Regenerated.
38760 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
38761 * sysdeps/x86_64/configure: Regenerated.
38762
273edc5e
RM
38763 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
38764 defined. Don't check if MAP is NULL.
38765
c8450f70
JM
387662012-10-09 Joseph Myers <joseph@codesourcery.com>
38767
38768 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
38769 (_G_stat64): Likewise.
38770 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
38771 (_G_stat64): Likewise.
38772 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
38773 instead of struct _G_stat64.
38774 * libio/fileops.c (mmap_remap_check): Likewise.
38775 (decide_maybe_mmap): Likewise.
38776 (_IO_new_file_seekoff): Likewise.
38777 (_IO_file_stat): Likewise.
38778 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
38779 _G_off64_t.
38780 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
38781 instead of struct _G_stat64.
38782 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
38783
57e605ba
MK
387842012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
38785
38786 [BZ #14602]
38787 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
38788 Replace with ...
38789 (CHECK_EOL): New macro.
38790 (two_way_short_needle): Check beginning of haystack for EOL. Use
38791 CHECK_EOL.
38792 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
38793 Replace with CHECK_EOL.
38794 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
38795 Replace with CHECK_EOL.
38796
ef1bb361
JM
387972012-10-08 Joseph Myers <joseph@codesourcery.com>
38798
38799 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
38800 type-generic.
38801 * math/libm-test.inc: Update comment listing what functions and
38802 macros are tested.
38803 (finite_test): New function.
38804 (isinf_test): Likewise.
38805 (isnan_test): Likewise.
38806 (fpclassify_test): Test subnormal input.
38807 (isfinite_test): Likewise.
38808 (isnormal_test): Likewise.
38809 (main): Call the new functions.
38810
55f11534
JN
388112012-10-08 Jonathan Nieder <jrnieder@gmail.com>
38812
38813 [BZ #14660]
38814 * Makerules (%.dynsym): Force C locale when running
38815 $(OBJDUMP) --dynamic-syms.
38816
1ab29350
AS
388172012-10-08 Andreas Schwab <schwab@linux-m68k.org>
38818
38819 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
38820 <stdint.h>.
38821
f1ecb7ef
DM
388222012-10-06 David S. Miller <davem@davemloft.net>
38823
38824 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
38825 upper 32-bits of the length value in %o2 since we use branch-on-register
38826 tests which consider the entire 64-bit register.
38827
5d41d91a
L
388282012-10-06 H.J. Lu <hongjiu.lu@intel.com>
38829
38830 * string/test-strstr.c (check2): Add a test for page boundary.
38831
3baddb72
DM
388322012-10-05 David S. Miller <davem@davemloft.net>
38833
38834 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
38835 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
38836 file.
38837 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
38838 sysdep_routines.
38839 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
38840 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
38841 and bzero when HWCAP_SPARC_CRYPTO is present.
38842
9cee5585
L
388432012-10-05 H.J. Lu <hongjiu.lu@intel.com>
38844
d7e0dab9
L
38845 [BZ #14602]
38846 * string/test-strstr.c (check2): New function.
38847 (test_main): Call check2.
38848
03759f47
L
38849 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
38850 and bug-strchr1.
38851 * string/bug-strcasestr1.c (do_test): Moved to ...
38852 * string/test-strcasestr.c (check1): Here. New function.
38853 (do_one_test): Break out result checking code into ...
38854 (check_result): This. New function.
38855 (do_one_test): Call check_result.
38856 (test_main): Call check1.
38857 * string/bug-strchr1.c (do_test): Moved to ...
38858 * string/test-strchr.c (check1): Here. New function.
38859 (do_one_test): Break out result checking code into ...
38860 (check_result): This. New function.
38861 (do_one_test): Call check_result.
38862 (test_main): Call check1.
38863 * string/bug-strstr1.c (main): Moved to ...
046f153e 38864 * string/test-strstr.c (check1): Here. New function.
03759f47
L
38865 (do_one_test): Break out result checking code into ...
38866 (check_result): This. New function.
38867 (do_one_test): Call check_result.
38868 (test_main): Call check1.
38869 * string/bug-strcasestr1.c: Removed.
38870 * string/bug-strchr1.c: Likewise.
38871 * string/bug-strstr1.c: Likewise.
38872
53cea63e
L
38873 * elf/Makefile (dl-routines): Add hwcaps.
38874 * elf/dl-support.c (_dl_important_hwcaps): Removed.
38875 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
38876 (_dl_important_hwcaps): Moved to ...
38877 * elf/dl-hwcaps.c: Here. New file.
38878 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
38879
9cee5585 38880 [BZ #14557]
bb859b06
L
38881 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
38882 if IS_IN_rtld isn't defined.
38883
9cee5585
L
38884 * elf/dl-support.c (_dl_sysinfo_map): New.
38885 Include "get-dynamic-info.h" and "setup-vdso.h".
38886 (_dl_non_dynamic_init): Call setup_vdso.
38887 * elf/dynamic-link.h: Don't include <assert.h>.
38888 (elf_get_dynamic_info): Moved to ...
38889 * elf/get-dynamic-info.h: Here. New file.
38890 * elf/dynamic-link.h: Include "get-dynamic-info.h".
38891 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
38892 * elf/setup-vdso.h: Here. New file.
38893 * elf/rtld.c: Include "setup-vdso.h".
38894 (dl_main): Call setup_vdso.
38895
23c31b76
JM
388962012-10-05 Joseph Myers <joseph@codesourcery.com>
38897
28234b07
JM
38898 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
38899 creal in comment listing functions tested. List finite, isinf,
38900 isnan, isless, islessequal, isgreater, isgreaterequal,
38901 islessgreater, isunordered, lgamma_r and pow10 as functions and
38902 macros not tested. Mention which functions not tested are aliases
38903 for other functions. Fix typo. Note that signs of NaNs are not
38904 tested.
38905
23c31b76
JM
38906 * scripts/config.guess: Update from config.git.
38907 * scripts/config.sub: Likewise.
38908
9043e228
RM
389092012-10-04 Roland McGrath <roland@hack.frob.com>
38910
38911 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
38912 * misc/madvise.c (madvise): Renamed to __madvise.
38913 Make madvise a weak alias.
38914 * include/sys/mman.h: Declare __madvise.
38915 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
38916 * sysdeps/unix/syscalls.list
38917 (madvise): Make __madvise the strong name, and madvise a weak alias.
38918 * sysdeps/unix/sysv/linux/syscalls.list
38919 (madvise, mmap): Remove redundant entries.
38920 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
38921 * malloc/malloc.c (mtrim): Likewise.
38922 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
38923
f57f8055
RM
389242012-10-03 Roland McGrath <roland@hack.frob.com>
38925
38926 * sysdeps/mach/hurd/dl-cache.c: File removed.
38927 * config.h.in (USE_LDCONFIG): New #undef.
38928 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
38929 * configure: Regenerated.
38930 * elf/Makefile (dl-routines): Add dl-cache only under
38931 [$(use-ldconfig) = yes].
38932 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
38933 cache on [USE_LDCONFIG].
38934 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
38935 [USE_LDCONFIG].
38936 * elf/rtld.c (dl_main): Likewise.
38937
5bb0c10a
PT
389382012-10-03 Pino Toscano <toscano.pino@tiscali.it>
38939
38940 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
38941 _SC_LEVEL4_CACHE_LINESIZE.
38942
010188c6
RM
389432012-10-03 Roland McGrath <roland@hack.frob.com>
38944
38945 * sysdeps/unix/bsd/confstr.h: File removed.
38946
b6c5ec07
AO
389472012-10-02 Alexandre Oliva <aoliva@redhat.com>
38948
38949 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
38950 sys/sdt-config.h.
38951
408223d4
RM
389522012-10-02 Roland McGrath <roland@hack.frob.com>
38953
38954 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
38955 Make 'mapoff' field ElfW(Off) rather than off_t.
38956
bb9510dc
DL
389572012-10-02 Dmitry V. Levin <ldv@altlinux.org>
38958
fc997c6e
DL
38959 * nscd/Makefile: Remove nscd-cflags and all its users.
38960 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
38961 (CFLAGS-nonlib): Add compiler flags for nscd modules.
38962
bb9510dc
DL
38963 [BZ #10631]
38964 * malloc.c (malloc_printerr): Clarify error message.
38965
05699367
L
389662012-10-02 H.J. Lu <hongjiu.lu@intel.com>
38967
38968 [BZ #14648]
38969 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38970 Set bit_FMA_Usable if FMA is supported.
38971 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
38972 macro.
38973 (bit_FMA4_Usable): Updated.
38974 (index_FMA_Usable): New macro.
38975 (CPUID_FMA): Likewise
38976 (HAS_FMA): Defined with bit_FMA_Usable.
38977
51367701
RM
389782012-10-01 Roland McGrath <roland@hack.frob.com>
38979
38980 * bits/types.h (__swblk_t): Type removed.
38981 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
38982 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
38983 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38984 (__SWBLK_T_TYPE): Likewise.
38985 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
38986 (__SWBLK_T_TYPE): Likewise.
38987 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38988 (__SWBLK_T_TYPE): Likewise.
38989 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38990 (__SWBLK_T_TYPE): Likewise.
38991
4d57bf63 389922012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 38993 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
38994
38995 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
38996 (xdr_mapname): Use YPMAXMAP as maxsize.
38997 (xdr_peername): Use YPMAXPEER as maxsize.
38998 (xdr_keydat): Use YPAXRECORD as maxsize.
38999 (xdr_valdat): Use YPMAXRECORD as maxsize.
39000
93c65d43
RM
390012012-10-01 Roland McGrath <roland@hack.frob.com>
39002
497a03d6
RM
39003 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
39004
93c65d43
RM
39005 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
39006 * csu/init-first.c: ... here.
39007 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
39008 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
39009 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
39010 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
39011 * sysdeps/i386/init-first.c: File removed.
39012 * sysdeps/sh/init-first.c: File removed.
39013
bec749fd
JM
390142012-10-01 Joseph Myers <joseph@codesourcery.com>
39015
39016 [BZ #14645]
39017 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
39018 if x * y might underflow to zero and z is zero.
39019 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39020 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39021 * math/libm-test.inc (min_subnorm_value): New variable.
39022 (fma_test): Add more tests.
39023 (fma_test_towardzero): Likewise.
39024 (fma_test_downward): Likewise
39025 (fma_test_upward): Likewise.
39026 (initialize): Set min_subnorm_value.
39027
8ec5b013
JM
390282012-09-29 Joseph Myers <joseph@codesourcery.com>
39029
39030 [BZ #14638]
39031 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
39032 0 + 0.
39033 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
39034 mode for addition resulting in exact zero.
39035 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
39036 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
39037 exact 0 + 0.
39038 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
39039 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39040 * math/libm-test.inc (fma_test): Add more tests.
39041 (fma_test_towardzero): New function.
39042 (fma_test_downward): Likewise.
39043 (fma_test_upward): Likewise.
39044 (main): Call the new functions.
39045
b1fa802e
DM
390462012-09-28 David S. Miller <davem@davemloft.net>
39047
39048 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
39049
d3b9fd9e
RM
390502012-09-28 Roland McGrath <roland@hack.frob.com>
39051
ea4d37b3
RM
39052 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
39053 instead of SIGALRM.
39054
ac51c949
RM
39055 * sysdeps/gnu/_G_config.h: Moved to ...
39056 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
39057 * sysdeps/mach/hurd/_G_config.h: Moved to ...
39058 * sysdeps/generic/_G_config.h: ... here.
39059
28c195f7
RM
39060 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
39061
848917f9
RM
39062 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
39063
6bacf05b
RM
39064 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
39065 Conditionalize target on [libnss_test1.so-version].
39066
91363dbb
RM
39067 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
39068
cc87f7d8
RM
39069 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
39070 (elfobjdir): Move out of conditionals.
39071
b1c608fe
RM
39072 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
39073 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
39074 (__nss_lookup_function): Conditionalize label remove_from_tree on
39075 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 39076
1d9a6d96
DM
390772012-09-28 David S. Miller <davem@davemloft.net>
39078
39079 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
39080 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
39081 file.
39082 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
39083 sysdep_routines.
39084 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
39085 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
39086 when HWCAP_SPARC_CRYPTO is present.
39087
72581615
PT
390882012-09-28 Pino Toscano <toscano.pino@tiscali.it>
39089
39090 * io/tst-mknodat.c: Create a FIFO instead of a socket.
39091
715a900c
JL
390922012-09-28 Andreas Schwab <schwab@linux-m68k.org>
39093
39094 [BZ #6530]
39095 * stdio-common/vfprintf.c (process_string_arg): Revert
39096 2000-07-22 change.
39097
390982011-09-28 Jonathan Nieder <jrnieder@gmail.com>
39099
39100 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
39101 for testcase.
39102 * stdio-common/tst-sprintf.c: Include <locale.h>
39103 (main): Test sprintf's handling of incomplete multibyte
39104 characters.
39105
9bac1d86
L
391062012-09-28 H.J. Lu <hongjiu.lu@intel.com>
39107
39108 * elf/dl-runtime.c (VERSYMIDX): Removed.
39109 * elf/dl-version.c (VERSYMIDX): Likewise.
39110 * elf/do-rel.h (VERSYMIDX): Likewise.
39111 (VALIDX): Likewise.
39112 * elf/dynamic-link.h (VERSYMIDX): Likewise.
39113 * elf/rtld.c (VALIDX): Likewise.
39114 (ADDRIDX): Likewise.
9bac1d86
L
39115 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
39116 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
39117 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
39118 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
39119 (VALIDX): Likewise.
39120 (ADDRIDX): Likewise.
9bac1d86 39121
b31606c0
PT
391222012-09-28 Pino Toscano <toscano.pino@tiscali.it>
39123
39124 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
39125
11541177
JL
391262012-09-28 Dmitry V. Levin <ldv@altlinux.org>
39127
39128 [BZ #11438]
39129 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
39130 to global scope.
39131 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
39132 addresses are in the same scope as 192.0.2/24.
39133 * posix/gai.conf: Document new scope table defaults.
39134
adb26fae
SP
391352012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
39136
39137 [BZ #5298]
39138 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
39139 for ftell. Compute offsets from write pointers instead.
39140 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
39141
4573c6b0
SP
391422012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
39143
39144 [BZ #14543]
39145 * libio/Makefile (tests): New test case tst-fseek.
39146 * libio/tst-fseek.c: New test case to verify that fseek/ftell
39147 combination works in wide mode.
39148 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
39149 state when the external buffer state changes.
39150
aa9bbfe6
DM
391512012-09-27 David S. Miller <davem@davemloft.net>
39152
39153 [BZ #14376]
39154 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
39155 pass reloc->r_addend in as the 'high' argument to
39156 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
39157
784421e7
DM
39158 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39159
c39bc8b8
PT
391602012-09-28 Pino Toscano <toscano.pino@tiscali.it>
39161
39162 * rt/tst-aio2.c: Include <pthread.h>.
39163 * rt/tst-aio3.c: Likewise.
39164
1ccc2399
SE
391652012-09-27 Steve Ellcey <sellcey@mips.com>
39166
39167 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
39168
31ed4153
L
391692012-09-27 H.J. Lu <hongjiu.lu@intel.com>
39170
25f5f885
L
39171 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
39172 contents on [SHARED].
31ed4153 39173
b7bfe116
MP
391742012-09-26 Marek Polacek <polacek@redhat.com>
39175
39176 [BZ #14530]
39177 [BZ #13741]
39178 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
39179 for C++ and GCC <4.3 as well as for non GCC compilers.
39180
43c4edba
MT
391812012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
39182
39183 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39184
6a1bf82f
RM
391852012-09-25 Roland McGrath <roland@hack.frob.com>
39186
39187 * Makefile.in (all, install): Declare with .PHONY.
39188 Reported by Michael Hope <michael.hope@linaro.org>.
39189
8ad11b9a
TMQMF
391902012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39191
39192 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
39193 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
39194 system header.
39195 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
39196 Likewise.
39197 (sydep_routines): Add the new and the internal functions.
39198 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
39199 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
39200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
39201 (GLIBC_2.17): Add the new function.
39202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
39203 (GLIBC_2.17): Likewise.
39204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
39205 (GLIBC_2.17): Likewise.
39206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
39207 (GLIBC_2.17): Likewise.
39208 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
39209
7e2fca8d
AM
392102012-09-25 Alan Modra <amodra@gmail.com>
39211
39212 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
39213 Add release barrier before setting once_control to say
39214 initialisation is done. Add hints on lwarx. Use macro in
39215 place of isync.
39216 (clear_once_control): Add release barrier.
39217
b87c4b24
JM
392182012-09-25 Joseph Myers <joseph@codesourcery.com>
39219
d032e0d2
JM
39220 [BZ #13629]
39221 * math/s_clog.c (__clog): Handle more values close to |z| = 1
39222 specially.
39223 * math/s_clog10.c (__clog10): Likewise.
39224 * math/s_clog10f.c (__clog10f): Likewise.
39225 * math/s_clog10l.c (__clog10l): Likewise.
39226 * math/s_clogf.c (__clogf): Likewise.
39227 * math/s_clogl.c (__clogl): Likewise.
39228 * math/Makefile (libm-calls): Add x2y2m1.
39229 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
39230 (__x2y2m1): Likewise.
39231 (__x2y2m1l): Likewise.
39232 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
39233 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
39234 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
39235 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
39236 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
39237 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
39238 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
39239 * sysdeps/i386/fpu/libm-test-ulps: Update.
39240 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39241
b87c4b24
JM
39242 [BZ #14621]
39243 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
39244 int as type of variable DEPTH.
39245 (glob): Use size_t instead of int as type of variables NEWCOUNT
39246 and OLD_PATHC.
39247
6d3bf199
LD
392482012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39249
22bf5c17
LD
39250 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
39251 Add s_sincosf-sse2.
39252 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
39253 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
39254 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
39255 macros for using routine as __sincosf_ia32.
39256 Use macro for function declaration and weak_alias.
39257 * sysdeps/i386/fpu/libm-test-ulps: Update.
39258
39259 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
39260 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39261
39262 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
39263 subnormal argument.
39264 * math/s_cexpf.c (__cexpf): Likewise.
39265 * math/s_csinf.c (__csinf): Likewise.
39266 * math/s_csinhf.c (__csinhf): Likewise.
39267 * math/s_ctanf.c (__ctanf): Likewise.
39268 * math/s_ctanhf.c (__ctanhf): Likewise.
39269 * math/s_ccosh.c (__ccoshf): Likewise.
39270 * math/s_cexp.c (__cexpl): Likewise.
39271 * math/s_csin.c (__csin): Likewise.
39272 * math/s_csinh.c (__csinh): Likewise.
39273 * math/s_ctan.c (__ctan): Likewise.
39274 * math/s_ctanh.c (ctanh): Likewise.
39275 * math/s_ccoshl.c (__ccoshl): Likewise.
39276 * math/s_cexpl.c (__cexpl): Likewise.
39277 * math/s_csinl.c (__csinl): Likewise.
39278 * math/s_csinhl.c (__csinhl): Likewise.
39279 * math/s_ctanl.c (__ctanl): Likewise.
39280 * math/s_ctanhl.c (__ctanhl): Likewise.
39281
203e5603
JM
392822012-09-25 Joseph Myers <joseph@codesourcery.com>
39283
39284 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
39285 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
39286 (_IO_off_t): Define to __off_t, not _G_off_t.
39287 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
39288 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
39289 (_IO_wint_t): Define to wint_t, not _G_wint_t.
39290 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
39291 type of __dummy and __dummy2 fields.
39292 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
39293 (_G_ssize_t): Likewise.
39294 (_G_off_t): Likewise.
39295 (_G_pid_t): Likewise.
39296 (_G_uid_t): Likewise.
39297 (_G_wchar_t): Likewise.
39298 (_G_wint_t): Likewise.
39299 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
39300 (_G_ssize_t): Likewise.
39301 (_G_off_t): Likewise.
39302 (_G_pid_t): Likewise.
39303 (_G_uid_t): Likewise.
39304 (_G_wchar_t): Likewise.
39305 (_G_wint_t): Likewise.
39306 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
39307 (_G_ssize_t): Likewise.
39308 (_G_off_t): Likewise.
39309 (_G_pid_t): Likewise.
39310 (_G_uid_t): Likewise.
39311 (_G_wchar_t): Likewise.
39312 (_G_wint_t): Likewise.
39313
9fab36eb
SP
393142012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
39315
39316 * malloc/arena.c: Include malloc-sysdep.h.
39317 (shrink_heap): Use check_may_shrink_heap to decide if madvise
39318 is sufficient to shrink the heap or an unmap is needed.
39319 * sysdeps/generic/malloc-sysdep.h: New file. Define
39320 new function check_may_shrink_heap.
39321 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
39322 new function check_may_shrink_heap.
39323
2b4f00d1
SP
393242012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
39325
39326 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
39327 comments.
39328
9a9028b1
DL
393292012-09-24 Dmitry V. Levin <ldv@altlinux.org>
39330
57c69bef
DL
39331 * catgets/test-gencat.sh: Add "set -e".
39332 * elf/tst-pathopt.sh: Likewise.
39333 * grp/tst_fgetgrent.sh: Likewise.
39334 * iconvdata/run-iconv-test.sh: Likewise.
39335 * intl/tst-gettext.sh: Likewise.
39336 * intl/tst-gettext2.sh: Likewise.
39337 * intl/tst-gettext4.sh: Likewise.
39338 * intl/tst-gettext6.sh: Likewise.
39339 * intl/tst-translit.sh: Likewise.
39340 * io/ftwtest-sh: Likewise.
39341 * libio/test-freopen.sh: Likewise.
39342 * malloc/tst-mtrace.sh: Likewise.
39343 * posix/globtest.sh: Likewise.
39344 * posix/tst-getconf.sh: Likewise.
39345 * posix/wordexp-tst.sh: Likewise.
39346 * stdio-common/tst-printf.sh: Likewise.
39347 * stdio-common/tst-unbputc.sh: Likewise.
39348 * stdlib/tst-fmtmsg.sh: Likewise.
39349 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
39350 * catgets/Makefile: Do not specify -e option when running
39351 testsuite shell scripts.
39352 * elf/Makefile: Likewise.
39353 * grp/Makefile: Likewise.
39354 * iconvdata/Makefile: Likewise.
39355 * intl/Makefile: Likewise.
39356 * io/Makefile: Likewise.
39357 * libio/Makefile: Likewise.
39358 * malloc/Makefile: Likewise.
39359 * posix/Makefile: Likewise.
39360 * stdio-common/Makefile: Likewise.
39361 * stdlib/Makefile: Likewise.
39362 * sysdeps/x86_64/Makefile: Likewise.
39363
9a9028b1
DL
39364 * io/ftwtest-sh: Add copyright header.
39365 * posix/globtest.sh: Likewise.
39366 * posix/tst-getconf.sh: Likewise.
39367 * posix/wordexp-tst.sh: Likewise.
39368 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
39369
ced6f16e
L
393702012-09-24 H.J. Lu <hongjiu.lu@intel.com>
39371
94b32c39
L
39372 [BZ #13679]
39373 * Makeconfig (+link): Defined as $(+link-static) if
39374 $(build-shared) isn't yes.
39375 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
39376 isn't yes.
39377 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
39378
189e935b
L
39379 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
39380
ced6f16e
L
39381 [BZ #14562]
39382 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
39383 new chunk size with MALLOC_ALIGN_MASK.
39384
a9f8e53a
JM
393852012-09-24 Joseph Myers <joseph@codesourcery.com>
39386
39387 [BZ #5044]
39388 * stdio-common/printf_fphex.c: Include <stdbool.h> and
39389 <rounding-mode.h>.
39390 (__printf_fphex): Determine rounding using get_rounding_mode and
39391 round_away.
39392 * stdio-common/tst-printf-round.c (struct hex_test): New
39393 structure.
39394 (hex_tests): New variable.
39395 (test_hex_in_one_mode): New function.
39396 (do_test): Also run tests for hex float output.
39397
43153109
JM
393982012-09-21 Joseph Myers <joseph@codesourcery.com>
39399
39400 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
39401 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
39402 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
39403 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
39404 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
39405 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
39406 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
39407 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
39408
8a26625d
JM
394092012-09-20 Joseph Myers <joseph@codesourcery.com>
39410
39411 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
39412 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
39413 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
39414 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
39415
f3fd569c
DL
394162012-09-19 Dmitry V. Levin <ldv@altlinux.org>
39417
39418 [BZ #14579]
39419 * elf/rtld.c (dl_main): Limit the check for self loading to normal
39420 mode only.
39421 * elf/tst-rtld-load-self.sh: New test.
39422 * elf/Makefile: Run it.
39423
63bbedd4
JM
394242012-09-18 Joseph Myers <joseph@codesourcery.com>
39425
39426 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
39427 (tst-writev-ENV): Remove.
39428 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
39429
626f8b6a
CM
394302012-09-17 Chris Metcalf <cmetcalf@tilera.com>
39431
39432 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
39433
b7aaa4d6
JM
394342012-09-17 Joseph Myers <joseph@codesourcery.com>
39435
39436 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
39437 unconditional.
39438 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
39439 Likewise.
39440 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
39441 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
39442 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
39443 Likewise.
39444
65513990
L
394452012-09-14 H.J. Lu <hongjiu.lu@intel.com>
39446
39447 [BZ #14587]
39448 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
39449 * config.make.in (have-cpp-asm-debuginfo): Removed.
39450 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
39451 * configure: Regenerated.
39452
784761be
JM
394532012-09-14 Joseph Myers <joseph@codesourcery.com>
39454
39455 [BZ #5044]
39456 * stdio-common/printf_fp.c: Include <stdbool.h> and
39457 <rounding-mode.h>.
39458 (___printf_fp): Determine rounding using get_rounding_mode and
39459 round_away.
39460 * stdio-common/tst-printf-round.c: New file.
39461 * stdio-common/Makefile (tests): Add tst-printf-round.
39462 (link-libm): New variable.
39463 ($(objpfx)tst-printf-round): Depend in $(link-libm).
39464
9503345f
L
394652012-09-13 H.J. Lu <hongjiu.lu@intel.com>
39466
39467 [BZ #14576]
39468 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
39469 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
39470 Likewise.
39471 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
39472 Likewise.
39473
ad35fc00
JM
394742012-09-13 Joseph Myers <joseph@codesourcery.com>
39475
39476 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
39477 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
39478 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
39479 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
39480
6c9b0f68
JM
394812012-09-12 Joseph Myers <joseph@codesourcery.com>
39482
39483 [BZ #14518]
39484 * include/rounding-mode.h: New file.
39485 * sysdeps/generic/get-rounding-mode.h: Likewise.
39486 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
39487 * stdlib/strtod_l.c: Include <rounding-mode.h>.
39488 (MAX_VALUE): New macro.
39489 (MIN_VALUE): Likewise.
39490 (overflow_value): New function.
39491 (underflow_value): Likewise.
39492 (round_and_return): Use overflow_value and underflow_value to
39493 determine return values in overflow and underflow cases. Use
39494 round_away to determine rounding depending on rounding mode.
39495 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
39496 determine return values in overflow and underflow cases.
39497 * stdlib/tst-strtod-round.c: Include <fenv.h>.
39498 (struct test_results): New structure.
39499 (struct test): Use struct test_results to store expected results
39500 for all rounding modes.
39501 (TEST): Include expected results for all rounding modes.
39502 (test_in_one_mode): New function.
39503 (do_test): Use test_in_one_mode to compute and check results.
39504 Check results for all rounding modes.
39505 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
39506 $(link-libm).
39507
19fcedd5
AM
395082012-12-09 Allan McRae <allan@archlinux.org>
39509
1e9d84cd 39510 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 39511
8bbfd2f1
JM
395122012-09-11 Joseph Myers <joseph@codesourcery.com>
39513
39514 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
39515 (_G_int32_t): Likewise.
39516 (_G_uint16_t): Likewise.
39517 (_G_uint32_t): Likewise.
39518 (_G_HAVE_BOOL): Likewise.
39519 (_G_HAVE_ATEXIT): Likewise.
39520 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
39521 (_G_HAVE_IO_FILE_OPEN): Likewise.
39522 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
39523 (_G_int32_t): Likewise.
39524 (_G_uint16_t): Likewise.
39525 (_G_uint32_t): Likewise.
39526 (_G_HAVE_BOOL): Likewise.
39527 (_G_HAVE_ATEXIT): Likewise.
39528 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
39529 (_G_HAVE_IO_FILE_OPEN): Likewise.
39530 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
39531 (_G_int32_t): Likewise.
39532 (_G_uint16_t): Likewise.
39533 (_G_uint32_t): Likewise.
39534 (_G_HAVE_BOOL): Likewise.
39535 (_G_HAVE_ATEXIT): Likewise.
39536 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
39537 (_G_HAVE_IO_FILE_OPEN): Likewise.
39538
b1dc5912
L
395392012-09-11 H.J. Lu <hongjiu.lu@intel.com>
39540
39541 * csu/libc-tls.c: Update copyright years.
39542
0e886ef9
JM
395432012-09-10 Joseph Myers <joseph@codesourcery.com>
39544
28361c5e
JM
39545 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
39546 [!_G_USING_THUNKS]: Remove conditional code.
39547 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
39548 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
39549
0e886ef9
JM
39550 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
39551 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
39552 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
39553 (_G_VTABLE_LABEL_PREFIX): Likewise.
39554 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
39555 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
39556 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
39557 (_G_VTABLE_LABEL_PREFIX): Likewise.
39558 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
39559 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
39560 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
39561 (_G_VTABLE_LABEL_PREFIX): Likewise.
39562 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
39563
bcba7aa2
L
395642012-09-10 H.J. Lu <hongjiu.lu@intel.com>
39565
39566 * libio/Makefile: Include ../Makeconfig before tests.
39567 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
39568 only if $(build-shared) is yes.
39569
06585ee8
L
39570 * iconv/gconv_db.c: Update copyright years.
39571
80ccd52c
LD
395722012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39573
39574 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
39575 unwind info if defined PIC. Fix special cases description.
39576 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
39577
39578 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
39579 DP_HI_MASK entry.
39580 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
39581
691bc9c1
L
395822012-09-07 H.J. Lu <hongjiu.lu@intel.com>
39583
3d9b46b3
L
39584 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
39585
de2139a9
L
39586 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
39587 is NULL.
39588
5ca78dd0
L
39589 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
39590 (LDLIBS-tst-chk4): This.
39591 (LDFLAGS-tst-chk5): Renamed to ...
39592 (LDLIBS-tst-chk5): This.
39593 (LDFLAGS-tst-chk6): Renamed to ...
39594 (LDLIBS-tst-chk6): This.
39595 (LDFLAGS-tst-lfschk4): Renamed to ...
39596 (LDLIBS-tst-lfschk4): This.
39597 (LDFLAGS-tst-lfschk5): Renamed to ...
39598 (LDLIBS-tst-lfschk5): This.
39599 (LDFLAGS-tst-lfschk6): Renamed to ...
39600 (LDLIBS-tst-lfschk6): This.
39601
691bc9c1
L
39602 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
39603 on $(common-objpfx)soversions.mk.
39604
65cafb1c
JM
396052012-09-07 Joseph Myers <joseph@codesourcery.com>
39606
39607 [BZ #10014]
39608 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
39609 example host name.
39610
c78ab094
SP
396112012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
39612
39613 * malloc/arena.c (arena_get_retry): New function that gets
39614 another arena for the caller to try its request on.
39615 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
39616 current arena cannot fulfill the request.
39617 (__libc_memalign): Likewise.
39618 (__libc_memalign): Likewise.
39619 (__libc_pvalloc): Likewise.
39620 (__libc_calloc): Likewise.
39621
01f49f59
JT
396222012-09-05 John Tobey <john.tobey@gmail.com>
39623
39624 [BZ #13542]
39625 * manual/arith.texi (Operations on Complex): Fix description
39626 of carg branch cut.
39627
4c23fed5
JM
396282012-09-06 Joseph Myers <joseph@codesourcery.com>
39629
1d3c8572
JM
39630 [BZ #10014]
39631 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
39632 host name.
39633
4c23fed5
JM
39634 [BZ #10038]
39635 * manual/memory.texi (Memory): Make order of menu items match
39636 order of sections.
39637
04570aaa
L
396382012-09-06 H.J. Lu <hongjiu.lu@intel.com>
39639
39640 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
39641 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
39642 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
39643
b80af2f4
L
396442012-09-06 H.J. Lu <hongjiu.lu@intel.com>
39645
39646 * csu/libc-tls.c (static_dtv): Renamed to ...
39647 (_dl_static_dtv): This. Make it global.
39648 (_dl_initial_dtv): Removed.
39649 (__libc_setup_tls): Updated.
39650 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
39651 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
39652 DL_INITIAL_DTV.
39653
2abe9f15
PM
396542012-09-06 Petr Machata <pmachata@redhat.com>
39655
39656 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
39657 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
39658 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
39659 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
39660
0948c3af
L
396612012-09-06 H.J. Lu <hongjiu.lu@intel.com>
39662
39663 [BZ #14545]
39664 * csu/libc-tls.c (_dl_initial_dtv): New variable.
39665 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
39666 freeing dtv[-1].
39667
a5055ad1
L
396682012-09-06 H.J. Lu <hongjiu.lu@intel.com>
39669
39670 [BZ #14544]
39671 * Makeconfig (link-static-before-libc): Replace $(+prector)
39672 with $(+prectorT).
39673 (link-static-after-libc): Replace $(+postctor) with
39674 $(+postctorT).
39675 (link-bounded): Replace $(+prector)/$(+postctor) with
39676 $(+prectorT)/$(+postctorT).
39677 (+prectorT): New macro.
39678 (+postctorT): Likewise.
39679
ed8c2ecd
JM
396802012-09-06 Joseph Myers <joseph@codesourcery.com>
39681
39682 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
39683 (round_str): Handle values above the maximum for IBM long double
39684 as inexact.
39685 * stdlib/tst-strtod-round.c (tests): Regenerated.
39686
14c996c8
AK
396872012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39688
39689 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
39690 assembler flag.
39691 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
39692 zarch_nohighgprs around the zarch optimized routines.
39693 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
39694 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
39695 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
39696 for zarch.
39697
430d6ce6
DM
396982012-09-05 David S. Miller <davem@davemloft.net>
39699
39700 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39701
57f41c40
AS
39702 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
39703 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
39704 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
39705 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
39706 entries.
39707
24d4e01b
AO
397082012-09-05 Alexandre Oliva <aoliva@redhat.com>
39709
39710 * malloc/arena.c: Fold copyright years.
39711 * malloc/mcheck.c, malloc/memusage.c: Likewise.
39712
61d58174
AO
397132012-09-05 Alexandre Oliva <aoliva@redhat.com>
39714
39715 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
39716
20196a5e
AO
397172012-09-05 Alexandre Oliva <aoliva@redhat.com>
39718
39719 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
39720
5c447383
AO
397212012-09-05 Alexandre Oliva <aoliva@redhat.com>
39722
39723 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
39724 change internal state upon failure.
39725
fad64255
AO
397262012-09-05 Alexandre Oliva <aoliva@redhat.com>
39727
39728 * malloc/mcheck.c (mcheck_check_all): Fix typo.
39729 * malloc/memusage.c (mmap): Likewise.
39730 (mmap64, mremap): Likewise. Adjust name in comment.
39731
1ffb8c90
SP
397322012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
39733
39734 * libio/fileops.c: Fix typos in comments.
39735 * libio/oldfileops.c: Likewise.
39736 * libio/wfileops.c: Likewise.
39737
6ef9cc37
SP
397382012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
39739
39740 [BZ #1349]
39741 * malloc/Makefile (tests): Add tst-malloc-usable test case.
39742 (tst-malloc-usable-ENV): Set environment for test case.
39743 * malloc/hooks.c (malloc_check_get_size): New function to get
39744 requested size.
39745 * malloc/malloc.c (musable): Use malloc_check_get_size.
39746 * malloc/tst-malloc-usable.c: New test case.
39747
4d038ae3
AS
397482012-09-05 Andreas Schwab <schwab@linux-m68k.org>
39749
39750 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
39751
c4e85184
AM
397522012-09-05 Allan McRae <allan@archlinux.org>
39753
b9dafc56 39754 [BZ #13966]
c4e85184
AM
39755 * configure.in (CXX_SYSINCLUDES): Use compiler output to
39756 determine header location.
39757 * configure: Regenerated.
39758
e1343020
AS
397592012-09-05 Andreas Schwab <schwab@linux-m68k.org>
39760
39761 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
39762 float format.
39763 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
39764 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
39765 format.
e1343020
AS
39766 (test): Regenerate.
39767
0a9f1987
DM
397682012-09-04 David S. Miller <davem@davemloft.net>
39769
39770 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
39771 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
39772 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
39773
29237804
FW
397742012-09-04 Florian Weimer <fweimer@redhat.com>
39775
39776 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
39777 failures.
39778
edb3cb88
FW
39779 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
39780
60160d83
JM
397812012-09-04 Joseph Myers <joseph@codesourcery.com>
39782
39783 [BZ #9914]
39784 * libio/iogetdelim.c: Include <limits.h>.
39785 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
39786 + len + 1 would overflow.
39787
bcd6c8dc
AJ
397882012-09-03 Andreas Jaeger <aj@suse.de>
39789
39790 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39791 * sysdeps/i386/fpu/libm-test-ulps: Update.
39792
4ffffbd2
LD
397932012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39794
39795 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
39796 Add s_sinf-sse2, s_conf-sse2.
39797
39798 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
39799 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
39800 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
39801 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
39802
39803 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
39804 for using routine as __sinf_ia32.
39805 Use macro for function declaration and weak_alias.
39806 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
39807 for using routine as __cosf_ia32.
39808 Use macro for function declaration and weak_alias.
39809
39810 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
39811 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
39812
39813 * sysdeps/x86_64/fpu/s_sinf.S: New file.
39814 * sysdeps/x86_64/fpu/s_cosf.S: New file.
39815 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39816
39817 * math/libm-test.inc (cos_test): Add more test cases.
39818 (sin_test): Likewise.
39819 (sincos_test): Likewise.
39820
511fa286
AK
398212012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39822
39823 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
39824 (IFUNC_RESOLVE): Make pointers to the specialized implementations
39825 hidden.
39826 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
39827
5f30cfec
L
398282012-09-02 H.J. Lu <hongjiu.lu@intel.com>
39829
39830 [BZ #14538]
39831 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
39832 first element of the GOT.
39833 (elf_machine_load_address): Return the difference between
39834 the runtime address of _DYNAMIC and elf_machine_dynamic ().
39835
0786794f
AM
398362012-09-01 Allan McRae <allan@archlinux.org>
39837
5f30cfec
L
39838 [BZ #13412]
39839 * configure.in (AWK): Require gawk version 3.0 or later.
39840 * configure: Regenerated.
0786794f 39841
26889eac
JM
398422012-09-01 Joseph Myers <joseph@codesourcery.com>
39843
39844 * sysdeps/unix/sysv/linux/kernel-features.h
39845 (__ASSUME_POSIX_CPU_TIMERS): Remove.
39846 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
39847 [__NR_clock_getres]: Make code unconditional.
39848 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
39849 (clock_getcpuclockid): Remove code left unreachable by removal of
39850 conditionals.
39851 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
39852 code unconditional.
39853 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
39854 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
39855 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
39856 Make code unconditional.
39857 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
39858 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
39859 * sysdeps/unix/sysv/linux/clock_settime.c
39860 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
39861 conditional code.
39862 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
39863 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
39864
d22e28b0
L
398652012-08-29 H.J. Lu <hongjiu.lu@intel.com>
39866
39867 [BZ #14476]
39868 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
39869 scripts/test-installation.pl.
39870
39871 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
39872 and $ld_so_version if it is set.
39873
050af9c4
SP
398742012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
39875
39876 [BZ #14516]
39877 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
39878 failure if reading from procfs failed.
39879 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
39880
ad845c0b
JM
398812012-08-27 Joseph Myers <joseph@codesourcery.com>
39882
39883 * sysdeps/unix/sysv/linux/kernel-features.h
39884 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
39885 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
39886 Remove conditional code.
39887 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39888 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
39889 Remove conditional code.
39890 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39891 * sysdeps/unix/sysv/linux/i386/fxstat.c
39892 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
39893 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39894 * sysdeps/unix/sysv/linux/i386/fxstatat.c
39895 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
39896 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39897 * sysdeps/unix/sysv/linux/i386/lxstat.c
39898 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
39899 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39900 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
39901 Remove conditional code.
39902 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39903 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
39904 Remove conditional code.
39905 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39906 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
39907 <kernel-features.h>.
39908 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
39909 Remove.
39910 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
39911 Remove conditional code.
39912 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39913 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
39914 Remove conditional.
39915
5dbf56af
MF
399162012-08-27 Mike Frysinger <vapier@gentoo.org>
39917
39918 [BZ #5400]
39919 * NEWS: Add fixed bug number.
39920
d6e70f43
JM
399212012-08-27 Joseph Myers <joseph@codesourcery.com>
39922
7efb4737
JM
39923 [BZ #14519]
39924 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
39925 underflowing exponent in case of negative sign.
39926 * stdlib/tst-strtod-round-data: Add more tests.
39927 * stdlib/tst-strtod-round.c (tests): Regenerated.
39928
af92131a
JM
39929 [BZ #3479]
39930 * stdlib/strtod_l.c (NDIG): Remove.
39931 (HEXNDIG): Likewise.
39932 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
39933 smallest representable value.
39934 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
39935 lie within an exact representation of 1/2 ulp of the result.
39936 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
39937 unconditionally.
39938 (TENS_P9_IDX): Define unconditionally.
39939 (TENS_P9_SIZE): Likewise.
39940 (TENS_P10_IDX): Likewise.
39941 (TENS_P10_SIZE): Likewise.
39942 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
39943 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
39944 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
39945 entries for 10^2^13 and 10^2^14.
39946 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
39947 (TENS_P13_IDX): Define.
39948 (TENS_P13_SIZE): Likewise.
39949 (TENS_P14_IDX): Likewise.
39950 (TENS_P14_SIZE): Likewise.
39951 (_fpioconst_pow10): Change array size to
39952 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
39953 unconditional.
39954 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
39955 1024]: Add entries for 10^2^13 and 10^2^14.
39956 [LAST_POW10 > _LAST_POW10]: Remove #error.
39957 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
39958 (_fpioconst_pow10): Change array size to
39959 FPIOCONST_POW10_ARRAY_SIZE.
39960 * stdlib/gen-fpioconst.c: New file.
39961 * stdlib/gen-tst-strtod-round.c: Likewise.
39962 * stdlib/tst-strtod-round-data: Likewise.
39963 * stdlib/tst-strtod-round.c: Likewise.
39964 * stdlib/Makefile (tests): Add tst-strtod-round.
39965
d6e70f43
JM
39966 [BZ #14459]
39967 * stdlib/strtod_l.c: Include <stdint.h>.
39968 (NDEBUG): Do not define.
39969 (round_and_return): Change EXPONENT parameter to type intmax_t.
39970 Rearrange calculations to avoid internal overflow possibilities.
39971 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
39972 Rearrange calculations to avoid internal overflow possibilities.
39973 Assert that number fits inside MPNSIZE limbs.
39974 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
39975 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
39976 calculations and add assertions to avoid internal overflow
39977 possibilities. Add casts to avoid signed/unsigned operations.
39978 * stdlib/tst-strtod-overflow.c: New file.
39979 * stdlib/Makefile (tests): Add tst-strtod-overflow.
39980
1f529f7d
MP
399812012-08-25 Marek Polacek <polacek@redhat.com>
39982
39983 * time/time.h: Fix some typos in comments.
39984
59a629f1
RM
399852012-08-23 Roland McGrath <roland@hack.frob.com>
39986
39987 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
39988 * posix/tst-rfc3484-2.c: Likewise.
39989 * posix/tst-rfc3484-3.c: Likewise.
39990
d3bafbc9
SM
399912012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
39992
39993 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
39994 (EF_ARM_ABI_FLOAT_HARD): Likewise.
39995
4efcc022
JM
399962012-08-23 Joseph Myers <joseph@codesourcery.com>
39997
39998 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
39999 #include of fxstatat64.c.
40000
3cc3ef96
RM
400012012-08-22 Roland McGrath <roland@hack.frob.com>
40002
f04e2132
RM
40003 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
40004 * shadow/getspent_r.c: Likewise.
40005 * shadow/getspnam.c: Likewise.
40006 * shadow/getspnam_r.c: Likewise.
40007 * gshadow/getsgent.c: Likewise.
40008 * gshadow/getsgent_r.c: Likewise.
40009 * gshadow/getsgnam.c: Likewise.
40010 * gshadow/getsgnam_r.c: Likewise.
40011 * inet/getnetbyad.c: Likewise.
40012 * inet/getnetbyad_r.c: Likewise.
40013 * inet/getnetbynm.c: Likewise.
40014 * inet/getnetbynm_r.c: Likewise.
40015 * inet/getnetent.c: Likewise.
40016 * inet/getnetent_r.c: Likewise.
40017 * inet/getproto.c: Likewise.
40018 * inet/getproto_r.c: Likewise.
40019 * inet/getprtent.c: Likewise.
40020 * inet/getprtent_r.c: Likewise.
40021 * inet/getprtname.c: Likewise.
40022 * inet/getprtname_r.c: Likewise.
40023 * inet/getrpcbyname.c: Likewise.
40024 * inet/getrpcbyname_r.c: Likewise.
40025 * inet/getrpcbynumber.c: Likewise.
40026 * inet/getrpcbynumber_r.c: Likewise.
40027 * inet/getrpcent.c: Likewise.
40028 * inet/getrpcent_r.c: Likewise.
40029 * inet/getaliasent.c: Likewise.
40030 * inet/getaliasent_r.c: Likewise.
40031 * inet/getaliasname.c: Likewise.
40032 * inet/getaliasname_r.c: Likewise.
40033 * nscd/getgrgid_r.c: Likewise.
40034 * nscd/getgrnam_r.c: Likewise.
40035 * nscd/gethstbyad_r.c: Likewise.
40036 * nscd/gethstbynm3_r.c: Likewise.
40037 * nscd/getpwnam_r.c: Likewise.
40038 * nscd/getpwuid_r.c: Likewise.
40039 * nscd/getsrvbynm_r.c: Likewise.
40040 * nscd/getsrvbypt_r.c: Likewise.
40041 * nscd/gai.c: Likewise.
40042
c53d909c
RM
40043 * configure.in (build_nscd): New substituted variable, set
40044 by --disable-build-nscd and defaults to $use_nscd.
40045 * configure: Regenerated.
40046 * config.make.in (build-nscd): New substituted variable.
40047 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
40048 Change conditional to require [$(build-nscd) = yes] as well.
40049 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
40050
3cc3ef96
RM
40051 [BZ# 13696]
40052 * configure.in (use_nscd): New substituted variable, set by
40053 --disable-nscd. If enabled, define USE_NSCD.
40054 * configure: Regenerated.
40055 * config.h.in: Add USE_NSCD.
40056 * config.make.in (use-nscd): New substituted variable.
40057 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
40058 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
40059 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
40060 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
40061 (CFLAGS-getgrnam_r.c): Likewise.
40062 (CFLAGS-initgroups.c): Likewise.
40063 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
40064 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
40065 Variables removed.
40066 * inet/getnetgrent_r.c
40067 (nscd_setnetgrent): New function, broken out of ...
40068 (setnetgrent): ... here. Call it.
40069 (innetgr): Conditionalize nscd bits on [USE_NSCD].
40070 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
40071 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
40072 * nscd/Makefile (routines, aux): Move definitions after include of
40073 Makeconfig. Conditionalize on [$(use-nscd) != no].
40074 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
40075 Conditionalize on [USE_NSCD].
40076 (is_nscd, nscd_init_cb): Likewise.
40077 (nss_load_library): Conditionalize init callback on [USE_NSCD].
40078 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
40079 * nss/nss_db/db-init.c: Likewise.
40080 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
40081 [USE_NSCD].
40082 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
40083 (make_request): Use it.
40084 (cache_valid_p): New function.
40085 (__check_pf): Use it.
40086 * NEWS: Add item for --disable-nscd.
40087
07e51550
DL
400882012-08-22 Dmitry V. Levin <ldv@altlinux.org>
40089
40090 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
40091 to support sed >= 4.2.1-20-ga9bf076.
40092 * configure: Regenerated.
40093
35a5b08b
RM
400942012-08-22 Roland McGrath <roland@hack.frob.com>
40095
40096 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
40097 Conditionalize whole body on [IREL].
40098
8479f23a
JL
400992012-08-22 Jeff Law <law@redhat.com>
40100
40101 [BZ #14505]
40102 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
40103 if the family is PF_UNSPEC.
40104
48da0b21
MF
401052012-08-22 Mike Frysinger <vapier@gentoo.org>
40106
40107 * Makerules (lib-version): Rename from V.
40108 (install-lib-nosubdir): Change V to lib-version.
40109
15d0da8c
WS
401102012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
40111
40112 [BZ #14252]
40113 * powerpc32/power6/wcschr.c: New file.
40114 * powerpc32/power6/wcscpy.c: New file.
40115 * powerpc32/power6/wcsrchr.c: New file.
40116 * powerpc64/power6/wcschr.c: New file.
40117 * powerpc64/power6/wcscpy.c: New file.
40118 * powerpc64/power6/wcsrchr.c: New file.
40119
bcca0895
MK
401202012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
40121
40122 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
40123 (two_way_short_needle): Use it.
5a4aaa33
RM
40124 * string/strstr.c (AVAILABLE1_USES_J): Define.
40125 * string/strcasestr.c: Likewise.
99677e57
MK
40126
40127 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
40128 array references.
40129 * string/strcasestr.c (TOLOWER): Make side-effect safe.
40130
400726de
MK
40131 [BZ #11607]
40132 * NEWS: Add an entry.
40133 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
40134 define their defaults.
40135 (two_way_short_needle): Detect end-of-string on-the-fly.
40136 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
40137 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
40138 * string/bug-strcasestr1.c: New test.
40139 * string/Makefile: Run it.
40140
20a71f2c
MK
401412012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
40142
40143 [BZ #11607]
40144 * string/str-two-way.h (two_way_short_needle): Optimize matching of
40145 the first character.
40146
21ad0558
RM
401472012-08-21 Roland McGrath <roland@hack.frob.com>
40148
40149 * csu/elf-init.c (__libc_csu_irel): Function removed.
40150 * csu/libc-start.c (apply_irel): New function.
40151 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
40152
0e1d9911
JM
401532012-08-21 Joseph Myers <joseph@codesourcery.com>
40154
40155 * sysdeps/unix/sysv/linux/kernel-features.h
40156 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
40157 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
40158 <kernel-features.h>.
40159 [__NR_fadvise64_64]: Make code unconditional.
40160 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
40161 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
40162 !__NR_fadvise64_64)]: Likewise.
40163 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
40164 !__NR_fadvise64_64))]: Likewise.
40165 [__NR_fadvise64]: Make code unconditional.
40166 [!__NR_fadvise64]: Remove conditional code.
40167 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
40168 <kernel-features.h>.
40169 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
40170 unconditional.
40171 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
40172 conditional code.
40173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
40174 not include <kernel-features.h>.
40175 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
40176 unconditional.
40177 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
40178 conditional code.
40179 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
40180 include <kernel-features.h>.
40181 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
40182 unconditional.
40183 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
40184 conditional code.
40185
14a50c9d
WS
401862012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
40187
40188 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
40189 slight instruction rearrangements per scrollpipe analysis.
40190 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
40191
c0f4faf0
RM
401922012-08-20 Roland McGrath <roland@hack.frob.com>
40193
696da859
RM
40194 * manual/syslog.texi (syslog; vsyslog, closelog):
40195 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
40196 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
40197
c0f4faf0
RM
40198 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
40199 DSOCAPS to match condition on defining it.
40200
348363b2
JM
402012012-08-20 Joseph Myers <joseph@codesourcery.com>
40202
a35cbf28
JM
40203 * sysdeps/unix/sysv/linux/kernel-features.h
40204 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
40205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
40206 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
40207 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
40208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
40209 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
40210 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
40211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
40212 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
40213 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
40214
445f7ecd
JM
40215 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
40216 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
40217
348363b2
JM
40218 * sysdeps/unix/sysv/linux/kernel-features.h
40219 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
40220 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
40221 unconditional.
40222 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
40223 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
40224 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
40225 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
40226 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
40227 Make code unconditional.
40228 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
40229 (__mmap64) [!__NR_mmap2]: Likewise.
40230 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
40231 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
40232 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
40233 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
40234 [__NR_mmap2]: Make code unconditional.
40235 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
40236 (__mmap64) [!__NR_mmap2]: Likewise.
40237
bc5bc0e5
AK
402382012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40239
40240 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
40241
88d506de
AJ
402422012-08-18 Andreas Jaeger <aj@suse.de>
40243
40244 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
40245
493387d2
MF
402462012-08-18 Mike Frysinger <vapier@gentoo.org>
40247
40248 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
40249 * include/unistd.h (__have_sock_cloexec): Likewise.
40250 (__have_pipe2): Likewise.
40251 (__have_dup3): Likewise.
40252
a277af22
MF
402532012-08-18 Mike Frysinger <vapier@gentoo.org>
40254
40255 [BZ #9685]
40256 * include/unistd.h (__have_pipe2): Change define into an extern int.
40257 (__have_dup3): Likewise.
40258 * socket/have_sock_cloexec.c: Include fcntl.h.
40259 (__have_pipe2): New variable.
40260 (__have_dup3): Likewise.
40261
fdab8fd3
MF
402622012-08-17 Mike Frysinger <vapier@gentoo.org>
40263
40264 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
40265
31035e80
MP
402662012-08-17 Marek Polacek <polacek@redhat.com>
40267
40268 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
40269 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
40270
3bd9e993
RM
402712012-08-17 Roland McGrath <roland@hack.frob.com>
40272
c91c505f
RM
40273 * configure.in: Add AC_SUBST for sysheaders.
40274 * configure: Regenerated.
40275 * config.make.in (sysheaders): New substituted variable.
40276
7c6f9d53
RM
40277 * sysdeps/unix/mkfifo.c: Moved ...
40278 * sysdeps/posix/mkfifo.c: ... here.
40279 * sysdeps/unix/mkfifoat.c: Moved ...
40280 * sysdeps/posix/mkfifoat.c: ... here.
40281
40282 * sysdeps/unix/utime.c: Moved ...
40283 * sysdeps/posix/utime.c: ... here.
40284
40285 * sysdeps/unix/time.c: Moved ...
40286 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
40287 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
40288 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
40289
40290 * sysdeps/unix/nice.c: Moved ...
40291 * sysdeps/posix/nice.c: ... here.
40292
40293 * sysdeps/unix/alarm.c: Moved ...
40294 * sysdeps/posix/alarm.c: ... here.
40295
3bd9e993
RM
40296 * intl/Makefile ($(codeset_mo)): Depend on the input file.
40297
d1f09384
JL
402982012-08-17 Jeff Law <law@redhat.com>
40299
40300 * intl/Makefile (codeset_mo): New variable.
40301 ($(codeset_mo)): New target.
40302 (tst-codeset.out): Depend on that. Remove explicit rule.
40303 (tst-gettext3.out, tst-gettext5.out): Likewise.
40304 (LOCPATH-ENV, tst-codeset-ENV): New variables.
40305 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
40306 * intl/tst-codeset.sh: Remove.
40307 * intl/tst-gettext3.sh: Likewise.
40308 * intl/tst-gettext5.sh: Likewise.
40309
2ae1ae5c
RM
403102012-08-17 Roland McGrath <roland@hack.frob.com>
40311
c31fdb83
RM
40312 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
40313 * sysdeps/unix/syscalls.list: ... here.
40314
a0844057
RM
40315 * sysdeps/posix/getaddrinfo.c
40316 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
40317 (gaiconf_init, gaiconf_reload): Use them.
40318 [!_STATBUF_ST_NSEC]
40319 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
40320 Define using time_t rather than struct timespec.
40321
750c1f2a
RM
40322 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
40323 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
40324 Macros removed.
40325 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
40326 [!NO_THREADS].
40327 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
40328 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
40329 Likewise.
40330
2ae1ae5c
RM
40331 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
40332 __libc_cleanup_push argument.
40333
e66a42f5
RM
40334 * bits/param.h: New file.
40335 * misc/sys/param.h: New file.
40336 * include/sys/param.h: New file.
40337 * misc/Makefile (headers): Add bits/param.h.
40338 * sysdeps/generic/sys/param.h: File removed.
40339 * sysdeps/unix/sysv/linux/bits/param.h: New file.
40340 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
40341 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 40342 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 40343
b7c08a66
RM
40344 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
40345 last change.
40346
b2e1c562
RM
40347 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
40348 [_IO_MTSAFE_IO].
40349 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
40350 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
40351 New macros.
40352
c75ccd4c
RM
40353 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
40354 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
40355 rather than -D_IO_MTSAFE_IO conditionally.
40356 * stdio-common/Makefile (CPPFLAGS): Likewise.
40357 * wcsmbs/Makefile (CPPFLAGS): Likewise.
40358 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
40359 Use $(libio-mtsafe).
40360 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
40361 of -D_IO_MTSAFE_IO.
40362 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
40363 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
40364 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
40365 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
40366 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
40367 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
40368 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
40369 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
40370 (CFLAGS-fread_u_chk.c): Likewise.
40371 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
40372 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
40373 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
40374 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
40375 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
40376 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
40377 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
40378 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
40379 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
40380
40381 * libio/Makefile: Test [$(libc-reentrant) = yes]
40382 instead of [$(filter %REENTRANT, $(defines)) nonempty].
40383
40384 * Makeconfig
40385 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
40386 * sysdeps/pthread/configure: File removed.
40387 * sysdeps/pthread/Makeconfig: New file.
40388 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
40389 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
40390
d9195db8
GB
403912012-08-16 Gary Benson <gbenson@redhat.com>
40392
40393 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
40394 unmapping the first object in a namespace.
40395
86466cd9
RM
403962012-08-16 Roland McGrath <roland@hack.frob.com>
40397
40398 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
40399 (__internal_setnetgrent): ... this. Add internal_function to
40400 definition. Add libc_hidden_def.
40401 (setnetgrent): Update caller.
40402 (internal_endnetgrent): Renamed to ...
40403 (__internal_endnetgrent): ... this. Add internal_function to
40404 definition. Add libc_hidden_def.
40405 (endnetgrent): Update caller.
40406 (internal_getnetgrent_r): Renamed to ...
40407 (__internal_getnetgrent_r): ... this. Add internal_function to
40408 definition. Add libc_hidden_def.
40409 (__getnetgrent_r): Update caller.
40410 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
40411
c3c8283c
JM
404122012-08-16 Joseph Myers <joseph@codesourcery.com>
40413
40414 * stdlib/longlong.h: Update from GCC.
40415
db1ee0a8
RM
404162012-08-16 Roland McGrath <roland@hack.frob.com>
40417
40418 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
40419 on _QL, which is set by umul_ppmm but never used.
40420 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
40421 variables, which are set by GMP macros but never used.
40422 * stdio-common/_itowa.c (_itowa): Likewise.
40423 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
40424 * stdlib/mod_1.c (mpn_mod_1): Likewise.
40425
30f69637
CD
404262012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
40427
40428 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
40429 struct La_sh_regs is not constant.
40430 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
40431 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
40432 and struct La_sparc64_regs are not constant.
40433
93a78ac4
JM
404342012-08-16 Joseph Myers <joseph@codesourcery.com>
40435
40436 * sysdeps/unix/sysv/linux/kernel-features.h
40437 (__ASSUME_POSIX_TIMERS): Remove.
40438 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
40439 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
40440 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
40441 Make code unconditional.
40442 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
40443 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
40444 Make code unconditional.
40445 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
40446 * sysdeps/unix/sysv/linux/clock_nanosleep.c
40447 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
40448 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
40449 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
40450 Make code unconditional.
40451 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
40452 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
40453 (__libc_missing_posix_timers): Remove.
40454
dd924cd7
RM
404552012-08-15 Roland McGrath <roland@hack.frob.com>
40456
4b4f2771
RM
40457 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
40458 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
40459
601c888b
RM
40460 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
40461
176790a7
RM
40462 * elf/dl-sym.c: Include <stdlib.h>.
40463
329bc018
RM
40464 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
40465 constants, which avoids warnings in 32-bit builds.
40466
e04e272d
RM
40467 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
40468 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
40469
952bf94a
RM
40470 * misc/lseek.c: File moved to ...
40471 * io/lseek.c: ... here.
40472
7c99b50a
RM
40473 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
40474
dd924cd7
RM
40475 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
40476 shifting LEN more than 31 bits at once.
40477
b3f479a8
LD
404782012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40479
40480 [BZ #14195]
8c4ae0d4
RM
40481 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
40482 segmentation fault for a case of two empty input strings.
b3f479a8
LD
40483 * string/test-strncasecmp.c (check1): Renamed to...
40484 (bz12205): ...this.
40485 (bz14195): Add new testcase for two empty input strings and N > 0.
40486 (test_main): Call new testcase, adapt for renamed function.
40487
9c55864e
AJ
404882012-08-15 Andreas Jaeger <aj@suse.de>
40489
40490 [BZ #14090]
40491 * crypt/md5test2.c: New test, based on test supplied by Serge
40492 Belyshev <belyshev@depni.sinp.msu.ru>.
40493 * crypt/Makefile (xtests): Add md5test-giant..
40494 * crypt/Makefile ($(objpfx)md5test-giant): Add.
40495
02dcb6c5
PE
404962012-08-15 Paul Eggert <eggert@cs.ucla.edu>
40497
40498 [BZ #14090]
40499 * crypt/md5.c (md5_process_block): Don't assume the buffer
40500 length is less than 2**32.
40501 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
40502 length is less than 2**64.
40503
a3f95dcc
RM
405042012-08-15 Roland McGrath <roland@hack.frob.com>
40505
be75d758
RM
40506 * string/str-two-way.h: Include <sys/param.h>.
40507 (MAX): Macro removed.
40508
7312ca90
RM
40509 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
40510 Move #define and #undef of memmove to just before and after
40511 including <string.h>.
40512
9a0a5486
RM
40513 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
40514 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
40515 and after including <string.h>. Move declarations of
40516 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
40517 to before #include "string/memmove.c".
40518
67cc348d
RM
40519 * include/dirent.h: Declare __getdirentries.
40520
a3f95dcc
RM
40521 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
40522 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
40523
ca98e171
MF
405242012-08-14 Mike Frysinger <vapier@gentoo.org>
40525
40526 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
40527 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
40528 * sysdeps/i386/configure: Regenerated.
40529 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
40530 STABS_CURRENT_FILE, and STABS_FUN.
40531 (END): Remove call to STABS_FUN_END.
40532 (STABS_CURRENT_FILE1): Delete.
40533 (STABS_CURRENT_FILE): Likewise.
40534 (STABS_FUN): Likewise.
40535 (STABS_FUN_END): Likewise.
40536 (STABS_FUN2): Likewise.
40537 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
40538 * sysdeps/x86_64/configure: Regenerated.
40539
5908bf46
RM
405402012-08-14 Roland McGrath <roland@hack.frob.com>
40541
40542 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 40543 * elf/dl-lookup.c: Likewise.
5908bf46 40544
f2c05b9e
JM
405452012-08-14 Joseph Myers <joseph@codesourcery.com>
40546
40547 * sysdeps/unix/sysv/linux/kernel-features.h
40548 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
40549 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
40550 unconditionally.
40551 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
40552 unconditionally.
40553 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
40554 condition on __ASSUME_CLONE_THREAD_FLAGS.
40555
e11f5155
AJ
405562012-08-14 Andreas Jaeger <aj@suse.de>
40557
40558 * sysdeps/i386/fpu/libm-test-ulps: Update.
40559
51a9ba86
MK
405602012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
40561
2fdd4f78
AJ
40562 * include/atomic.h (atomic_exchange_and_add): Split into ...
40563 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
40564 New atomic macros.
51a9ba86 40565
ba6cba9e
MT
405662012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
40567
40568 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40569
42443a47
JL
405702012-08-13 Jeff Law <law@redhat.com>
40571
40572 * manual/stdio.texi (snprintf): Clarify handling of the trailing
40573 null byte in the output string.
40574
121dce05
JM
405752012-08-10 Joseph Myers <joseph@codesourcery.com>
40576
40577 * sysdeps/unix/sysv/linux/kernel-features.h
40578 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
40579 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
40580 (__ASSUME_ARG_MAX_STACK_BASED): Define.
40581 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
40582 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
40583 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
40584 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
40585
bf51f568
JL
405862012-08-09 Jeff Law <law@redhat.com>
40587
40588 [BZ #13939]
40589 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
40590 When avoid_arena is set, don't retry in the that arena. Pick the
40591 next one, whatever it might be.
40592 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
40593 (arena_lock): Pass in new parameter to arena_get2.
40594 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
40595 arena_get2.
40596 (__libc_malloc): Unify retrying after main arena failure with
40597 __libc_memalign version.
40598 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
40599
f85fa270
L
406002012-08-09 H.J. Lu <hongjiu.lu@intel.com>
40601
40602 [BZ #14166]
40603 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
40604 to __redirect_strstr.
40605 (__strstr_sse42): Use typeof __redirect_strstr.
40606 (__strstr_ia32): Likewise.
40607 (__libc_strstr): New prototype.
40608 (strstr): Renamed to ...
40609 (__libc_strstr): This.
40610 (strstr): New strong alias of __libc_strstr.
40611 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
40612 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
40613 __redirect_time.
40614 Include <time.h>.
40615 (__libc_time): New prototype.
40616 (time_ifunc): Replace time with __libc_time.
40617 (time): New strong alias and hidden definition of __libc_time.
40618 (__GI_time): Remove strong alias.
40619 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
40620 Include <stddef.h>.
40621 (memmove): Redefined to __redirect_memmove.
40622 (__memmove_sse2): Use typeof __redirect_memmove.
40623 (__memmove_ssse3): Likewise.
40624 (__memmove_ssse3_back): Likewise.
40625 (__libc_memmove): New prototype.
40626 (memmove): Renamed to ...
40627 (__libc_memmove): This.
40628 (memmove): New strong alias of __libc_memmove.
40629
33b4a91e
MS
406302012-08-08 Mark Salter <msalter@redhat.com>
40631
40632 * elf/elf.h
40633 (R_MN10300_TLS_GD): Define.
40634 (R_MN10300_TLS_LD): Likewise.
40635 (R_MN10300_TLS_LDO): Likewise.
40636 (R_MN10300_TLS_GOTIE): Likewise.
40637 (R_MN10300_TLS_IE): Likewise.
40638 (R_MN10300_TLS_LE): Likewise.
40639 (R_MN10300_TLS_DTPMOD): Likewise.
40640 (R_MN10300_TLS_DTPOFF): Likewise.
40641 (R_MN10300_TLS_TPOFF): Likewise.
40642 (R_MN10300_SYM_DIFF): Likewise.
40643 (R_MN10300_ALIGN): Likewise.
40644 (R_MN10300_NUM): Update.
40645
b36137f1
JM
406462012-08-08 Joseph Myers <joseph@codesourcery.com>
40647
40648 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
40649 Remove.
40650
cdd915fd
RM
406512012-08-08 Roland McGrath <roland@hack.frob.com>
40652
a2433aac
RM
40653 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
40654
cdd915fd
RM
40655 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
40656 sysdeps/unix -> sysdeps/posix move.
40657 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
40658
bf9b740a
AM
406592012-08-07 Allan McRae <allan@archlinux.org>
40660
40661 [BZ #14303]
40662 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
40663 (SUNOS_CPP): Likewise.
40664 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
40665 not found.
40666 (open_input): Call CPP using execvp.
40667
93df14ee
JM
406682012-08-07 Joseph Myers <joseph@codesourcery.com>
40669
40670 * sysdeps/unix/sysv/linux/kernel-features.h
40671 (__ASSUME_PROT_GROWSUPDOWN): Remove.
40672 (__ASSUME_NO_CLONE_DETACHED): Likewise.
40673 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
40674 (__ASSUME_WAITID_SYSCALL): Likewise.
40675 * sysdeps/unix/sysv/linux/dl-execstack.c
40676 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
40677 code unconditional.
40678 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
40679 conditional code.
40680 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
40681 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
40682 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
40683 code.
40684 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
40685 unconditional.
40686 [__ASSUME_WAITID_SYSCALL]: Likewise.
40687 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
40688
d34689de
RM
406892012-08-07 Roland McGrath <roland@hack.frob.com>
40690
a281decc
RM
40691 * sysdeps/unix/closedir.c: Renamed to ...
40692 * sysdeps/posix/closedir.c: ... here.
40693 * sysdeps/unix/dirfd.c: Renamed to ...
40694 * sysdeps/posix/dirfd.c: ... here.
40695 * sysdeps/unix/dirstream.h: Renamed to ...
40696 * sysdeps/posix/dirstream.h: ... here.
40697 * sysdeps/unix/fdopendir.c: Renamed to ...
40698 * sysdeps/posix/fdopendir.c: ... here.
40699 * sysdeps/unix/opendir.c: Renamed to ...
40700 * sysdeps/posix/opendir.c: ... here.
40701 * sysdeps/unix/readdir.c: Renamed to ...
40702 * sysdeps/posix/readdir.c: ... here.
40703 * sysdeps/unix/readdir_r.c: Renamed to ...
40704 * sysdeps/posix/readdir_r.c: ... here.
40705 * sysdeps/unix/rewinddir.c: Renamed to ...
40706 * sysdeps/posix/rewinddir.c: ... here.
40707 * sysdeps/unix/seekdir.c: Renamed to ...
40708 * sysdeps/posix/seekdir.c: ... here.
40709 * sysdeps/unix/telldir.c: Renamed to ...
40710 * sysdeps/posix/telldir.c: ... here.
40711 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
40712 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
40713 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
40714 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
40715
22895b47
RM
40716 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
40717 * bits/fcntl.h: ... here.
40718
707a53b6
RM
40719 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
40720 not 0.
40721 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
40722 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
40723 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
40724 (struct flock): Move l_start, l_len to the beginning.
40725 Use __pid_t for l_pid.
40726 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
40727 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
40728 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
40729 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
40730 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
40731 [__USE_LARGEFILE64] (struct flock64): New type.
40732 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
40733
f0bd3e25
RM
40734 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
40735 * bits/dirent.h: ... here.
40736
d34689de
RM
40737 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
40738 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
40739
6dad2c06
JM
407402012-08-07 Joseph Myers <joseph@codesourcery.com>
40741
40742 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
40743 Change from 2.6.0 to 2.6.16.
40744 * sysdeps/unix/sysv/linux/configure: Regenerated.
40745 * sysdeps/unix/sysv/linux/kernel-features.h
40746 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
40747 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
40748 version.
40749 (__ASSUME_UTIMES): Likewise.
40750 (__ASSUME_CLONE_STOPPED): Remove.
40751 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
40752 architectures, not kernel version.
40753 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
40754 (__ASSUME_NO_CLONE_DETACHED): Likewise.
40755 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
40756 (__ASSUME_WAITID_SYSCALL): Likewise.
40757 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
40758 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
40759 * README: State 2.6.16 as minimum Linux kernel version. Do not
40760 refer to older versions.
40761
03af9520
RM
407622012-08-06 Roland McGrath <roland@hack.frob.com>
40763
8e49df1d
RM
40764 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
40765 Define alphasort64 as an alias.
40766 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
40767 Define versionsort64 as an alias.
40768 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
40769 Define scandir64 as an alias.
40770 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
40771 Define scandirat64 as an alias.
40772 * dirent/alphasort64.c (alphasort64):
40773 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
40774 * dirent/versionsort64.c: Likewise.
40775 * dirent/scandir64.c: Likewise.
40776 * dirent/scandirat64.c: Likewise.
40777 * sysdeps/wordsize-64/alphasort.c: File removed.
40778 * sysdeps/wordsize-64/alphasort64.c: File removed.
40779 * sysdeps/wordsize-64/scandir.c: File removed.
40780 * sysdeps/wordsize-64/scandir64.c: File removed.
40781 * sysdeps/wordsize-64/scandirat.c: File removed.
40782 * sysdeps/wordsize-64/scandirat64.c: File removed.
40783 * sysdeps/wordsize-64/versionsort.c: File removed.
40784 * sysdeps/wordsize-64/versionsort64.c: File removed.
40785 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
40786 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
40787 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
40788 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
40789 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
40790 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
40791 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
40792 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
40793
40794 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
40795 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
40796 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
40797 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40798 [defined __arch64__ || defined __sparcv9]
40799 (__INO_T_MATCHES_INO64_T): New macro.
40800 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
40801 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
40802 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
40803 * sysdeps/unix/sysv/linux/bits/dirent.h
40804 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
40805 (_DIRENT_MATCHES_DIRENT64): New macro.
40806
03af9520
RM
40807 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
40808 Define lockf64 as an alias.
40809 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
40810 Define fseeko64 as an alias.
40811 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
40812 Define ftello64 as an alias.
40813 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
40814 Define _IO_fgetpos64 and fgetpos64 as aliases.
40815 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
40816 Define _IO_fsetpos64 and fsetpos64 as aliases.
40817 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
40818 Conditionalize body on this.
40819 * libio/fseeko64.c: Likewise.
40820 * libio/ftello64.c: Likewise.
40821 * libio/iofgetpos64.c: Likewise.
40822 * libio/iofsetpos64.c: Likewise.
40823 * sysdeps/wordsize-64/lockf.c: File removed.
40824 * sysdeps/wordsize-64/lockf64.c: File removed.
40825 * sysdeps/wordsize-64/fseeko.c: File removed.
40826 * sysdeps/wordsize-64/fseeko64.c: File removed.
40827 * sysdeps/wordsize-64/ftello.c: File removed.
40828 * sysdeps/wordsize-64/ftello64.c: File removed.
40829 * sysdeps/wordsize-64/iofgetpos.c: File removed.
40830 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
40831 * sysdeps/wordsize-64/iofsetpos.c: File removed.
40832 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
40833 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
40834 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
40835 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
40836 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
40837 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
40838 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
40839 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
40840 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
40841 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
40842 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
40843
40844 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
40845 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
40846 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
40847 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40848 [defined __arch64__ || defined __sparcv9]
40849 (__OFF_T_MATCHES_OFF64_T): New macro.
40850 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
40851 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
40852 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40853 (__OFF_T_MATCHES_OFF64_T): New macro.
40854
c5757acd
L
408552012-08-06 H.J. Lu <hongjiu.lu@intel.com>
40856
40857 * stdlib/secure-getenv.c (__secure_getenv): Replace
40858 GLIBC_2_16 with GLIBC_2_17.
40859
3a31811e
L
408602012-08-06 H.J. Lu <hongjiu.lu@intel.com>
40861
40862 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
40863 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
40864
faa2bccb
DM
408652012-08-03 David S. Miller <davem@davemloft.net>
40866
40867 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40868
85fe1997
JM
408692012-08-03 Joseph Myers <joseph@codesourcery.com>
40870
40871 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
40872 Remove.
40873 (__ASSUME_CORRECT_SI_PID): Likewise.
40874 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
40875 (__ASSUME_TMPFS_NAME): Likewise.
40876 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
40877 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
40878 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
40879 (HAVE_AUX_SECURE): Make definition unconditional.
40880 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
40881 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
40882
4f75b7a0
RM
408832012-08-03 Roland McGrath <roland@hack.frob.com>
40884
40885 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
40886 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
40887 * sysdeps/mach/hurd/eloop-threshold.h: New file.
40888 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
40889 __eloop_threshold instead of SYMLOOP_MAX.
40890
40891 * sysdeps/generic/eloop-threshold.h: New file.
40892 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
40893 of MAXSYMLINKS.
40894 * elf/chroot_canon.c (chroot_canon): Likewise.
40895
7aab07e4
JM
408962012-08-03 Joseph Myers <joseph@codesourcery.com>
40897
40898 [BZ #13717]
40899 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
40900 Change to 2.6.0 everywhere.
40901 * sysdeps/unix/sysv/linux/configure: Regenerated.
40902 * sysdeps/unix/sysv/linux/kernel-features.h
40903 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
40904 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
40905 kernel versions.
40906 (__ASSUME_POSIX_TIMERS): Define unconditionally.
40907 (__ASSUME_FUTEX_REQUEUE): Remove.
40908 (__ASSUME_STATFS64): Define unconditionally.
40909 (__ASSUME_AT_SECURE): Likewise.
40910 (__ASSUME_CORRECT_SI_PID): Likewise.
40911 (__ASSUME_TGKILL): Define without depending on kernel version for
40912 i386.
40913 (__ASSUME_UTIMES): Likewise.
40914 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
40915 kernel version.
40916 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
40917 (__ASSUME_TMPFS_NAME): Likewise.
40918 * README: Update reference to Linux kernel versions.
40919
b67e9372
MP
409202012-08-02 Marek Polacek <polacek@redhat.com>
40921
1f529f7d 40922 [BZ# 14150]
b67e9372
MP
40923 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
40924 libc_cv_asm_type_prefix with %.
40925 * configure: Regenerated.
d2441631
RM
40926 * include/libc-symbols.h: Remove comment about
40927 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
40928 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
40929 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
40930 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
40931 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
40932 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
40933 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
40934 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
40935 * elf/tst-unique2mod1.c: Likewise.
40936 * elf/tst-unique1mod2.c: Likewise.
40937 * elf/tst-unique1mod1.c: Likewise.
40938 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
40939 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
40940 Replace ASM_TYPE_DIRECTIVE with .type.
40941 * sysdeps/s390/s390-64/sysdep.h: Likewise.
40942 * sysdeps/i386/sysdep.h: Likewise.
40943 * sysdeps/x86_64/sysdep.h: Likewise.
40944 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
40945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
40946 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 40947 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
40948 * sysdeps/powerpc/powerpc32/sysdep.h:
40949 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
40950 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
40951 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
40952 * sysdeps/i386/fpu/e_powf.S: Likewise.
40953 * sysdeps/i386/fpu/e_expl.S: Likewise.
40954 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
40955 * sysdeps/i386/fpu/e_acosh.S: Likewise.
40956 * sysdeps/i386/fpu/e_pow.S: Likewise.
40957 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
40958 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
40959 * sysdeps/i386/fpu/s_expm1.S: Likewise.
40960 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
40961 * sysdeps/i386/fpu/e_log2.S: Likewise.
40962 * sysdeps/i386/fpu/e_log2l.S: Likewise.
40963 * sysdeps/i386/fpu/e_scalb.S: Likewise.
40964 * sysdeps/i386/fpu/e_powl.S: Likewise.
40965 * sysdeps/i386/fpu/e_log10f.S: Likewise.
40966 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
40967 * sysdeps/i386/fpu/e_logl.S: Likewise.
40968 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
40969 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
40970 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
40971 * sysdeps/i386/fpu/e_log2f.S: Likewise.
40972 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
40973 * sysdeps/i386/fpu/e_log.S: Likewise.
40974 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
40975 * sysdeps/i386/fpu/e_logf.S: Likewise.
40976 * sysdeps/i386/fpu/e_log10l.S: Likewise.
40977 * sysdeps/i386/fpu/e_atanh.S: Likewise.
40978 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
40979 * sysdeps/i386/fpu/e_log10.S: Likewise.
40980 * sysdeps/i386/fpu/s_frexp.S: Likewise.
40981 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
40982 * sysdeps/i386/fpu/s_asinh.S: Likewise.
40983 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
40984 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
40985 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
40986 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
40987 * sysdeps/i386/i686/strtok.S: Likewise.
40988 * sysdeps/i386/i386-mcount.S: Likewise.
40989 * sysdeps/i386/strtok.S: Likewise.
40990 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
40991 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
40992 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40993 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
40994 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
40995 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
40996 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
40997 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
40998 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
40999 * sysdeps/x86_64/_mcount.S: Likewise.
41000 * sysdeps/x86_64/strtok.S: Likewise.
41001 * sysdeps/sh/_mcount.S: Likewise.
41002
2747bf9a
RM
410032012-08-01 Roland McGrath <roland@hack.frob.com>
41004
41005 * libio/iofopen.c: Include <fcntl.h>.
41006 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
41007 (_IO_fopen64, fopen64): Define as aliases.
41008 * libio/iofopen64.c: Include <fcntl.h>.
41009 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
41010 Conditionalize body on this.
41011 * sysdeps/wordsize-64/iofopen.c: File removed.
41012 * sysdeps/wordsize-64/iofopen64.c: File removed.
41013
3fb791b8
MP
410142012-08-01 Marek Polacek <polacek@redhat.com>
41015
41016 * libc/Makeconfig: Use elf in place of binfmt-subdir.
41017 Use dlfcn directly instead of a variable.
41018 (binfmt-subdir): Do not define.
41019 (dlfcn): Likewise.
41020
a9f1039f
JM
410212012-08-01 Joseph Myers <joseph@codesourcery.com>
41022
23bddc06
JM
41023 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
41024 Remove all definitions.
41025 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
41026 <kernel-features.h>.
41027 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
41028 (miss_F_GETOWN_EX): Remove all definitions.
41029 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
41030 macro definition.
41031 [!__ASSUME_FCNTL64]: Remove conditional code.
41032 [__ASSUME_FCNTL64]: Make code unconditional.
41033 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
41034 <kernel-features.h>.
41035 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
41036 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
41037 (lockf64) [__NR_fcntl64]: Make code unconditional.
41038 (lockf64) [__ASSUME_FCNTL64]: Likewise.
41039
a9f1039f
JM
41040 * sysdeps/unix/sysv/linux/kernel-features.h
41041 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
41042 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
41043 Make code unconditional.
41044 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
41045 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
41046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
41047 [__NR_vfork]: Make code unconditional.
41048 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
41049 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
41050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
41051 [__NR_vfork]: Make code unconditional.
41052 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
41053 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
41054
09c0ee5f
RM
410552012-08-01 Roland McGrath <roland@hack.frob.com>
41056
48aec5b9
RM
41057 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
41058 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
41059
cd97c966
RM
41060 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
41061 Define mkstemp64 as an alias.
3f55550c
RM
41062 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
41063 Define mkstemps64 as an alias.
cd97c966
RM
41064 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
41065 Define mkostemp64 as an alias.
b8625cfc
RM
41066 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
41067 Define mkostemps64 as an alias.
cd97c966
RM
41068 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
41069 Conditionalize body on this.
41070 * misc/mkostemp64.c: Likewise.
b8625cfc 41071 * misc/mkostemps64.c: Likewise.
3f55550c 41072 * misc/mkstemps64.c: Likewise.
cd97c966
RM
41073 * sysdeps/wordsize-64/mkstemp64.c: File removed.
41074 * sysdeps/wordsize-64/mkostemp64.c: File removed.
41075 * sysdeps/wordsize-64/mkostemp.c: File removed.
41076 * sysdeps/wordsize-64/mkstemp.c: File removed.
41077 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
41078 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
41079 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
41080 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
41081
09c0ee5f
RM
41082 [BZ #14138]
41083 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
41084 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
41085 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
41086 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
41087
41088 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
41089 compat_symbol macros from <shlib-compat.h> rather than the underlying
41090 default_symbol_version and symbol_version macros, so that DEFAULT
41091 lines in shlib-versions are respected.
41092 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
41093
7e66ee51
FW
410942012-08-01 Florian Weimer <fweimer@redhat.com>
41095
41096 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
41097 Declare with warn_unused_result.
41098 (setgid, setregid, setegid, setresgid): Likewise.
41099 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
41100 Likewise.
41101 * WUR-REPORT: Remove set*id functions.
41102
d2a54255
PT
411032012-07-31 Pino Toscano <toscano.pino@tiscali.it>
41104
41105 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
41106
7ecdb005
RM
411072012-07-31 Roland McGrath <roland@hack.frob.com>
41108
b4180a5e 41109 [BZ #10191]
789bd351
RM
41110 * include/sys/socket.h (__libc_accept, __libc_accept4):
41111 Add attribute_hidden.
41112 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
41113
40ce302d
RM
41114 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
41115 use of PTR_MANGLE.
41116 * inet/getnetgrent_r.c (setup): Likewise.
41117
7ecdb005
RM
41118 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
41119
e2eabb2c
DM
411202012-07-31 David S. Miller <davem@davemloft.net>
41121
41122 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41123
d0419dbf
JM
411242012-07-31 Joseph Myers <joseph@codesourcery.com>
41125
41126 [BZ #13629]
41127 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
41128 value between 1.0 and 2.0 and smaller part has absolute value less
41129 than 1.0.
41130 * math/s_clog10.c (__clog10): Likewise.
41131 * math/s_clog10f.c (__clog10f): Likewise.
41132 * math/s_clog10l.c (__clog10l): Likewise.
41133 * math/s_clogf.c (__clogf): Likewise.
41134 * math/s_clogl.c (__clogl): Likewise.
41135 * math/libm-test.inc (clog_test): Add more tests.
41136 (clog10_test): Likewise.
41137 * sysdeps/i386/fpu/libm-test-ulps: Update.
41138 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41139
2bc13872
FW
411402012-07-31 Florian Weimer <fweimer@redhat.com>
41141
41142 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
41143 Exit with zero in case no suitable GID is found, and write a
41144 message to standard error.
41145
bea9b193
RM
411462012-07-30 Roland McGrath <roland@hack.frob.com>
41147
41148 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
41149 rather than to 1.
41150 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
41151 (MAXPATHLEN): Removed.
41152 (NOGROUP, NODEV): New macros.
41153 (setbit, clrbit, isset, isclr): New macros.
41154 (howmany, roundup, powerof2): New macros.
41155 (DEV_BSIZE): New macro.
41156
41157 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
41158 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
41159
41160 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
41161 definition on [!__NO_LONG_DOUBLE_MATH].
41162
41163 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
41164 PTR_MANGLE and PTR_DEMANGLE.
41165
41166 * socket/accept4.c (accept4): Rename to __libc_accept4.
41167 Define accept4 as a weak alias.
41168
41169 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
41170 on [_DIRENT_HAVE_D_TYPE].
41171 * io/ftw.c (ftw_dir): Likewise.
41172
41173 * io/xmknod.c (__xmknod): Don't check PATH for being null.
41174
41175 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
41176
41177 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
41178 Use the BSD numbers rather than the arbitrary ones we had.
41179 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
41180 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
41181 (SIGXCPU, SIGXFSZ): New macros.
41182 (_NSIG): Now 32.
41183
41184 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
41185 initializer on [_LIBC_REENTRANT].
41186
41187 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
41188 definitions inside [_POSIX_MAPPED_FILES].
41189
41190 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
41191
41192 * dirent/opendir.c: Include <fcntl.h>.
41193
41194 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
41195 (__libc_getspecific): Likewise.
41196 (__libc_key_create): Likewise.
41197
41198 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
41199 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
41200 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
41201 (tmpfile64): Define as alias.
41202 * sysdeps/wordsize-64/tmpfile.c: File removed.
41203 * sysdeps/wordsize-64/tmpfile64.c: File removed.
41204 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
41205 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
41206
41207 * stdio-common/vfscanf.c: Include <stdbool.h>.
41208 * nss/makedb.c: Likewise.
41209 * stdio-common/_i18n_number.h: Likewise.
41210 * argp/argp-help.c: Likewise.
41211 * posix/wordexp.c: Likewise.
41212 * sysdeps/posix/spawni.c: Likewise.
41213 * nss/nss_files/files-initgroups.c: Likewise.
41214 * stdio-common/reg-modifier.c: Include <stdlib.h>.
41215 * nss/nss_files/files-initgroups.c: Likewise.
41216 * nss/nss_db/db-netgrp.c: Likewise.
41217 * nss/nss_db/db-initgroups.c: Likewise.
41218 * io/fchmodat.c: Include <sys/stat.h>.
41219
41220 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
41221 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
41222
41223 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
41224 [HAVE_MMAP].
41225
41226 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
41227 Add multiple inclusion protection.
41228
e5abc686
DM
412292012-07-27 David S. Miller <davem@davemloft.net>
41230
41231 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41232
815e6fa3
GB
412332012-07-27 Gary Benson <gbenson@redhat.com>
41234
41235 [BZ #14298]
41236 * elf/rtld.c: Include <stap-probe.h>.
41237 (dl_main): Added static probes "init_start" and "init_complete".
41238 * elf/dl-load.c: Include <stap-probe.h>.
41239 (lose): Take new parameter "nsid".
41240 Added static probe "map_failed".
41241 (_dl_map_object_from_fd): Pass namespace id to lose.
41242 Added static probe "map_start".
41243 (open_verify): Pass namespace id to lose.
41244 * elf/dl-open.c: Include <stap-probe.h>.
41245 (dl_open_worker) Added static probes "map_complete", "reloc_start"
41246 and "reloc_complete".
41247 * elf/dl-close.c: Include <stap-probe.h>.
41248 (_dl_close_worker): Added static probes "unmap_start" and
41249 "unmap_complete".
41250 * elf/rtld-debugger-interface.txt: New file documenting the above.
41251
9f98c16c
RM
412522012-07-26 Roland McGrath <roland@hack.frob.com>
41253
41254 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
41255 rather than a string variable.
41256 * sunrpc/rpc_main.c (h_output): Likewise.
41257 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
41258
f3c22df3
PT
412592012-07-26 Pino Toscano <toscano.pino@tiscali.it>
41260
41261 * inet/check_native.c: New file.
41262
3129cfc6
JM
412632012-07-26 Joseph Myers <joseph@codesourcery.com>
41264
da865e95
JM
41265 [BZ #13629]
41266 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
41267 if larger part has absolute value 1.0.
41268 * math/s_clog10.c (__clog10): Likewise.
41269 * math/s_clog10f.c (__clog10f): Likewise.
41270 * math/s_clog10l.c (__clog10l): Likewise.
41271 * math/s_clogf.c (__clogf): Likewise.
41272 * math/s_clogl.c (__clogl): Likewise.
41273 * math/libm-test.inc (clog_test): Add more tests.
41274 (clog10_test): Likewise.
41275 * sysdeps/i386/fpu/libm-test-ulps: Update.
41276 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41277
3129cfc6
JM
41278 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
41279 (pltexit): Likewise.
41280 (La_regs): Likewise.
41281 (La_retval): Likewise.
41282 (int_retval): Likewise.
41283 Update #error for removed macros to refer only to definitions in
41284 tst-audit.h.
41285 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
41286 macro.
41287 (pltexit): Likewise.
41288 (La_regs): Likewise.
41289 (La_retval): Likewise.
41290 (int_retval): Likewise.
41291 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
41292 macro.
41293 (pltexit): Likewise.
41294 (La_regs): Likewise.
41295 (La_retval): Likewise.
41296 (int_retval): Likewise.
41297 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
41298 macro.
41299 (pltexit): Likewise.
41300 (La_regs): Likewise.
41301 (La_retval): Likewise.
41302 (int_retval): Likewise.
41303 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
41304 macro.
41305 (pltexit): Likewise.
41306 (La_regs): Likewise.
41307 (La_retval): Likewise.
41308 (int_retval): Likewise.
41309 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
41310 macro.
41311 (pltexit): Likewise.
41312 (La_regs): Likewise.
41313 (La_retval): Likewise.
41314 (int_retval): Likewise.
41315 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
41316 macro.
41317 (pltexit): Likewise.
41318 (La_regs): Likewise.
41319 (La_retval): Likewise.
41320 (int_retval): Likewise.
41321 * sysdeps/generic/tst-audit.h: Update comment to refer only to
41322 macro definitions in tst-audit.h.
41323 * sysdeps/i386/tst-audit.h: New file.
41324 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
41325 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
41326 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
41327 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
41328 * sysdeps/sh/tst-audit.h: Likewise.
41329 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
41330 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
41331 * sysdeps/x86_64/tst-audit.h: Likewise.
41332
bfc07087
AJ
413332012-07-26 Andreas Jaeger <aj@suse.de>
41334
b1b2aaf8
AJ
41335 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
41336 ptrace.
41337
41338 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
41339 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
41340 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
41341 PTRACE_O_MASK.
41342 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
41343 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
41344 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
41345
bfc07087
AJ
41346 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
41347 value.
41348
41349 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
41350 _sigsys.
41351 (si_call_addr, si_syscall, si_arch): Define new macro.
41352 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
41353 _sigsys.
41354 (si_call_addr, si_syscall, si_arch): Define new marcro.
41355 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
41356 _sigsys.
41357 (si_call_addr, si_syscall, si_arch): Define new macro.
41358 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
41359 _sigsys.
41360 (si_call_addr, si_syscall, si_arch): Define new macro.
41361
89b4b02f
JM
413622012-07-25 Joseph Myers <joseph@codesourcery.com>
41363
41364 [BZ #13717]
41365 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
41366 Change to 2.4.21 where previously 2.4.1.
41367 * sysdeps/unix/sysv/linux/configure: Regenerated.
41368 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
41369 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
41370 Linux kernel version.
41371 (__ASSUME_STD_AUXV): Remove.
41372 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
41373 kernel version.
41374 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
41375 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
41376 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
41377 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
41378 (__ASSUME_NETLINK_SUPPORT): Likewise.
41379 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
41380 (__no_netlink_support): Remove conditional definition.
41381 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
41382 Remove.
41383 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
41384 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
41385 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
41386 (if_nameindex_ioctl): Remove.
41387 (if_nameindex_netlink): Do not handle __no_netlink_support.
41388 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
41389 code.
41390 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
41391 Remove conditional code.
41392 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
41393 code.
41394 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
41395 unconditional.
41396 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
41397 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
41398 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
41399 Remove.
41400 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
41401 [!__ASSUME_STD_AUXV]: Remove conditional code.
41402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
41403 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
41404 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
41405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
41406 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
41407 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
41408 code.
41409 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
41410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
41411 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
41412 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
41413 conditional code.
41414 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
41415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
41416 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
41417 code.
41418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
41419 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
41420 conditional code.
41421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
41422 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
41423 code unconditional.
41424 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
41425 conditional code.
41426 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
41427 unconditional.
41428 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
41429 conditional code.
41430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
41431 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
41432 unconditional.
41433 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
41434 conditional code.
41435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
41436 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
41437 code unconditional.
41438 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
41439 conditional code.
41440 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
41441 unconditional.
41442 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
41443 conditional code.
41444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
41445 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
41446 code unconditional.
41447 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
41448 conditional code.
41449 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
41450 unconditional.
41451 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
41452 conditional code.
41453
842a39cd
AS
414542012-07-25 Andreas Schwab <schwab@linux-m68k.org>
41455
41456 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
41457 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
41458 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
41459 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
41460 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
41461 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
41462 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
41463 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
41464 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
41465 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
41466 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
41467 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
41468 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
41469 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
41470 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
41471 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
41472 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
41473 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
41474 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
41475 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
41476 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
41477 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
41478 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
41479
84b3fd84
FW
414802012-07-25 Florian Weimer <fweimer@redhat.com>
41481
41482 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
41483 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
41484 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
41485 Introduce __libc_secure_getenv.
0c7936d5
FW
41486 * stdlib/Versions (2.17): Add secure_getenv
41487 (GLIBC_PRIVATE): Add __libc_secure_getenv.
41488 * stdlib/secure-getenv.c: Rename __secure_getenv to
41489 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
41490 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
41491 * stdlib/tst-secure-getenv.c: New.
41492 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
41493 * manual/startup.texi (Environment Access): Document
41494 secure_getenv.
84b3fd84
FW
41495 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
41496 __libc_secure_getenv.
41497 * inet/ruserpass.c (ruserpass): Likewise.
41498 * malloc/mtrace.c (mtrace): Likewise.
41499 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 41500 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
41501 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
41502 * sysdeps/posix/tempname.c: Likewise. Evaluate
41503 HAVE_SECURE_GETENV.
41504 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 41505 __secure_getenv to __libc_secure_getenv.
84b3fd84 41506 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
41507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41508 Likewise.
41509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41510 Likewise.
41511 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
41512 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
41513 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
41514 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
41515 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
41516 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
41517 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 41518
56e49b71
JM
415192012-07-25 Joseph Myers <joseph@codesourcery.com>
41520
41521 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
41522 (struct La_i86_retval): Likewise.
41523 (struct La_x86_64_regs): Likewise.
41524 (struct La_x86_64_retval): Likewise.
41525 (struct La_x32_regs): Likewise.
41526 (struct La_x32_retval): Likewise.
41527 (struct La_ppc32_regs): Likewise.
41528 (struct La_ppc32_retval): Likewise.
41529 (struct La_ppc64_regs): Likewise.
41530 (struct La_ppc64_retval): Likewise.
41531 (struct La_sh_regs): Likewise.
41532 (struct La_sh_retval): Likewise.
41533 (struct La_s390_32_regs): Likewise.
41534 (struct La_s390_32_retval): Likewise.
41535 (struct La_s390_64_regs): Likewise.
41536 (struct La_s390_64_retval): Likewise.
41537 (struct La_sparc32_regs): Likewise.
41538 (struct La_sparc32_retval): Likewise.
41539 (struct La_sparc64_regs): Likewise.
41540 (struct La_sparc64_retval): Likewise.
41541 (struct audit_ifaces): Remove architecture-specific pltenter and
41542 pltexit members.
41543 * sysdeps/i386/ldsodefs.h: New file.
41544 * sysdeps/powerpc/ldsodefs.h: Likewise.
41545 * sysdeps/s390/ldsodefs.h: Likewise.
41546 * sysdeps/sh/ldsodefs.h: Likewise.
41547 * sysdeps/sparc/ldsodefs.h: Likewise.
41548 * sysdeps/x86_64/ldsodefs.h: Likewise.
41549
354691b7
MP
415502012-07-25 Marek Polacek <polacek@redhat.com>
41551
41552 [BZ #6808]
41553 * math/libm-test.inc (yn_test): Add another test.
41554 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
41555 to ERANGE when the result is +-Inf.
41556 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
41557 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
41558 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
41559 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
41560
bf9e2071
JM
415612012-07-24 Joseph Myers <joseph@codesourcery.com>
41562
41563 * conform/data/time.h-data (NULL): Use macro-constant. Require
41564 equal to 0.
41565 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
41566 clock_t.
41567 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
41568
57633811
TS
415692012-07-23 Thomas Schwinge <thomas@codesourcery.com>
41570
41571 * configure.in <sysdeps resolving>: Correct printing
41572 Implies_before.
41573 * configure: Regenerate.
41574
c23c33b0
TS
415752012-07-22 Thomas Schwinge <thomas@codesourcery.com>
41576
41577 * math/w_ilogb.c: Include <limits.h>.
41578 * math/w_ilogbl.c: Likewise.
41579
b5982523
JM
415802012-07-20 Joseph Myers <joseph@codesourcery.com>
41581
41582 * manual/lang.texi (__va_copy): Document primarily as ISO C99
41583 va_copy. Document allowing for unavailable va_copy only as
41584 pre-C99 compatibility.
41585 * manual/string.texi (Copying and Concatenation): Use va_copy
41586 instead of __va_copy in concat example.
41587
ac4ea442
PT
415882012-07-20 Pino Toscano <toscano.pino@tiscali.it>
41589
41590 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
41591 (__sendto): Use create_address_port. Initialize APORT and deallocate
41592 it if not null.
41593
f98eafbd
PT
41594 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
41595 with O_NOLINK passed to __file_name_lookup.
41596
898c7aab
PT
41597 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
41598 with O_NOLINK passed to __file_name_lookup.
41599
0ced335a
PT
41600 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
41601 negative N or less than NGIDS.
41602
b3404dbd
PT
41603 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
41604 type to string_t. Set ERANGE as errno and return it if NAME is not big
41605 enough. Use memcpy instead of strncpy.
41606
0f48659e
JM
416072012-07-20 Joseph Myers <joseph@codesourcery.com>
41608
41609 * elf/Makefile (check-data): Remove.
41610 (localplt.data): New vpath directive.
41611 ($(objpfx)check-localplt.out): Use localplt.data from vpath
41612 instead of $(check-data).
41613 * scripts/data/localplt-generic.data: Move to ...
41614 * sysdeps/generic/localplt.data: ... here.
41615 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
41616 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
41617 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
41618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
41619 ... here.
41620 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
41621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
41622 ... here.
41623 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
41624 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
41625 ... here.
41626 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
41627 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
41628 ... here.
41629 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
41630 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
41631 ... here.
41632 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
41633 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
41634 ... here.
41635
d37cbdaa
AZ
416362012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41637
41638 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
41639 PPC32 and PPC64 files.
41640 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
41641 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
41642
46f85fc2
AK
416432012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41644
41645 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
41646 __makecontext_ret to ...
41647 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
41648 ... here and call exit if uc_link is NULL. New file.
41649 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
41650 __makecontext_ret.S.
41651 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
41652 __makecontext_ret to ...
41653 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
41654 ... here and call exit if uc_link is NULL. New file.
41655 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
41656 __makecontext_ret.S.
41657
08f43f9b
AK
416582012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41659
41660 * elf/elf.h (R_390_IRELATIVE): New definition.
41661 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
41662 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
41663 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
41664 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
41665 (elf_machine_lazy_rel): Likewise.
41666 * sysdeps/s390/dl-irel.h: New file.
41667 * sysdeps/s390/s390-64/memcpy.S: New asm code.
41668 * sysdeps/s390/s390-64/memset.S: New asm code.
41669 * sysdeps/s390/s390-64/memcmp.S: New asm code.
41670 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
41671 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
41672 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
41673 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
41674 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
41675 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
41676 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
41677 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
41678 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
41679 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
41680 * sysdeps/s390/s390-32/memcpy.S: New asm code.
41681 * sysdeps/s390/s390-32/memset.S: New asm code.
41682 * sysdeps/s390/s390-32/memcmp.S: New asm code.
41683
3b05db33
MP
416842012-07-17 Marek Polacek <polacek@redhat.com>
41685
41686 [BZ #14349]
41687 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
41688 * sysdeps/s390/s390-64/configure.in: Likewise.
41689 * sysdeps/sparc/configure.in: Likewise.
41690 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
41691 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
41692 * sysdeps/i386/configure.in: Likewise.
41693 * sysdeps/x86_64/configure.in: Likewise.
41694 * sysdeps/sh/configure.in: Likewise.
41695 * sysdeps/s390/s390-32/configure: Regenerated.
41696 * sysdeps/s390/s390-64/configure: Likewise.
41697 * sysdeps/x86_64/configure: Likewise.
41698 * sysdeps/sh/configure: Likewise.
41699 * sysdeps/powerpc/powerpc64/configure: Likewise.
41700 * sysdeps/powerpc/powerpc32/configure: Likewise.
41701 * sysdeps/sparc/configure: Likwise.
41702 * sysdeps/i386/configure: Likewise.
41703
a66877c6
MP
41704 * elf/dl-open.c: Comment fixes.
41705
cfc82fd8
JM
417062012-07-17 Joseph Myers <joseph@codesourcery.com>
41707
bd29910a
JM
41708 * Makefile [CXX] (check-data): Remove.
41709 [CXX] (c++-types.data): New vpath directive.
41710 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
41711 vpath. Do not allow for C++ type data being missing.
41712 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
41713 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
41714 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
41715 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
41716 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
41717 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
41718 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
41719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
41720 ... here.
41721 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
41722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
41723 ... here.
41724 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
41725 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
41726 ... here.
41727 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
41728 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
41729 ... here.
41730 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
41731 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
41732 ... here.
41733 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
41734 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
41735 ... here.
41736 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
41737 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
41738 ... here.
41739 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
41740 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
41741
cfc82fd8
JM
41742 * elf/tls-macros.h (TLS_LE): Move architecture-specific
41743 definitions to architecture-specific files.
41744 (TLS_IE): Likewise.
41745 (TLS_LD): Likewise.
41746 (TLS_GD): Likewise.
41747 * sysdeps/i386/tls-macros.h: New file.
41748 * sysdeps/powerpc/tls-macros.h: Likewise.
41749 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
41750 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
41751 * sysdeps/sh/tls-macros.h: Likewise.
41752 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
41753 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
41754 * sysdeps/x86_64/tls-macros.h: Likewise.
41755
f7db3170
TS
417562012-07-17 Thomas Schwinge <thomas@codesourcery.com>
41757
07cbfc23
TS
41758 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
41759 zero value for regular exit case.
41760
f7db3170
TS
41761 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
41762 (__start_context): Preserve zero value for regular exit case.
41763
dc97c227
TS
417642012-07-17 Thomas Schwinge <thomas@codesourcery.com>
41765 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41766
41767 * manual/setjmp.texi (setcontext): Clarify normal process
41768 termination when uc_link is the null pointer.
41769 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
41770 exit call.
41771
d0cd7d02
AS
417722012-07-16 Andreas Schwab <schwab@linux-m68k.org>
41773
41774 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
41775 preprocessor. Test for each exception mask separately.
41776
dd318934
AJ
417772012-07-16 Andreas Jaeger <aj@suse.de>
41778
41779 * po/ru.po: Update from translation team.
41780
8048311a
JM
417812012-07-15 Joseph Myers <joseph@codesourcery.com>
41782
41783 * conform/data/string.h-data (NULL): Use macro-constant. Require
41784 equal to 0.
41785 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
41786 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
41787 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
41788 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
41789 [ISO || ISO99 || ISO11] (*_t): Do not allow.
41790
b637d46e
AJ
417912012-07-13 Andreas Jaeger <aj@suse.de>
41792
41793 * po/fr.po: Update from translation team.
41794
541428fe
MP
417952012-07-12 Marek Polacek <polacek@redhat.com>
41796
41797 [BZ #14173]
41798 * math/libm-test.inc (yn_test): Add test for BZ #14173.
41799 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
41800 loop condition.
41801
ec332e94
JM
418022012-07-12 Joseph Myers <joseph@codesourcery.com>
41803
41804 [BZ #13717]
41805 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
41806 Change to 2.4.1 where previously 2.4.0.
41807 * sysdeps/unix/sysv/linux/configure: Regenerated.
41808 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
41809 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
41810 version.
41811 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
41812 (__ASSUME_AT_CLKTCK): Remove.
41813 (__ASSUME_AT_PAGESIZE): Likewise.
41814 (__ASSUME_AT_XID): Likewise.
41815 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
41816 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
41817 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
41818 unconditionally.
41819 (HAVE_AUX_PAGESIZE): Likewise.
41820 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
41821 [__ASSUME_AT_CLKTCK]: Make code unconditional.
41822 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
41823
7b6e99be
JB
418242012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
41825
41826 [BZ #14307]
41827 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
41828 the temporary buffer used to invoke __gethostbyname2_r,
41829 __gethostbyaddr_r and gethostbyname4_r to make room for struct
41830 host_data / struct gaih_addrtuple.
41831 * resolv/nss_dns/dns-host.c (global scope): Move definition of
41832 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
41833 header file nss/nsswitch.h.
41834 * nss/nsswitch.h (global scope): Add definition of implementation
41835 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
41836 resolv/nss_dns/dns-host.c).
41837
608404eb
AJ
418382012-07-11 Andreas Jaeger <aj@suse.de>
41839
41840 * po/fr.po: Update from translation team.
41841
71220aca
AJ
41842 * po/sv.po: Update from translation team
41843 * po/fr.po: Another update from translation team.
41844
28cfe843
AZ
418452012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41846
41847 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
41848 for subnormals or multiply small sinh result by itself.
41849 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
41850 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41851
6b90f981
DM
418522012-07-11 David S. Miller <davem@davemloft.net>
41853
41854 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41855
c6825772
AS
418562012-07-10 Andreas Schwab <schwab@linux-m68k.org>
41857
41858 [BZ #14347]
41859 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
41860 (INTERNAL_MARK): Shift it here.
41861
7b8e0d49
MP
418622012-07-10 Marek Polacek <polacek@redhat.com>
41863
41864 [BZ #14151]
41865 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
41866 libc_cv_asm_global_directive with .globl.
41867 * configure: Regenerated.
41868 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
41869 with .globl.
41870 * sysdeps/i386/configure: Regenerated.
41871 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
41872 with .globl.
41873 * sysdeps/x86_64/configure: Regenerated.
41874 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
41875 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
41876 * elf/tst-unique2mod2.c: Likewise.
41877 * elf/tst-unique2mod1.c: Likewise.
41878 * elf/tst-unique1mod2.c: Likewise.
41879 * elf/tst-unique1mod1.c: Likewise.
41880 * sysdeps/s390/s390-32/sysdep.h: Likewise.
41881 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
41882 * sysdeps/s390/s390-64/sysdep.h: Likewise.
41883 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
41884 * sysdeps/mach/sysdep.h: Likewise.
41885 * sysdeps/i386/sysdep.h: Likewise.
41886 * sysdeps/i386/i386-mcount.S: Likewise.
41887 * sysdeps/x86_64/_mcount.S: Likewise.
41888 * sysdeps/x86_64/sysdep.h: Likewise.
41889 * sysdeps/sh/_mcount.S: Likewise.
41890 * sysdeps/sh/sysdep.h: Likewise.
41891 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
41892 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
41893 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
41894 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
41895 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
41896 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
41897 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
41898 * locale/localeinfo.h: Likewise.
41899 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
41900 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
41901
6c55cda3
RM
419022012-07-09 Roland McGrath <roland@hack.frob.com>
41903
41904 [BZ #14336]
41905 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
41906 system".
41907 * manual/message.texi (The Uniforum approach): Likewise.
41908 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
41909 (glibc iconv Implementation): Likewise.
41910
638a572e
JM
419112012-07-09 Joseph Myers <joseph@codesourcery.com>
41912
41913 [BZ #14337]
41914 * math/s_clog.c (__clog): Avoid scaling a value down where that
41915 could result in underflow.
41916 * math/s_clog10.c (__clog10): Likewise.
41917 * math/s_clog10f.c (__clog10f): Likewise.
41918 * math/s_clog10l.c (__clog10l): Likewise.
41919 * math/s_clogf.c (__clogf): Likewise.
41920 * math/s_clogl.c (__clogl): Likewise.
41921 * math/libm-test.inc (clog_test): Add more tests.
41922 (clog10_test): Likewise.
41923 * sysdeps/i386/fpu/libm-test-ulps: Update.
41924 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41925
261f4859
AS
419262012-07-06 Andreas Schwab <schwab@linux-m68k.org>
41927
0abaf3e4
AS
41928 [BZ #14283]
41929 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
41930 by 7 not 8 to examine high bit of fractional part.
41931
261f4859
AS
41932 [BZ #14042]
41933 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
41934 for call to __mcount_internal.
41935 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
41936 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
41937 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
41938
f17ac40d
JM
419392012-07-06 Joseph Myers <joseph@codesourcery.com>
41940
9ad63c23
JM
41941 [BZ #14154]
41942 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
41943 approximation for values within 0x1p-13f of an odd multiple of
41944 pi/4.
41945 * math/libm-test.inc (tan_test): Do not allow spurious underflow
41946 exception. Add more tests.
41947 * sysdeps/i386/fpu/libm-test-ulps: Update.
41948
f17ac40d
JM
41949 [BZ #6778]
41950 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
41951 inputs and return -1 for them. Do not check for +Inf in case not
41952 reachable for +Inf.
41953 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
41954 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
41955 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
41956 and return -1 for them. Do not check for +Inf in case not
41957 reachable for +Inf.
41958 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
41959 define.
41960 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
41961 and return -1 for them. Do not check for +Inf in case not
41962 reachable for +Inf.
41963 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
41964 spurious underflow.
41965 * sysdeps/i386/fpu/libm-test-ulps: Update.
41966 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41967
fb21f89b
MF
419682012-07-06 Mike Frysinger <vapier@gentoo.org>
41969
41970 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
41971
cdfe2c5e
JM
419722012-07-05 Joseph Myers <joseph@codesourcery.com>
41973
41974 [BZ #14157]
41975 [BZ #14331]
41976 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
41977 could result in spurious underflow. Scale down values above
41978 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
41979 * math/s_csqrtf.c (__csqrtf): Likewise.
41980 * math/s_csqrtl.c (__csqrtl): Likewise.
41981 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
41982 spurious underflow.
41983 * sysdeps/i386/fpu/libm-test-ulps: Update.
41984 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41985
70d35b67
AS
419862012-07-04 Andreas Schwab <schwab@linux-m68k.org>
41987
704bc459
AS
41988 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
41989 xopen-msg.sed.
41990 * catgets/xopen-msg.awk: New file.
41991 * catgets/xopen-msg.sed: Removed.
41992
70d35b67
AS
41993 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
41994 po2text.sed.
41995 * intl/po2test.awk: New file.
41996 * intl/po2test.sed: Removed.
41997
ca61cf32
JM
419982012-07-04 Joseph Myers <joseph@codesourcery.com>
41999
42000 [BZ #14328]
42001 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
42002 or multiply small sinh result by itself.
42003 * math/s_ctanf.c (__ctanf): Likewise.
42004 * math/s_ctanh.c (__ctanh): Likewise.
42005 * math/s_ctanhf.c (__ctanhf): Likewise.
42006 * math/s_ctanhl.c (__ctanhl): Likewise.
42007 * math/s_ctanl.c (__ctanl): Likewise.
42008 * math/libm-test.inc (ctan_test_tonearest): New function.
42009 (ctan_test_towardzero): Likewise.
42010 (ctan_test_downward): Likewise.
42011 (ctan_test_upward): Likewise.
42012 (ctanh_test_tonearest): Likewise.
42013 (ctanh_test_towardzero): Likewise.
42014 (ctanh_test_downward): Likewise.
42015 (ctanh_test_upward): Likewise.
42016 (main): Call these new functions.
42017 * sysdeps/i386/fpu/libm-test-ulps: Update.
42018 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42019
ca48a46a
MF
420202012-07-03 Mike Frysinger <vapier@gentoo.org>
42021
42022 * .gitignore: Delete /ports entry.
42023
9d63d37d
AJ
420242012-07-03 Andreas Jaeger <aj@suse.de>
42025
42026 * po/bg.po: Update from translation team.
42027 * po/cs.po: Likewise.
42028 * po/de.po: Likewise.
42029 * po/hr.po: Likewise.
42030 * po/nl.pl: Likewise.
42031 * po/pl.po: Likewise.
42032 * po/vi.po: Likewise.
42033
370ca3d2
JM
420342012-07-03 Joseph Myers <joseph@codesourcery.com>
42035
95f5a9a8
JM
42036 * Makeconfig [!+link] (+link-before-libc): New variable.
42037 [!+link] (+link-after-libc): Likewise.
42038 [!+link] (+link-tests): Likewise.
42039 [!+link] (+link): Define in terms of $(+link-before-libc) and
42040 $(+link-after-libc).
42041 [!+link-static] (+link-static-before-libc): New variable.
42042 [!+link-static] (+link-static-after-libc): Likewise.
42043 [!+link-static] (+link-static-tests): Likewise.
42044 [!+link-static] (+link-static): Define in terms of
42045 $(+link-static-before-libc) and $(+link-static-after-libc).
42046 [build-shared] (link-libc-before-gnulib): New variable.
42047 [build-shared] (link-libc-tests): Likewise.
42048 [build-shared] (link-libc): Define in terms of
42049 $(link-libc-before-gnulib).
42050 [!build-shared] (link-libc-tests): New variable.
42051 (link-libc-static-tests): New variable.
42052 [!gnulib] (gnulib-arch): New variable.
42053 [!gnulib] (gnulib-tests): Likewise.
42054 [!gnulib] (static-gnulib-arch): Likewise.
42055 [!gnulib] (static-gnulib-tests): Likewise.
42056 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
42057 Define with "=" instead of ":=".
42058 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
42059 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
42060 * Rules (binaries-all-notests): New variable.
42061 (binaries-all-tests): Likewise.
42062 (binaries-static-notests): Likewise.
42063 (binaries-static-tests): Likewise.
42064 (binaries-all): Define using $(binaries-all-notests) and
42065 $(binaries-all-tests).
42066 (binaries-static): Define using $(binaries-static-notests) and
42067 $(binaries-static-tests).
42068 (binaries-shared-tests): New variable.
42069 (binaries-shared-notests): Likewise.
42070 (binaries-shared): Remove variable.
42071 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
42072 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
42073 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
42074 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
42075 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
42076 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
42077 * elf/Makefile (sln-modules): New variable.
42078 (extra-objs): Add $(sln-modules:=.o).
42079 (ldconfig-modules): Add static-stubs.
42080 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
42081 * elf/static-stubs.c: New file.
42082
7a845b2c
JM
42083 [BZ #14283]
42084 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
42085 by 7 not 8 to examine high bit of fractional part. Use volatile
42086 variables when splitting into final array of floats if
42087 __FLT_EVAL_METHOD__ != 0.
42088 * math/libm-test.inc (cos_test): Add another test.
42089 (sin_test): Likewise.
42090 * sysdeps/i386/fpu/libm-test-ulps: Update.
42091
e2283f38
JM
42092 [BZ #14273]
42093 * math/libm-test.inc (cosh_test): Add more tests.
42094
370ca3d2
JM
42095 * version.h (RELEASE): Set to "development".
42096 (VERSION): Set to "2.16.90".
42097
ee9247c3
CD
420982012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
42099
42100 * NEWS: Update copyright. Remove last-updated date.
42101 Mention math library bug fixes and timezone data changes.
42102 * README: Mention GNU/Hurd, x32, and HPPA support status.
42103
4648c381
TS
421042012-06-28 Thomas Schwinge <thomas@codesourcery.com>
42105
42106 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
42107
aac78a43
AJ
421082012-06-27 Andreas Jaeger <aj@suse.de>
42109
42110 * manual/contrib.texi (Contributors): Add Samuel Thibault.
42111
ed3dbfad
AJ
421122012-06-25 Andreas Jaeger <aj@suse.de>
42113
42114 * sysdeps/s390/fpu/libm-test-ulps: Update.
42115
4d0ee855
AS
421162012-06-23 Andreas Schwab <schwab@linux-m68k.org>
42117 Thomas Schwinge <thomas@codesourcery.com>
42118
42119 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
42120 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
42121 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
42122 fanotify_mark.
42123
af1bce34
TS
421242012-06-23 Thomas Schwinge <thomas@codesourcery.com>
42125
a9fa33ba
TS
42126 * sysdeps/mach/start.c: Remove file.
42127 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
42128 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
42129 * sysdeps/sh/init-first.c: Likewise.
42130
58f902b8
TS
42131 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
42132 registers for frame unwinding purposes, add CFI directives.
42133 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
42134 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
42135 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
42136 Likewise.
42137
1518f58b
TS
42138 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
42139 __fortify_fail returning.
42140 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
42141
db9b5059
TS
42142 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
42143 sysdeps/sh/____longjmp_chk.S.
42144 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
42145 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
42146 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
42147 (gen-as-const-headers): Append sigaltstack-offsets.sym.
42148
967705fe
TS
42149 * sysdeps/sh/abort-instr.h: New file.
42150 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
42151 process in case exit returns.
42152
a9def8c4
TS
42153 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
42154 initialize the GOT register before use.
42155
2a649725
TS
42156 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
42157 calculation of ARGC > 4.
42158
af1bce34
TS
42159 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
42160 meaningful names to some local labels.
42161
d230f50a
KK
421622012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42163 Kaz Kojima <kkojima@rr.iij4u.or.jp>
42164
42165 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
42166 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
42167 (__arch_compare_and_exchange_val_16_acq): Likewise.
42168 (__arch_compare_and_exchange_val_32_acq): Likewise.
42169 (atomic_exchange_and_add): Fix gUSA sequence.
42170 (atomic_add): Likewise.
42171 (atomic_add_negative): Likewise.
42172 (atomic_add_zero): Likewise.
42173 (atomic_bit_test_set): Likewise.
42174
0479b305
AS
421752012-06-22 Andreas Schwab <schwab@redhat.com>
42176
42177 [BZ #13579]
42178 * include/link.h (struct link_map): Add l_free_initfini.
42179 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
42180 l_initfini.
42181 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
42182 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
42183 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
42184 set.
42185
0e3933b9
CD
421862012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
42187
42188 * configure.in: Use AC_LANG_SOURCE.
42189 * configure: Regenerate.
42190
4248b1b1
RM
421912012-06-22 Roland McGrath <roland@hack.frob.com>
42192
42193 * configure.in (libc_cv_localstatedir): New substituted variable.
42194 * configure: Regenerated.
42195 * config.make.in (localstatedir): New variable, substituted from
42196 libc_cv_localstatedir.
42197 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
42198 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
42199 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
42200 * sysdeps/gnu/configure: Regenerated.
42201
006dd861
JL
422022012-06-21 Jeff Law <law@redhat.com>
42203
42204 [BZ #14277]
42205 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
42206 free. Simplify list management for _LIBC case.
42207
79662d42
JM
422082012-06-21 Joseph Myers <joseph@codesourcery.com>
42209
b7abb4bf
JM
42210 [BZ #14273]
42211 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
42212 Clear sign bit of 64-bit integer value before comparing against
42213 overflow value.
42214
79662d42
JM
42215 * sysdeps/mach/configure: Regenerated.
42216
1f150908
L
422172012-06-21 H.J. Lu <hongjiu.lu@intel.com>
42218
42219 [BZ #14278]
42220 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
42221
28363bbf
JL
422222012-06-21 Jeff Law <law@redhat.com>
42223
42224 [BZ #13882]
42225 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
42226 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 42227 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
42228 * elf/dl-open.c (dl_open_worker): Likewise.
42229
09615db4
CD
422302012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
42231
42232 * scripts/list-sources.sh: Scan PORTS for translations.
42233 * po/libc.pot: Regenerated.
42234
2174c6dd
AJ
422352012-06-21 Andreas Jaeger <aj@suse.de>
42236
42237 [BZ #12194]
42238 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
42239 warning.
42240 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
42241 * bits/byteswap-16.h (__bswap_16): Likewise.
42242 * bits/byteswap.h (__bswap_constant_16): Likewise.
42243
3ee947b1
L
422442012-06-18 H.J. Lu <hongjiu.lu@intel.com>
42245
42246 [BZ #14117]
a2f34833
L
42247 * sysdeps/i386/fpu_control.h: Removed.
42248 * sysdeps/x86_64/fpu_control.h: Moved to ...
42249 * sysdeps/x86/fpu_control.h: Here.
42250
3ee947b1
L
42251 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
42252 (_FPU_SETCW): Likewise.
42253
ed1825f8
L
422542012-06-15 H.J. Lu <hongjiu.lu@intel.com>
42255
25f1282a
L
42256 [BZ #14117]
42257 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
42258 * sysdeps/x86/fpu/bits/mathinline.h: This.
42259 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
42260
ed1825f8
L
42261 [BZ #14050]
42262 [BZ #14117]
42263 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
42264 functions if __x86_64__ is defined.
42265
36d54b74
CLT
422662012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
42267
42268 * string/endian.h: Add !__ASSEMBLER__ condition for including
42269 conversion interfaces.
42270
10285c21
JM
422712012-06-15 Joseph Myers <joseph@codesourcery.com>
42272
42273 [BZ #14241]
42274 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
42275 of ABS(x) in calculating zero to negative powers other than odd
42276 integers.
42277 * math/libm-test.inc (pow_test): Add more tests.
42278
06c5abbd
AJ
422792012-06-15 Andreas Jaeger <aj@suse.de>
42280
42281 * manual/contrib.texi (Contributors): Update entry of Liubov
42282 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
42283 Machado Filho.
42284
a3aeac40
CH
422852012-06-15 Cyril Hrubis <metan@ucw.cz>
42286
42287 * string/string.h: Add __wur to GNU version of strerror_r.
42288
49bdf4c1
L
422892012-06-14 H.J. Lu <hongjiu.lu@intel.com>
42290
42291 [BZ #14229]
42292 * string/Makefile (tests): Add tst-strtok_r.
42293 * string/tst-strtok_r.c: New file.
42294 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
42295 RAX_LP/RDX_LP on SAVE_PTR.
42296
834f9b8d
RM
422972012-06-14 Roland McGrath <roland@hack.frob.com>
42298
42299 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
42300
75fa1921
JM
423012012-06-14 Joseph Myers <joseph@codesourcery.com>
42302
42303 * libm_test.inc (csqrt_test): Allow more spurious underflow
42304 exceptions.
42305 (j0_test): Likewise.
42306 (j1_test): Likewise.
42307 (y0_test): Likewise.
42308 (y1_test): Likewise.
42309
771766df
CD
423102012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
42311
42312 * po/Makefile (libc.pot): Use UTF-8 charset.
42313
ceb9e56b
PP
423142012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
42315
42316 [BZ #14210]
42317 Suppress sign-conversion warning from FD_SET.
42318 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
42319 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
42320 not unsigned long int.
42321 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
42322
ddb28975
L
423232012-06-12 H.J. Lu <hongjiu.lu@intel.com>
42324
42325 [BZ #14050]
42326 [BZ #14117]
42327 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
42328 __extern_always_inline instead of __extern_inline.
42329 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
42330 (__signbit): Likewise.
42331 (__signbitl): Support C++ namespace.
42332 (lrintf): New inline function.
42333 (lrint): Likewise.
42334 (llrintf): Likewise.
42335 (llrint): Likewise.
42336 (fmaxf): Likewise.
42337 (fmax): Likewise.
42338 (fminf): Likewise.
42339 (fmin): Likewise.
42340 (rint): Likewise.
42341 (rintf): Likewise.
42342 (ceil): Likewise.
42343 (ceilf): Likewise.
42344 (floor): Likewise.
42345 (floorf): Likewise.
42346 (nearbyint): Likewise.
42347 (nearbyintf): Likewise.
42348
d7b4fb26
TS
423492012-06-12 Thomas Schwinge <thomas@codesourcery.com>
42350
42351 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
42352 non-default versions.
42353
eb55f5c2
RM
423542012-06-11 Roland McGrath <roland@hack.frob.com>
42355
42356 [BZ #14218]
42357 * manual/argp.texi (Argp): Reword argp_parse description slightly.
42358
366af02c
TS
423592012-06-09 Thomas Schwinge <thomas@codesourcery.com>
42360
99ff6e5c
TS
42361 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
42362 (FE_UPWARD, FE_DOWNWARD): Don't define.
42363 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
42364 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
42365
366af02c
TS
42366 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
42367 reading it.
42368 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
42369 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
42370
793ea851
KK
423712012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
42372
42373 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
42374 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
42375 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
42376 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
42377
a728a38f
L
423782012-06-06 H.J. Lu <hongjiu.lu@intel.com>
42379
42380 [BZ #14117]
c08010c7
L
42381 * sysdeps/i386/fpu/bits/fenv.h: Removed.
42382 * sysdeps/i386/fpu/Implies: New file.
42383 * sysdeps/x86_64/fpu/Implies: Likewise.
42384 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
42385 * sysdeps/x86/fpu/bits/fenv.h: This.
42386
a728a38f
L
42387 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
42388 __SSE_MATH__.
42389
6e230d11
SP
423902012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
42391
42392 [BZ #14134]
42393 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
42394 character 0xffff that matches the last element of the
42395 conversion table.
42396
1b671feb
AZ
423972012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42398
42399 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
42400 fmodl commit.
42401
6043738b
AZ
424022012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42403
42404 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
42405 values higher than 25.6283.
42406
34ae0b32
AZ
424072012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42408
42409 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
42410 subnormal exponent extraction and add some __builtin_expect.
42411 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
42412 Fix for subnormal mantissa calculation.
42413
1214ec8f
MF
424142012-06-04 Mike Frysinger <vapier@gentoo.org>
42415
42416 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
42417 cpu2 is -1 and errno is not ENOSYS.
42418
f3d1f93c
L
424192012-06-04 H.J. Lu <hongjiu.lu@intel.com>
42420
42421 [BZ #14117]
0e4a3cd7
L
42422 * sysdeps/i386/i486/bits/string.h: Renamed to ...
42423 * sysdeps/x86/bits/string.h: This.
42424 * sysdeps/x86_64/bits/string.h: Removed.
42425
6704c645
L
42426 * sysdeps/i386/i486/bits/string.h: Define inline functions only
42427 if not compiling for x86-64, but compiling for >= i486.
42428
48495318
L
42429 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
42430 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
42431
14adcbfc
L
42432 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
42433 New macro from Linux kernel 3.4.0.
42434 (FP_XSTATE_MAGIC2): Likewise.
42435 (FP_XSTATE_MAGIC2_SIZE): Likewise.
42436 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
42437 (struct _fpx_sw_bytes): New struct.
42438 (struct _xsave_hdr): Likewise.
42439 (struct _ymmh_state): Likewise.
42440 (struct _xstate): Likewise.
42441
68e408ab
L
42442 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
42443 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
42444 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
42445 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
42446 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
42447 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
42448
f3d1f93c
L
42449 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
42450 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
42451 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
42452 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
42453 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
42454 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
42455
d9dc34cd
TMQMF
424562012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
42457
42458 [BZ #13743]
42459 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
42460 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
42461 (sysdep_headers): Include sys/platform/ppc.h.
42462 * sysdeps/powerpc/test-gettimebase.c: Test for
42463 __ppc_get_timebase() to catch future ISA opcode/insn changes.
42464 * manual/Makefile (appendices): Include platform.texi.
42465 * manual/contrib.texi (Contributors): Update @node pointers.
42466 * manual/maint.texi (Maintenance): Likewise.
42467 (Platform): New node.
42468 * manual/platform.texi: New file. Document the new features.
42469
4af3879c
SP
424702012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
42471 Jakub Jelinek <jakub@redhat.com>
42472
42473 [BZ #14188]
42474 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
42475 where __builtin_expect is unavailable.
42476
2fd6ff13
DM
424772012-06-03 David S. Miller <davem@davemloft.net>
42478
42479 * stdlib/longlong.h: Updated from GCC.
42480
173f7220
AS
424812012-06-02 Andreas Schwab <schwab@linux-m68k.org>
42482
42483 [BZ #14042]
42484 * sysdeps/powerpc/powerpc32/mcount.c: New file.
42485 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
42486 __mcount_internal.
42487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
42488 (GLIBC_2.16): Likewise.
42489
f34a1c6f
L
424902012-06-01 H.J. Lu <hongjiu.lu@intel.com>
42491
42492 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
42493
88a4576f
JM
424942012-06-01 Joseph Myers <joseph@codesourcery.com>
42495
ea32bcdd
JM
42496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
42497 (default-abi): New variable.
42498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
42499 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
42500 variable.
42501 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
42502 Likewise.
42503 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
42504 Likewise.
42505 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
42506 Likewise.
42507
88a4576f
JM
42508 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
42509 definition. Document in comment.
42510
402fe938
DM
425112012-06-01 David S. Miller <davem@davemloft.net>
42512
42513 * stdlib/longlong.h: Updated from GCC.
42514
3553723f
L
425152012-06-01 H.J. Lu <hongjiu.lu@intel.com>
42516
42517 [BZ #14117]
3bd872c4
L
42518 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
42519 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
42520 sys/debugreg.h sys/io.h here.
42521 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
42522 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
42523 sys/io.h.
42524 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
42525 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
42526 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
42527 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
42528 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
42529 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
42530
3553723f
L
42531 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
42532 Define only if __x86_64__ is defined.
42533
4842e4fe
JM
425342012-06-01 Joseph Myers <joseph@codesourcery.com>
42535
c5bfe3d5
JM
42536 [BZ #14048]
42537 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
42538 Use int64_t for variable i.
42539 * math/libm-test.inc (fmod_test): Add more tests.
42540
4842e4fe
JM
42541 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
42542 z computation is not scheduled after fetestexcept.
42543 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
42544 Use math_force_eval instead of asm to ensure calculation scheduled
42545 before exception test.
42546 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
42547 Ensure a1 + u.d computation is not scheduled after fetestexcept.
42548
efb73488
AJ
425492012-06-01 Aurelien Jarno <aurelien@aurel32.net>
42550
42551 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
42552 computation is not scheduled after fetestexcept.
42553
29bcce7c
L
425542012-06-01 H.J. Lu <hongjiu.lu@intel.com>
42555
42556 [BZ #14117]
42557 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
42558 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
42559
73a68f94
AZ
425602012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42561
42562 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
42563 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
42564
67b6df78
L
425652012-05-31 H.J. Lu <hongjiu.lu@intel.com>
42566
edf2933a 42567 [BZ #14117]
ebc64a18
L
42568 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
42569 <bits/wordsize.h>.
42570 (__WCHAR_MIN): Support __WORDSIZE == 64.
42571 (__WCHAR_MAX): Likewise.
42572
edf2933a
L
42573 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
42574 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
42575
57c6cf40
L
42576 [BZ #14183]
42577 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
42578 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
42579
67b6df78 42580 [BZ #14117]
8eb6281e
L
42581 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
42582 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
42583
aac639f4
L
42584 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
42585 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
42586
67b6df78
L
42587 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
42588 Defined to 1 if __x86_64__ isn't defined.
42589 (_STAT_VER_LINUX_OLD): New.
42590 (st_atime): Remove duplicate.
42591 (st_mtime): Likewise.
42592 (st_ctime): Likewise.
42593
1c2cfe81
DM
425942012-05-31 David S. Miller <davem@davemloft.net>
42595
42596 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
42597 entries.
42598
5be8418c
AS
425992012-06-01 Andreas Schwab <schwab@linux-m68k.org>
42600
e7725326
AS
42601 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
42602 gen-libm-test.pl.
42603
5be8418c
AS
42604 [BZ #14132]
42605 * elf/dl-reloc.c: Include <_itoa.h>.
42606 (_dl_reloc_bad_type): Remove use of INTUSE.
42607 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
42608 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
42609 * stdio-common/psiginfo.c (psiginfo): Likewise.
42610 * stdio-common/psignal.c (psignal): Likewise.
42611 * string/strsignal.c (strsignal): Likewise.
42612 * include/signal.h (_sys_siglist): Declare hidden proto.
42613 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
42614 INTVARDEF with libc_hidden_data_def.
42615 * stdio-common/itoa-udigits.c: Likewise.
42616 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
42617 (_itoa_lower_digits_internal): Remove declaration.
42618 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
42619 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
42620 (_sys_sigabbrev_internal): Remove aliases.
42621 (_sys_siglist): Define hidden alias.
42622
507352f1
MT
426232012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
42624
42625 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42626 bits/sysctl.h.
42627
42bbb1c3
L
426282012-05-31 H.J. Lu <hongjiu.lu@intel.com>
42629
42630 [BZ #14117]
6bd784b6
L
42631 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
42632 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
42633
8bca20f0
L
42634 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
42635 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
42636 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
42637 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
42638 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
42639 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
42640
f9e890a9
L
42641 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
42642 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
42643 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
42644
471101a1
L
42645 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
42646 with __addr.
42647 (insw): Likewise.
42648 (insl): Likewise.
42649 (outsb): Likewise.
42650 (outsw): Likewise.
42651 (outsl): Likewise.
42652
6451c862
L
42653 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
42654 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
42655 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
42656
a254b8c9
L
42657 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
42658 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
42659 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
42660 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
42661 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
42662 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
42663
b8dfdd92
L
42664 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
42665 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
42666
578cd270
L
42667 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
42668 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
42669
de662f5f
L
42670 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
42671 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
42672 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
42673
25653439
L
42674 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
42675 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
42676 to ...
42677 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
42678
6bad24a0
L
42679 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
42680 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
42681 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
42682
42bbb1c3
L
42683 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
42684 for x86-64.
42685 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
42686
2d10d547
JM
426872012-05-31 Joseph Myers <joseph@codesourcery.com>
42688
42689 * math/math.h (M_El): Use two more decimal places.
42690 (M_LOG2El): Likewise.
42691 (M_LOG10El): Likewise.
42692 (M_LN2l): Likewise.
42693 (M_LN10l): Likewise.
42694 (M_PIl): Likewise.
42695 (M_PI_2l): Likewise.
42696 (M_PI_4l): Likewise.
42697 (M_1_PIl): Likewise.
42698 (M_2_PIl): Likewise.
42699 (M_2_SQRTPIl): Likewise.
42700 (M_SQRT2l): Likewise.
42701 (M_SQRT1_2l): Likewise.
42702
f230c29b
DM
427032012-05-31 David S. Miller <davem@davemloft.net>
42704
42705 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
42706 values between float registers.
42707 * sysdeps/sparc/sparc64/memset.S: Likewise.
42708 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
42709
fed806c3
MF
427102012-05-31 Mike Frysinger <vapier@gentoo.org>
42711
42712 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
42713 -D_FORTIFY_SOURCE=1.
42714 (CPPFLAGS-tst-longjmp_chk.c): Define.
42715 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
42716 (CPPFLAGS-tst-longjmp_chk2.c): Define.
42717 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
42718 CFLAGS-tst-wchar-h.c.
42719
30917259
MP
427202012-05-31 Marek Polacek <polacek@redhat.com>
42721
42722 [BZ #14132]
42723 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
42724 __endmntent_internal): Remove declaration.
42725 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
42726 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
42727 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
42728
1c58d5dc
DM
427292012-05-30 David S. Miller <davem@davemloft.net>
42730
42731 * sysdeps/sparc/sparc32/soft-fp/q_util.c
42732 (___Q_simulate_exceptions): Use real FP ops rather than writing
42733 into the %fsr.
42734 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
42735 Likewise.
42736
7dc00e0d
L
427372012-05-30 H.J. Lu <hongjiu.lu@intel.com>
42738
42739 [BZ #14117]
0bd53985
L
42740 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
42741 * sysdeps/x86/bits/xtitypes.h: This.
42742
3a257e66
L
42743 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
42744 * sysdeps/x86/bits/wordsize.h: This.
42745
62f62904
L
42746 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
42747 * sysdeps/x86/bits/huge_vall.h: This.
42748
404fe9d9
L
42749 * sysdeps/i386/bits/select.h: Removed.
42750 * sysdeps/x86_64/bits/select.h: Renamed to ...
42751 * sysdeps/x86/bits/select.h: This.
42752
d48d0446
L
42753 * sysdeps/i386/bits/setjmp.h: Removed.
42754 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
42755 * sysdeps/x86/bits/setjmp.h: This.
42756
7dc00e0d
L
42757 * sysdeps/i386/bits/mathdef.h: Removed.
42758 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
42759 * sysdeps/x86/bits/mathdef.h: This.
42760
03277f8f
AS
427612012-05-30 Andreas Schwab <schwab@linux-m68k.org>
42762
42763 [BZ #14132]
42764 * include/sys/socket.h (__connect_internal)
42765 (__libc_sa_len_internal): Remove declaration.
42766 (__connect, __libc_sa_len): Declare hidden_proto.
42767 (SA_LEN): Remove use of INTUSE.
42768 * socket/connect.c: Add libc_hidden_def.
42769 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
42770 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
42771 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
42772 alias.
42773 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
42774 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
42775 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
42776 of adding _internal alias.
42777
13764867
L
427782012-05-30 H.J. Lu <hongjiu.lu@intel.com>
42779
42780 [BZ #14117]
6bd97696
L
42781 * sysdeps/i386/bits/link.h: Removed.
42782 * sysdeps/i386/bits/linkmap.h: Likewise.
42783 * sysdeps/x86_64/bits/link.h: Renamed to ...
42784 * sysdeps/x86/bits/link.h: This.
42785 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
42786 * sysdeps/x86/bits/linkmap.h: This.
42787
f726f0bb
L
42788 * sysdeps/i386/bits/endian.h: Removed.
42789 * sysdeps/x86_64/bits/endian.h: Renamed to ...
42790 * sysdeps/x86/bits/endian.h: This.
42791
13764867
L
42792 * sysdeps/i386/bits/byteswap.h: Removed.
42793 * sysdeps/i386/bits/byteswap-16.h: Likewise.
42794 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
42795 * sysdeps/x86/bits/byteswap.h: This.
42796 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
42797 * sysdeps/x86/bits/byteswap-16.h: This.
42798 * sysdeps/i386/Implies: Add x86.
42799 * sysdeps/x86_64/Implies: Likewise.
42800
ae251b0b
DM
428012012-05-30 David S. Miller <davem@davemloft.net>
42802
42803 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
42804 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
42805 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
42806 (FP_TRAPPING_EXCEPTIONS): Define.
42807 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
42808 (FP_TRAPPING_EXCEPTIONS): Define.
42809 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
42810 subnormals only when inexact has been signalled or underflow
42811 exceptions are enabled.
42812 (_FP_PACK_CANONICAL): Likewise.
42813
d5c90867
L
428142012-05-30 H.J. Lu <hongjiu.lu@intel.com>
42815
42816 [BZ #14183]
42817 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
42818 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
42819
63f1549e
RH
428202012-05-30 Richard Henderson <rth@twiddle.net>
42821
8d8f2279
RH
42822 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
42823 with #ifndef NOT_IN_libc.
42824
63f1549e
RH
42825 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
42826 marked to avoid plt entry.
42827
0ab0291b
L
428282012-05-30 H.J. Lu <hongjiu.lu@intel.com>
42829
42830 [BZ #14112]
42831 * Makeconfig (default-abi): New macro.
42832 (abi-includes): Likewise.
42833 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
42834 $(abi-$(default-abi)-lib-soname) for soname if defined.
42835 ($(common-objpfx)gnu/lib-names.stmp): Generate from
42836 abi-variants.
42837 * Makefile (installed-stubs): Likewise.
42838 * include/stubs-biarch.h: Removed.
42839 * scripts/lib-names.awk: Only handle one library at a time.
42840 * scripts/soversions.awk: Remove WORDSIZE support.
42841 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
42842 entries.
42843 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
42844 Removed.
42845 (syscall-list-default-condition): Likewise.
42846 (syscall-list-default-condition): Likewise.
42847 (syscall-list-includes): Likewise.
42848 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
42849 syscall-list-* with abi-*. Handle undefined abi-variants.
42850 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
42851 * sysdeps/unix/sysv/linux/i386/Implies: New file.
42852 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
42853 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
42854 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
42855 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
42856 Removed.
42857 (syscall-list-32-options): Likewise.
42858 (syscall-list-32-condition): Likewise.
42859 (syscall-list-64-options): Likewise.
42860 (syscall-list-64-condition): Likewise.
42861 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
42862 macro.
42863 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
42864 Renamed to ...
42865 (abi-*): This.
42866 (abi-64-ld-soname): New macro.
42867 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
42868 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
42869 Renamed to ...
42870 (abi-*): This.
42871 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
42872 * sysdeps/x86_64/x32/shlib-versions: Likewise.
42873
4da0431d
JM
428742012-05-30 Joseph Myers <joseph@codesourcery.com>
42875
3a85279c
JM
42876 * sysdeps/unix/sysv/linux/kernel-features.h
42877 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
42878 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
42879 include <kernel-features.h>.
42880 [!__NR_ftruncate64]: Remove conditional code.
42881 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42882 [__NR_ftruncate64]: Make code unconditional.
42883 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42884 * sysdeps/unix/sysv/linux/truncate64.c: Do not
42885 include <kernel-features.h>.
42886 [!__NR_ftruncate64]: Remove conditional code.
42887 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42888 [__NR_ftruncate64]: Make code unconditional.
42889 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
42891 include <kernel-features.h>.
42892 [!__NR_ftruncate64]: Remove conditional code.
42893 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42894 [__NR_ftruncate64]: Make code unconditional.
42895 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
42897 include <kernel-features.h>.
42898 [!__NR_ftruncate64]: Remove conditional code.
42899 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42900 [__NR_ftruncate64]: Make code unconditional.
42901 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42902
4da0431d
JM
42903 * configure.in (libc_cv_fpie): Weaken to a compile test using
42904 LIBC_TRY_CC_OPTION.
42905 * configure: Regenerated.
42906
11ef492c
AK
429072012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42908
42909 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
42910 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
42911 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
42912 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
42913 Refreshed.
42914 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
42915 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
42916 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
42917 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
42918 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
42919 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
42920 Refreshed.
42921
d66ef399
DM
429222012-05-27 David S. Miller <davem@davemloft.net>
42923
42924 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
42925 (___Q_zero): New.
42926 (__Q_simulate_exceptions): Return void. Change to simulate
42927 exceptions by writing into the %fsr.
42928 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
42929 (__Qp_handle_exceptions): Likewise.
42930 (numbers): Delete.
42931 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
42932 __Qp_handle_exceptions.
42933 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
42934 __Qp_handle_exceptions.
42935 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
42936 as unused and give dummy FP_RND_NEAREST initializer.
42937 (FP_INHIBIT_RESULTS): Define.
42938 (___Q_simulate_exceptions): Update declaration.
42939 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
42940 formatting.
42941 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
42942 as unused and give dummy FP_RND_NEAREST initializer.
42943 (__Qp_handle_exceptions): Update declaration.
42944 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
42945 formatting.
42946
04fb54b5
TS
429472012-05-27 Thomas Schwinge <thomas@codesourcery.com>
42948
42949 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
42950 the temporary FPU control word.
42951 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
42952 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
42953 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
42954 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
42955 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
42956 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
42957 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
42958 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
42959 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
42960 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
42961 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
42962
3f99608f
KK
429632012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
42964
42965 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
42966 fields.
42967
65a4de4e
CLT
429682012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
42969
42970 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
42971 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
42972 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
42973 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
42974 Likewise.
42975 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
42976 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
42977 Likewise.
42978
15749d40
UD
429792012-05-27 Ulrich Drepper <drepper@gmail.com>
42980
42981 * po/h.po: Update from translation team.
42982
25dbcb27
AS
429832012-05-26 Andreas Schwab <schwab@linux-m68k.org>
42984
3d3f8e55
AS
42985 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
42986
25dbcb27
AS
42987 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
42988 handling of denormals.
42989 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
42990 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
42991 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
42992 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
42993 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
42994 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
42995 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
42996 Likewise.
42997
7ad47a80 429982012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
42999
43000 [BZ #14152]
43001 * math/libm-test.inc (fma_test): Don't always expect underflow
43002 exception.
43003
9c6ea9fa
SP
430042012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
43005
43006 [BZ #12416]
43007 * elf/tst-execstack.c: Include stackinfo.h.
43008 (do_test): Adjust test case to ensure that pthread_getattr_np
43009 behaviour remains the same after marking stack executable.
43010
a8239222
JM
430112012-05-25 Joseph Myers <joseph@codesourcery.com>
43012
43013 * sysdeps/unix/sysv/linux/kernel-features.h
43014 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
43015 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
43016 kernel-features.h.
43017 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
43018 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
43019 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
43020 kernel-features.h.
43021 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
43022 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
43023
918b5606
L
430242012-05-25 H.J. Lu <hongjiu.lu@intel.com>
43025
43026 * configure.in: Define the default includes to being none.
43027 * configure: Regenerated.
43028
3a097cc7
RM
430292012-05-25 Roland McGrath <roland@hack.frob.com>
43030
8422c9a5
RM
43031 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
43032 * sysdeps/x86_64/setjmp.S: Likewise.
43033 * sysdeps/i386/bsd-setjmp.S: Likewise.
43034 * sysdeps/i386/bsd-_setjmp.S: Likewise.
43035 * sysdeps/i386/setjmp.S: Likewise.
43036 * sysdeps/i386/__longjmp.S: Likewise.
43037 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
43038 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
43039
3a097cc7
RM
43040 * include/stap-probe.h: New file.
43041 * configure.in: Handle --enable-systemtap.
43042 * configure: Regenerated.
43043 * config.h.in (USE_STAP_PROBE): New #undef.
43044 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
43045 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
43046 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
43047
21708942
JM
430482012-05-25 Joseph Myers <joseph@codesourcery.com>
43049
43050 [BZ #13717]
43051 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
43052 to 2.4.0 where earlier.
43053 * sysdeps/unix/sysv/linux/configure: Regenerated.
43054 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
43055 <kernel-features.h>.
43056 [__ASSUME_32BITUIDS]: Make code unconditional.
43057 [!__ASSUME_32BITUIDS]: Remove conditional code.
43058 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
43059 <kernel-features.h>.
43060 [__ASSUME_32BITUIDS]: Make code unconditional.
43061 [!__ASSUME_32BITUIDS]: Remove conditional code.
43062 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
43063 [__ASSUME_32BITUIDS]: Make code unconditional.
43064 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
43065 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
43066 <kernel-features.h>.
43067 [__ASSUME_32BITUIDS]: Make code unconditional.
43068 [!__ASSUME_32BITUIDS]: Remove conditional code.
43069 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
43070 <kernel-features.h>.
43071 [__ASSUME_32BITUIDS]: Make code unconditional.
43072 [!__ASSUME_32BITUIDS]: Remove conditional code.
43073 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
43074 <kernel-features.h>.
43075 [__ASSUME_32BITUIDS]: Make code unconditional.
43076 [!__ASSUME_32BITUIDS]: Remove conditional code.
43077 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
43078 <kernel-features.h>.
43079 [__ASSUME_32BITUIDS]: Make code unconditional.
43080 [!__ASSUME_32BITUIDS]: Remove conditional code.
43081 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
43082 <kernel-features.h>.
43083 [__ASSUME_32BITUIDS]: Make code unconditional.
43084 [!__ASSUME_32BITUIDS]: Remove conditional code.
43085 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
43086 <kernel-features.h>.
43087 [__ASSUME_32BITUIDS]: Make code unconditional.
43088 [!__ASSUME_32BITUIDS]: Remove conditional code.
43089 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
43090 <kernel-features.h>.
43091 [__ASSUME_32BITUIDS]: Make code unconditional.
43092 [!__ASSUME_32BITUIDS]: Remove conditional code.
43093 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
43094 <kernel-features.h>.
43095 [__ASSUME_32BITUIDS]: Make code unconditional.
43096 [!__ASSUME_32BITUIDS]: Remove conditional code.
43097 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
43098 <kernel-features.h>.
43099 [__ASSUME_32BITUIDS]: Make code unconditional.
43100 [!__ASSUME_32BITUIDS]: Remove conditional code.
43101 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
43102 <kernel-features.h>.
43103 [__ASSUME_32BITUIDS]: Make code unconditional.
43104 [!__ASSUME_32BITUIDS]: Remove conditional code.
43105 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
43106 <kernel-features.h>.
43107 [__NR_setresgid] (__setresgid): Do not declare.
43108 [__ASSUME_32BITUIDS]: Make code unconditional.
43109 [!__ASSUME_32BITUIDS]: Remove conditional code.
43110 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
43111 <kernel-features.h>.
43112 [__NR_setresuid] (__setresuid): Do not declare.
43113 [__ASSUME_32BITUIDS]: Make code unconditional.
43114 [!__ASSUME_32BITUIDS]: Remove conditional code.
43115 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
43116 <kernel-features.h>.
43117 [__ASSUME_32BITUIDS]: Make code unconditional.
43118 [!__ASSUME_32BITUIDS]: Remove conditional code.
43119 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
43120 <kernel-features.h>.
43121 [__ASSUME_32BITUIDS]: Make code unconditional.
43122 [!__ASSUME_32BITUIDS]: Remove conditional code.
43123 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
43124 <kernel-features.h>.
43125 [__ASSUME_32BITUIDS]: Make code unconditional.
43126 [!__ASSUME_32BITUIDS]: Remove conditional code.
43127 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
43128 <kernel-features.h>.
43129 [__ASSUME_32BITUIDS]: Make code unconditional.
43130 [!__ASSUME_32BITUIDS]: Remove conditional code.
43131 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
43132 <kernel-features.h>.
43133 [__ASSUME_32BITUIDS]: Make code unconditional.
43134 [!__ASSUME_32BITUIDS]: Remove conditional code.
43135 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
43136 <kernel-features.h>.
43137 [__ASSUME_32BITUIDS]: Make code unconditional.
43138 [!__ASSUME_32BITUIDS]: Remove conditional code.
43139 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
43140 <kernel-features.h>.
43141 [__ASSUME_32BITUIDS]: Make code unconditional.
43142 [!__ASSUME_32BITUIDS]: Remove conditional code.
43143 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
43144 <kernel-features.h>.
43145 [__ASSUME_32BITUIDS]: Make code unconditional.
43146 [!__ASSUME_32BITUIDS]: Remove conditional code.
43147 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
43148 <kernel-features.h>.
43149 [__ASSUME_32BITUIDS]: Make code unconditional.
43150 [!__ASSUME_32BITUIDS]: Remove conditional code.
43151 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
43152 <kernel-features.h>.
43153 [__ASSUME_32BITUIDS]: Make code unconditional.
43154 [!__ASSUME_32BITUIDS]: Remove conditional code.
43155 * sysdeps/unix/sysv/linux/kernel-features.h
43156 (__ASSUME_SETRESUID_SYSCALL): Remove.
43157 (__ASSUME_SETRESGID_SYSCALL): Likewise.
43158 (__ASSUME_32BITUIDS): Likewise.
43159 (__ASSUME_LDT_WORKS): Likewise.
43160 (__ASSUME_O_DIRECTORY): Likewise.
43161 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
43162 architecture but not kernel version.
43163 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
43164 (__ASSUME_MMAP2_SYSCALL): Likewise.
43165 (__ASSUME_STAT64_SYSCALL): Likewise.
43166 (__ASSUME_IPC64): Likewise.
43167 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
43168 <kernel-features.h>.
43169 [__ASSUME_32BITUIDS]: Make code unconditional.
43170 [!__ASSUME_32BITUIDS]: Remove conditional code.
43171 * sysdeps/unix/sysv/linux/opendir.c: Do not include
43172 <kernel-features.h>.
43173 [__ASSUME_O_DIRECTORY]: Make code unconditional.
43174 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
43175 132096]: Remove conditional code.
43176 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
43177 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
43178 <kernel-features.h>.
43179 [__ASSUME_32BITUIDS]: Make code unconditional.
43180 [!__ASSUME_32BITUIDS]: Remove conditional code.
43181 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
43182 <kernel-features.h>.
43183 [__ASSUME_32BITUIDS]: Make code unconditional.
43184 [!__ASSUME_32BITUIDS]: Remove conditional code.
43185 * sysdeps/unix/sysv/linux/setegid.c: Do not include
43186 <kernel-features.h>.
43187 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
43188 unconditional.
43189 (__setresgid): Do not declare.
43190 [__ASSUME_32BITUIDS]: Make code unconditional.
43191 [!__ASSUME_32BITUIDS]: Remove conditional code.
43192 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
43193 <kernel-features.h>.
43194 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
43195 unconditional.
43196 (__setresuid): Do not declare.
43197 [__ASSUME_32BITUIDS]: Make code unconditional.
43198 [!__ASSUME_32BITUIDS]: Remove conditional code.
43199 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
43200 <kernel-features.h>.
43201 [__ASSUME_32BITUIDS]: Make code unconditional.
43202 [!__ASSUME_32BITUIDS]: Remove conditional code.
43203 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
43204 <kernel-features.h>.
43205 [__ASSUME_32BITUIDS]: Make code unconditional.
43206 [!__ASSUME_32BITUIDS]: Remove conditional code.
43207
a386f1cc
RH
432082012-05-25 Richard Henderson <rth@twiddle.net>
43209
43210 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
43211 dl_hwcap to ifunc resolver.
43212 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
43213 elf_ifunc_invoke.
43214 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
43215 dl_hwcap to ifunc resolver.
43216 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
43217
b6550497
JM
432182012-05-24 Joseph Myers <joseph@codesourcery.com>
43219
43220 [BZ #14153]
43221 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
43222 for |x| <= 2**-26, not 2**-57.
43223 * math/libm-test.inc (acos_test): Do not allow spurious underflow
43224 exception.
43225
b0bc23a1
JL
432262012-05-24 Jeff Law <law@redhat.com>
43227
43228 * stdio-common/Makefile (tests): Add bug25.
43229 * stdio-common/bug25.c: New test.
43230
347c92e9
L
432312012-05-24 H.J. Lu <hongjiu.lu@intel.com>
43232
43233 [BZ #13576]
43234 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
43235 multiple of MALLOC_ALIGNMENT in size.
43236 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
43237
6bcc8b3f
JM
432382012-05-24 Joseph Myers <joseph@codesourcery.com>
43239
43240 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
43241 Require >= 256.
43242 (FILENAME_MAX): Use macro-int-constant.
43243 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
43244 (_IOFBF): Use macro-int-constant.
43245 (_IOLBF): Likewise.
43246 (_IONBF): Likewise.
43247 (SEEK_CUR): Likewise.
43248 (SEEK_END): Likewise.
43249 (SEEK_SET): Likewise.
43250 (TMP_MAX): Likewise.
43251 (EOF): Use macro-int-constant. Require < 0.
43252 (NULL): Use macro-constant. Require == 0.
43253 (stdin): Require type to be FILE *.
43254 (stdout): Likewise.
43255 (stderr): Likewise.
43256 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
43257 macro-int-constant.
43258 (EXIT_SUCCESS): Likewise.
43259 (NULL): Use macro-constant. Require == 0.
43260 (RAND_MAX): Use macro-int-constant.
43261 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
43262 [C99-based standards] (strtof): Require function.
43263 [C99-based standards] (strtold): Likewise.
43264 [C99-based standards] (strtoll): Likewise.
43265 [C99-based standards] (strtoull): Likewise.
43266 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
43267 [ISO || ISO99 || ISO11] (limits.h): Likewise.
43268 [ISO || ISO99 || ISO11] (math.h): Likewise.
43269 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
43270 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
43271 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43272
d18ea0c5
AS
432732012-05-24 Andreas Schwab <schwab@linux-m68k.org>
43274
43275 [BZ #14132]
56d25bb8
AS
43276 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
43277 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
43278 * intl/dgettext.c (DCGETTEXT): Likewise.
43279 * intl/gettext.c (DCGETTEXT): Likewise.
43280 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
43281 * posix/regex_internal.h (gettext): Likewise.
43282 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
43283 Remove declaration.
43284 * include/argz.h (__argz_count_internal)
43285 (__argz_stringify_internal): Remove declaration.
43286 (__argz_count, __argz_stringify): Declare hidden proto.
43287 * intl/dcgettext.c: Remove use of INTDEF.
43288 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
43289 * string/argz-stringify.c: Likewise.
43290 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
43291 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
43292 Declare hidden proto.
d18ea0c5
AS
43293 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
43294 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
43295 Declare hidden proto.
43296 * include/stdio.h (__asprintf_internal): Don't declare.
43297 (__asprintf): Don't define as macro. Declare hidden proto.
43298 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
43299 (__fsetlocking): Declare hidden proto.
43300 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
43301 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
43302 hidden proto.
43303 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
43304 (_IO_setlinebuf): Remove use of INTUSE.
43305 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
43306 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
43307 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
43308 Remove declaration.
43309 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
43310 (_IO_do_flush): Remove use of INTUSE.
43311 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
43312 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
43313 (_IO_adjust_column, _IO_least_wmarker)
43314 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
43315 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
43316 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
43317 (_IO_default_doallocate, _IO_wdefault_doallocate)
43318 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
43319 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
43320 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
43321 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
43322 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
43323 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
43324 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
43325 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
43326 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
43327 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
43328 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
43329 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
43330 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
43331 proto.
43332 (_IO_flush_all_internal, _IO_adjust_column_internal)
43333 (_IO_default_uflow_internal, _IO_default_finish_internal)
43334 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
43335 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
43336 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
43337 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
43338 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
43339 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
43340 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
43341 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
43342 (_IO_file_close_internal, _IO_file_close_it_internal)
43343 (_IO_file_underflow_internal, _IO_file_overflow_internal)
43344 (_IO_file_init_internal, _IO_file_attach_internal)
43345 (_IO_file_fopen_internal, _IO_file_read_internal)
43346 (_IO_file_sync_internal, _IO_file_seek_internal)
43347 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
43348 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
43349 (_IO_str_underflow_internal, _IO_str_overflow_internal)
43350 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
43351 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
43352 (_IO_list_all_internal, _IO_link_in_internal)
43353 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
43354 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
43355 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
43356 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
43357 (_IO_do_write_internal, _IO_padn_internal)
43358 (_IO_getline_info_internal, _IO_getline_internal)
43359 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
43360 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
43361 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
43362 (_IO_vfscanf_internal, _IO_vfprintf_internal)
43363 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
43364 (_IO_init_internal, _IO_un_link_internal): Don't declare.
43365 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
43366 with libc_hidden_ver, remove use of INTUSE.
43367 * libio/genops.c: Likewise.
43368 * libio/freopen.c: Likewise.
43369 * libio/freopen64.c: Likewise.
43370 * libio/iofclose.c: Likewise.
43371 * libio/iofdopen.c: Likewise.
43372 * libio/iofflush.c: Likewise.
43373 * libio/iofflush_u.c: Likewise.
43374 * libio/iofgets.c: Likewise.
43375 * libio/iofgets_u.c: Likewise.
43376 * libio/iofopen.c: Likewise.
43377 * libio/iofopncook.c: Likewise.
43378 * libio/iofread.c: Likewise.
43379 * libio/iofread_u.c: Likewise.
43380 * libio/ioftell.c: Likewise.
43381 * libio/iofwrite.c: Likewise.
43382 * libio/iogetline.c: Likewise.
43383 * libio/iogets.c: Likewise.
43384 * libio/iogetwline.c: Likewise.
43385 * libio/iopadn.c: Likewise.
43386 * libio/iopopen.c: Likewise.
43387 * libio/ioseekoff.c: Likewise.
43388 * libio/ioseekpos.c: Likewise.
43389 * libio/iosetbuffer.c: Likewise.
43390 * libio/iosetvbuf.c: Likewise.
43391 * libio/ioungetc.c: Likewise.
43392 * libio/ioungetwc.c: Likewise.
43393 * libio/iovdprintf.c: Likewise.
43394 * libio/iovsprintf.c: Likewise.
43395 * libio/iovsscanf.c: Likewise.
43396 * libio/memstream.c: Likewise.
43397 * libio/obprintf.c: Likewise.
43398 * libio/oldfileops.c: Likewise.
43399 * libio/oldiofclose.c: Likewise.
43400 * libio/oldiofdopen.c: Likewise.
43401 * libio/oldiofopen.c: Likewise.
43402 * libio/oldiopopen.c: Likewise.
43403 * libio/oldstdfiles.c: Likewise.
43404 * libio/putc.c: Likewise.
43405 * libio/setbuf.c: Likewise.
43406 * libio/setlinebuf.c: Likewise.
43407 * libio/stdfiles.c: Likewise.
43408 * libio/strops.c: Likewise.
43409 * libio/vasprintf.c: Likewise.
43410 * libio/vscanf.c: Likewise.
43411 * libio/vsnprintf.c: Likewise.
43412 * libio/vswprintf.c: Likewise.
43413 * libio/wfiledoalloc.c: Likewise.
43414 * libio/wfileops.c: Likewise.
43415 * libio/wgenops.c: Likewise.
43416 * libio/wmemstream.c: Likewise.
43417 * libio/wstrops.c: Likewise.
43418 * libio/__fpurge.c: Likewise.
43419 * libio/__fsetlocking.c: Likewise.
43420 * assert/assert.c: Likewise.
43421 * debug/fgets_chk.c: Likewise.
43422 * debug/fgets_u_chk.c: Likewise.
43423 * debug/fread_chk.c: Likewise.
43424 * debug/fread_u_chk.c: Likewise.
43425 * debug/gets_chk.c: Likewise.
43426 * debug/obprintf_chk.c: Likewise.
43427 * debug/vasprintf_chk.c: Likewise.
43428 * debug/vdprintf_chk.c: Likewise.
43429 * debug/vsnprintf_chk.c: Likewise.
43430 * debug/vsprintf_chk.c: Likewise.
43431 * malloc/mtrace.c: Likewise.
43432 * misc/error.c: Likewise.
43433 * misc/syslog.c: Likewise.
43434 * stdio-common/asprintf.c: Likewise.
43435 * stdio-common/fxprintf.c: Likewise.
43436 * stdio-common/getw.c: Likewise.
43437 * stdio-common/isoc99_fscanf.c: Likewise.
43438 * stdio-common/isoc99_scanf.c: Likewise.
43439 * stdio-common/isoc99_vfscanf.c: Likewise.
43440 * stdio-common/isoc99_vscanf.c: Likewise.
43441 * stdio-common/isoc99_vsscanf.c: Likewise.
43442 * stdio-common/printf-prs.c: Likewise.
43443 * stdio-common/printf_fp.c: Likewise.
43444 * stdio-common/printf_fphex.c: Likewise.
43445 * stdio-common/printf_size.c: Likewise.
43446 * stdio-common/putw.c: Likewise.
43447 * stdio-common/scanf.c: Likewise.
43448 * stdio-common/sprintf.c: Likewise.
43449 * stdio-common/tmpfile.c: Likewise.
43450 * stdio-common/vfprintf.c: Likewise.
43451 * stdio-common/vfscanf.c: Likewise.
43452 * stdlib/strfmon_l.c: Likewise.
43453 * sunrpc/openchild.c: Likewise.
43454 * sunrpc/xdr_stdio.c: Likewise.
43455 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
43456 * sysdeps/mach/hurd/tmpfile.c: Likewise.
43457
d6c33fda
RM
434582012-05-24 Roland McGrath <roland@hack.frob.com>
43459
c1487492
RM
43460 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
43461
43462 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
43463 in the third column, to generate for the shared library an IFUNC
43464 that uses _dl_vdso_vsym.
43465 * Makerules (COMPILE.c, compile-stdin.c): New variables.
43466 * Makeconfig (object-suffixes-noshared): New variable.
43467
43468 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
43469 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
43470 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
43471 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
43472
d6c33fda
RM
43473 [BZ #14132]
43474 * include/sys/time.h (__gettimeofday): Remove macro.
43475 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
43476 * time/gettimeofday.c (__gettimeofday): Remove #undef.
43477 Remove INTDEF.
43478 (__gettimeofday): Add libc_hidden_def.
43479 (gettimeofday): Add libc_hidden_weak.
43480 * sysdeps/mach/gettimeofday.c: Likewise.
43481 * sysdeps/posix/gettimeofday.c: Likewise.
43482 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
43483 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
43484 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
43485 (__gettimeofday_internal): Remove strong_alias.
43486 (__gettimeofday): Add libc_hidden_def.
43487 (gettimeofday): Add libc_hidden_weak.
43488 * sysdeps/unix/syscalls.list (gettimeofday):
43489 Remove __gettimeofday_internal alias.
43490
b5a2bbe6
L
434912012-05-24 Daniel Jacobowitz <drow@false.org>
43492 H.J. Lu <hongjiu.lu@intel.com>
43493
43494 [BZ #12495]
43495 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
43496 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
43497 (largebin_index_32_big): New.
43498 (largebin_index): Use it for 16-byte alignment.
43499 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
43500 correction with front_misalign.
43501
cfba4fda
L
435022012-05-24 H.J. Lu <hongjiu.lu@intel.com>
43503
7f907421
L
43504 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
43505 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
43506 Likewise.
43507 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
43508 Likewise.
43509 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
43510 Likewise.
43511 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
43512 Likewise.
43513 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
43514 Likewise.
43515 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
43516 Likewise.
43517 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
43518 Likewise.
43519 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
43520 Likewise.
43521 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
43522 Likewise.
43523 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
43524 Likewise.
43525 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
43526 Likewise.
43527 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
43528 Likewise.
43529
cfba4fda
L
43530 * scripts/data/c++-types-x32-linux-gnu.data: New file.
43531 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
43532
80bad0cc
JM
435332012-05-24 Joseph Myers <joseph@codesourcery.com>
43534
7a25eb06
JM
43535 [BZ #10846]
43536 [BZ #14036]
43537 * math/libm-test.inc (exp_test): Add test from bug 14036.
43538 (pow_test): Add test from bug 10846.
43539
795405f9
JM
43540 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
43541 and other flags.
43542 (special_function): Do not include flags in test name.
43543 (parse_args): Likewise.
43544 * sysdeps/i386/fpu/libm-test-ulps: Update.
43545 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
43546 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
43547 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
43548 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43549
80bad0cc
JM
43550 * math/gen-libm-test.pl (%beautify): Add entries for underflow
43551 exceptions.
43552 * math/libm-test.inc ("Philosophy"): Update comment about
43553 exception testing.
43554 (UNDERFLOW_EXCEPTION): New macro.
43555 (UNDERFLOW_EXCEPTION_OK): Likewise.
43556 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
43557 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
43558 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
43559 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
43560 (INVALID_EXCEPTION_OK): Update value.
43561 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
43562 (OVERFLOW_EXCEPTION_OK): Likewise.
43563 (IGNORE_ZERO_INF_SIGN): Likewise.
43564 (test_exceptions): Handle underflow exceptions.
43565 (acos_test): Update for underflow exception expectations.
43566 (cexp_test): Likewise.
43567 (clog_test): Likewise.
43568 (clog10_test): Likewise.
43569 (csqrt_test): Likewise.
43570 (ctan_test): Likewise.
43571 (ctanh_test): Likewise.
43572 (exp_test): Likewise.
43573 (exp10_test): Likewise.
43574 (exp2_test): Likewise.
43575 (expm1_test): Likewise.
43576 (fma_test): Likewise.
43577 (j0_test): Likewise.
43578 (jn_test): Likewise.
43579 (nexttoward_test): Likewise.
43580 (pow_test): Likewise.
43581 (scalbn_test): Likewise.
43582 (scalbln_test): Likewise.
43583 (tan_test): Likewise.
43584 (y1_test): Likewise.
43585 * sysdeps/i386/fpu/libm-test-ulps: Update.
43586 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43587
9e0e3d0b
DM
435882012-05-23 David S. Miller <davem@davemloft.net>
43589
43590 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
43591 (__libc_sigaction): Remove unused local variables.
43592
ccd0a08f
L
435932012-05-23 H.J. Lu <hongjiu.lu@intel.com>
43594
43595 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
43596
62bdf9a6
PE
435972012-05-23 Paul Eggert <eggert@cs.ucla.edu>
43598
f8591f80
PE
43599 mktime: avoid signed integer overflow
43600 * time/mktime.c (__mktime_internal): Do not mishandle the case
43601 where diff == INT_MIN.
43602
94c7d826
PE
43603 mktime: simplify computation of average
43604 * time/mktime.c (ranged_convert): Use new time_t_avg function
43605 instead of rolling our own (probably-slower) code.
43606
ce73d683
PE
43607 mktime: do not assume signed right shift propagates sign bit
43608 * time/mktime.c (isdst_differ): New static function.
43609 (__mktime_internal): No need to normalize tm_isdst now.
43610 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
43611 tm_isdst values.
43612
72a22e59
PE
43613 mktime: merge another wrapv change from gnulib
43614 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
43615 from some compilers.
43616
68605433
PE
43617 mktime: remove incorrect attempt at unusual arithmetics
43618 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
43619 The code didn't really work on such machines anyway.
43620 (TYPE_MINIMUM): Assume two's complement.
43621 (twos_complement_arithmetic): Verify that long_int and time_t
43622 are two's complement (or unsigned, in the latter case).
43623
03cf7fe3
PE
43624 mktime: check signed shifts on long_int and time_t, too
43625 * time/mktime.c (SHR): Check that shifts work as desired
43626 on the types long_int and time_t too, as SHR is used on
43627 such types.
43628
f04dfbc2
PE
43629 mktime: do not assume 'long' is wide enough
43630 * time/mktime.c (verify): Move decl up.
43631 (long_int): New type.
43632 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
43633 to remove assumption in the code that 'long' is wide enough to
43634 store year values. This assumption is not true on x32 and on
43635 some non-glibc platforms.
43636
62bdf9a6
PE
43637 mktime: merge wrapv change from gnulib
43638 * time/mktime.c (WRAPV): New macro.
43639 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
43640 (guess_time_tm, __mktime_internal): Do not assume that signed
43641 integer overflow wraps around; modern compilers generate code
43642 where this assumption is no longer valid.
43643
5e292e4f
L
436442012-05-23 H.J. Lu <hongjiu.lu@intel.com>
43645
43646 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
43647 Replace "jmp L(pseudo_end)" with "ret".
43648 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
43649 Likewise.
43650
8caf8c87
AJ
436512012-05-23 Andreas Jaeger <aj@suse.de>
43652
43653 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
43654 * sysdeps/unix/sysv/linux/poll.c: Remove file.
43655
1a09dc56
AJ
436562012-05-23 Andreas Jaeger <aj@suse.de>
43657 Maximilian Attems <max@stro.at>
43658
43659 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
43660 New macros.
43661
1c87aba0
L
436622012-05-23 H.J. Lu <hongjiu.lu@intel.com>
43663
43664 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
43665 code so that pseudo_end is just ret and the stack pointer is
43666 correct also for static library in error case.
43667
40e45bd5
JM
436682012-05-23 Joseph Myers <joseph@codesourcery.com>
43669
c2670533
JM
43670 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
43671 move to syscalls.list.
43672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
43673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
43674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
43675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
43676
40e45bd5
JM
43677 * manual/install.texi (Running make install): Do not mention Linux
43678 kernel version for which pt_chown is not needed.
43679 (Linux): Do not mention problems with nscd with 2.0 kernels.
43680 * INSTALL: Regenerated.
43681
be08eda5
AJ
436822012-05-23 Andreas Jaeger <aj@suse.de>
43683
43684 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
43685 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
43686 macro.
43687 * sysdeps/unix/sysv/linux/s390/bits/mman.h
43688 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
43689 * sysdeps/unix/sysv/linux/sh/bits/mman.h
43690 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
43691 * sysdeps/unix/sysv/linux/i386/bits/mman.h
43692 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
43693 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
43694 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
43695 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
43696 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
43697 * sysdeps/unix/sysv/linux/bits/in.h
43698 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
43699
a6a056bb
RM
437002012-05-22 Roland McGrath <roland@hack.frob.com>
43701
43702 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
43703 (PREPARE_VERSION): Just use assert instead, it will be elided
43704 under [NDEBUG] anyway.
43705
c9009328
L
437062012-05-22 H.J. Lu <hongjiu.lu@intel.com>
43707
43708 * sysdeps/unix/sysv/linux/Makefile: Include
43709 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 43710 (sysdep_routines): Remove sysctl.
c9009328
L
43711 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
43712 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
43713 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
43714 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
43715 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
43716
73338355
AJ
437172012-05-22 Andreas Jaeger <aj@suse.de>
43718
43719 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
43720 that pseudo_end is just ret and the stack pointer is correct also
43721 for static library in error case.
43722
d44638b0
PP
437232012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
43724
43725 [BZ #14122]
43726 * nss/nsswitch.c (defconfig_entries): New variable.
43727 (__nss_database_lookup): Don't leak defconfig entries.
43728 (nss_parse_service_list): Don't leak on error paths.
43729 (free_database_entries): New function.
43730 (free_defconfig): New function.
43731 (free_mem): Move common code to free_database_entries.
43732
31a39bd8
L
437332012-05-22 H.J. Lu <hongjiu.lu@intel.com>
43734
da0331a8
L
43735 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
43736 Add arch_prctl.
43737 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
43738
31a39bd8
L
43739 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
43740 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
43741 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
43742 New macro.
43743 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
43744 (INTERNAL_SYSCALL_TYPES): Likewise.
43745 (LOAD_ARGS_TYPES_[1-6]): Likewise.
43746 (LOAD_REGS_TYPES_[1-6]): Likewise.
43747 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
43748 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
43749
45470df3
AZ
437502012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43751
43752 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
43753 copysignl for GLIBC_2_0.
43754 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
43755 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
43756 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
43757 logbl for GLIBC_2_0.
43758 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
43759 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
43760
98a61bcb
L
437612012-05-22 H.J. Lu <hongjiu.lu@intel.com>
43762
a4f6e481
L
43763 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
43764 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
43765
f63d5db6
L
43766 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
43767 Use "neg %eax".
43768
98a61bcb
L
43769 * time/mktime.c: Update copyright years.
43770
95770f14
PE
437712012-05-22 Paul Eggert <eggert@cs.ucla.edu>
43772
6226efbd
PE
43773 mktime: merge comment-quoting-style change from gnulib
43774 * time/mktime.c: Quote 'like this' in comments.
43775 The GNU coding standards suggest that we no longer quote `like this',
43776 as "`" and "'" are typically rendered asymmetrically nowadays.
43777 The typical gnulib style is to quote 'like this' when quoting
43778 code, and "like this" when quoting English.
43779
b99e4f78
PE
43780 * time/mktime.c (compile-command): Add "-I.".
43781
643e01e6
PE
43782 mktime: merge mktime-internal.h change from gnulib
43783 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
43784
2554247d
PE
43785 mktime: merge time_r change from gnulib
43786 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
43787
826dd0ab
PE
43788 mktime: merge DEBUG change from gnulib
43789 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
43790 case system <time.h> has a #define.
43791
bd83aabe
PE
43792 mktime: merge <sys/types.h> change from gnulib
43793 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
43794 since <time.t> is now guaranteed to define time_t.
43795
95770f14
PE
43796 mktime: merge HAVE_CONFIG_H change from gnulib
43797 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
43798
5e1a27a9
L
437992012-05-22 H.J. Lu <hongjiu.lu@intel.com>
43800
0e44a77e
L
43801 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
43802 Use "neg %eax".
43803
5e1a27a9
L
43804 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
43805 __rlim_t cast.
43806 (struct rusage): Use anonymous union to pad each field to
43807 __syscall_slong_t.
43808
46259bec
DM
438092012-05-21 David S. Miller <davem@davemloft.net>
43810
43811 * Makefules (o-iterator): Remove .s cases.
43812 (compile-command.s): Delete.
43813 (COMPILE.s): Delete.
43814 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
43815
59f0c22e
JM
438162012-05-21 Joseph Myers <joseph@codesourcery.com>
43817
43818 * configure.in (libc_cv_predef_stack_protector): Only consider
43819 "foobar" and "__stack_chk_fail" lines in libc_undefs.
43820 * configure: Regenerated.
43821
20c07380
L
438222012-05-21 H.J. Lu <hongjiu.lu@intel.com>
43823
bbb3154b
L
43824 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
43825 New macro. Use R*LP on int and pointer.
43826 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
43827 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
43828 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
43829 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
43830
20c07380
L
43831 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
43832 [__WORDSIZE_TIME64_COMPAT32] instead of
43833 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
43834 (struct utmp): Likewise.
43835 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
43836 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
43837 Renamed to ...
43838 (__WORDSIZE_TIME64_COMPAT32): This.
43839 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
43840 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
43841 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
43842 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
43843 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
43844 (__WORDSIZE_TIME64_COMPAT32): New macro.
43845
d8d1017e
AJ
438462012-05-21 Andreas Jaeger <aj@suse.de>
43847
43848 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
43849 only if [SHARED]. Add prototype for __wcschr_ia32.
43850
6c7fb145
RM
438512012-05-21 Roland McGrath <roland@hack.frob.com>
43852
43853 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
43854 of %rbp unmolested in the jmp_buf while mangling the low bits.
43855 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
43856 unmolested high bits of %rbp while demangling the low bits.
43857 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
43858
66274218
AJ
438592012-05-21 Andreas Jaeger <aj@suse.de>
43860
07c58f8f
AJ
43861 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
43862 * sunrpc/svc_simple.c: Use it for registerrpc.
43863 * sunrpc/xcrypt.c: Use it for passwd2des.
43864
66274218
AJ
43865 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
43866
61f65140
L
438672012-05-21 H.J. Lu <hongjiu.lu@intel.com>
43868
43869 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
43870 Don't define if [__SYSCALL_WORDSIZE != 32].
43871 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
43872 New macro.
43873
5fefb436
AJ
438742012-05-21 Bruno Haible <bruno@clisp.org>
43875 Andreas Jaeger <aj@suse.de>
43876
43877 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
43878 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
43879 inptr and inend for must_buffer_ch.
43880 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
43881 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
43882 * stdio-common/Makefile (tests): Remove bug15.
43883 (bug15-ENV): Remove macro.
43884 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
43885 anymore.
43886
d8e272ab
AJ
438872012-05-19 Andreas Jaeger <aj@suse.de>
43888 Roland McGrath <roland@hack.frob.com>
43889
43890 * manual/contrib.texi: Completely rewritten. It contains now an
43891 alphabetical list of contributors and their contributions.
43892
4a56a162
RH
438932012-05-21 Richard Henderson <rth@twiddle.net>
43894
43895 * misc/getauxval.c (__getauxval): Use unsigned long int.
43896 * misc/sys/auxv.h: Include <sys/cdefs.h>.
43897 (getauxval): Use unsigned long int.
43898
d024d23c
L
438992012-05-21 H.J. Lu <hongjiu.lu@intel.com>
43900
43901 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
43902
cbc00a03
RM
439032012-05-21 Roland McGrath <roland@hack.frob.com>
43904
43905 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
43906 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
43907 __alignof__ (long double).
43908
478143fa
AZ
439092012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43910
43911 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43912
c7683a6d
RH
439132012-05-20 Richard Henderson <rth@twiddle.net>
43914
43915 * misc/getauxval.c: New file.
43916 * misc/sys/auxv.h: New file.
43917 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
43918 (routines): Add getauxval.
43919 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
43920 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
43921 * elf/dl-sysdep.c (_dl_auxv): Remove.
43922 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
43923 * elf/dl-support.c (_dl_auxv): New variable.
43924 (_dl_aux_init): Initialize it.
43925 * manual/startup.texi (Auxiliary Vector): New node.
43926 * sysdeps/generic/bits/hwcap.h: New file.
43927 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
43928 * sysdeps/powerpc/sysdep.h: ... here. Include it.
43929 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
43930 * sysdeps/sparc/sysdep.h: ... here. Include it.
43931 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
43932 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
43933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43934 Update.
c7683a6d
RH
43935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
43936 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
43937 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
43938 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
43939 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
43940 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
43941 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
43942 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
43943
a6f1845d
AZ
439442012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43945
43946 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43947
cbcbe830
DM
439482012-05-19 David S. Miller <davem@davemloft.net>
43949
43950 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43951
e0b16cc2
JM
439522012-05-19 Joseph Myers <joseph@codesourcery.com>
43953
43954 [BZ #14123]
43955 * math/s_ccosh.c: Include <float.h>
43956 (__ccosh): Avoid internal overflow calculating sinh and cosh
43957 values before multiplying by sin and cos values.
43958 * math/s_ccoshf.c: Likewise.
43959 * math/s_ccoshl.c: Likewise.
43960 * math/s_csin.c: Likewise.
43961 * math/s_csinf.c: Likewise.
43962 * math/s_csinl.c: Likewise.
43963 * math/s_csinh.c: Likewise.
43964 * math/s_csinhf.c: Likewise.
43965 * math/s_csinhl.c: Likewise.
43966 * math/libm-test.inc (ccos_test): Add more tests.
43967 (ccosh_test): Likewise.
43968 (csin_test): Likewise.
43969 (csinh_test): Likewise.
43970 * sysdeps/i386/fpu/libm-test-ulps: Update.
43971 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43972
6ad13e08
L
439732012-05-19 H.J. Lu <hongjiu.lu@intel.com>
43974
f66f0ce8
L
43975 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
43976 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
43977
6ad13e08
L
43978 * sysdeps/x86_64/x32/_itoa.h: Add comment.
43979
b1d072a7
JM
439802012-05-19 Joseph Myers <joseph@codesourcery.com>
43981
43982 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
43983 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
43984 * sysdeps/powerpc/soft-fp/Versions: Likewise.
43985 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
43986 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
43987 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
43988 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
43989 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
43990 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
43991 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
43992 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
43993 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
43994 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
43995 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
43996 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
43997 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
43998 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
43999 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
44000 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
44001 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
44002 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
44003 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
44004 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
44005 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
44006 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
44007 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
44008 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
44009 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
44010 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
44011 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
44012 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
44013
9eae47cb
AJ
440142012-05-18 Andreas Jaeger <aj@suse.de>
44015
44016 * csu/.gitignore: Delete.
44017
bb07f69f
L
440182012-05-18 H.J. Lu <hongjiu.lu@intel.com>
44019
44020 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
44021 (timex): Use __syscall_slong_t.
44022
e6bdb741
AJ
440232012-05-18 Andreas Jaeger <aj@suse.de>
44024 Carlos O'Donell <carlos_odonell@mentor.com>
44025
44026 * manual/install.texi (Configuring and compiling): Update
44027 description about files modified in the source directory.
d6c33fda 44028 * INSTALL: Regenerated.
e6bdb741 44029
1b74487e
L
440302012-05-18 H.J. Lu <hongjiu.lu@intel.com>
44031
44032 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
44033 value. Use "or" to set return value to -1.
44034 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
44035 negate return value.
44036
a88b64b9
TMQMF
440372012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
44038
57f41c40
AS
44039 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
44040 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
44041 failure if the compiler has Graphite support disabled.
44042 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
44043 Likewise.
57f41c40
AS
44044 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
44045 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
44046 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
44047 Likewise.
44048
3707636e
L
440492012-05-18 H.J. Lu <hongjiu.lu@intel.com>
44050
610b8622
L
44051 * sysdeps/x86_64/x32/_itoa.h: New file.
44052
7cd195df
L
44053 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
44054 getdents system call only if kernel and user dirents have the
44055 same d_ino and d_off.
44056
94b07d20
L
44057 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
44058 LLONG_MAX != LONG_MAX.
44059 (_itoa_word): Use _ITOA_WORD_TYPE on value.
44060 (_fitoa_word): Likewise.
44061
18298070
L
44062 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
44063 years.
44064 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
44065 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
44066 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
44067
553c7ea4
L
44068 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
44069 include <bits/wordsize.h>. Check __x86_64__ instead of
44070 __WORDSIZE.
44071 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
44072 if __x86_64__ is defined. Use anonymous union on fpstate.
44073
3707636e
L
44074 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
44075 anonymous union.
44076
b53ef01a
AS
440772012-05-18 Andreas Schwab <schwab@linux-m68k.org>
44078
37fb1dc0
AS
44079 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
44080 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
44081 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
44082 Refer to _rtld_local_ro instead of _rtld_global_ro.
44083 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
44084 Likewise.
44085 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
44086 Likewise.
44087 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
44088 Likewise.
44089 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
44090 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
44091 of _rtld_global, and rtld_progname instead of _dl_argv[0].
44092
b53ef01a
AS
44093 * sysdeps/powerpc/powerpc32/dl-machine.c
44094 (__elf_machine_runtime_setup) [PROF]: Don't reference
44095 _dl_prof_resolve.
44096
7a185db2
AJ
440972012-05-18 Andreas Jaeger <aj@suse.de>
44098
44099 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
44100 function only available for GCCs before 3.4 since GCC 3.4
44101 introduced a builtin.
44102 (lrint): Likewise.
44103 (llrintf): Likewise.
44104 (llrint): Likewise.
44105 (fmaxf): Likewise.
44106 (fmax): Likewise.
44107 (fminf): Likewise.
44108 (fmin): Likewise.
44109 (rint): Likewise.
44110 (rintf): Likewise.
44111 (nearbyint): Likewise.
44112 (nearbyintf): Likewise.
44113 (ceil): Likewise.
44114 (ceilf): Likewise.
44115 (floor): Likewise.
44116 (floorf): Likewise.
44117
3e5aef87
L
441182012-05-17 H.J. Lu <hongjiu.lu@intel.com>
44119
428bd707
L
44120 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
44121 on both fields and cast pointer to __syscall_ulong_t.
44122
3e5aef87
L
44123 * bits/types.h (__fsword_t): New type.
44124 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
44125 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
44126 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
44127 (__FSWORD_T_TYPE): Likewise.
44128 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
44129 (__FSWORD_T_TYPE): Likewise.
44130 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44131 (__FSWORD_T_TYPE): Likewise.
44132 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
44133 (__FSWORD_T_TYPE): Likewise.
44134 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
44135 __SWORD_TYPE with __fsword_t.
44136 (statfs64): Likewise.
44137
1ba7c3dc
DM
441382012-05-17 David S. Miller <davem@davemloft.net>
44139
44140 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
44141
59910343
AJ
441422012-05-17 Andreas Jaeger <aj@suse.de>
44143
44144 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
44145 warning.
44146
2e4c1e9e
L
441472012-05-17 H.J. Lu <hongjiu.lu@intel.com>
44148
44149 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
44150
de7f5ce7
AJ
441512012-05-17 Andreas Jaeger <aj@suse.de>
44152
44153 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
44154 when it is used.
44155
286abc3d
CM
441562012-05-17 Chris Metcalf <cmetcalf@tilera.com>
44157
44158 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
44159
477cc68e
L
441602012-05-17 H.J. Lu <hongjiu.lu@intel.com>
44161
44162 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
44163 * sysdeps/x86_64/tst-mallocalign1.c: New file.
44164
1a0994f5
CD
441652012-05-17 Andreas Jaeger <aj@suse.de>
44166 Carlos O'Donell <carlos_odonell@mentor.com>
44167
44168 [BZ #14059]
44169 * sysdeps/x86_64/multiarch/init-arch.h
44170 (bit_YMM_Usable): Rename to...
44171 (bit_AVX_Usable): ... this.
44172 (bit_FMA4_Usable): New macro.
44173 (bit_XMM_state): New macro.
44174 (bit_YMM_state): New macro.
44175 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
44176 [__ASSEMBLER__] (index_AVX_Usable): ... this.
44177 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
44178 (CPUID_OSXSAVE): New macro.
44179 (CPUID_AVX): New macro.
44180 (CPUID_FMA4): New macro.
44181 (index_YMM_Usable): Rename to...
44182 (index_AVX_Usable): ... this.
44183 (HAS_AVX): Use HAS_ARCH_FEATURE.
44184 (HAS_FMA4): Likewise.
44185 (HAS_YMM_USABLE): Remove.
44186 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44187 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
44188 are present.
44189 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
44190 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
44191 * sysdeps/x86_64/multiarch/Makefile: Likewise.
44192 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
44193 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
44194
0af797de
CM
441952012-05-17 Chris Metcalf <cmetcalf@tilera.com>
44196
44197 * math/libm-test.c: Support platforms without multiple rounding modes.
44198 * math/bug-nextafter.c: Support platforms without FP exceptions.
44199 * math/bug-nexttoward.c: Likewise.
44200 * math/test-fenv.c: Likewise.
44201 * math/test-misc.c: Likewise.
44202 * stdlib/bug-getcontext.c: Likewise.
44203
e39745ff
AJ
442042012-05-17 Andreas Jaeger <aj@suse.de>
44205
44206 * manual/examples/search.c (critter_cmp): Change signature to
44207 avoid warnings.
44208 * manual/string.texi (Collation Functions): Likewise.
44209
48970aba
L
442102012-05-16 H.J. Lu <hongjiu.lu@intel.com>
44211
44212 * bits/types.h: Fold copyright years.
44213 * bits/typesizes.h: Likewise.
44214 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
44215 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
44216 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
44217 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
44218 * time/time.h: Likewise.
44219
bedee953
PP
442202012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
44221
44222 [BZ #208]
44223 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
44224 in instead of returning them. Return void.
44225 (__libc_mallinfo): Accumulate over all arenas.
44226 (__malloc_stats): Adjust for change in int_mallinfo interface.
44227
61653dfb
RM
442282012-05-16 Roland McGrath <roland@hack.frob.com>
44229
30b99d79
RM
44230 [BZ #10375]
44231 * configure.in (NM): Add AC_CHECK_TOOL for it.
44232 (libc_extra_cflags): New substituted variable.
44233 Check for -fstack-protector being used implicitly.
44234 * configure: Regenerated.
44235 * config.make.in (config-extra-cflags): New variable,
44236 gets @libc_extra_cflags@.
44237 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
44238
61653dfb
RM
44239 [BZ #10375]
44240 * configure.in: Check for _FORTIFY_SOURCE being predefined.
44241 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
44242 * configure: Regenerated.
44243 * config.make.in (CPPUNDEFS): New substituted variable.
44244 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
44245 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
44246 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
44247
661768bb
L
442482012-05-16 H.J. Lu <hongjiu.lu@intel.com>
44249
44250 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
44251 (mq_attr): Use __syscall_slong_t.
44252
d4261567
L
442532012-05-16 H.J. Lu <hongjiu.lu@intel.com>
44254
44255 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
44256 Check __x86_64__ instead of __WORDSIZE.
44257 (_STAT_VER_LINUX): Likewise.
44258 (stat): Check __x86_64__ instead of __WORDSIZE. Use
44259 __syscall_ulong_t and __syscall_slong_t.
44260 (stat64): Likewise.
44261
cf3ff365
L
442622012-05-16 H.J. Lu <hongjiu.lu@intel.com>
44263
44264 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
44265
76cf3e4d
L
442662012-05-16 H.J. Lu <hongjiu.lu@intel.com>
44267
44268 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
44269
a637753a
L
442702012-05-16 H.J. Lu <hongjiu.lu@intel.com>
44271
44272 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
44273 __syscall_ulong_t.
44274
d5e05119
L
44275 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
44276 include <bits/wordsize.h>. Check __x86_64__ instead of
44277 __WORDSIZE.
44278 (greg_t): Use "__extension__ long long int" if __x86_64__ is
44279 defined.
44280 (mcontext_t): Replace "unsigned long" with "unsigned long long".
44281
f62ee380
L
44282 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
44283 include <bits/wordsize.h>. Check __x86_64__ instead of
44284 __WORDSIZE.
44285 (user_regs_struct): Use "__extension__ unsigned long long"
44286 instead of "unsigned long" if __x86_64__ is defined.
44287 (user): Likewise. Pad after pointer field if __ILP32__ is
44288 defined.
44289
4e124ced
JM
442902012-05-16 Joseph Myers <joseph@codesourcery.com>
44291
6a3951a0
JM
44292 * configure.in (makeinfo): Require version 4.5 or later. Allow
44293 versions 5 to 9.
44294 * configure: Regenerated.
44295 * manual/install.texi (texinfo): Increase version requirement to
44296 4.5 or later.
44297 * INSTALL: Regenerated.
44298
4e124ced
JM
44299 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
44300
953ca31a
L
443012012-05-16 H.J. Lu <hongjiu.lu@intel.com>
44302
44303 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
44304
617aca05
L
44305 * sysdeps/x86_64/x32/ffs.c: New file.
44306
5762f7ae
L
44307 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
44308 __syscall_ulong_t.
44309 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
44310 defined. Use __syscall_ulong_t.
44311 (shminfo): Use __syscall_ulong_t.
44312 (shm_info): Likewise.
44313
a26b6856
L
44314 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
44315 __syscall_ulong_t.
44316
cb2b9ef7
L
44317 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
44318 <bits/wordsize.h>.
44319 (msgqnum_t): Use __syscall_ulong_t.
44320 (msglen_t): Likewise.
44321 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
44322 __syscall_ulong_t.
44323
34683bb0
L
44324 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
44325 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
44326
84a68786
L
44327 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
44328
48baa5f1
L
44329 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
44330 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
44331
180be88b
L
44332 * sysvipc/sys/msg.h (msgbuf): Replace long int with
44333 __syscall_slong_t.
44334
5e90c8ad
L
44335 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
44336 include <bits/wordsize.h>. Check __x86_64__ instead of
44337 __WORDSIZE.
44338
23dfb58b
L
44339 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
44340 "unsigned long long int" if __x86_64__ is defined.
44341 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
44342
ce5d54b0
L
44343 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
44344 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
44345 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
44346
13dc9eac
L
44347 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
44348 <stdint.h>.
44349 (GET_PC): Cast to uintptr_t first.
44350 (GET_FRAME): Likewise.
44351 (GET_STACK): Likewise.
44352
a7895d15
L
44353 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
44354 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
44355 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
44356 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
44357 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
44358 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
44359 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
44360 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
44361 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
44362 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
44363 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
44364 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
44365 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
44366 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
44367 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
44368 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
44369 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
44370 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
44371 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
44372 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
44373 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
44374 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
44375 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
44376 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
44377 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
44378 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
44379 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
44380 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
44381 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
44382
656416c9
AS
443832012-05-16 Andreas Schwab <schwab@linux-m68k.org>
44384
5bd66283
AS
44385 * Makerules (+depfiles): Also collect depfiles from .oS in
44386 $(extra-objs).
44387 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
44388 .oS, $(libnldbl-routines)).
44389
656416c9
AS
44390 * Makerules (native-compile-mkdep-flags): Define.
44391 * sunrpc/Makefile (extra-objs): Add $(addprefix
44392 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
44393 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
44394 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
44395 calling $(make-target-directory).
44396
a46f2169
L
443972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44398
44399 * bits/types.h (__snseconds_t): Removed.
44400 * time/time.h (struct timespec): Replace __snseconds_t with
44401 __syscall_slong_t.
44402 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
44403 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
44404 Likewise.
44405 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
44406 (__SNSECONDS_T_TYPE): Likewise.
44407 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
44408 (__SNSECONDS_T_TYPE): Likewise.
44409 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44410 (__SNSECONDS_T_TYPE): Likewise.
44411
6af6528b
L
444122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44413
44414 * sysdeps/mach/hurd/bits/typesizes.h
44415 (__SYSCALL_SLONG_TYPE): New macro.
44416 (__SYSCALL_ULONG_TYPE): Likewise.
44417
de986b56
L
444182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44419
44420 * bits/types.h (__syscall_slong_t): New type.
44421 (__syscall_ulong_t): Likewise.
44422
44423 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
44424 (__SYSCALL_ULONG_TYPE): Likewise.
44425 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
44426 (__SYSCALL_SLONG_TYPE): Likewise.
44427 (__SYSCALL_ULONG_TYPE): Likewise.
44428 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
44429 (__SYSCALL_SLONG_TYPE): Likewise.
44430 (__SYSCALL_ULONG_TYPE): Likewise.
44431 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44432 (__SYSCALL_SLONG_TYPE): Likewise.
44433 (__SYSCALL_ULONG_TYPE): Likewise.
44434
85736dc7
L
444352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44436
44437 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
44438 Add sigaltstack-offsets.sym.
44439 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
44440 <sigaltstack-offsets.h>.
44441 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
44442 longjmp_msg pointer.
44443 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
44444 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
44445 signal stack.
44446 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
44447
cc03b296
JM
444482012-05-15 Joseph Myers <joseph@codesourcery.com>
44449
a9538892
JM
44450 * elf/stackguard-macros.h: Remove file.
44451 * sysdeps/generic/stackguard-macros.h: New file.
44452 * sysdeps/i386/stackguard-macros.h: Likewise.
44453 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
44454 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
44455 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
44456 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
44457 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
44458 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
44459 * sysdeps/x86_64/stackguard-macros.h: Likewise.
44460 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
44461 <elf/stackguard-macros.h>.
44462
cc03b296
JM
44463 [BZ #14109]
44464 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
44465 __aligned__ in attribute.
44466 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
44467 (gregset_t): Likewise.
44468
93171016
L
444692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44470
44471 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
44472 * sysdeps/x86_64/64/Implies-after: Here. New file.
44473 * sysdeps/x86_64/x32/Implies-after: New file.
44474
d86813a0
L
444752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44476
44477 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
44478 and access return value for _dl_profile_fixup. Use R10_LP to
44479 load frame size.
44480
2953ec75
L
444812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44482
44483 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
44484
3b550e9e
L
444852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44486
44487 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
44488 * sysdeps/x86_64/x32/sysdep.h: New file.
44489
eda41706
L
444902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44491
44492 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
44493 * sysdeps/x86_64/setjmp.S: Likewise.
44494
9ea01d93
AZ
444952012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44496
44497 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
44498 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
44499 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
44500 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
44501 remove unused global constant.
44502
02a91938
CM
445032012-05-15 Chris Metcalf <cmetcalf@tilera.com>
44504
44505 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
44506 include of <not-cancel.h>.
44507
6540185f
RM
445082012-05-15 Roland McGrath <roland@hack.frob.com>
44509
44510 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
44511
509072a0
AJ
445122012-05-15 Jeff Law <law@redhat.com>
44513 Andreas Jaeger <aj@suse.de>
44514
44515 [BZ #13594]
44516 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
44517 out from...
44518 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
44519 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
44520 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
44521 code changing __hst_map_handle.map.
44522
ba75122d
RM
445232012-05-15 Roland McGrath <roland@hack.frob.com>
44524
44525 * configure.in (sysnames): Look for Implies-before and Implies-after
44526 files.
44527 * configure: Regenerated.
44528
890d8bd8
L
445292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44530
44531 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
44532 8-byte data alignment with LP_SIZE alignment.
44533
f6ee6623
L
445342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44535
44536 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
44537 into R10_LP.
44538
ea2626f6
L
445392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44540
44541 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
44542
085f715e
L
445432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44544
44545 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
44546 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
44547 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
44548 Likewise.
44549 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
44550
be8498fc
L
445512012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44552
44553 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
44554 (stackinfo_sub_sp): Likewise.
44555
70bc83b9
L
445562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44557
44558 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
44559 RAX_LP.
44560
9bc0b730
L
445612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44562
44563 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
44564 into R*_LP.
44565
6d2850e7
L
445662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44567
44568 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
44569 sizes into R*_LP.
44570
3cb84561
L
445712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44572
44573 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
44574
54e2ed81
L
445752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44576
44577 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
44578 into R11_LP and load __x86_64_shared_cache_size_half into
44579 R8_LP.
44580
8a17f349
L
445812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44582
44583 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
44584 R8_LP.
44585
777b1eea
AZ
445862012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44587
44588 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
44589 logb for POWER7.
44590 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
44591 logbf for POWER7.
44592 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
44593 logbl for POWER7.
44594 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
44595 powerpc32/power7/fpu/s_logb.c via #include.
44596 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
44597 powerpc32/power7/fpu/s_logbf.c via #include.
44598 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
44599 powerpc32/power7/fpu/s_logbl.c via #include.
44600
d20d4ac2
JM
446012012-05-15 Joseph Myers <joseph@codesourcery.com>
44602
44603 * README.libm: Remove file.
44604
6cdef1ab
L
446052012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44606
44607 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
44608 count for x32. Use R*_LP and omit operand-size suffix.
44609
0b254d8f
L
446102012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44611
44612 * shlib-versions: Move x86_64-.*-linux.* entries to ...
44613 * sysdeps/x86_64/64/shlib-versions: Here. New file.
44614 * sysdeps/x86_64/x32/shlib-versions: New file.
44615
ceb809dc
RM
446162012-05-14 Roland McGrath <roland@hack.frob.com>
44617
44618 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
44619 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
44620 Use _dl_fatal_printf instead.
44621
37f1abd4
JM
446222012-05-14 Joseph Myers <joseph@codesourcery.com>
44623
44624 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
44625 set if not set by the user. Do not allow for being unset.
44626 * sysdeps/unix/sysv/linux/configure: Regenerated.
44627
11de3a33
L
446282012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44629
44630 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
44631 the `q' suffix from lea and replace .quad with ASM_ADDR.
44632
e02f153a
L
446332012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44634
44635 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
44636 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
44637 instead of $17.
44638 (PTR_DEMANGLE): Likewise.
44639
520ae0fd
L
446402012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44641
44642 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
44643 (LP_OP): Likewise.
44644 (ASM_ADDR): Likewise.
44645 (RAX_LP): Likewise.
44646 (RBP_LP): Likewise.
44647 (RBX_LP): Likewise.
44648 (RCX_LP): Likewise.
44649 (RDI_LP): Likewise.
44650 (RSI_LP): Likewise.
44651 (RSP_LP): Likewise.
44652 (R8_LP): Likewise.
44653 (R9_LP): Likewise.
44654 (R10_LP): Likewise.
44655 (R10_LP): Likewise.
44656 (R11_LP): Likewise.
44657 (R12_LP): Likewise.
44658 (R13_LP): Likewise.
44659 (R14_LP): Likewise.
44660 (R15_LP): Likewise.
44661
b985be81
L
446622012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44663
44664 * sysdeps/x86_64/x32/dl-machine.h: New file.
44665
6a4888ff
AJ
446662012-05-14 Andreas Jaeger <aj@suse.de>
44667
44668 * manual/Makefile (subdir): Remove export of subdir.
44669 (all): Remove target.
44670 (.PHONY): Remove all from list.
44671 (mkinstalldirs): Remove.
44672 (.PHONY): Remove installdirs from list.
44673 ($(inst_infodir)/libc.info): Use make-target-directory.
44674 (installdirs): Remove.
44675 (subdir_%): Remove.
44676 (glibc-targets): Remove.
44677 (lib): Remove.
44678 (stubs): Remove.
44679 ($(objpfx)stubs ../po/manual.pot): Remove.
44680 ($(objpfx)stamp%): Remove.
44681 (make-target-directory): Remove.
44682 (subdir_install): Remove.
44683 (routines): Remove.
44684 (aux): Remove.
44685 (sources): Remove.
44686 (objects): Remove.
44687 (headers): Remove.
44688
44689 [BZ #13750]
44690 * manual/.gitignore: Remove, it's not needed anymore.
44691 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
44692 all files in it.
44693 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
44694 directory.
44695 (texis): Renamed to $(objpfx)texis.
44696 (texis-path): New, contains path to generated files.
44697 (chapters.%): Use texis-path for complete path, add extra argument
44698 libc-texinfo.sh.
44699 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
44700 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
44701 (summary,texi, stamp-summary): Use complete path of
44702 files. Generate files in build dir.
44703 (dir-add.texi): Build in build dir.
44704 (libm-err.texi,stamp-libm-err): Likewise.
44705 (version.texi, stamp-version): Likewise.
44706 (.%c.texi): Likewise.
44707 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
44708 (mostlyclean): Remove target.
44709 (realclean): Remove target.
44710 (generated): Add new variable with contents from mostlyclean and
44711 realclean, remove entries duplicated in common-mostlyclean, add
44712 stamp-libm-err and stamp-version.
44713 (generated-dirs): Add libc directory.
44714 ($(inst_infodir)/libc.info): Install files from build dir.
44715
44716 * manual/install.texi (Configuring and compiling): Adjust since
44717 the info files are not part of the tar ball anymore.
44718
7ac77294
AJ
447192012-05-14 Andreas Jaeger <aj@suse.de>
44720
44721 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
44722 variable.
44723
ffb7875d
JM
447242012-05-14 Joseph Myers <joseph@codesourcery.com>
44725
44726 [BZ #13717]
44727 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
44728 to 2.2.0 where earlier.
44729 * sysdeps/unix/sysv/linux/configure: Regenerated.
44730 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
44731 Remove conditional code.
44732 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
44733 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
44734 Remove conditional code.
44735 [!__NR_lchown]: Likewise.
44736 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
44737 [__NR_lchown]: Likewise.
44738 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
44739 comment referencing __ASSUME_LCHOWN_SYSCALL.
44740 * sysdeps/unix/sysv/linux/i386/sigaction.c
44741 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44742 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44743 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
44744 Remove conditional code.
44745 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
44746 (__protocol_available): Remove #if 0 code.
44747 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
44748 conditional code.
44749 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
44750 * sysdeps/unix/sysv/linux/kernel-features.h
44751 (__ASSUME_GETCWD_SYSCALL): Don't define.
44752 (__ASSUME_REALTIME_SIGNALS): Likewise.
44753 (__ASSUME_PREAD_SYSCALL): Likewise.
44754 (__ASSUME_PWRITE_SYSCALL): Likewise.
44755 (__ASSUME_POLL_SYSCALL): Likewise.
44756 (__ASSUME_LCHOWN_SYSCALL): Likewise.
44757 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
44758 non-SPARC.
44759 (__ASSUME_SIOCGIFNAME): Don't define.
44760 (__ASSUME_MSG_NOSIGNAL): Likewise.
44761 (__ASSUME_SENDFILE): Define unconditionally.
44762 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
44763 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
44764 conditional code.
44765 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
44766 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
44767 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
44768 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
44769 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
44770 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
44771 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
44772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
44773 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
44774 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
44776 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
44777 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
44779 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44780 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
44782 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44783 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
44785 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
44786 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
44788 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
44789 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
44791 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44792 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
44794 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44795 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44796 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
44797 Remove conditional code.
44798 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44799 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
44800 Remove conditional code.
44801 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44802 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
44803 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
44804 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
44805 Remove conditional code.
44806 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44807 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
44808 Remove conditional code.
44809 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44810 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
44811 Remove conditional code.
44812 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44813 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
44814 Remove conditional code.
44815 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44816 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
44817 Remove conditional code.
44818 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44819 * sysdeps/unix/sysv/linux/sh/pwrite64.c
44820 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44821 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44822 * sysdeps/unix/sysv/linux/sigaction.c
44823 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44824 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44825 * sysdeps/unix/sysv/linux/sigpending.c
44826 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44827 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44828 * sysdeps/unix/sysv/linux/sigprocmask.c
44829 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44830 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44831 * sysdeps/unix/sysv/linux/sigsuspend.c
44832 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44833 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44834 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
44835 (__libc_missing_rt_sigs): Remove.
44836 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
44837 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
44838 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
44839 Remove conditional code.
44840 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
44841 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
44842 return 1.
44843 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
44844 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
44845 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
44846 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
44847
1bfb7291
AJ
448482012-05-14 Andreas Jaeger <aj@suse.de>
44849
caae5a81
AJ
44850 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
44851 it's not used in glibc.
44852 (__coshm1): Likewise.
44853 (__acosh1p): Likewise.
44854 (__sgn): Likewise.
44855
1bfb7291
AJ
44856 * manual/string.texi (Copying and Concatenation): Add missing
44857 variable in concat example.
44858 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
44859
c044d724
L
448602012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44861
144c5467 44862 [BZ #14103]
c044d724
L
44863 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
44864 __builtin_clzl with __builtin_clzll.
44865
2523c62b
L
448662012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44867
44868 [BZ #14104]
44869 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
44870 libc_freeres_ptr.
44871
d7bb4c42
LD
448722012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44873
44874 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
44875 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
44876 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
44877 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
44878
9dc4e1fb
MF
448792012-05-14 Mike Frysinger <vapier@gentoo.org>
44880
44881 * NEWS: Update ia64 info.
44882
c7df0112
AS
448832012-05-12 Andreas Schwab <schwab@linux-m68k.org>
44884
44885 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
44886 used as bcopy.
44887
dc70356c
TS
448882012-05-12 Thomas Schwinge <thomas@codesourcery.com>
44889
44890 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
44891 * sysdeps/unix/syscalls.list (dup3): Likewise.
44892 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
44893 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
44894
9fb1a21f
L
448952012-05-11 H.J. Lu <hongjiu.lu@intel.com>
44896
44897 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
44898 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
44899
4822a2a5
L
449002012-05-11 H.J. Lu <hongjiu.lu@intel.com>
44901
44902 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
44903 thread pointer.
44904 (TLS_IE): Use mov/add instead of movq/addq to load thread
44905 pointer.
44906 (TLS_GD_PREFIX): New.
44907 (TLS_GD): Use it.
44908
842b81d6
DM
449092012-05-11 David S. Miller <davem@davemloft.net>
44910
44911 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
44912 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
44913 (_FPU_SETCW): Likewise.
44914
1cf463cd
L
449152012-05-10 H.J. Lu <hongjiu.lu@intel.com>
44916
44917 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
44918 is 32-byte aligned.
44919
60cc4a18
AS
449202012-05-11 Andreas Schwab <schwab@linux-m68k.org>
44921
44922 [BZ #11837]
44923 * iconvdata/gb18030.c: Update tables.
44924 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
44925 characters specially.
44926 (BODY for TO_LOOP): Add encoding of missing ranges.
44927
febb44a4
TS
449282012-05-11 Thomas Schwinge <thomas@codesourcery.com>
44929
44930 [BZ #13673]
44931 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
44932 * sysdeps/mach/hurd/dup3.c: Likewise.
44933 * sysdeps/mach/hurd/readlinkat.c: Likewise.
44934 * sysdeps/powerpc/memmove.c:: Likewise.
44935
0a10fb9e
L
449362012-05-10 H.J. Lu <hongjiu.lu@intel.com>
44937
44938 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
44939 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
44940
df8a552f
L
449412012-05-10 H.J. Lu <hongjiu.lu@intel.com>
44942
44943 * elf/elf.h (R_X86_64_RELATIVE64): New.
44944 (R_X86_64_NUM): Updated.
44945 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
44946 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
44947 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
44948 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
44949 tst-quad1pie tst-quad2pie
44950 (modules-names): Add tst-quadmod1 tst-quadmod2.
44951 ($(objpfx)tst-quad1): New dependency.
44952 ($(objpfx)tst-quad2): Likewise.
44953 ($(objpfx)tst-quad1pie): Likewise.
44954 ($(objpfx)tst-quad2pie): Likewise.
44955 * sysdeps/x86_64/tst-quad1.c: New file.
44956 * sysdeps/x86_64/tst-quad1pie.c: New file.
44957 * sysdeps/x86_64/tst-quad2.c: Likewise.
44958 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
44959 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
44960 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
44961 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
44962 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
44963
f34d6f84
ST
449642012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44965
f42d41d1
ST
44966 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
44967 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
44968 * streams/stropts.h (t_scalar_t): Define type.
44969
3c3571fc
ST
44970 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
44971 (_PATH_PRESERVE): Set to "/var/lib".
44972 (_PATH_RWHODIR): Set to "/var/spool/rwho".
44973
61f06bd3
ST
44974 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
44975 instead of int.
44976
918d4d71
ST
44977 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
44978 if __dir_mkfile succeeded.
44979
f34d6f84
ST
44980 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
44981 checking for _hurd_dtablesize. Unlock it right after having
44982 finished _hurd_dtable allocation.
44983
10589b4a
TS
449842012-05-10 Thomas Schwinge <thomas@schwinge.name>
44985
674cdbc7
TS
44986 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
44987 * sysdeps/mach/hurd/configure: Regenerated.
44988 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
44989 special-casing to...
44990 * sysdeps/gnu/configure.in: ... this new file.
44991 * sysdeps/unix/sysv/linux/configure: Regenerated.
44992 * sysdeps/gnu/configure: New generated file.
44993
8e41b99f
TS
44994 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
44995 for Linux: use nsec instead of usec, as well as:
44996 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
44997 members of type struct timespec.
44998 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
44999 New macros.
45000 (struct stat64): Likewise.
45001 (_STATBUF_ST_NSEC): New macro.
45002 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
45003
10589b4a
TS
45004 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
45005 __strtoul_internal rather than strtoul.
45006
63643c85
PT
450072012-05-10 Pino Toscano <toscano.pino@tiscali.it>
45008
45009 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
45010 and reject them.
45011
3faebe6a
ST
450122012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
45013
45014 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
45015 which preserves existing values.
45016 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
45017
c6474b07
PT
450182012-05-10 Pino Toscano <toscano.pino@tiscali.it>
45019
45020 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
45021 TIMEOUT values. Return EINVAL for NFDS values either negative or
45022 greater than FD_SETSIZE.
45023
1043890b
ST
450242012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
45025
45026 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
45027 allocated, call __vm_protect to finish enabling the existing space, and
45028 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
45029 allocate the remainder.
45030
37ed8b9b
PT
450312012-05-10 Pino Toscano <toscano.pino@tiscali.it>
45032
45033 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
45034 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
45035
db653660
ST
450362012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
45037
37ed8b9b
PT
45038 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
45039 sysdeps/mach/hurd/readlink.c.
b29d4053 45040
db653660
ST
45041 * posix/tst-sysconf.c (posix_options): Only use
45042 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
45043 _POSIX_SYNCHRONIZED_IO when they are defined
45044 * sysdeps/mach/hurd/bits/posix_opt.h:
45045 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
45046 (_XOPEN_REALTIME): Undefine macro.
45047 (_XOPEN_REALTIME_THREADS): Undefine macro.
45048 (_XOPEN_SHM): Undefine macro.
45049 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
45050 macro to -1.
45051 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
45052 macro to -1.
45053 (_POSIX_ASYNC_IO): Undefine macro.
45054 (_POSIX_PRIORITIZED_IO): Undefine macro.
45055 (_POSIX_SPIN_LOCKS): Define macro to -1.
45056
ee16e894
ST
45057 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
45058 SA_NODEFER, SA_RESETHAND.
45059 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
45060 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
45061 F_DUPFD_CLOEXEC.
45062
6103ae3b
TS
450632012-05-10 Thomas Schwinge <thomas@schwinge.name>
45064
45065 * elf/Makefile (pldd-modules): Define unconditionally.
45066
80b4e5f3
TS
450672012-05-10 Thomas Schwinge <thomas@schwinge.name>
45068
45069 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
45070
edadcbd6
ST
450712012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
45072
45073 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
45074 Return ENOENT when name is empty.
45075 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
45076
80694780
TS
450772012-05-10 Thomas Schwinge <thomas@schwinge.name>
45078
1792c087
TS
45079 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
45080
80694780
TS
45081 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
45082
6b645f0d
ST
450832012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
45084
80694780
TS
45085 Fix mlock in all cases except non-readable pages.
45086 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
45087 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 45088
6b645f0d
ST
45089 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
45090 (__mkdir): When path is `/', just fail with EEXIST.
45091 * sysdeps/mach/hurd/mkdirat.c: Likewise.
45092
e468f8a3
TS
450932012-05-10 Thomas Schwinge <thomas@schwinge.name>
45094
45095 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
45096 <sys/uio.h> (for writev).
45097 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
45098 and <sys/param.h> (for MIN).
45099
a4186cff
PT
451002012-05-10 Pino Toscano <toscano.pino@tiscali.it>
45101
45102 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
45103 REQUESTED_TIME. Properly set the remaining time and return EINTR
45104 if interrupted.
45105
510bbf14
TS
451062012-05-10 Thomas Schwinge <thomas@schwinge.name>
45107
45108 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
45109 Depend on against $(link-rpcuserlibs).
45110
5d5722e8
ST
451112012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
45112
a4186cff
PT
45113 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
45114 (__libc_stack_end): Do not use attribute_relro.
45115 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
45116 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 45117 to libthread-provided value.
a4186cff
PT
45118 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
45119 attribute_relro.
5d5722e8 45120
37233df9
TS
451212012-05-10 Thomas Schwinge <thomas@schwinge.name>
45122
be971a2b
TS
45123 [BZ #3748]
45124 * bits/libc-lock.h (__libc_once_get): New macro.
45125 * sysdeps/mach/bits/libc-lock.h: Likewise.
45126 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
45127 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
45128 instead of using implementation details.
45129
37233df9
TS
45130 * libio/fileops.c: Unconditionally include <kernel-features.h>.
45131 * libio/freopen.c: Likewise.
45132 * libio/freopen64.c: Likewise.
45133 * misc/syslog.c: Likewise.
45134 * nscd/connections.c: Likewise.
45135 * nscd/netgroupcache.c: Likewise.
45136 * sysdeps/posix/getcwd.c: Likewise.
45137
38de94a5
RM
451382012-05-10 Roland McGrath <roland@hack.frob.com>
45139
45140 * math/w_ilogbf.c: Add #include <limits.h>.
45141
67530489
ST
451422012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
45143
a4186cff 45144 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
45145 path instead of returning without unlocking.
45146
67530489
ST
45147 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
45148 immediate-write ioctls.
45149 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
45150
5aa3a74a
TS
451512012-05-10 Thomas Schwinge <thomas@schwinge.name>
45152
18bad2ae
TS
45153 * sysdeps/mach/hurd/i386/init-first.c (init): Use
45154 __builtin_frame_address instead of making assumptions about the
45155 location of the return address relative to DATA. Force early load of
45156 the return address.
45157 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
45158 __builtin_frame_address.
45159
5aa3a74a
TS
45160 dup3 for GNU Hurd.
45161 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
45162 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
45163 implement dup3 and do some further code clean-ups.
45164 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
45165 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
45166
ecd0de9a
ST
451672012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
45168
cd9fa985
ST
45169 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
45170
a4186cff
PT
45171 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
45172 HURD_CRITICAL_END around holding _hurd_dtable_lock.
45173 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
45174 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
45175 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
45176 d->port.lock.
802ca5a5 45177
a4186cff
PT
45178 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
45179 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
45180 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 45181
bcf55240
TS
451822012-05-10 Thomas Schwinge <thomas@schwinge.name>
45183
6960eb42
TS
45184 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
45185 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
45186 definitions.
45187
eb43375f
TS
45188 accept4 for GNU Hurd.
45189 * include/sys/socket.h (__libc_accept4): New prototype.
45190 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
45191 to implement __libc_accept4.
45192 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
45193 __libc_accept4.
45194 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
45195
bcf55240
TS
45196 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
45197 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
45198 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
45199 signal-defines.sym.
45200
6178c55b
ST
452012012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
45202
a4186cff 45203 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 45204
6f080c2f
TS
452052012-05-10 Thomas Schwinge <thomas@schwinge.name>
45206
45207 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
45208 assertion on O_CLOEXEC flag.
45209 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
45210 * hurd/intern-fd.c: Likewise.
45211 * hurd/port2fd.c: Likewise.
45212
bcfe3a54
ST
452132012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
45214
45215 [BZ #3906]
45216 * bits/in.h (IPV6_PKTINFO): Define new macro.
45217 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
45218
89c9aa49
AZ
452192012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45220
45221 [BZ #13954]
45222 [BZ #13955]
45223 [BZ #13956]
45224 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
45225 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
45226 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
45227 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
45228 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
45229 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
45230 * math/libm-test.inc (logb_test) : Additional logb tests.
45231
021db4be
AJ
452322012-05-09 Andreas Schwab <schwab@linux-m68k.org>
45233 Andreas Jaeger <aj@suse.de>
45234
45235 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
45236 * configure: Regenerated.
45237 * config.h.in (LINK_OBSOLETE_RPC): New macro.
45238 * config.make.in (link-obsolete-rpc): New substituted variable.
45239 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
45240 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
45241 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
45242 (shared-only-routines): Don't set it under [link-obsolete-rpc],
45243 so that libc.a contains the symbols.
45244 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
45245 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
45246 * sunrpc/auth_none.c: Likewise.
45247 * sunrpc/auth_unix.c: Likewise.
45248 * sunrpc/authdes_prot.c: Likewise.
45249 * sunrpc/authuxprot.c: Likewise.
45250 * sunrpc/clnt_gen.c: Likewise.
45251 * sunrpc/clnt_perr.c: Likewise.
45252 * sunrpc/clnt_raw.c: Likewise.
45253 * sunrpc/clnt_simp.c: Likewise.
45254 * sunrpc/clnt_tcp.c: Likewise.
45255 * sunrpc/clnt_udp.c: Likewise.
45256 * sunrpc/clnt_unix.c: Likewise.
45257 * sunrpc/des_crypt.c: Likewise.
45258 * sunrpc/des_soft.c: Likewise.
45259 * sunrpc/get_myaddr.c: Likewise.
45260 * sunrpc/key_call.c: Likewise.
45261 * sunrpc/key_prot.c: Likewise.
45262 * sunrpc/netname.c: Likewise.
45263 * sunrpc/pm_getmaps.c: Likewise.
45264 * sunrpc/pm_getport.c: Likewise.
45265 * sunrpc/pmap_clnt.c: Likewise.
45266 * sunrpc/pmap_prot.c: Likewise.
45267 * sunrpc/pmap_prot2.c: Likewise.
45268 * sunrpc/pmap_rmt.c: Likewise.
45269 * sunrpc/publickey.c: Likewise.
45270 * sunrpc/rpc_cmsg.c: Likewise.
45271 * sunrpc/rpc_common.c: Likewise.
45272 * sunrpc/rpc_dtable.c: Likewise.
45273 * sunrpc/rpc_prot.c: Likewise.
45274 * sunrpc/rpc_thread.c: Likewise.
45275 * sunrpc/rtime.c: Likewise.
45276 * sunrpc/svc.c: Likewise.
45277 * sunrpc/svc_auth.c: Likewise.
45278 * sunrpc/svc_raw.c: Likewise.
45279 * sunrpc/svc_run.c: Likewise.
45280 * sunrpc/svc_tcp.c: Likewise.
45281 * sunrpc/svc_udp.c: Likewise.
45282 * sunrpc/svc_unix.c: Likewise.
45283 * sunrpc/svcauth_des.c: Likewise.
45284 * sunrpc/xcrypt.c: Likewise.
45285 * sunrpc/xdr.c: Likewise.
45286 * sunrpc/xdr_array.c: Likewise.
45287 * sunrpc/xdr_float.c: Likewise.
45288 * sunrpc/xdr_intXX_t.c: Likewise.
45289 * sunrpc/xdr_mem.c: Likewise.
45290 * sunrpc/xdr_rec.c: Likewise.
45291 * sunrpc/xdr_ref.c: Likewise.
45292 * sunrpc/xdr_sizeof.c: Likewise.
45293 * sunrpc/xdr_stdio.c: Likewise.
45294
b5c086a2
RM
452952012-05-10 Roland McGrath <roland@hack.frob.com>
45296
45297 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
45298 change. Update copyright years.
45299
6d74dd09
JM
453002012-05-10 Joseph Myers <joseph@codesourcery.com>
45301
45302 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
45303
28e72501
MK
453042012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
45305 Joseph Myers <joseph@codesourcery.com>
45306 Paul Pluzhnikov <ppluzhnikov@google.com>
45307
45308 [BZ #14012]
45309 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
45310 requiring rpcgen.
45311 [cross-compiling] (extra-libs): Likewise.
45312 [cross-compiling] (extra-libs-others): Likewise.
45313 [cross-compiling] (librpcsvc-routines): Likewise.
45314 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
45315 [cross-compiling] (omit-deps): Likewise.
45316 (sunrpc-CPPFLAGS): New variable.
45317 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
45318 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
45319 (cross-rpcgen-objs): New variable.
45320 (extra-objs): Append $(cross-rpcgen-objs).
45321 ($(cross-rpcgen-objs)): New rule.
45322 ($(objpfx)cross-rpcgen): Likewise.
45323 (rpcgen-cmd): Define to use $(built-program-file). Expand
45324 comment.
45325 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
45326 ($(objpfx)x%.stmp): Likewise.
45327 * sunrpc/proto.h [IS_IN_build] (_): Define.
45328 [IS_IN_build] (_libc_intl_domainname): Likewise.
45329
c8c59454
L
453302012-05-10 H.J. Lu <hongjiu.lu@intel.com>
45331
45332 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
45333 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
45334 and R_X86_64_TPOFF64.
45335
6f27cd16
JM
453362012-05-10 Joseph Myers <joseph@codesourcery.com>
45337
45338 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
45339 sysdeps/unix/sysv/syscalls.list.
45340 (stime): Likewise.
45341 (utime): Likewise.
45342 * sysdeps/unix/sysv/syscalls.list: Remove file.
45343
02467e1c
PE
453442012-05-10 Paul Eggert <eggert@cs.ucla.edu>
45345
45346 [BZ #3440]
45347 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
45348 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
45349 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
45350 (__LC_IDENTIFICATION): Make these macros useful in #if
45351 expressions, as required by C99.
45352
da392631
AS
453532012-05-10 Andreas Schwab <schwab@linux-m68k.org>
45354
45355 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
45356 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
45357 after this.
45358
8115f29b
L
453592012-05-09 H.J. Lu <hongjiu.lu@intel.com>
45360
45361 * stdlib/longlong.h: Updated from GCC.
45362
bdd74070
AJ
453632012-05-09 Andreas Jaeger <aj@suse.de>
45364
edfe0dbe
AJ
45365 * nscd/nscd.c (run_modes): Make named enum, reorder so that
45366 default is first entry.
45367 (run_mode): Set type.
45368 (main): Remove informal message about syslog.
45369 (options): Fix typo.
45370
bcfe3a54
ST
45371 [BZ #14053]
45372 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 45373 to asm.
bcfe3a54
ST
45374 (lrint): Likewise.
45375 (llrintf): Likewise.
45376 (llrint): Likewise.
45377 (rint): Likewise.
45378 (rintf): Likewise.
45379 (nearbyint): Likewise.
45380 (nearbyintf): Likewise.
bdd74070 45381
91d8d69e
AJ
453822012-05-09 Andreas Jaeger <aj@suse.de>
45383 Pedro Alves <palves@redhat.com>
45384
45385 * nscd/nscd.c (run_mode): Use enum.
45386 (main): Cleanup coding style issue.
45387
bb90b80b
AJ
453882012-05-09 Alexandre Oliva <aoliva@redhat.com>
45389 Andreas Jaeger <aj@suse.de>
45390
bcfe3a54
ST
45391 * nscd/nscd.c (go_background): Replaced with...
45392 (run_mode): ... this.
bb90b80b 45393 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
45394 (options): Add -F --foreground.
45395 (main): Implement it.
45396 (parse_opt): Parse it.
bb90b80b 45397
1a4b75a1
AJ
453982012-05-09 Andreas Jaeger <aj@suse.de>
45399
45400 [BZ #14083]
45401 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
45402 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
45403 -Wconversion warning.
45404 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
45405 Likewise.
45406
b1cc2472
JM
454072012-05-09 Joseph Myers <joseph@codesourcery.com>
45408
45409 * conform/data/locale.h-data (NULL): Use macro-constant. Require
45410 == 0.
45411 (LC_ALL): Use macro-int-constant.
45412 (LC_COLLATE): Likewise.
45413 (LC_CTYPE): Likewise.
45414 (LC_MESSAGES): Likewise.
45415 (LC_MONETARY): Likewise.
45416 (LC_NUMERIC): Likewise.
45417 (LC_TIME): Likewise.
45418 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
45419 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
45420 [ISO || ISO99 || ISO11] (*_t): Do not allow.
45421 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
45422 Specify type.
45423 [C99-based standards] (float_t): Expect type.
45424 [C99-based standards] (double_t): Expect type.
45425 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
45426 type.
45427 [C99-based standards] (HUGE_VALL): Likewise.
45428 [C99-based standards] (INFINITY): Likewise.
45429 [C99-based standards] (NAN): Likewise.
45430 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
45431 [C99-based standards] (FP_NAN): Likewise.
45432 [C99-based standards] (FP_NORMAL): Likewise.
45433 [C99-based standards] (FP_SUBNORMAL): Likewise.
45434 [C99-based standards] (FP_ZERO): Likewise.
45435 [C99-based standards] (FP_FAST_FMA): Use
45436 optional-macro-int-constant. Specify type. Require == 1.
45437 [C99-based standards] (FP_FAST_FMAF): Likewise.
45438 [C99-based standards] (FP_FAST_FMAL): Likewise.
45439 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
45440 [C99-based standards] (FP_ILOGBNAN): Likewise.
45441 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
45442 Specify type.
45443 [C99-based standards] (MATH_ERREXCEPT): Likewise.
45444 [C99-based standards] (math_errhandling): Specify type.
45445 [ISO99 || ISO11] (signgam): Do not allow.
45446 [non-C99-based standards] (copysignf): Do not allow.
45447 [non-C99-based standards] (exp2f): Likewise.
45448 [non-C99-based standards] (log2f): Likewise.
45449 [non-C99-based standards] (modff): Allow.
45450 [non-C99-based standards] (erff): Do not allow.
45451 [non-C99-based standards] (erfcf): Likewise.
45452 [non-C99-based standards] (gammaf): Likewise.
45453 [non-C99-based standards] (hypotf): Likewise.
45454 [non-C99-based standards] (j0f): Likewise.
45455 [non-C99-based standards] (j1f): Likewise.
45456 [non-C99-based standards] (jnf): Likewise.
45457 [non-C99-based standards] (lgammaf): Likewise.
45458 [non-C99-based standards] (tgammaf): Likewise.
45459 [non-C99-based standards] (y0f): Likewise.
45460 [non-C99-based standards] (y1f): Likewise.
45461 [non-C99-based standards] (ynf): Likewise.
45462 [non-C99-based standards] (isnanf): Likewise.
45463 [non-C99-based standards] (acoshf): Likewise.
45464 [non-C99-based standards] (asinhf): Likewise.
45465 [non-C99-based standards] (atanhf): Likewise.
45466 [non-C99-based standards] (cbrtf): Likewise.
45467 [non-C99-based standards] (expm1f): Likewise.
45468 [non-C99-based standards] (ilogbf): Likewise.
45469 [non-C99-based standards] (log1pf): Likewise.
45470 [non-C99-based standards] (logbf): Likewise.
45471 [non-C99-based standards] (nextafterf): Likewise.
45472 [non-C99-based standards] (remainderf): Likewise.
45473 [non-C99-based standards] (rintf): Likewise.
45474 [non-C99-based standards] (scalbf): Likewise.
45475 [non-C99-based standards] (copysignl): Likewise.
45476 [non-C99-based standards] (exp2l): Likewise.
45477 [non-C99-based standards] (log2l): Likewise.
45478 [non-C99-based standards] (modfl): Allow.
45479 [non-C99-based standards] (erfl): Do not allow.
45480 [non-C99-based standards] (erfcl): Likewise.
45481 [non-C99-based standards] (gammal): Likewise.
45482 [non-C99-based standards] (hypotl): Likewise.
45483 [non-C99-based standards] (j0l): Likewise.
45484 [non-C99-based standards] (j1l): Likewise.
45485 [non-C99-based standards] (jnl): Likewise.
45486 [non-C99-based standards] (lgammal): Likewise.
45487 [non-C99-based standards] (tgammal): Likewise.
45488 [non-C99-based standards] (y0l): Likewise.
45489 [non-C99-based standards] (y1l): Likewise.
45490 [non-C99-based standards] (ynl): Likewise.
45491 [non-C99-based standards] (isnanl): Likewise.
45492 [non-C99-based standards] (acoshl): Likewise.
45493 [non-C99-based standards] (asinhl): Likewise.
45494 [non-C99-based standards] (atanhl): Likewise.
45495 [non-C99-based standards] (cbrtl): Likewise.
45496 [non-C99-based standards] (expm1l): Likewise.
45497 [non-C99-based standards] (ilogbl): Likewise.
45498 [non-C99-based standards] (log1pl): Likewise.
45499 [non-C99-based standards] (logbl): Likewise.
45500 [non-C99-based standards] (nextafterl): Likewise.
45501 [non-C99-based standards] (remainderl): Likewise.
45502 [non-C99-based standards] (rintl): Likewise.
45503 [non-C99-based standards] (scalbl): Likewise.
45504 [ISO || ISO99 || ISO11] (*_t): Do not allow.
45505 [non-C99-based standards] (FP_*): Do not allow.
45506 [C99-based standards] (FP_*): Change to
45507 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
45508 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
45509 allow.
45510 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
45511 (SIG_ERR): Likewise.
45512 [X/Open-based standards] (SIG_HOLD): Likewise.
45513 (SIG_IGN): Likewise.
45514 (SIGABRT): Use macro-int-constant. Specify type. Require
45515 positive value.
45516 (SIGFPE): Likewise.
45517 (SIGILL): Likewise.
45518 (SIGINT): Likewise.
45519 (SIGSEGV): Likewise.
45520 (SIGTER): Likewise.
45521 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
45522 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
45523 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
45524 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
45525 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
45526 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
45527 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
45528 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
45529 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
45530 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
45531 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
45532 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
45533 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
45534 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
45535 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
45536 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
45537 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
45538 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
45539 [X/Open-based standards] (SIGTRAP): Likewise.
45540 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
45541 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
45542 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
45543 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
45544 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
45545 allow.
45546
b9f1922d
IW
455472012-05-08 Ian Wienand <ianw@vmware.com>
45548
45549 [BZ #14080]
45550 * time/tzset.c (__tzset_parse_tz): Update default rules for
45551 daylight time changes in the Energy Policy Act of 2005.
45552
1db86e88
AJ
455532012-05-09 Andreas Jaeger <aj@suse.de>
45554
45555 [BZ #13983]
45556 * elf/ldconfig.c (parse_conf): Change string to make clear that
45557 ldconfig only issued a warning if ld.so.conf does not exist.
45558
dee4a4e3
DM
455592012-05-08 David S. Miller <davem@davemloft.net>
45560
ee0db190
DM
45561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
45562 movxtod instead of popping the value on the stack.
45563
dee4a4e3
DM
45564 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45565
6a43ec98
CD
455662012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
45567
45568 * config.h.in: Add HAVE_ARM_PCS_VFP.
45569
05c2c961
RMG
455702012-05-08 Roland Mc Grath <roland@hack.frob.com>
45571
bcfe3a54
ST
45572 [BZ #13979]
45573 * include/features.h: Warn if user requests __FORTIFY_SOURCE
45574 checking but the checks are disabled for any reason.
05c2c961 45575
4b30f61a
L
455762012-05-08 H.J. Lu <hongjiu.lu@intel.com>
45577
45578 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
45579 and ELF64_R_TYPE with ELFW(R_TYPE).
45580
eee2bc67
JM
455812012-05-08 Joseph Myers <joseph@codesourcery.com>
45582
7ea5391a
JM
45583 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
45584 (ulimit): Likewise.
45585
eee2bc67
JM
45586 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
45587 (settimeofday): Likewise.
45588
abb66a67
MF
455892012-05-08 Mike Frysinger <vapier@gentoo.org>
45590
45591 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
45592 a struct th_u2 inside the union, and move tu_block/tu_code into
45593 a new th_u3 union of tu_block/tu_code inside of that. Move
45594 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
45595 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
45596 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
45597 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
45598 (th_stuff): Change to th_u1.tu_stuff.
45599 (th_data): Define.
45600 (th_msg): Change to th_u1.th_u2.tu_data.
45601
7f18b530
DM
456022012-05-07 David S. Miller <davem@davemloft.net>
45603
05760585
DM
45604 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45605
7f18b530
DM
45606 [BZ #14074]
45607 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
45608 (SETUP_PIC_REG): Use it.
45609 (SETUP_PIC_REG_LEAF): Use it.
45610
495fd99f
JM
456112012-05-07 Joseph Myers <joseph@codesourcery.com>
45612
45613 [BZ #13885]
45614 [BZ #13923]
45615 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
45616 USE_AS_EXPM1L.
45617 (EXPL_FINITE): Likewise.
45618 (FLDLOG): Likewise.
45619 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
45620 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
45621 e_expl.S.
45622 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
45623 USE_AS_EXPM1L.
45624 (EXPL_FINITE): Likewise.
45625 (FLDLOG): Likewise.
45626 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
45627 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
45628 e_expl.S.
45629 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
45630 test of -max_value argument for long double.
45631 * sysdeps/i386/fpu/libm-test-ulps: Update.
45632 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45633
6693d694
DM
456342012-05-06 David S. Miller <davem@davemloft.net>
45635
45636 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
45637 quad soft-float symbols whose references which are compiler
45638 generated.
45639 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
45640
6c23e11c
JM
456412012-05-06 Joseph Myers <joseph@codesourcery.com>
45642
d8b82cad
JM
45643 [BZ #13884]
45644 [BZ #13914]
45645 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
45646 USE_AS_EXP10L.
45647 (EXPL_FINITE): Likewise.
45648 (FLDLOG): Likewise.
45649 (c0): Likewise.
45650 (c1): Likewise.
45651 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
45652 Adjust comments for base varying.
45653 (__expl_finite): Change alias to EXPL_FINITE.
45654 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
45655 e_expl.S.
45656 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
45657 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
45658 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
45659 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
45660 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
45661 USE_AS_EXP10L.
45662 (EXPL_FINITE): Likewise.
45663 (FLDLOG): Likewise.
45664 (c0): Likewise.
45665 (c1): Likewise.
45666 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
45667 Adjust comments for base varying.
45668 (__expl_finite): Change alias to EXPL_FINITE.
45669 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
45670 tests for bugs.
45671 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45672
6c23e11c
JM
45673 [BZ #14064]
45674 * math/libm-test.inc (check_float_internal): Correct ulp
45675 calculation for subnormal expected results.
45676
29ba805c
AJ
456772012-05-06 Andreas Jaeger <aj@suse.de>
45678
45679 * Makeconfig (+math-flags): New, set to -frounding-math.
45680 (+cflags): Add +math-flags so that all of glibc gets compiled with
45681 it.
45682
45683 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
45684
7b17aeda
JM
456852012-05-05 Joseph Myers <joseph@codesourcery.com>
45686
5779f134
JM
45687 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
45688 Disable one test.
45689
41498f4d
JM
45690 [BZ #13787]
45691 [BZ #13922]
45692 [BZ #14036]
45693 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
45694 (__ieee754_expl): Allow for and saturate large arguments.
45695 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
45696 (u_threshold): Likewise.
45697 (__exp): Call __ieee754_exp before checking for overflow and
45698 underflow.
45699 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
45700 (u_threshold): Likewise.
45701 (__expf): Call __ieee754_expf before checking for overflow and
45702 underflow.
45703 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
45704 (u_threshold): Likewise.
45705 (__expl): Call __ieee754_expl before checking for overflow and
45706 underflow.
45707 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
45708 (__ieee754_expl): Allow for and saturate large arguments.
45709 * math/libm-test.inc (exp_test): Add another test. Do not allow
45710 missing overflow exception on overflow.
45711 (expm1_test): Do not allow missing overflow exception on overflow.
45712
6698b8bf
JM
45713 * sysdeps/i386/fpu/e_expl.c: Move to ...
45714 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
45715 rather than using inline asm.
45716 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
45717 * sysdeps/x86_64/fpu/e_expl.S: Copy from
45718 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
45719
7b17aeda
JM
45720 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
45721 (nice): Likewise.
45722 (poll): Likewise.
45723 (signal): Likewise.
45724 (time): Likewise.
45725 (times): Likewise.
45726
f7c85819
JM
457272012-05-04 Joseph Myers <joseph@codesourcery.com>
45728
45729 * sysdeps/unix/syscalls.list (adjtime): Add entry from
45730 sysdeps/unix/common/syscalls.list.
45731 (fchmod): Likewise.
45732 (fchown): Likewise.
45733 (ftruncate): Likewise.
45734 (getrusage): Likewise.
45735 (gettimeofday): Likewise.
45736 (setpgid): Likewise.
45737 (setregid): Likewise.
45738 (setreuid): Likewise.
45739 (sigaction): Likewise.
45740 (truncate): Likewise.
45741 (vhangup): Likewise.
45742 * sysdeps/unix/common/syscalls.list: Remove file.
45743 * sysdeps/unix/bsd/Implies: Don't include unix/common.
45744 * sysdeps/unix/sysv/linux/Implies: Likewise.
45745
336270d0
L
457462012-05-04 H.J. Lu <hongjiu.lu@intel.com>
45747
45748 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
45749 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
45750 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
45751 Moved to ...
45752 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
45753 Here.
45754 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
45755 to ...
45756 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
45757 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
45758 to ...
45759 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
45760 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
45761 to ...
45762 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
45763 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
45764 to ...
45765 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
45766 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
45767 to ...
45768 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
45769 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
45770 to ...
45771 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
45772 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
45773 to ...
45774 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
45775 Here.
45776 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
45777 to ...
45778 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
45779 Here.
45780 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
45781 to ...
45782 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
45783 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
45784 Moved to ...
45785 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
45786 Here.
45787 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
45788 to ...
45789 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
45790
d128e450
JM
457912012-05-04 Joseph Myers <joseph@codesourcery.com>
45792
fa8ee516
JM
45793 * sysdeps/unix/common/bits/dirent.h: Remove file.
45794 * sysdeps/unix/common/bits/fcntl.h: Likewise.
45795
d128e450
JM
45796 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
45797 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
45798 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
45799 * sysdeps/unix/bsd/isatty.c: Likewise.
45800 * sysdeps/unix/bsd/tcdrain.c: Likewise.
45801 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
45802 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
45803
ff8faaf0 458042012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 45805
62881be4 45806 [BZ #13563]
31dc8730
AZ
45807 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
45808 long double comparison inaccuracies.
45809 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
45810 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45811
6fef930c
AS
458122012-05-04 Andreas Schwab <schwab@linux-m68k.org>
45813
45814 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
45815 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
45816
8f203e6c
JM
458172012-05-04 Joseph Myers <joseph@codesourcery.com>
45818
45819 [BZ #14049]
45820 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
45821 nonzero digits before rounding a hex value.
45822 * stdlib/tst-strtod.c (tests): Add another test.
45823
5197d9c2
AK
458242012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45825
45826 * sysdeps/s390/fpu/libm-test-ulps: Update.
45827
f0c1dedf
AJ
458282012-05-03 Andreas Jaeger <aj@suse.de>
45829
45830 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
45831 does not get optimized out.
45832 (malloc_opt_barrier): New.
45833
a65ef2ae 458342012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 45835 Roland McGrath <roland@hack.frob.com>
a65ef2ae 45836
2b942cb7 45837 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 45838 intermediate file deletion.
2b942cb7 45839 (generated): Add .symlist files.
a65ef2ae 45840
54b71e02
JM
458412012-05-03 Joseph Myers <joseph@codesourcery.com>
45842
45843 [BZ #13775]
45844 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
45845 Redirect under this condition.
45846 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
45847 [__USE_GNU] (__dprintf_chk): Not under this condition.
45848 [__USE_GNU] (__vdprintf_chk): Likewise.
45849 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
45850 under this condition.
45851 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
45852 [__USE_XOPEN2K8] (dprintf): Define under this condition.
45853 [__USE_XOPEN2K8] (vdprintf): Likewise.
45854 [__USE_GNU] (__dprintf_chk): Not under this condition.
45855 [__USE_GNU] (__vdprintf_chk): Likewise.
45856 [__USE_GNU] (dprintf): Likewise.
45857 [__USE_GNU] (vdprintf): Likewise.
45858
d3dfcc41
RM
458592012-05-03 Roland McGrath <roland@hack.frob.com>
45860
45861 * elf/Makefile (common-generated): Set this instead of generated for
45862 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
45863 $(all-built-dso)-derived lists.
45864
7ac30cc5
AJ
458652012-05-03 Andreas Jaeger <aj@suse.de>
45866
0c51e550
AJ
45867 * sysdeps/i386/fpu/libm-test-ulps: Update.
45868
7ac30cc5
AJ
45869 * FAQ: Removed.
45870 * FAQ.in: Likewise.
45871 * scripts/gen-FAQ.pl: Likewise.
45872 * manual/install.texi (Installation): Point to online location of
45873 FAQ.
45874 * Makefile (files-for-dist): Remove FAQ.
45875 (FAQ): Remove.
45876
d4c2917f
AM
458772012-05-02 Allan McRae <allan@archlinux.org>
45878
45879 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
45880 (LDFLAGS-reldepmod5.so): Likewise.
45881 (LDFLAGS-reldep6mod1.so): Likewise.
45882 (LDFLAGS-reldep6mod4.so): Likewise.
45883 (LDFLAGS-reldep8mod3.so): Likewise.
45884 (LDFLAGS-unload4mod1.so): Likewise.
45885 (LDFLAGS-unload4mod2.so): Likewise.
45886 (LDFLAGS-tst-initorder): Likewise.
45887 (LDFLAGS-tst-initordera2.so): Likewise.
45888 (LDFLAGS-tst-initordera3.so): Likewise.
45889 (LDFLAGS-tst-initordera4.so): Likewise.
45890 (LDFLAGS-tst-initorderb2.so): Likewise.
45891 (LDFLAGS-noload): Likewise.
45892 (LDFLAGS-next): Likewise.
45893 (LDFLAGS-order2mod1.so): Likewise.
45894 (LDFLAGS-order2mod2.so): Likewise.
45895 (LDFLAGS-tst-initorder2): Likewise.
45896 (LDFLAGS-tst-initorder2a.so): Likewise.
45897 (LDFLAGS-tst-initorder2b.so): Likewise.
45898 (LDFLAGS-tst-initorder2c.so): Likewise.
45899 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
45900
d77f993f
DM
459012012-05-02 David S. Miller <davem@davemloft.net>
45902
45903 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45904
171a70b4
PP
459052012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
45906
45907 [BZ #14055]
45908 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
45909
0be196ad
AJ
459102012-05-02 Andreas Jaeger <aj@suse.de>
45911
45912 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
45913 since we manipulate rounding mode.
45914 (CPPFLAGS-test-idouble.c): Likewise.
45915 (CPPFLAGS-test-ifloat.c): Likewise.
45916 (CFLAGS-test-ldouble.c): Likewise.
45917 (CFLAGS-test-double.c): Likewise.
45918 (CFLAGS-test-float.c): Likewise.
45919 (CFLAGS-test-misc.c): Likewise.
45920 (CFLAGS-test-test-fenv.c): Likewise.
45921
4f9d04aa
AZ
459222012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45923
2b942cb7
RM
45924 [BZ #2550]
45925 [BZ #2570]
45926 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
45927 comparisons to determine direction to adjust input.
4f9d04aa 45928
82a79e7d
RM
459292012-05-01 Roland McGrath <roland@hack.frob.com>
45930
f5a01ca9
RM
45931 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
45932 output to the target.
45933
90fe4186
RM
45934 * scripts/localplt.awk: New file.
45935 * elf/Makefile ($(objpfx)check-localplt): Target removed.
45936 (check-localplt-CFLAGS): Variable removed.
45937 ($(all-built-dso:=.jmprel)): New static pattern rule.
45938 (generated): Add those targets.
45939 (localplt-built-dso): New variable.
45940 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
45941
45942 * elf/check-localplt.c: File removed.
45943
82397ed6
RM
45944 * scripts/check-execstack.awk: New file.
45945 * elf/Makefile ($(objpfx)check-execstack): Target removed.
45946 (check-execstack-CFLAGS): Variable removed.
45947 ($(objpfx)check-execstack.h): Target removed.
45948 ($(objpfx)execstack-default): New target.
45949 (generated): Add that instead of check-execstack.h.
45950 ($(all-built-dso:=.phdr)): New static pattern rule.
45951 (generated): Add those targets.
45952 * elf/check-execstack.c: File removed.
45953
82a79e7d
RM
45954 * scripts/check-textrel.awk: New file.
45955 * elf/Makefile ($(objpfx)check-textrel): Target removed.
45956 (check-textrel-CFLAGS): Variable removed.
45957 (all-built-dso): Use := to define.o
45958 ($(all-built-dso:=.dyn)): New static pattern rule.
45959 (generated): Add those targets.
45960 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
45961 * config.make.in (READELF): New substituted variable.
45962 * elf/check-textrel.c: File removed.
45963
62fde54f 459642012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 45965
615605c9
JM
45966 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
45967 allow.
45968 * conform/data/ctype.h-data [C99-based standards] (isblank):
45969 Expect function.
45970 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
45971 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
45972 [ISO || ISO99 || ISO11] (*_t): Do not allow.
45973 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
45974 Specify type. Require positive value.
45975 (EILSEQ): Likewise.
45976 (ERANGE): Likewise.
45977 [ISO || POSIX] (EILSEQ): Do not expect.
45978 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
45979 Specify type. Require positive value.
45980 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
45981 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
45982 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
45983 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
45984 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
45985 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
45986 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
45987 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
45988 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
45989 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
45990 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
45991 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
45992 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
45993 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
45994 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
45995 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
45996 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
45997 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
45998 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
45999 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
46000 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
46001 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
46002 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
46003 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
46004 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
46005 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
46006 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
46007 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
46008 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
46009 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
46010 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
46011 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
46012 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
46013 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
46014 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
46015 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
46016 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
46017 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
46018 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
46019 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
46020 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
46021 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
46022 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
46023 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
46024 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
46025 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
46026 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
46027 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
46028 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
46029 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
46030 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
46031 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
46032 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
46033 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
46034 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
46035 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
46036 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
46037 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
46038 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
46039 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
46040 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
46041 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
46042 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
46043 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
46044 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
46045 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
46046 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
46047 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
46048 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
46049 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
46050 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
46051 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
46052 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
46053 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
46054 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
46055 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
46056 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
46057 Require >= 2.
46058 (FLT_ROUNDS): Expect as macro, not constant.
46059 (FLT_MANT_DIG): Use macro-int-constant.
46060 (DBL_MANT_DIG): Likewise.
46061 (LDBL_MANT_DIG): Likewise.
46062 (FLT_DIG): Likewise.
46063 (DBL_DIG): Likewise.
46064 (LDBL_DIG): Likewise.
46065 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
46066 (DBL_MIN_EXP): Likewise.
46067 (LDBL_MIN_EXP): Likewise.
46068 (FLT_MAX_EXP): Use macro-int-constant.
46069 (DBL_MAX_EXP): Likewise.
46070 (LDBL_MAX_EXP): Likewise.
46071 (FLT_MAX_10_EXP): Likewise.
46072 (DBL_MAX_10_EXP): Likewise.
46073 (LDBL_MAX_10_EXP): Likewise.
46074 (FLT_MAX): Use macro-constant.
46075 (DBL_MAX): Likewise.
46076 (LDBL_MAX): Likewise.
46077 (FLT_EPSILON): Use macro-constant. Give upper bound.
46078 (DBL_EPSILON): Likewise.
46079 (LDBL_EPSILON): Likewise.
46080 (FLT_MIN): Likewise.
46081 (DBL_MIN): Likewise.
46082 (LDBL_MIN): Likewise.
46083 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
46084 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
46085 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
46086 [ISO11] (FLT_HAS_SUBNORM): Likewise.
46087 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
46088 [ISO11] (DBL_DECIMAL_DIG): Likewise.
46089 [ISO11] (FLT_DECIMAL_DIG): Likewise.
46090 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
46091 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
46092 [ISO11] (FLT_TRUE_MIN): Likewise.
46093 [ISO11] (LDBL_TRUE_MIN): Likewise.
46094 [ISO || ISO99 || ISO11] (*_t): Do not allow.
46095 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
46096 (SCHAR_MIN): Use macro-int-constant. Specify type.
46097 (SCHAR_MAX): Likewise.
46098 (UCHAR_MAX): Likewise.
46099 (CHAR_MIN): Likewise.
46100 (CHAR_MAX): Likewise.
46101 (MB_LEN_MAX): Use macro-int-constant.
46102 (SHRT_MIN): Use macro-int-constant. Specify type.
46103 (SHRT_MAX): Likewise.
46104 (USHRT_MAX): Likewise.
46105 (INT_MAX): Likewise.
46106 (INT_MIN): Use macro-int-constant. Specify type. Make upper
46107 bound negative.
46108 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
46109 bound with "U".
46110 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
46111 bound with "L".
46112 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
46113 bound negative. Suffix upper bound with "L".
46114 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
46115 bound with "UL".
46116 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
46117 Specify type.
46118 [C99-based standards] (LLONG_MAX): Likewise.
46119 [C99-based standards] (ULLONG_MAX): Likewise.
46120 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
46121 == 0.
46122 [ISO11] (max_align_t): Require type.
46123 [ISO || ISO99 || ISO11] (*_t): Do not allow.
46124
c9140a62
JM
46125 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
46126 from $CFLAGS, without defining away __attribute__ calls.
46127 (checknamespace): Use $CFLAGS_namespace.
46128
9af0bf29
JM
46129 * conform/conformtest.pl (@keywords): Only include C99 keywords
46130 for standards based on C99 or C11.
46131
343222a2
JM
46132 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
46133 Disable tests.
46134 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
46135 UNIX98]: Likewise.
46136
661f8cf0
JM
46137 * conform/conformtest.pl: Handle "macro-int-constant" and test for
46138 usability of symbols in #if.
46139
ee74b9cb
JM
46140 * conform/conformtest.pl: If macro or constant types start
46141 "promoted:", expect the symbol to be of the following type
46142 promoted by the integer promotions.
62fde54f 46143
aafc49b3
JM
46144 * conform/conformtest.pl: Parse all "constant" and "macro" lines
46145 in one place. Also handle "macro-constant".
46146
fefdf574
JM
46147 * conform/conformtest.pl: Only accept expected macro values with
46148 "==". Parse all "macro" lines in one place.
46149 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
46150
f2d922fe
JM
46151 * conform/conformtest.pl: Handle braced types on "constant" lines
46152 instead of handling "typed-constant".
46153 * conform/data/signal.h-data: Use "constant" instead of
46154 "typed-constant".
46155
d22956c9
JM
46156 * conform/conformtest.pl: Handle "optional-" at start of lines in
46157 one place rather than duplicating several cases. Handle each
46158 format of "macro" line with initial "optional-".
46159
028e2e38
JM
46160 * conform/conformtest.pl: Only accept expected constant or
46161 optional-constant values with "==". Parse all "constant" lines in
46162 one place. Parse all "optional-constant" lines in one place.
46163 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
46164 * conform/data/fmtmsg.h-data: Likewise.
46165 * conform/data/netinet/in.h-data: Likewise.
46166 * conform/data/tar.h-data: Likewise.
46167 * conform/data/limits.h-data: Use "==" form on "constant" and
46168 "optional-constant" lines.
46169
1b8f2850
JM
46170 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
46171 Use -std=c99 for XOPEN2K.
46172 (@knownproblems): Remove.
46173 (newtoken): Don't check %isknown.
46174
a05a144b
JM
46175 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
46176 Do not expect macro.
46177 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
46178 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
46179 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
46180 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
46181 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
46182 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
46183 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
46184 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
46185 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
46186 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
46187 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
46188 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
46189 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
46190 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
46191 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
46192 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
46193 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
46194 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
46195 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
46196 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
46197 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
46198 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
46199 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
46200 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
46201 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
46202 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
46203 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
46204 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
46205 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
46206 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
46207 [XPG3] (acosh): Likewise.
46208 [XPG3] (asinh): Likewise.
46209 [XPG3] (atanh): Likewise.
46210 [XPG3] (cbrt): Likewise.
46211 [XPG3] (expm1): Likewise.
46212 [XPG3] (ilogb): Likewise.
46213 [XPG3] (log1p): Likewise.
46214 [XPG3] (logb): Likewise.
46215 [XPG3] (nextafter): Likewise.
46216 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
46217 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
46218 [XPG3] (remainder): Likewise.
46219 [XPG3] (rint): Likewise.
46220 [XPG3 || XPG4 || UNIX98] (round): Likewise.
46221 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
46222 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
46223 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
46224 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
46225 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
46226 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
46227 [UNIX98 || XOPEN2K] (scalb): Expect.
46228 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
46229 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
46230 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
46231 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
46232 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
46233 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
46234 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
46235 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
46236 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
46237 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
46238 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
46239 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
46240 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
46241 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
46242 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
46243 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
46244 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
46245 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
46246 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
46247 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
46248 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
46249 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
46250 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
46251 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
46252 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
46253 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
46254 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
46255 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
46256 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
46257 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
46258 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
46259 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
46260 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
46261 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
46262 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
46263 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
46264 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
46265 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
46266 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
46267 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
46268 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
46269 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
46270 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
46271 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
46272 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
46273 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
46274 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
46275 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
46276 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
46277 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
46278 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
46279 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
46280 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
46281 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
46282 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
46283 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
46284 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
46285 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
46286 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
46287 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
46288 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
46289 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
46290 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
46291 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
46292 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
46293 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
46294 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
46295 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
46296 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
46297 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
46298 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
46299 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
46300 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
46301 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
46302 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
46303 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
46304 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
46305 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
46306 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
46307 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
46308 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
46309 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
46310 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
46311 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
46312 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
46313 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
46314 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
46315 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
46316 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
46317 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
46318 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
46319 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
46320 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
46321 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
46322 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
46323 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
46324 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
46325 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
46326 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
46327 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
46328 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
46329 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
46330 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
46331 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
46332 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
46333 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
46334 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
46335 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
46336 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
46337 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
46338 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
46339 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
46340 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
46341 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
46342 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
46343 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
46344 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
46345 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
46346 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
46347 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
46348 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
46349 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
46350 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
46351 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
46352 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
46353 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
46354 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
46355 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
46356 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
46357 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
46358 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
46359 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
46360 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
46361 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
46362 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
46363 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
46364 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
46365
73c5ebe3
JM
46366 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
46367 _XOPEN_SOURCE_EXTENDED for XPG4.
46368
39c33b6c
JM
46369 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
46370
62fde54f
JM
46371 * Makeconfig (localtime): Remove variable.
46372 (inst_localtime-file): Likewise.
46373
0741d64c
AS
463742012-05-01 Andreas Schwab <schwab@linux-m68k.org>
46375
46376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
46377 Update.
46378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
46379 Update.
46380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
46381 Update.
46382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
46383 Update.
46384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
46385 Update.
46386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
46387 Update.
46388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
46389 Update.
46390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
46391 Update.
46392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
46393 Update.
46394
7cb029ee
JM
463952012-05-01 Joseph Myers <joseph@codesourcery.com>
46396
46397 [BZ #2550]
46398 [BZ #2570]
46399 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
46400 comparisons to determine direction to adjust input.
46401 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
46402 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
46403 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
46404 Likewise.
46405 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
46406 Likewise.
46407 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
46408 Likewise.
46409 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
46410 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
46411 Likewise.
46412 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
46413 Likewise.
46414 * math/libm-test.inc (nexttoward_test): Add more tests.
46415
412bd966
AS
464162012-05-01 Andreas Schwab <schwab@linux-m68k.org>
46417
46418 [BZ #14040]
46419 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
46420 in version GLIBC_2.1, not GLIBC_2.0.
46421 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
46422 Likewise.
46423
9568c0c2
JM
464242012-04-30 Joseph Myers <joseph@codesourcery.com>
46425
adfbc8ac
JM
46426 [BZ #13942]
46427 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
46428 (1 - x) * (1 + x).
46429 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
46430 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
46431 * math/libm-test.inc (acos_test): Add more tests.
46432 (asin_test): Likewise.
46433 * sysdeps/i386/fpu/libm-test-ulps: Update.
46434 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46435
5ba3cc69
JM
46436 [BZ #14034]
46437 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
46438 of square root.
46439 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
46440 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
46441 * math/libm-test.inc (acos_test_tonearest): New function.
46442 (acos_test_towardzero): Likewise.
46443 (acos_test_downward): Likewise.
46444 (acos_test_upward): Likewise.
46445 (asin_test_tonearest): Likewise.
46446 (asin_test_towardzero): Likewise.
46447 (asin_test_downward): Likewise.
46448 (asin_test_upward): Likewise.
46449 (main): Call the new functions.
46450 * sysdeps/i386/fpu/libm-test-ulps: Update.
46451 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46452
9568c0c2
JM
46453 [BZ #13884]
46454 [BZ #13924]
46455 * math/e_exp10.c: Include <float.h>.
46456 (__ieee754_exp10): Handle underflow here rather than multiplying
46457 large negative argument by M_LN10.
46458 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
46459 of __ieee754_expf.
46460 * math/e_exp10l.c: Include <float.h>.
46461 (__ieee754_exp10l): Handle underflow here rather than multiplying
46462 large negative argument by M_LN10l.
46463 * math/libm-test.inc (exp10_test): Add another test. Do not allow
46464 spurious overflow exception on underflow.
46465
5ac3ea17
MP
464662012-04-29 Marek Polacek <polacek@redhat.com>
46467
46468 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
46469 (__fortify_function): New macro.
46470 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
46471 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
46472 __extern_always_inline.
46473 * libio/bits/stdio2.h: Likewise.
46474 * libio/bits/stdio.h: Likewise.
46475 * string/string.h: Likewise.
46476 * string/bits/string3.h: Likewise.
46477 * include/stdio.h: Likewise.
46478 * stdlib/bits/stdlib.h: Likewise.
46479 * stdlib/stdlib.h: Likewise.
46480 * rt/bits/mqueue2.h: Likewise.
46481 * rt/mqueue.h: Likewise.
46482 * posix/bits/unistd.h: Likewise.
46483 * posix/unistd.h: Likewise.
46484 * io/bits/poll2.h: Likewise.
46485 * io/bits/fcntl2.h: Likewise.
46486 * io/fcntl.h: Likewise.
46487 * io/sys/poll.h: Likewise.
46488 * misc/bits/syslog.h: Likewise.
46489 * misc/bits/syslog-ldbl.h: Likewise.
46490 * misc/sys/syslog.h: Likewise.
46491 * socket/bits/socket2.h: Likewise.
46492 * socket/sys/socket.h: Likewise.
46493 * debug/tst-chk1.c: Likewise.
46494 * wcsmbs/bits/wchar2.h: Likewise.
46495 * wcsmbs/bits/wchar-ldbl.h: Likewise.
46496 * wcsmbs/wchar.h: Likewise.
46497
ecf0ebfb
AJ
464982012-04-29 Andreas Jaeger <aj@suse.de>
46499
46500 * Makerules (tests): Remove enable-check-abi protection.
46501 (check-abi-warn): Remove.
46502 (check-abi-%): Remove check-abi-warn usage.
46503
46504 * configure.in: Remove check-abi configure option.
46505 * configure: Regenerated.
46506 * config.make.in (enable-check-abi): Remove.
46507
6d5c57fa
AS
465082012-04-28 Andreas Schwab <schwab@linux-m68k.org>
46509
24c5d07e 46510 [BZ #14033]
ded5180a
AS
46511 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
46512 double functions to double *_finite functions.
46513
7e0d315d
AS
46514 [BZ #13941]
46515 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
46516 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
46517 LDBL_MIN_EXP.
46518 * stdio-common/Makefile (tests): Add tst-sprintf3.
46519 * stdio-common/tst-sprintf3.c: New file.
46520
6d5c57fa
AS
46521 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
46522 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
46523
0749ff8b
JM
465242012-04-28 Joseph Myers <joseph@codesourcery.com>
46525
46526 * conform/conformtest.pl: Remove duplicate typed-constant
46527 handling.
46528
8dbd5d7b
DM
465292012-04-28 David S. Miller <davem@davemloft.net>
46530
46531 * Makerules (%.abilist): Add vpath on sysdep_dirs.
46532 (check-abi-%): Remove AWK script prerequisite and explicit
46533 abilist directory.
46534 (check-abi): Rewrite to just diff the symlist with the abilist.
46535 (config-tls, config-abi-config): Delete, no longer used.
46536 (update-abi-%): Remove AWK script and explicit abilist directory.
46537 (update-abi): Rewrite to simply compare and conditionally copy the
46538 symlist and the sysdep abilist file. Remove update-abi-config
46539 checks.
46540 * abilist/ld.abilist: Remove.
46541 * abilist/libBrokenLocale.abilist: Remove.
46542 * abilist/libanl.abilist: Remove.
46543 * abilist/libcrypt.abilist: Remove.
46544 * abilist/libdl.abilist: Remove.
46545 * abilist/librt.abilist: Remove.
46546 * abilist/libthread_db.abilist: Remove.
46547 * abilist/libutil.abilist: Remove.
46548 * scripts/extract-abilist.awk: Remove.
46549 * scripts/merge-abilist.awk: Remove.
46550 * sysdeps/generic/libcidn.abilist: New file.
46551 * sysdeps/generic/libnss_compat.abilist: New file.
46552 * sysdeps/generic/libnss_db.abilist: New file.
46553 * sysdeps/generic/libnss_dns.abilist: New file.
46554 * sysdeps/generic/libnss_files.abilist: New file.
46555 * sysdeps/generic/libnss_hesiod.abilist: New file.
46556 * sysdeps/generic/libnss_nis.abilist: New file.
46557 * sysdeps/generic/libnss_nisplus.abilist: New file.
46558 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
46559 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
46560 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
46561 file.
46562 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
46563 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
46564 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
46565 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
46566 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
46567 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
46568 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
46569 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
46570 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
46571 file.
46572 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
46573 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
46574 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
46575 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
46576 file.
46577 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
46578 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
46579 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
46580 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
46581 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
46582 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
46583 file.
46584 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
46585 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
46586 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
46587 file.
46588 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
46589 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
46590 New file.
46591 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
46592 New file.
46593 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
46594 New file.
46595 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
46596 New file.
46597 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
46598 New file.
46599 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
46600 New file.
46601 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
46602 New file.
46603 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
46604 New file.
46605 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
46606 New file.
46607 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
46608 New file.
46609 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
46610 New file.
46611 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
46612 New file.
46613 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
46614 New file.
46615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
46616 file.
46617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
46618 New file.
46619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
46620 New file.
46621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
46622 file.
46623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
46624 New file.
46625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
46626 New file.
46627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
46628 file.
46629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
46630 New file.
46631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
46632 New file.
46633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
46634 New file.
46635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
46636 New file.
46637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
46638 New file.
46639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
46640 New file.
46641 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
46642 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
46643 file.
46644 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
46645 New file.
46646 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
46647 file.
46648 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
46649 file.
46650 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
46651 file.
46652 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
46653 file.
46654 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
46655 file.
46656 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
46657 New file.
46658 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
46659 file.
46660 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
46661 file.
46662 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
46663 New file.
46664 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
46665 file.
46666 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
46667 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
46668 file.
46669 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
46670 New file.
46671 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
46672 file.
46673 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
46674 file.
46675 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
46676 file.
46677 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
46678 file.
46679 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
46680 file.
46681 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
46682 New file.
46683 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
46684 file.
46685 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
46686 file.
46687 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
46688 New file.
46689 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
46690 file.
46691 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
46692 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
46693 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
46694 file.
46695 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
46696 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
46697 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
46698 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
46699 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
46700 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
46701 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
46702 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
46703 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
46704 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
46705 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
46706 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
46707 file.
46708 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
46709 New file.
46710 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
46711 file.
46712 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
46713 file.
46714 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
46715 file.
46716 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
46717 file.
46718 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
46719 file.
46720 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
46721 New file.
46722 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
46723 New file.
46724 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
46725 file.
46726 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
46727 New file.
46728 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
46729 file.
46730 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
46731 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
46732 file.
46733 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
46734 New file.
46735 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
46736 file.
46737 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
46738 file.
46739 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
46740 file.
46741 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
46742 file.
46743 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
46744 file.
46745 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
46746 New file.
46747 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
46748 New file.
46749 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
46750 file.
46751 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
46752 New file.
46753 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
46754 file.
46755
41d73a1b
JM
467562012-04-28 Joseph Myers <joseph@codesourcery.com>
46757
46758 * conform/conformtest.pl: Fix typo in handling typed-constant from
46759 allow-header.
46760
28aeeda4
JM
467612012-04-27 Joseph Myers <joseph@codesourcery.com>
46762
adae8f5e
JM
46763 * README: Cut down references to pre-2.6 Linux kernels and
46764 Linuxthreads. Update lists of configurations in libc and ports
46765 and sort alphabetically. Say "or newer" with Linux kernel version
46766 requirements.
46767
28aeeda4
JM
46768 * config.h.in [IS_IN_build]: Allow compiling without optimization.
46769
a462cb63
RA
467702012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
46771
46772 [BZ #887]
46773 * math/libm-test.inc (logb_test_downward): New test to expose
46774 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
46775 rounding mode.
46776
6ad3493e
JM
467772012-04-27 Joseph Myers <joseph@codesourcery.com>
46778
46779 [BZ #14027]
46780 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
46781 to be done.
46782 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
46783 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
46784
2ce4f015
JM
467852012-04-26 Joseph Myers <joseph@codesourcery.com>
46786
5aeb141a
JM
46787 * sysdeps/unix/i386/brk.S: Remove file.
46788 * sysdeps/unix/i386/dl-brk.S: Likewise.
46789 * sysdeps/unix/i386/pipe.S: Likewise.
46790 * sysdeps/unix/i386/sigreturn.S: Likewise.
46791 * sysdeps/unix/i386/syscall.S: Likewise.
46792 * sysdeps/unix/i386/vfork.S: Likewise.
46793 * sysdeps/unix/i386/wait.S: Likewise.
46794
7143acae
JM
46795 * sysdeps/unix/common/tcsendbrk.c: Move to ...
46796 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
46797
2ce4f015
JM
46798 * configure.in (arm*-none*): Do not allow without
46799 --enable-hacker-mode.
46800 (netbsd*): Remove case setting base_os.
46801 (386bsd*): Likewise.
46802 (freebsd*): Likewise.
46803 (bsdi*): Likewise.
46804 (osf*): Likewise.
46805 (sunos*): Likewise.
46806 (ultrix*): Likewise.
46807 (newsos*): Likewise.
46808 (dynix*): Likewise.
46809 (*bsd*): Likewise.
46810 (sysv*): Likewise.
46811 (isc*): Likewise.
46812 (esix*): Likewise.
46813 (sco*): Likewise.
46814 (minix*): Likewise.
46815 (irix4*): Likewise.
46816 (irix6*): Likewise.
46817 (solaris[2-9]*): Likewise.
46818 (none): Likewise.
46819 * configure: Regenerated.
46820
0ac229c8
AZ
468212012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46822
46823 [BZ #11521]
46824 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
46825 overflow or cancellation in calculating denominator.
46826 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
46827 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
46828 down expression to avoid unexpected rounding in newer GCCs.
46829 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
46830
33f244f4
DM
468312012-04-26 David S. Miller <davem@davemloft.net>
46832
46833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
46834 long-double compat symbols.
46835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
46836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
46837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
46838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
46839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
46840 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
46841 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
46842 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
46843 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
46844 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
46845 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
46846 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
46847 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
46848
cfa1f3e8
DM
468492012-04-25 David S. Miller <davem@davemloft.net>
46850
46851 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
46852 HWCAP_* values only after the memory barriers have been defined.
46853 (atomic_full_barrier): Define.
46854 (atomic_read_barrier): Define.
46855 (atomic_write_barrier): Define.
46856
6e236b92
SP
468572012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
46858
46859 * shlib-versions: Add libgcc_s version information.
46860 * sysdeps/generic/libgcc_s.h: Remove.
46861 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
46862 libgcc_s.h.
46863 * sysdeps/gnu/unwind-resume.c: Likewise.
46864 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
46865
aab39a09
DM
468662012-04-25 David S. Miller <davem@davemloft.net>
46867
46868 * sysdeps/unix/sparc/brk.S: Delete.
46869 * sysdeps/unix/sparc/dl-brk.S: Delete.
46870 * sysdeps/unix/sparc/pipe.S: Delete.
46871 * sysdeps/unix/sparc/sysdep.S: Delete.
46872 * sysdeps/unix/sparc/sysdep.h: Delete.
46873 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
46874 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
46875 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
46876 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
46877 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
46878 (JUMPTARGET): Remove.
46879 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
46880 sysdeps/unix/sparc/sysdep.h
46881 (ENTRY, END): Remove.
46882 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46883
a3cc4f48
JM
468842012-04-25 Joseph Myers <joseph@codesourcery.com>
46885
2ed8cda2
JM
46886 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
46887 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
46888 -DIS_IN_build.
46889
35d76d59
JM
46890 * timezone/README: Update upstream location and email address for
46891 tzcode and tzdata.
46892 * timezone/zdump.c: Update from tzcode 2012b.
46893 * timezone/zic.c: Likewise.
46894
a3cc4f48
JM
46895 * configure.in (libc_cv_as_needed): Remove test.
46896 * configure: Regenerated.
46897 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
46898 conditional definition.
46899 [$(have-as-needed) != yes] (no-as-needed): Likewise.
46900 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
46901 * config.make.in (have-as-needed): Remove variable.
46902
ceab42c3
SP
469032012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
46904 Paul Pluzhnikov <ppluzhnikov@google.com>
46905
46906 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
46907 strings correctly.
46908
3ce2865f
CLT
469092012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
46910
46911 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
46912 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
46913 * sysdeps/sh/strlen.S: Likewise.
46914
f37e0d68
JM
469152012-04-24 Joseph Myers <joseph@codesourcery.com>
46916
ae186e9a
JM
46917 * sysdeps/unix/fork.S: Remove file.
46918 * sysdeps/unix/i386/fork.S: Likewise.
46919 * sysdeps/unix/sparc/fork.S: Likewise.
46920
b96914af
JM
46921 * sysdeps/unix/system.c: Remove file.
46922 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
46923
f37e0d68
JM
46924 * sysdeps/unix/getegid.S: Remove file.
46925 * sysdeps/unix/geteuid.S: Likewise.
46926
87ef29ca
RM
469272012-04-24 Roland McGrath <roland@hack.frob.com>
46928
83bcd236
RM
46929 * scripts/check-localplt.awk: New file.
46930 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
46931 of diff.
46932 * scripts/data/localplt-generic.data: Add a comment.
46933
87ef29ca
RM
46934 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
46935 NODE when __dir_mkfile failed.
46936 * sysdeps/mach/hurd/symlinkat.c: Likewise.
46937 Reported by Ludovic Courtès <ludo@gnu.org>.
46938
e5a6e567
AJ
469392012-04-24 Andreas Jaeger <aj@suse.de>
46940
46941 * Makerules (common-clean): Also remove gen-as-const-headers
46942 files.
46943
c1820385
JM
469442012-04-24 Joseph Myers <joseph@codesourcery.com>
46945
46946 * Makerules (native-compile): Do not change working directory for
46947 build. Use $(OUTPUT_OPTION) in command.
46948 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
46949
94e02fc4
AZ
469502012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46951
46952 [BZ #13886]
46953 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
46954 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
46955 * math/libm-test.inc (floor_test): Add more tests.
46956 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
46957
3a533ca3
JM
469582012-04-24 Joseph Myers <joseph@codesourcery.com>
46959
940ab4b3
JM
46960 * sysdeps/unix/getdents.c: Remove file.
46961 * sysdeps/unix/sysv/getdents.c: Likewise.
46962 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
46963
90e037bd
JM
46964 * sysdeps/unix/syscalls.list (madvise): Add syscall from
46965 sysdeps/unix/mman/syscalls.list.
46966 (mmap): Likewise.
46967 (mprotect): Likewise.
46968 (msync): Likewise.
46969 (munmap): Likewise.
46970 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
46971 * sysdeps/unix/mman/syscalls.list: Remove.
46972 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
46973
3a533ca3
JM
46974 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
46975 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
46976 * configure: Regenerated.
46977 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
46978 $(libgcc_s_suffix).
46979 * config.make.in (libgcc_s_suffix): Remove variable.
46980
1ad743de
JM
469812012-04-23 Joseph Myers <joseph@codesourcery.com>
46982
4ad451e2
JM
46983 * sysdeps/unix/sysv/gethostname.c: Move to ...
46984 * sysdeps/posix/gethostname.c: ... here.
46985
5e37ce39
JM
46986 * sysdeps/unix/execve.S: Remove file.
46987
1ad743de
JM
46988 * sysdeps/unix/_exit.S: Remove file.
46989
4e681b5b
AJ
469902012-04-23 Andreas Jaeger <aj@suse.de>
46991
46992 [BZ #13739]
46993 * manual/Makefile: Remove make dist support, there's no
46994 need for a stand-alone documentation tar ball.
46995 (TEXI2DVI): Define always, it's not in Makeconfig.
46996 (dist): Removed.
46997 (tar-it): Removed.
46998 (edition): Removed.
46999 (glibc-doc-$(edition).tar): Removed
47000 (%.Z): Removed.
47001 (%.gz): Removed.
47002 (%.uu): Removed.
47003 (ETAGS): Remove, it's in Makeconfig.
47004 (move-if-change): Remove, it's in Makeconfig.
47005
38686a03 470062012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
47007
47008 [BZ #13970]
47009 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
47010 (strtod, strtof, strtold, strtol, strtoul, strtoq)
47011 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
47012 (strtod_l, strtof_l, strtold_l): Remove __wur.
47013 It is not necessarily an error to ignore strtol's return value.
47014 One can reliably look at the stored endptr to decide whether
47015 the number had valid syntax.
47016
7c0616fa
AJ
470172012-04-21 Andreas Jaeger <aj@suse.de>
47018
803cb6b7 47019 [BZ #13739]
7c0616fa
AJ
47020 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
47021
b0fe253f
JM
470222012-04-21 Joseph Myers <joseph@codesourcery.com>
47023
47024 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
47025 * sysdeps/unix/sysv/Versions: Remove file.
47026
8280f22d
MT
470272012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
47028
47029 [BZ #13927]
47030 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47031
75ce411f 470322012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
47033
47034 [BZ #7064]
47035 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
47036 version from __vm86.
47037
097d59fa
JM
470382012-04-20 Joseph Myers <joseph@codesourcery.com>
47039
a90f3bcb
JM
47040 * sysdeps/unix/common/lxstat.c: Remove file.
47041 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
47042
edc7ea78
JM
47043 * sysdeps/unix/sysv/Makefile: Remove file.
47044
cb78c221
JM
47045 * sysdeps/unix/sysv/direct.h: Remove file.
47046
efa6a45f
JM
47047 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
47048 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
47049 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
47050 * sysdeps/unix/sysv/bits/signum.h: Likewise.
47051 * sysdeps/unix/sysv/bits/stat.h: Likewise.
47052 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
47053 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
47054
9c9f2d0c
JM
47055 * sysdeps/unix/sysv/setrlimit.c: Remove file.
47056
4541c83b
JM
47057 * sysdeps/unix/xmknod.c: Remove file.
47058 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
47059
f5d153a0
JM
47060 * sysdeps/unix/sysv/settimeofday.c: Remove file.
47061
aa746595
JM
47062 * sysdeps/unix/sysv/i386/time.S: Remove file.
47063
cce5905e
JM
47064 * sysdeps/unix/fxstat.c: Remove file.
47065 * sysdeps/unix/xstat.c: Likewise.
47066 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
47067
37fa3841
JM
47068 * sysdeps/unix/sysv/sigaction.c: Remove file.
47069
ff1962a3
JM
47070 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
47071 (sysdep_headers): Remove variable.
47072 [termio.h not in sysdep_headers] (generated): Likewise.
47073 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
47074 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
47075 * sysdeps/unix/sysv/tcdrain.c: Likewise.
47076 * sysdeps/unix/sysv/tcflow.c: Likewise.
47077 * sysdeps/unix/sysv/tcflush.c: Likewise.
47078 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
47079 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
47080 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
47081 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
47082 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
47083
e7740d31
JM
47084 * sysdeps/unix/siglist.c: Remove file.
47085
ee06f18b
JM
47086 * sysdeps/unix/getppid.S: Remove file.
47087
097d59fa
JM
47088 * sysdeps/unix/mkdir.c: Remove file.
47089 * sysdeps/unix/rmdir.c: Likewise.
47090
ff3d51ec
AS
470912012-04-19 Andreas Schwab <schwab@linux-m68k.org>
47092
47093 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
47094 ERR_MAX value.
47095 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
47096 errlist-compat value.
47097
50f81fd7
DM
470982012-04-18 David S. Miller <davem@davemloft.net>
47099
47100 * sysdeps/generic/memcopy.h (reg_char): Delete.
47101 * debug/strcat_chk.c: Use char, not reg_char.
47102 * debug/strcpy_chk.c: Likewise.
47103 * debug/strncat_chk.c: Likewise.
47104 * debug/strncpy_chk.c: Likewise.
47105 * string/memchr.c: Likewise.
47106 * string/memrchr.c: Likewise.
47107 * string/rawmemchr.c: Likewise.
47108 * string/strcat.c: Likewise.
47109 * string/strchr.c: Likewise.
47110 * string/strchrnul.c: Likewise.
47111 * string/strcmp.c: Likewise.
47112 * string/strcpy.c: Likewise.
47113 * string/strncat.c: Likewise.
47114 * string/strncmp.c: Likewise.
47115 * string/strncpy.c: Likewise.
47116
8ff41c46
WS
471172012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
47118
47119 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
47120 __builtin_memcopy is called when src and dest ranges are known to not
47121 overlap.
47122
6b652f46
WS
471232012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
47124
47125 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
47126 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
47127 fwd_align_merge macro call.
47128 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
47129 bwd_align_merge macro call.
47130 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
47131
b282631e
WS
471322012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
47133
47134 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
47135 bwd_align_merge macros.
47136 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
47137 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
47138 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
47139
95aa737c
DM
471402012-04-18 David S. Miller <davem@davemloft.net>
47141
47142 * sysdeps/sparc/sparc64/memcopy.h: Delete.
47143
7a99a614
AJ
471442012-04-18 Andreas Jaeger <aj@suse.de>
47145
47146 [BZ# 6794]
47147 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
47148 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
47149 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
47150
47151 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
47152 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
47153 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
47154
47155 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
47156 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
47157 Adjust for changed ldbl-128 files.
47158
47159 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
47160 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
47161 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
47162
e5270c23
DM
471632012-04-17 David S. Miller <davem@davemloft.net>
47164
47165 * sysdeps/sparc/sparc32/memcopy.h: Delete.
47166
fb5e92c9
AS
471672012-04-17 Andreas Schwab <schwab@linux-m68k.org>
47168
47169 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
47170 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
47171 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
47172 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
47173 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
47174 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
47175
76da7265
AZ
471762012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47177
47178 [BZ #6794]
47179 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
47180 * math/libm-test.inc: Add ilogb errno and exception tests.
47181 * math/w_ilogb.c: New file: ilogb wrapper.
47182 * math/w_ilogbf.c: New file: ilogbf wrapper.
47183 * math/w_ilogbl.c: New file: ilogbl wrapper.
47184 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
47185 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
47186 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
47187 exception being thrown with 0.0 as argument.
47188 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
47189 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
47190 exception being thrown with 0.0 as argument.
47191 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
47192 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
47193 exception being thrown with 0.0 as argument.
47194 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
47195 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
47196 exception being thrown with 0.0 as argument.
47197 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
47198 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 47199 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
47200 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
47201 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
47202 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
47203 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
47204 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
47205 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
47206
0396e69d
PB
472072012-04-17 Petr Baudis <pasky@ucw.cz>
47208
47209 * include/sys/uio.h: Change __vector to __iovec to avoid clash
47210 with altivec.
47211
750b5926
MP
472122012-04-16 Marek Polacek <polacek@redhat.com>
47213
47214 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
47215
751728a1
MP
472162012-04-16 Marek Polacek <polacek@redhat.com>
47217
47218 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
47219 operands of fdivp instruction.
47220
34a27407
L
472212012-04-13 H.J. Lu <hongjiu.lu@intel.com>
47222
47223 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
47224 * elf/tst-auditmod3b.c: Likewise.
47225 * elf/tst-auditmod4b.c: Likewise.
47226 * elf/tst-auditmod5b.c: Likewise.
47227 * elf/tst-auditmod6b.c: Likewise.
47228 * elf/tst-auditmod6c.c: Likewise.
47229 * elf/tst-auditmod7b.c: Likewise.
47230 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
47231 * sysdeps/x86_64/preconfigure.in: Likewise.
47232 * sysdeps/x86_64/preconfigure: Regenerated.
47233
7e73e17d
L
472342012-04-13 H.J. Lu <hongjiu.lu@intel.com>
47235
47236 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
47237 __ILP32__.
47238
c7a6ab72
AB
472392012-04-13 Antoine Balestrat <merkil33@gmail.com>
47240
47241 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
47242 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
47243
a9e8e0e0
CL
472442012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
47245
47246 [BZ #13973]
47247 * locale/iso-639.def: Fix gl language name. Spotted by
47248 Yaron Shahrabani.
47249
ec98af7d
RM
472502012-04-12 Roland McGrath <roland@hack.frob.com>
47251
47252 [BZ #2074]
47253 * libio/libio.h (__io_write_fn): Update comment.
47254
247c3ede
PB
472552012-04-12 Petr Baudis <pasky@ucw.cz>
47256
47257 [BZ #2074]
47258 * stdio.texi (Hook Functions): The user provided writer function
47259 is not allowed to return -1.
47260
55939d6d
DM
472612012-04-11 David S. Miller <davem@davemloft.net>
47262
47263 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47264
90020f5a
MF
472652012-04-11 Mike Frysinger <vapier@gentoo.org>
47266
47267 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
47268 Add a leading slash to rtkaio.
47269
288f9098
JM
472702012-04-11 Jim Meyering <meyering@redhat.com>
47271
90020f5a
MF
47272 [BZ #11959]
47273 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
47274 It is not necessarily an error to ignore fwrite's return
47275 value. One can reliably use ferror to test for errors after
47276 the fact.
288f9098 47277
4be2b570
L
472782012-04-10 H.J. Lu <hongjiu.lu@intel.com>
47279
47280 * bits/types.h (__snseconds_t): New type.
47281 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
47282
47283 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
47284 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
47285 (__SNSECONDS_T_TYPE): Likewise.
47286 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
47287 (__SNSECONDS_T_TYPE): Likewise.
47288 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47289 (__SNSECONDS_T_TYPE): Likewise.
47290
288f9098 472912012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
47292
47293 [BZ #2636]
47294 * manual/time.texi (Processor Time): Return type of times is
47295 elapsed real time since an arbitrary point in the past.
47296 (CPU Time): Move CLK_TCK from here...
47297 (Processor Time): ...to here. Correct description.
47298 * manual/conf.texi (Constants for Sysconf): Correct description of
47299 _SC_CLK_TCK.
47300
d7dd4413
DM
473012012-04-10 David S. Miller <davem@davemloft.net>
47302
47303 [BZ #13967]
47304 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
47305 where the is a gap between DT_REL(A) and DT_JMPREL.
47306
b46068fc
L
473072012-04-10 H.J. Lu <hongjiu.lu@intel.com>
47308
47309 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
47310 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
47311 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
47312
73d65cc3
SP
473132012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
47314
47315 * elf/dl-support.c (_dl_inhibit_cache): New variable.
47316 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
47317 (dl_main): Handle --inhibit-cache.
47318 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
47319 _dl_inhibit_cache.
47320 * elf/dl-load.c (_dl_map_object): Use it.
47321 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
47322
bcc8d661
JM
473232012-04-09 Joseph Myers <joseph@codesourcery.com>
47324
8f9a2fae
JM
47325 [BZ #13872]
47326 * sysdeps/i386/fpu/e_powl.S (p78): New object.
47327 (__ieee754_powl): Saturate large exponents rather than testing for
47328 overflow of y*log2(x).
47329 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
47330 * math/libm-test.inc (pow_test): Do not permit spurious overflow
47331 exceptions.
47332
bcc8d661
JM
47333 [BZ #11521]
47334 * math/s_ctan.c: Include <float.h>.
47335 (__ctan): Avoid internal overflow or cancellation in calculating
47336 denominator.
47337 * math/s_ctanf.c: Likewise.
47338 * math/s_ctanl.c: Likewise.
47339 * math/s_ctanh.c: Likewise.
47340 * math/s_ctanhf.c: Likewise.
47341 * math/s_ctanhl.c: Likewise.
47342 * math/libm-test.inc (ctan_test): Add more tests.
47343 (ctanh_test): Likewise.
47344 * sysdeps/i386/fpu/libm-test-ulps: Update.
47345 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47346
823fbbb4
AJ
473472012-04-09 Andreas Jaeger <aj@suse.de>
47348
03879793
AJ
47349 [BZ #6894]
47350 * manual/filesys.texi (Directory Entries): Mention that d_namlen
47351 is an optional BSD extension.
47352
823fbbb4
AJ
47353 [BZ #10254]
47354 * manual/stdio.texi (Opening Streams): Document additional fopen
47355 parameters.
47356
8de131cb
RM
473572012-04-09 Roland McGrath <roland@hack.frob.com>
47358
47359 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
47360 %eax without telling the compiler.
47361
c0ed9d7d
CD
473622012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
47363
47364 [BZ # 13963]
47365 * manual/install.texi: Use sourceware.org.
47366
c483f6b4
JM
473672012-04-09 Joseph Myers <joseph@codesourcery.com>
47368
d7dd9453
JM
47369 [BZ #13873]
47370 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
47371 (__ieee754_pow): Generate overflow and underflow using huge*huge
47372 and tiny*tiny rather than just returning constant infinity or zero
47373 for large exponents.
47374 * math/libm-test.inc (pow_test): Require overflow exceptions for
47375 applicable cases of large exponents.
47376
c483f6b4
JM
47377 [BZ #706]
47378 * sysdeps/i386/fpu/e_pow.S (p10): New object.
47379 (__ieee754_pow): Use iterative multiplication algorithm only for
47380 integer exponents with absolute value below 1024. Check for odd
47381 integer exponents when using algorithm for real exponents.
47382 * math/libm-test.inc (pow_test): Add more tests.
47383 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47384
d2de7579
JM
473852012-04-08 Joseph Myers <joseph@codesourcery.com>
47386
47387 [BZ #13705]
47388 * math/libm-test.inc (exp_test): Do not allow overflow exception
47389 on underflow test.
47390
f77f1232
AJ
473912012-04-08 Aurelien Jarno <aurelien@aurel32.net>
47392
47393 [BZ #13705]
47394 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
47395 instead of __kernel_standard_f.
47396
3884932b
MF
473972012-04-08 Mike Frysinger <vapier@gentoo.org>
47398
47399 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
47400 * sysdeps/x86_64/memset_chk.S: Likewise.
47401
54472e9c
AJ
474022012-04-08 Andreas Jaeger <aj@suse.de>
47403
6ab0fbfc
AJ
47404 [BZ #10153]
47405 * manual/startup.texi (Environment Access): Describe return value
47406 for putenv and setenv.
47407
61efba8c
AJ
47408 [BZ #6895]
47409 * manual/filesys.texi (Directory Entries): Add description for
47410 DT_LNK.
47411
95c3f29a
AJ
47412 [BZ #6890]
47413 * manual/filesys.texi (Directory Entries): Clarify that it's file
47414 system not operating system in the description of DT_UNKNOWN.
47415
54472e9c
AJ
47416 [BZ #6578]
47417 * manual/syslog.texi (closelog): Fix reference, it's openlog.
47418
624254b1
SC
474192012-04-08 Stephen Compall <s11@member.fsf.org>
47420
47421 [BZ #6649]
47422 * manual/llio.texi (Opening and Closing Files): Add cross
47423 reference to explain mode argument.
47424
1e4920e0
MF
474252012-04-07 Mike Frysinger <vapier@gentoo.org>
47426
47427 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
47428 * sysdeps/x86_64/memset_chk.S: Likewise.
47429
5ed848f3
DM
474302012-04-07 David S. Miller <davem@davemloft.net>
47431
47432 * elf/elf.h (R_SPARC_WDISP10): Define.
47433 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
47434 R_SPARC_SIZE32.
47435 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
47436 R_SPARC_SIZE64 and R_SPARC_H34.
47437
96154cd8
CD
474382012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
47439
47440 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
47441 conditions and remove no longer applicable assertion.
47442
9904dc47
L
474432012-04-06 H.J. Lu <hongjiu.lu@intel.com>
47444
47445 * bits/byteswap.h: Include <features.h>.
47446 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
47447 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
47448
f8887d0a
L
474492012-04-06 H.J. Lu <hongjiu.lu@intel.com>
47450
47451 * bits/byteswap.h (__bswap_16): Removed.
47452 Include <bits/byteswap-16.h> to get __bswap_16.
47453 * sysdeps/i386/bits/byteswap.h: Likewise.
47454 * sysdeps/s390/bits/byteswap.h: Likewise.
47455 * sysdeps/x86_64/bits/byteswap.h: Likewise.
47456 * bits/byteswap-16.h: New file.
47457 * sysdeps/i386/bits/byteswap-16.h: Likewise.
47458 * sysdeps/s390/bits/byteswap-16.h: Likewise.
47459 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
47460 * string/Makefile (headers): Add bits/byteswap-16.h.
47461
62470f60
PP
474622012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
47463
47464 [BZ #13895]
47465 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
47466 extra indirection.
47467 * nss/Makefile (tests-static, tests): Add tst-nss-static.
47468 * nss/tst-nss-static.c: New.
47469
4dad7bab
RM
474702012-04-06 Robert Millan <rmh@gnu.org>
47471
47472 [BZ #6486]
47473 * manual/llio.texi (File Position Primitive): lseek
47474 refers to WHENCE when it really means OFFSET.
47475
e9142a17
AJ
474762012-04-06 Andreas Jaeger <aj@suse.de>
47477
2c040eff
AJ
47478 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
47479 strncmp declarations.
47480
e9142a17
AJ
47481 * abilist/libc.abilist: Add __poll and __ppoll.
47482
ff9f1c5f
DM
474832012-04-05 David S. Miller <davem@davemloft.net>
47484
dcd2ae90
DM
47485 * scripts/check-local-headers.sh: Accept a host triplet in the
47486 path matched by the exclude regexp.
47487
993eb054
DM
47488 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
47489 definition.
47490 * sysdeps/powerpc/powerpc32/dl-machine.h
47491 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
47492 * sysdeps/s390/s390-32/dl-machine.h
47493 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
47494 * sysdeps/sparc/sparc32/dl-machine.h
47495 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
47496 * sysdeps/sparc/sparc64/dl-machine.h
47497 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
47498
ff9f1c5f
DM
47499 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
47500 lazy binding.
48e2e132 47501 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
47502 undefined symbol errors.
47503
48e2e132 47504 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
47505 DT_NEEDED entries.
47506
e80d6f94
MM
475072012-04-05 Michael Matz <matz@suse.de>
47508
47509 [BZ #13592]
47510 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
47511
349fa79f
AJ
475122012-04-05 Andreas Jaeger <aj@suse.de>
47513
47514 [BZ #13908]
47515 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
47516 comment.
47517
f402708f
KK
475182012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
47519
47520 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
47521 which ROUND is no valid rounding mode.
47522
2ecccfc9
KK
475232012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
47524
47525 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
47526 read again.
47527 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
47528
8a53f50f
KK
475292012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
47530
47531 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
47532 an exception using FPU order intentionally.
47533
475342012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
47535
47536 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
47537 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
47538 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
47539 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
47540
d653abb7
SJ
475412012-04-05 Simon Josefsson <simon@josefsson.org>
47542
47543 [BZ #12340]
47544 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
47545 EINVAL when BUFLEN is too smal.
47546
c3b1bf7d
TS
475472012-04-05 Thomas Schwinge <thomas@codesourcery.com>
47548
47549 [BZ #13553]
47550 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
47551 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
47552
b1aa60f3
AJ
475532012-04-03 Andreas Jaeger <aj@suse.de>
47554
c3b1bf7d 47555 [BZ #13938]
67f60a26
AJ
47556 * manual/setjmp.texi (System V contexts): Fix sentence.
47557
b1aa60f3
AJ
47558 [BZ #13926]
47559 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
47560 New macro for this case.
47561 [!__GNUC__] (__bswap_64): New inline function for this case.
47562 * sysdeps/x86_64/bits/byteswap.h: Likewise.
47563 * bits/byteswap.h: Likewise.
47564 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
47565 ull, guard with __GLIBC_HAVE_LONG_LONG.
47566
47567 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
47568 __GLIBC_HAVE_LONG_LONG.
47569
47570 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
47571 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
47572
39c59c35
TMQMF
475732012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
47574
47575 [BZ #13691]
47576 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
47577 inptr and inend, rather than using last_ch.
47578
135ffda8
DM
475792012-04-02 David S. Miller <davem@davemloft.net>
47580
47581 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
47582 * stdio-common/printf-parse.h (read_int): Change return type to
47583 'int', return -1 on INT_MAX overflow.
47584 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
47585 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
47586 overflows INT_MAX. Check for overflow of in-format-string precision
47587 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
47588 SIZE_MAX not INT_MAX for integer overflow test.
47589 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
47590 skip the construct in the format string but do not record anything.
47591 * stdio-common/bug22.c: Adjust to test both width/prevision
47592 INT_MAX overflow as well as total length INT_MAX overflow. Check
47593 explicitly for proper errno values.
47594
228c019e
TS
475952012-04-02 Thomas Schwinge <thomas@codesourcery.com>
47596
302cadd3
TS
47597 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
47598 CHAR_MAX.
47599 * string/test-strcmp.c [! WIDE]: Likewise.
47600 * time/tst-mktime2.c: Likewise for INT_MAX.
47601 * string/test-string.h: #include <sys/param.h> for MIN.
47602
228c019e
TS
47603 * csu/init-first.c (__libc_init_first): Call __ctype_init.
47604 * sysdeps/i386/init-first.c (init): Likewise.
47605 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
47606 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
47607 * sysdeps/sh/init-first.c (init): Likewise.
47608
cfa633f5
UD
476092012-04-01 Ulrich Drepper <drepper@gmail.com>
47610
47611 * po/ru.po: Update from translation team.
d1635ef8 47612 * po/vi.po: Likewise.
cfa633f5 47613
6cd0a5ea
SP
476142012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
47615
47616 * resolv/nss_dns/dns-host.c: Merge copyright years.
47617
4b43400f
LD
476182012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47619
47620 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
47621 Optimize memcpy with prefetch if
47622 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
47623 src, dst pointers have unequal 16 byte alignments.
47624
48c41d04
SP
476252012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
47626
47627 [BZ #13928]
47628 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
47629 from a CNAME entry and return the minimum ttl for the query.
47630 (gaih_getanswer_slice): Likewise.
47631
b8dc394d
JL
476322012-03-30 Jeff Law <law@redhat.com>
47633
47634 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
47635 due to long keys.
47636 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
47637 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
47638
2f5a5ed0
JL
47639 * resolv/nss_dns/dns-host.c: Update copyright year.
47640
1d39e359
UD
476412012-03-30 Ulrich Drepper <drepper@gmail.com>
47642
c030f70c 47643 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 47644 requests to save a system call. Fix check that all bytes are sent.
c030f70c 47645
1d39e359
UD
47646 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
47647 comments for sendmmsg.
47648
476492012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
47650
47651 [BZ #13691]
47652 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
47653 with only 1 character between 0x0041 and 0x01b0.
47654 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
47655 * wcsmbs/tst-mbsnrtowcs.c: New file.
47656
20fde227
DM
476572012-03-29 David S. Miller <davem@davemloft.net>
47658
47659 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
47660 small copies by hand.
47661
984a4237
JL
476622012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
47663
47664 [BZ #13761]
57f41c40
AS
47665 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
47666 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
47667 group memberships.
984a4237 47668
18c9d62b
DM
476692012-03-28 David S. Miller <davem@davemloft.net>
47670
88d85d4f
DM
47671 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
47672 that branches into memcpy.
47673 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
47674 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
47675 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
47676 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
47677 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
47678 bits.
47679 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
47680 implementation too.
47681 * sysdeps/sparc/mempcpy.S: New file.
47682
e5aa83e1
DM
47683 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
47684 the IFUNC routine in the libc case.
47685 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
47686
88570753
DM
47687 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
47688 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
47689 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
47690 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
47691 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
47692 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
47693 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
47694 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
47695
249d7567
DM
47696 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
47697 loop to 256 bytes instead of 64 bytes and fix test signedness.
47698
18c9d62b
DM
47699 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
47700 * sysdeps/sparc/sparc32/Makefile: rather than here...
47701 * sysdeps/sparc/sparc64/Makefile: and here.
47702
05f3d1f6
UD
477032012-03-28 Ulrich Drepper <drepper@gmail.com>
47704
47705 * malloc/mallocbug.c: Avoid warnings about unused variables.
47706
86ae07a8
JL
477072012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
47708
47709 [BZ #13760]
47710 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
47711 in the right place. Discard and retry query if response is
47712 larger than input buffer size.
47713
41bf21a1
JM
477142012-03-28 Joseph Myers <joseph@codesourcery.com>
47715
d6270972
JM
47716 [BZ #369]
47717 [BZ #2678]
47718 [BZ #3866]
47719 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
47720 x for large integer exponent.
47721 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
47722 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
47723 sign of result as needed afterwards.
47724 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
47725 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
47726 result for underflowing pow the same as for overflow.
47727 (__kernel_standard_l): Handle powl overflow and underflow here
47728 rather than calling __kernel_standard.
47729 * math/libm-test.inc (pow_test): Add more tests.
47730
414fca03 47731 [BZ #3868]
41bf21a1
JM
47732 [BZ #13879]
47733 [BZ #13910]
47734 [BZ #13911]
47735 [BZ #13912]
47736 [BZ #13913]
47737 [BZ #13915]
47738 [BZ #13916]
47739 [BZ #13917]
47740 [BZ #13918]
47741 [BZ #13919]
47742 [BZ #13920]
47743 [BZ #13921]
47744 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
47745 * sysdeps/ieee754/k_standard.c: Include <float.h>.
47746 (__kernel_standard_l): New function.
47747 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
47748 __kernel_standard.
47749 * math/w_acosl.c (__acosl): Likewise.
47750 * math/w_asinl.c (__asinl): Likewise.
47751 * math/w_atan2l.c (__atan2l): Likewise.
47752 * math/w_atanhl.c (__atanhl): Likewise.
47753 * math/w_coshl.c (__coshl): Likewise.
47754 * math/w_exp10l.c (__exp10l): Likewise.
47755 * math/w_exp2l.c (__exp2l): Likewise.
47756 * math/w_fmodl.c (__fmodl): Likewise.
47757 * math/w_hypotl.c (__hypotl): Likewise.
47758 * math/w_j0l.c (__j0l, __y0l): Likewise.
47759 * math/w_j1l.c (__j1l, __y1l): Likewise.
47760 * math/w_jnl.c (__jnl, __ynl): Likewise.
47761 * math/w_lgammal.c (__lgammal): Likewise.
47762 * math/w_log10l.c (__log10l): Likewise.
47763 * math/w_log2l.c (__log2l): Likewise.
47764 * math/w_logl.c (__logl): Likewise.
47765 * math/w_powl.c (__powl): Likewise.
47766 * math/w_remainderl.c (__remainderl): Likewise.
47767 * math/w_scalbl.c (sysv_scalbl): Likewise.
47768 * math/w_sinhl.c (__sinhl): Likewise.
47769 * math/w_sqrtl.c (__sqrtl): Likewise.
47770 * math/w_tgammal.c (__tgammal): Likewise.
47771 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
47772 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
47773 * math/libm-test.inc (acos_test): Add more tests.
47774 (acosh_test): Likewise.
47775 (asin_test): Likewise.
47776 (atanh_test): Likewise.
47777 (exp_test): Likewise.
47778 (exp10_test): Likewise.
47779 (exp2_test): Likewise.
47780 (expm1_test): Likewise.
47781 (lgamma_test): Likewise.
47782 (log_test): Likewise.
47783 (log10_test): Likewise.
47784 (log1p_test): Likewise.
47785 (log2_test): Likewise.
47786 (pow_test): Do not allow some spurious overflow exceptions.
47787 (sqrt_test): Add more tests.
47788 (tgamma_test): Likewise.
47789 (y0_test): Likewise.
47790 (y1_test): Likewise.
47791 (yn_test): Likewise.
47792
dd62fda6
AB
477932012-03-27 Anton Blanchard <anton@samba.org>
47794
47795 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
47796 MAP_HUGETLB.
47797 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
47798 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
47799 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
47800
1e3cdfda
AJ
478012012-03-27 David S. Miller <davem@davemloft.net>
47802
b855ab85
DM
47803 * conform/Makefile: Run run-conformtest.sh using $(BASH).
47804
1e3cdfda
AJ
47805 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
47806 have-as-vis3 check.
47807
478082012-03-27 Andreas Jaeger <aj@suse.de>
47809
47810 * sysdeps/x86_64/elf/configure.in: Moved to ...
47811 * sysdeps/x86_64/configure.in: ... here.
47812 * sysdeps/x86_64/elf/start.S: Moved to ...
47813 * sysdeps/x86_64/start.S: ... here.
47814 * sysdeps/x86_64/elf/configure: Delete.
47815
47816 * sysdeps/x86_64/configure.in: Merge contents from
47817 sysdeps/i386/configure.in (without i686 check).
47818
47819 * sysdeps/i386/elf/Versions: Merge into ...
47820 * sysdeps/i386/Versions: ... this.
47821 * sysdeps/i386/elf/Versions: Delete file.
47822 * sysdeps/i386/elf/start.S: Moved to ...
47823 * sysdeps/i386/start.S: ...here.
47824 * sysdeps/i386/elf/configure.in: Merge into...
47825 * sysdeps/i386/configure.in: ...here.
47826 * sysdeps/i386/elf/configure.in: Delete file.
47827 * sysdeps/i386/elf/configure: Delete file.
47828
47829 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
47830 * debug/backtracesyms.c: ... here.
47831 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
47832 * debug/backtracesymsfd.c: ... here.
47833 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
47834 * sysdeps/generic/ifunc-sel.h: ... here.
47835
47836 * sysdeps/unix/i386/start.c: Delete file.
47837 * sysdeps/unix/sparc/start.c: Delete file.
47838 * sysdeps/unix/start.c: Delete file.
47839
47840 * sysdeps/sh/elf/configure.in: Moved to ...
47841 * sysdeps/sh/configure.in: ... here.
47842 * sysdeps/sh/elf/start.S: Moved to ...
47843 * sysdeps/sh/start.S: ... here.
47844 * sysdeps/sh/elf/configure: Delete file.
47845
47846 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
47847 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
47848 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
47849 * sysdeps/powerpc/powerpc64/entry.h: ... here.
47850 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
47851 * sysdeps/powerpc/powerpc64/start.S: here.
47852 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
47853 * sysdeps/powerpc/powerpc64/Makefile: ... this.
47854 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
47855 * sysdeps/powerpc/powerpc64/configure.in: ... this.
47856 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
47857
47858 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
47859 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
47860 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
47861 * sysdeps/powerpc/powerpc32/start.S: ... here.
47862 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
47863 * sysdeps/powerpc/powerpc32/configure.in: ... this.
47864 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
47865
47866 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
47867 * sysdeps/powerpc/ifunc-sel.h: ... here.
47868 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
47869 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
47870
47871 * sysdeps/sparc/elf/configure.in: Moved to ...
47872 * sysdeps/sparc/configure.in: ... here.
47873 * sysdeps/sparc/elf/configure: Delete file.
47874 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
47875 * sysdeps/sparc/sparc32/start.S: ... here.
47876 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
47877 * sysdeps/sparc/sparc64/start.S: ... here.
47878 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
47879 * sysdeps/sparc/sparc32/Makefile: ... this.
47880 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
47881 * sysdeps/sparc/sparc64/Makefile: ... this.
47882
47883 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
47884 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
47885 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
47886 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
47887 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
47888 * sysdeps/s390/s390-32/setjmp.S: ... here.
47889 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
47890 * sysdeps/s390/s390-32/configure.in: ... here.
47891 * sysdeps/s390/s390-32/elf/configure: Delete file.
47892 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
47893 * sysdeps/s390/s390-32/start.S: ... here.
47894
47895 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
47896 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
47897 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
47898 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
47899 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
47900 * sysdeps/s390/s390-64/setjmp.S: ... here.
47901 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
47902 * sysdeps/s390/s390-64/configure.in: ... here
47903 * sysdeps/s390/s390-64/elf/configure: Delete file.
47904 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
47905 * sysdeps/s390/s390-64/start.S: ... here.
47906 * sysdeps/s390/s390-64/elf/configure: Delete.
47907
47908 * configure.in: Remove support for elf directories in sysdeps.
47909
47910 * configure: Regenerated.
47911 * sysdeps/i386/configure: Regenerated.
47912 * sysdeps/powerpc/powerpc32/configure: Regenerated.
47913 * sysdeps/powerpc/powerpc64/configure: Regenerated.
47914 * sysdeps/s390/s390-32/configure: Regenerated.
47915 * sysdeps/s390/s390-64/configure: Regenerated.
47916 * sysdeps/sh/configure: Regenerated.
47917 * sysdeps/sparc/configure: Regenerated.
47918 * sysdeps/x86_64/configure: Regenerated.
47919
a3f61311
AS
479202012-03-26 Andreas Schwab <schwab@linux-m68k.org>
47921
c876e002
AS
47922 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47923
a3f61311
AS
47924 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
47925 denormal result into account.
47926
ac4c54f0
RM
479272012-03-25 Roland McGrath <roland@hack.frob.com>
47928
47929 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
47930 Reported by Allan McRae <allan@archlinux.org>.
47931
6a9b9c02
JL
479322012-03-23 Jeff Law <law@redhat.com>
47933
47934 * nss/getnssent.c (__nss_getent): Fix typo.
47935
4c42a0c1
DM
479362012-03-23 David S. Miller <davem@davemloft.net>
47937
47938 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47939
1532c7ac
L
479402012-03-23 H.J. Lu <hongjiu.lu@intel.com>
47941
47942 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
47943 to pad to uint64_t for each field.
47944 (dl_tls_index): Replace unsigned long with uint64_t.
47945
3ff42526
PP
479462012-03-23 Daniel Jacobowitz <dmj@google.com>
47947 Paul Pluzhnikov <ppluzhnikov@google.com>
47948
47949 [BZ #6528]
47950 * grp/Makefile (otherlibs): Don't set it.
47951 * inet/Makefile (otherlibs): Likewise.
47952 * login/Makefile (otherlibs): Likewise.
47953 * nscd/Makefile (otherlibs): Likewise.
47954 * posix/Makefile (otherlibs): Likewise.
47955 * pwd/Makefile (otherlibs): Likewise.
47956 * rt/Makefile (otherlibs): Likewise.
47957 * sunrpc/Makefile (otherlibs): Likewise.
47958 * nss/Makefile (otherlibs): Likewise.
47959 Add libnss_files to routines and static-only-routines.
47960 ($(objpfx)getent): Remove rule.
47961 * resolv/Makefile: Add libnss_dns and libresolv to routines and
47962 static-only-routines.
47963
7c69cd14
JM
479642012-03-22 Joseph Myers <joseph@codesourcery.com>
47965
47966 [BZ #13892]
47967 * math/s_cexp.c: Include <float.h>.
47968 (__cexp): Handle exp result overflowing not necessarily
47969 overflowing both real and imaginary parts of result.
47970 * math/s_cexpf.c: Likewise.
47971 * math/s_cexpl.c: Likewise.
47972 * math/libm-test.inc (cexp_test): Add more tests.
47973 * sysdeps/i386/fpu/libm-test-ulps: Update.
47974 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47975
81b035fe
L
479762012-03-22 H.J. Lu <hongjiu.lu@intel.com>
47977
47978 * include/link.h (ELFW): New macro.
47979 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
47980 Replace ELF64_R_TYPE with ELFW(R_TYPE).
47981
1da7940c
L
479822012-03-22 H.J. Lu <hongjiu.lu@intel.com>
47983
47984 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
47985 with uint64_t.
47986
b749dbb9
L
479872012-03-22 H.J. Lu <hongjiu.lu@intel.com>
47988
47989 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
47990 declaration.
47991 (struct La_x32_retval): Likewise.
47992
2ff87f3f
L
479932012-03-22 H.J. Lu <hongjiu.lu@intel.com>
47994
47995 * sysdeps/x86_64/preconfigure.in: New file.
47996 * sysdeps/x86_64/preconfigure: New generated file.
47997
c0df8e69
JM
479982012-03-22 Joseph Myers <joseph@codesourcery.com>
47999
48e44791
JM
48000 [BZ #13824]
48001 * math/e_exp2l.c: Include <float.h>.
48002 (__ieee754_exp2l): Handle overflow and underflow cases
48003 separately. Only pass fractional part of argument to
48004 __ieee754_expl.
48005 * math/libm-test.inc (exp2_test): Add more tests.
48006
c0df8e69
JM
48007 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
48008 negating x to take absolute value.
48009 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
48010 Likewise.
48011 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
48012 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
48013 Likewise.
48014 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
48015 computing low part if x was negated.
48016 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
48017
c8e43ba7
L
480182012-03-21 H.J. Lu <hongjiu.lu@intel.com>
48019
48020 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
48021 la_x32_gnu_pltexit.
48022 (pltexit): Cast int_retval to ptrdiff_t.
48023 * elf/tst-auditmod3b.c: Likewise.
48024 * elf/tst-auditmod4b.c: Likewise.
48025 * elf/tst-auditmod5b.c: Likewise.
48026 * elf/tst-auditmod6b.c: Likewise.
48027 * elf/tst-auditmod6c.c: Likewise.
48028 * elf/tst-auditmod7b.c: Likewise.
48029
48030 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
48031 and x32_gnu_pltexit.
48032
48033 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
48034 __ELF_NATIVE_CLASS.
48035 (La_x32_regs): New macro.
48036 (La_x32_retval): Likewise.
48037 (la_x32_gnu_pltenter): New function prototype.
48038 (la_x32_gnu_pltexit): Likewise.
48039
7998fa78
AS
480402012-03-21 Andreas Schwab <schwab@linux-m68k.org>
48041
dcb33988
AS
48042 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
48043 exponent.
48044
233fc563
AS
48045 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48046
7998fa78
AS
48047 * configure.in (libc_cv_cc_nofma): Check for option to disable
48048 generation of FMA instructions.
48049 * configure: Regenerate.
48050 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
48051 * sysdeps/ieee754/dbl-64/Makefile: New file.
48052 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
48053 Remove brandred-fma4.
48054 (CFLAGS-brandred-fma4.c): Remove.
48055 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
48056 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
48057 define.
48058 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
48059 define.
48060
8e95c99a
L
480612012-03-21 H.J. Lu <hongjiu.lu@intel.com>
48062
48063 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
48064 LLONG_MAX != LONG_MAX.
48065 (_itoa_word): Use _ITOA_WORD_TYPE on value.
48066 (_fitoa_word): Likewise.
48067 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
48068 LLONG_MAX != LONG_MAX.
48069 * stdio-common/_itowa.h: Include <_itoa.h>.
48070 (_itowa_word): Use _ITOA_WORD_TYPE on value.
48071 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
48072 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
48073 only if not defined.
48074 (_ITOA_WORD_TYPE): Likewise.
48075 (_itoa_word): Use _ITOA_WORD_TYPE on value.
48076 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
48077
6f4db457
DM
480782012-03-21 David S. Miller <davem@davemloft.net>
48079
48080 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48081
7785fe5a
L
480822012-03-21 H.J. Lu <hongjiu.lu@intel.com>
48083
48084 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
48085 of x86_64 when setting libc_cv_slibdir, libdir and
48086 libc_cv_localedir.
48087 * sysdeps/unix/sysv/linux/configure: Regenerated.
48088
4535cd55
JM
480892012-03-21 Joseph Myers <joseph@codesourcery.com>
48090
48091 * manual/lang.texi (Old Varargs): Remove section.
48092 (How Variadic): Update menu.
48093 (va_start): Do not mention varargs.h.
48094
17228132
TS
480952012-03-21 Thomas Schwinge <thomas@codesourcery.com>
48096 Joseph Myers <joseph@codesourcery.com>
48097
48098 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
48099 link test.
48100 * configure: Regenerated.
48101
8149f976
TS
481022012-03-21 Thomas Schwinge <thomas@codesourcery.com>
48103
05f3d1f6
UD
48104 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
48105 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
48106 conformtest.pl
8149f976 48107
1a4ac776
JM
481082012-03-21 Joseph Myers <joseph@codesourcery.com>
48109
be22ce65
JM
48110 * NOTES: Remove.
48111 * Makefile (files-for-dist): Remove NOTES.
48112 (NOTES): Remove rule.
48113 * README: Don't refer to NOTES.
48114 * manual/creature.texi: Don't include macros.texi.
48115 * manual/intro.texi (creature.texi): Remove comment referring to
48116 NOTES.
48117
40b601fb
JM
48118 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
48119 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
48120 * configure: Regenerated.
48121 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
48122 LIBC_TRY_CC_OPTION.
48123 (libc_cv_as_i686): Likewise.
48124 (libc_cv_cc_avx): Likewise.
48125 (libc_cv_cc_sse2avx): Likewise.
48126 (libc_cv_cc_fma4): Likewise.
48127 (libc_cv_cc_novzeroupper): Likewise.
48128 * sysdeps/i386/configure: Regenerated.
48129
1a4ac776
JM
48130 [BZ #13883]
48131 * sysdeps/i386/fpu/s_cexp.S: Remove.
48132 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
48133 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
48134 * math/libm-test.inc (cexp_test): Add more tests.
48135 * sysdeps/i386/fpu/libm-test-ulps: Update.
48136 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48137
a458e7fe
AM
481382012-03-21 Allan McRae <allan@archlinux.org>
48139
48140 * timezone/Makefile: Do not install iso3166.tab and zone.tab
48141
0cb7efc5
JM
481422012-03-21 Joseph Myers <joseph@codesourcery.com>
48143
48144 [BZ #13871]
48145 * math/w_exp2.c: Do not include <float.h>.
48146 (o_threshold, u_threshold): Remove.
48147 (__exp2): Calculate result before checking finiteness and calling
48148 __kernel_standard.
48149 * math/w_exp2f.c: Likewise.
48150 * math/w_exp2l.c: Likewise.
48151 * math/libm-test.inc (exp2_test): Require overflow exception for
48152 1e6 input.
2460d3aa
JM
48153
48154 [BZ #3866]
48155 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
48156 range of signed 64-bit integers before using fistpll. Remove
48157 checks for whether integers fit in mantissa bits.
48158 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
48159 the range of signed 32-bit integers before using fistpl. Remove
48160 checks for whether integers fit in mantissa bits.
48161 * sysdeps/i386/fpu/e_powl.S (p64): New object.
48162 (__ieee754_powl): Test for y outside the range of signed 64-bit
48163 integers before using fistpll. Reduce 64-bit values to 63-bit
48164 ones as needed.
48165 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
48166 divide-by-zero is raised for zero to large negative powers.
48167 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
48168 (__ieee754_powl): Test for y outside the range of signed 64-bit
48169 integers before using fistpll. Reduce 64-bit values to 63-bit
48170 ones as needed.
48171 * math/libm-test.inc (pow_test): Add more tests.
48172
eb96ffb0
L
481732012-03-20 H.J. Lu <hongjiu.lu@intel.com>
48174
48175 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
48176 <stdio-common/_itoa.h>.
48177 * debug/segfault.c: Likewise.
48178 * elf/dl-cache.c: Likewise.
48179 * elf/dl-minimal.c: Likewise.
48180 * elf/dl-misc.c: Likewise.
48181 * elf/dl-sysdep.c: Likewise.
48182 * elf/dl-version.c: Likewise.
48183 * elf/rtld.c: Likewise.
48184 * hurd/hurdsock.c: Likewise.
48185 * hurd/lookup-retry.c: Likewise.
48186 * malloc/malloc.c: Likewise.
48187 * malloc/mtrace.c: Likewise.
48188 * nscd/nscd_getgr_r.c: Likewise.
48189 * nscd/nscd_getpw_r.c: Likewise.
48190 * nscd/nscd_getserv_r.c: Likewise.
48191 * posix/getopt_init.c: Likewise.
48192 * posix/wordexp.c: Likewise.
48193 * stdio-common/_itoa.c: Likewise.
48194 * stdio-common/printf_fphex.c: Likewise.
48195 * stdio-common/vfprintf.c: Likewise.
48196 * string/_strerror.c: Likewise.
48197 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
48198 * sysdeps/i386/i686/hp-timing.h: Likewise.
48199 * sysdeps/mach/_strerror.c: Likewise.
48200 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
48201 * sysdeps/mach/hurd/sethostid.c: Likewise.
48202 * sysdeps/mach/hurd/xmknodat.c: Likewise.
48203 * sysdeps/mach/xpg-strerror.c: Likewise.
48204 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
48205 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
48206 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
48207 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
48208 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
48209 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
48210 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
48211 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
48212 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
48213 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
48214 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
48215 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
48216 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
48217 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
48218 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
48219 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
48220 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
48221 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
48222 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
48223 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
48224 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
48225
48226 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
48227
48228 * stdio-common/_itoa.h: Moved to ...
48229 * sysdeps/generic/_itoa.h: Here.
48230
48231 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
48232
48233 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
48234 instead of "_itoa.h" and "_itowa.h".
48235 * stdio-common/vfprintf.: Likewise.
48236
d1af992d
L
482372012-03-20 H.J. Lu <hongjiu.lu@intel.com>
48238
48239 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
48240 <bits/wordsize.h>.
48241 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
48242 (__signbit): Likwise.
48243 (llrintf): Likwise.
48244 (llrint): Likwise.
48245
114883e0
L
482462012-03-20 H.J. Lu <hongjiu.lu@intel.com>
48247
48248 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
48249 __WORDSIZE != 64.
48250
c135cc1b
JM
482512012-03-20 Joseph Myers <joseph@codesourcery.com>
48252
48253 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
48254 OVERFLOW_EXCEPTION_OK.
48255 * math/libm-test.inc ("Philosophy"): Update comment about
48256 exception testing.
48257 (OVERFLOW_EXCEPTION): Define.
48258 (OVERFLOW_EXCEPTION_OK): Likewise.
48259 (INVALID_EXCEPTION_OK): Renumber.
48260 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
48261 (IGNORE_ZERO_INF_SIGN): Likewise.
48262 (test_exceptions): Handle FE_OVERFLOW.
48263 (exp10_test): Expect overflow exceptions.
48264 (exp2_test): Likewise.
48265 (expm1_test): Likewise.
48266 (nextafter_test): Likewise.
48267 (pow_test): Likewise.
48268 (scalbn_test): Likewise.
48269 (scalbln_test): Likewise.
48270
95443d88
L
482712012-03-19 H.J. Lu <hongjiu.lu@intel.com>
48272
48273 * sysdeps/x86_64/bits/atomic.h
48274 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
48275 64bit integer.
48276 (atomic_exchange_acq): Likewise.
48277 (__arch_exchange_and_add_body): Likewise.
48278 (__arch_add_body): Likewise.
48279 (atomic_add_negative): Likewise.
48280 (atomic_add_zero): Likewise.
48281
490df6c4
L
482822012-03-19 H.J. Lu <hongjiu.lu@intel.com>
48283
c2722551 48284 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
48285 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
48286
5e52b189
L
482872012-03-19 H.J. Lu <hongjiu.lu@intel.com>
48288
48289 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
48290 Check __x86_64__ instead of __WORDSIZE.
48291
a9879d4c
L
482922012-03-19 H.J. Lu <hongjiu.lu@intel.com>
48293
48294 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
48295
5df98260
DM
482962012-03-19 David S. Miller <davem@davemloft.net>
48297
e1497744
DM
48298 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48299
5df98260
DM
48300 * sysdeps/sparc/fpu/fenv_private.h: New file.
48301 * sysdeps/sparc/fpu/math_private.h: Use it.
48302 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
48303 Remove.
57f41c40 48304 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
48305 (libc_feholdexcept_setroundl): Remove.
48306 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
48307 Remove.
48308 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
48309 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
48310
b4c35121
L
483112012-03-19 H.J. Lu <hongjiu.lu@intel.com>
48312
48313 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
48314 int64_t instead of long int.
48315 (INSERT_WORDS64): Likwise.
48316
56965fd7
L
483172012-03-19 H.J. Lu <hongjiu.lu@intel.com>
48318
48319 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
48320 _Unwind_GetCFA return to _Unwind_Ptr first.
48321
83d1aec8
JM
483222012-03-19 Joseph Myers <joseph@codesourcery.com>
48323
1897ad44
JM
48324 [BZ #13629]
48325 * math/s_clog.c: Include <float.h>.
48326 (__clog): Scale large or subnormal inputs.
48327 * math/s_clogf.c: Likewise.
48328 * math/s_clogl.c: Likewise.
48329 * math/s_clog10.c: Include <float.h>.
48330 (M_LOG10_2): Define.
48331 (__clog10): Scale large or subnormal inputs.
48332 * math/s_clog10f.c: Likewise.
48333 * math/s_clog10l.c: Likewise.
48334 * math/libm-test.inc (clog_test): Add more tests.
48335 (clog10_test): Likewise.
48336 * sysdeps/i386/fpu/libm-test-ulps: Update.
48337 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48338
7726d6a9
JM
48339 [BZ #11451]
48340 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
48341 x and y.
48342 * math/libm-test.inc (atan2_test): Add another test.
48343
83d1aec8
JM
48344 * Makerules (common-objdir-compile): Remove.
48345 * sysdeps/unix/Makefile (config-generated): Do not add
48346 $(unix-generated) to variable.
48347 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
48348 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
48349 Remove rule.
48350 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
48351 Likewise.
48352 [generic bits/local_lim.h] (before-compile): Do not append to
48353 variable.
48354 [generic bits/local_lim.h] (common-generated): Likewise.
48355 [generic sys/param.h] (before-compile): Do not append to variable.
48356 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
48357 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
48358 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
48359 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
48360 include.
48361 [generic sys/param.h] (sys/param.h-includes): Remove variable.
48362 [generic sys/param.h] (sys/param.h-includes): Remove rule.
48363 [generic sys/param.h] ($(addprefix
48364 $(common-objpfx),$(sys/param.h-includes))): Likewise.
48365 [generic sys/param.h] (common-generated): Do not append to
48366 variable.
48367 [generic sys/param.h] (sysdep_headers): Likewise.
48368 [generic bits/errno.h] (before-compile): Do not append to
48369 variable.
48370 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
48371 rule.
48372 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
48373 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
48374 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
48375 [generic bits/errno.h] (common-generated): Do not append to
48376 variable.
48377 [generic bits/ioctls.h] (before-compile): Do not append to
48378 variable.
48379 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
48380 rule.
48381 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
48382 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
48383 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
48384 rule.
48385 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
48386 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
48387 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
48388 [generic bits/ioctls.h] (common-generated): Do not append to
48389 variable.
48390 [generic sys/syscall.h] (syscall.h): Remove variable.
48391 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
48392 rule.
48393 [generic sys/syscall.h] (before-compile): Do not append to
48394 variable.
48395 [generic sys/syscall.h] (common-generated): Likewise.
48396 * sysdeps/unix/errnos-tmpl.c: Remove file.
48397 * sysdeps/unix/errnos.awk: Likewise.
48398 * sysdeps/unix/ioctls-tmpl.c: Likewise.
48399 * sysdeps/unix/ioctls.awk: Likewise.
48400 * sysdeps/unix/mk-local_lim.c: Likewise.
48401 * sysdeps/unix/snarf-ioctls: Likewise.
48402
4851a949
RH
484032012-03-19 Richard Henderson <rth@twiddle.net>
48404
bd37f2ee
RH
48405 * sysdeps/i386/fpu/fenv_private.h: New file.
48406 * sysdeps/i386/fpu/math_private.h: Use it.
48407 (math_opt_barrier, math_force_eval): Remove.
48408 (libc_feholdexcept_setround_53bit): Remove.
48409 (libc_feupdateenv_53bit): Remove.
48410 * sysdeps/x86_64/fpu/math_private.h: Likewise.
48411 (math_opt_barrier, math_force_eval): Remove.
48412 (libc_feholdexcept): Remove.
48413 (libc_feholdexcept_setround): Remove.
48414 (libc_fetestexcept, libc_fesetenv): Remove.
48415 (libc_feupdateenv_test): Remove.
48416 (libc_feupdateenv, libc_feholdsetround): Remove.
48417 (libc_feresetround): Remove.
48418
d0adc922
RH
48419 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
48420 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
48421
0fe0f1f8
RH
48422 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
48423 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
48424 (libc_feupdateenv_testl): New.
48425 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
48426 (libc_feupdateenv_testf): New.
48427 (libc_feupdateenv): Use libc_feupdateenv_test.
48428 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
48429 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
48430
eb92c487
RH
48431 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
48432 (libc_feholdsetroundf, libc_feholdsetroundl): New.
48433 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
48434 (libc_feresetround_noex): New.
48435 (libc_feresetround_noexf): New.
48436 (libc_feresetround_noexl): New.
48437 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
48438 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
48439 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
48440 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
48441 SET_RESTORE_ROUND.
48442 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
48443 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
48444 (__cos): Likewise.
48445 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
48446 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
48447 SET_RESTORE_ROUND_NOEX.
48448 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
48449 SET_RESTORE_ROUND_NOEXF.
48450 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
48451 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
48452 (libc_feholdsetroundf): New.
48453 (libc_feresetround, libc_feresetroundf): New.
48454
7d2e8012
RH
48455 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
48456 (libc_feholdexcept_setround_53bit): Convert from macro to function.
48457 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
48458
b4dabbb4
RH
48459 * sysdeps/generic/math_private.h: Include <fenv.h>.
48460 (default_libc_feholdexcept): New.
48461 (default_libc_feholdexcept_setround): New.
48462 (default_libc_fesetenv, default_libc_feupdateenv): New.
48463 (libc_feholdexcept): Only define if undefined.
48464 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
48465 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
48466 (libc_feholdexcept_setroundl): Likewise.
48467 (libc_feholdexcept_setround_53bit): Likewise.
48468 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
48469 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
48470 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
48471 (libc_feupdateenv_53bit): Likewise.
48472 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
48473 (libc_feholdexcept): Convert from macro to inline function.
48474 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
48475 (libc_fesetenv, libc_feupdateenv): Likewise.
48476
4851a949
RH
48477 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
48478 not previously defined.
48479 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
48480 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
48481 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
48482 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
48483 * sysdeps/ieee754/flt-32/math_private.h: New file.
48484 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
48485 math_private.h below SET_FLOAT_WORD.
48486 (__isnan, __isinf_ns, __finite): Remove.
48487 (__isnanf, __isinf_nsf, __finitef): Remove.
48488
e79d442e
AS
484892012-03-18 Andreas Schwab <schwab@linux-m68k.org>
48490
48491 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48492
90b80344
DM
484932012-03-17 David S. Miller <davem@davemloft.net>
48494
48495 [BZ #6471]
48496 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
48497 for 2.16.
48498
edc21804
DM
484992012-03-16 David S. Miller <davem@davemloft.net>
48500
77e927af
DM
48501 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
48502 warnings.
48503
374976dd
DM
48504 [BZ #6471]
48505 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
48506 properly.
48507 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
48508 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
48509 sysdep_routines when subdir is sysvipc.
48510 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
48511 __getshmlba helper.
48512
edc21804
DM
48513 * sysdeps/sparc/fpu/libm-test/ulps: Update.
48514
473c3ef3
L
485152012-03-16 H.J. Lu <hongjiu.lu@intel.com>
48516
48517 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
48518 [__LP64__].
48519
eb0f39b6
L
485202012-03-16 H.J. Lu <hongjiu.lu@intel.com>
48521
48522 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
48523 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
48524 (__lround): Renamed to ...
48525 (__llround): This. Replace long int with long long int.
48526 Define lround functions as aliases of llround functions.
48527 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
48528
6b6cd74b
L
485292012-03-16 H.J. Lu <hongjiu.lu@intel.com>
48530
48531 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
48532 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
48533 adresses to uintptr_t. Replace "long int" and "unsigned long
48534 int" with "greg_t" on va_arg.
48535
f1a77b01
L
485362012-03-16 H.J. Lu <hongjiu.lu@intel.com>
48537
48538 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
48539 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
48540
48541 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
48542 Move e_machine check before EI_CLASS check. Handle x32
48543 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
48544 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
48545 SKIP_EM_IA_64 and include
48546 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
48547
48548 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
48549 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
48550 (add_system_dir): New macro.
48551
48552 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
48553 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
48554
11b90b9f
JM
485552012-03-16 Joseph Myers <joseph@codesourcery.com>
48556
c36e1d23
JM
48557 [BZ #2551]
48558 [BZ #2552]
48559 [BZ #2553]
48560 [BZ #2554]
48561 [BZ #2562]
48562 [BZ #2563]
48563 [BZ #2565]
48564 [BZ #2566]
48565 [BZ #2576]
48566 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
48567 (y0): Likewise.
48568 * math/w_j0f.c (j0f): Likewise.
48569 (y0f): Likewise.
48570 * math/w_j0l.c (__j0l): Likewise.
48571 (__y0l): Likewise.
48572 * math/w_j1.c (j1): Likewise.
48573 (y1): Likewise.
48574 * math/w_j1f.c (j1f): Likewise.
48575 (y1f): Likewise.
48576 * math/w_j1l.c (__j1l): Likewise.
48577 (__y1l): Likewise.
48578 * math/w_jn.c (jn): Likewise.
48579 (yn): Likewise.
48580 * math/w_jnf.c (jnf): Likewise.
48581 (ynf): Likewise.
48582 * math/w_jnl.c (__jnl): Likewise.
48583 (__ynl): Likewise.
48584 * math/libm-test.inc (j0_test): Add more tests.
48585 (j1_test): Likewise.
48586 (jn_test): Likewise. Add trailing semicolon to existing test.
48587 (y0_test): Likewise.
48588 (y1_test): Likewise.
48589 * sysdeps/i386/fpu/libm-test-ulps: Update.
48590 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48591
11b90b9f
JM
48592 [BZ #13851]
48593 [BZ #13854]
48594 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
48595 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
48596 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
48597 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
48598 (__tanl): Set errno for infinite argument.
48599 * sysdeps/i386/fpu/mptan.c: Remove.
48600 * sysdeps/i386/fpu/s_tan.S: Likewise.
48601 * sysdeps/i386/fpu/s_tanl.S: Likewise.
48602 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
48603 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
48604 * math/libm-test.inc (tan_test): Add more tests and enable more
48605 tests for double and long double.
48606 * sysdeps/i386/fpu/libm-test-ulps: Update.
48607 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48608
6a1bd2a1
JK
486092012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
48610
48611 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
48612 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
48613
10a803e0
RM
486142012-03-16 Roland McGrath <roland@hack.frob.com>
48615
48616 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
48617 * configure.in: Use it for both main tree and add-ons.
48618 * configure: Regenerated.
48619
f196c7f7
L
486202012-03-16 H.J. Lu <hongjiu.lu@intel.com>
48621
48622 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
48623
8848d99d
JM
486242012-03-16 Joseph Myers <joseph@codesourcery.com>
48625
96cbe7f4
JM
48626 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
48627 in comment.
48628
8848d99d
JM
48629 [BZ #13851]
48630 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
48631 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
48632 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
48633 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
48634 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
48635 infinite argument.
48636 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
48637 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
48638 != 0 for prec == 2.
48639 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
48640 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
48641 * sysdeps/i386/fpu/s_cosl.S: Likewise.
48642 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
48643 * sysdeps/i386/fpu/s_sinl.S: Likewise.
48644 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
48645 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
48646 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
48647 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
48648 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
48649 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
48650 * math/libm-test.inc (cos_test): Add more tests and enable more
48651 tests for long double.
48652 (sin_test): Likewise.
48653 (sincos_test): Likewise.
48654 * sysdeps/i386/fpu/libm-test-ulps: Update.
48655 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48656
dd7f4703
DM
486572012-03-16 David S. Miller <davem@davemloft.net>
48658
48659 * sysdeps/sparc/fpu/math_private.h: New file.
48660
006f1daa
DM
486612012-03-15 David S. Miller <davem@davemloft.net>
48662
c0c83bc8
DM
48663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
48664 file.
e6a62e18 48665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
48666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
48667 file.
e6a62e18
DM
48668 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
48669 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
48670 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
48671 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
48672 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
48673 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
48674 sysdep routines.
48675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
48676
88cb87d9
DM
48677 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
48678 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
48679
006f1daa 48680 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
48681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
48682 sparc-ifunc.h
006f1daa 48683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
48684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
48685 Likewise.
48686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
48687 Likewise.
006f1daa
DM
48688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
48689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
48690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
48691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
48692 Likewise.
006f1daa
DM
48693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
48694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
48695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
48696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
48697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
48698 Likewise.
48699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
48700 Likewise.
006f1daa
DM
48701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
48702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
48703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
48704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
48705 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
48706 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
48707 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
48708 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
48709 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
48710 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
48711 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
48712 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
48713 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
48714 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
48715 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
48716 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
48717 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
48718 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
48719 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
48720 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
48721 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
48722 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
48723 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
48724 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
48725
11e0098e
AS
487262012-03-15 Andreas Schwab <schwab@linux-m68k.org>
48727
48728 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
48729 scaling.
48730 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48731
e85b09d0
AJ
487322012-03-15 Andreas Jaeger <aj@suse.de>
48733
48734 [BZ #13852]
48735 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
48736 ieee754/flt-32 implementation for sin, cos and sincos.
48737 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
48738 * sysdeps/i386/fpu/s_cosf.S: Likewise.
48739 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
48740 * sysdeps/i386/fpu/s_sinf.S: Likewise.
48741 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
48742 ieee754/flt-32 implementation for tan.
48743
48744 * math/libm-test.inc (cos_test): Enable some large input tests for
48745 float as well
48746 (sin_test): Likewise.
48747 (sincos_test): Likewise.
48748 (tan_test): Add tests for large input.
48749
48750 * sysdeps/i386/fpu/libm-test-ulps: Update.
48751
81c64153
AJ
487522012-03-15 Andreas Jaeger <aj@suse.de>
48753
48754 [BZ #13658]
48755 * math/libm-test.inc (cos_test): Add more test cases.
48756 (sin_test): Likewise.
48757 (sincos_test): Likewise.
48758
7bbfa5c6
AJ
487592012-03-15 Andreas Jaeger <aj@suse.de>
48760
48761 [BZ #13837]
48762 * math/libm-test.inc (cos_test): Add a test case for large input
48763 value.
48764 (sin_test): Likewise.
48765 (sincos_test): Likewise.
48766
57f41c40
AS
487672012-03-15 Andreas Jaeger <aj@suse.de>
48768 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
48769
48770 [BZ #13658]
0671f479 48771 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
48772 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
48773 * sysdeps/i386/fpu/branred.c: Likewise.
48774 * sysdeps/i386/fpu/dosincos.c: Likewise.
48775 * sysdeps/i386/fpu/mpa.c: Likewise.
48776 * sysdeps/i386/fpu/s_cos.S: Likewise.
48777 * sysdeps/i386/fpu/s_sin.S: Likewise.
48778 * sysdeps/i386/fpu/s_sincos.S: Likewise.
48779 * sysdeps/i386/fpu/sincos32.c: Likewise.
48780
48781 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
48782 Define.
48783 (libc_feupdateenv_53bit): Define.
48784 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
48785 Define.
48786 (libc_feupdateenv_53bit): Define.
48787
48788 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
48789 53 bit (without extend i386 double precision).
48790
48791 * math/libm-test.inc (sincos_test): Add tests for large input.
48792 (sin): Likewise.
48793 (cos): Likewise.
48794
48795 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
48796
9cad04ea
AS
487972012-03-15 Andreas Schwab <schwab@linux-m68k.org>
48798
48799 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48800
f7062b9a
DM
488012012-03-15 David S. Miller <davem@davemloft.net>
48802
48803 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
48804 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
48805 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
48806 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
48807 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
48808 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
48809 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
48810 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
48811 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
48812 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
48813 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
48814 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
48815 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
48816 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
48817 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
48818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
48819 file.
f7062b9a 48820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
48821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
48822 file.
f7062b9a 48823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
48824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
48825 file.
f7062b9a 48826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
48827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
48828 file.
f7062b9a
DM
48829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
48830 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
48831 fmin/fmax sysdep routines.
48832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
48833
7bd951ff
DM
488342012-03-14 David S. Miller <davem@davemloft.net>
48835
559398ab
DM
48836 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
48837 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
48838 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
48839 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
48840 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
48841 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
48842 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
48843 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
48844 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
48845 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
48846 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
48847 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
48848 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
48849 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
48850 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
48851 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
48852 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
48853 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
48854 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
48855 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
48856 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
48857 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
48858 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
48859 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
48860 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
48861 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
48862 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
48863 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
48864 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
48865 routines.
48866 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
48867 file.
559398ab 48868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
48869 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
48870 file.
559398ab 48871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
48872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
48873 file.
559398ab 48874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
48875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
48876 file.
559398ab 48877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
48878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
48879 file.
559398ab 48880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
48881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
48882 file.
48883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
48884 file.
48885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
48886 file.
48887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
48888 file.
48889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
48890 New file.
48891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
48892 file.
48893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
48894 file.
559398ab 48895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
48896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
48897 file.
559398ab 48898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
48899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
48900 file.
559398ab 48901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
48902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
48903 file.
559398ab 48904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
48905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
48906 VIS3 routines.
559398ab
DM
48907
48908 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
48909 New file.
48910
5a1c1e32
DM
48911 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48912
eae47a36
DM
48913 * sysdeps/sparc/configure.in: New file.
48914 * sysdeps/sparc/configure: Generate.
48915 * configure.in (libc_cv_sparc_as_vis3): Substitute.
48916 * configure: Regenerate.
48917 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
48918 * config.make.in (have-as-vis3): New.
48919 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
48920 available use -Av9d instead of -Av9a.
48921 * sysdeps/sparc/sparc64/Makefile: Likewise.
48922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
48923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
48924 New file.
48925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
48926 file.
48927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
48928 New file.
48929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
48930 file.
eae47a36
DM
48931 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
48932 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
48933 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
48934 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
48935 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
48936
c0c83bc8
DM
48937 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
48938 fzeros/fnegs to load 0x80000000 into a float register instead of
48939 using the stack.
7bd951ff
DM
48940 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
48941
bd951ccb
JM
489422012-03-14 Joseph Myers <joseph@codesourcery.com>
48943
48944 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48945 bits/syscall.h.
48946 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
48947 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
48948 ($(inst_includedir)/bits/syscall.h): Remove rule.
48949 ($(objpfx)bits/syscall.d): Include instead of
48950 $(objpfx)syscall-list.d.
48951 (generated): Change syscall-list.h and syscall-list.d to
48952 bits/syscall.h and bits/syscall.d.
48953
bb4e6db2
RM
489542012-03-14 Roland McGrath <roland@hack.frob.com>
48955
48956 [BZ #13846]
48957 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
48958
aa4a2ae1
JM
489592012-03-14 Joseph Myers <joseph@codesourcery.com>
48960
e456826d
JM
48961 [BZ #13841]
48962 * math/s_csqrt.c: Include <float.h>.
48963 (__csqrt): Scale large or subnormal inputs.
48964 * math/s_csqrtf.c: Likewise.
48965 * math/s_csqrtl.c: Likewise.
48966 * math/libm-test.inc (csqrt_test): Add more tests.
48967 * sysdeps/i386/fpu/libm-test-ulps: Update.
48968 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48969
aa4a2ae1
JM
48970 [BZ #13840]
48971 * math/libm-test.inc (hypot_test): Add more tests.
48972
7c10fd35
DM
489732012-03-13 David S. Miller <davem@davemloft.net>
48974
48975 [BZ #13840]
48976 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
48977 double-precision for the calculation instead of scaling.
48978
f453b98b
JM
489792012-03-13 Joseph Myers <joseph@codesourcery.com>
48980
48981 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
48982 manipulate bits before adding and subtracting TWO52[sx].
48983 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
48984 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
48985 Likewise.
48986 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
48987
09a3453f
DM
489882012-03-13 David S. Miller <davem@davemloft.net>
48989
8e59da90
DM
48990 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
48991 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
48992 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
48993 rtld-global-offsets.h
48994 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
48995
2a8ab7f2
DM
48996 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
48997 large parameters.
48998
10f62770
DM
48999 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
49000
5f0bdb18
DM
49001 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
49002 'err' in the ifdef scope in which it is actually used.
49003
09a3453f
DM
49004 * nss/nss_db/db-init.c: Include string.h
49005
b4b2eb5e
DM
490062012-03-12 David S. Miller <davem@davemloft.net>
49007
98bb2f1c
DM
49008 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
49009 masking out of the most significant byte of random value used.
49010 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
49011 Fix coding style in previous change.
49012
b4b2eb5e
DM
49013 * sysdeps/unix/sysv/linux/kernel-features.h
49014 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
49015 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
49016 expression.
49017 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
49018 later.
49019
6e226b09
DM
490202012-03-11 David S. Miller <davem@davemloft.net>
49021
a1bcbd40
DM
49022 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
49023 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
49024 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
49025 for 'resultvar' otherwise things get truncated on 64-bit.
49026
cb9d6174
DM
49027 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
49028 Fix masking out of the most significant byte of random value used.
49029
6e226b09
DM
49030 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49031
058c132d
AS
490322012-03-10 Andreas Schwab <schwab@linux-m68k.org>
49033
49034 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49035
2d2cd515
DM
490362012-03-09 David S. Miller <davem@davemloft.net>
49037
49038 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
49039 variables with appropriate CPP guards.
57f41c40
AS
49040 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
49041 from the frame pointer, not the stack pointer. Correct layout
49042 comments. Fix test on resulting framesize and the management of
49043 the outregs buffer for pltexit. Preserve floating point return
49044 values across _dl_call_pltexit call.
2d2cd515
DM
49045 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
49046 framesize and the management of the outregs buffer for pltexit.
49047 Preserve floating point return values across _dl_call_pltexit
49048 call.
57f41c40
AS
49049 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
49050 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
49051 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
49052 (print_exit): Fix format string for return register value.
49053
9a07f9d0
JM
490542012-03-10 Joseph Myers <joseph@codesourcery.com>
49055
49056 * sunrpc/Makefile (others): Add rpcgen.
49057 ($(objpfx)rpcgen): Remove special build rule and dependency on
49058 libc.
49059 * sunrpc/rpcgen.c: New file.
49060
547b5e30
PE
490612012-03-09 Paul Eggert <eggert@cs.ucla.edu>
49062
c524201a
PE
49063 [BZ #13673]
49064 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
49065 * stdio-common/bug-vfprintf-nargs.c: Likewise.
49066 * sysdeps/i386/crti.S: Likewise.
49067 * sysdeps/i386/crtn.S: Likewise.
49068 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
49069 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
49070 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
49071 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
49072 * sysdeps/sh/crti.S: Likewise.
49073 * sysdeps/sh/crtn.S: Likewise.
49074 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
49075
7b6235f2
PE
49076 [BZ #13673]
49077 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
49078 with URL.
49079 * locale/programs/locfile-kw.gperf: Likewise.
49080 * locale/programs/charmap-kw.h: Regenerated.
49081 * locale/programs/locfile-kw.h: Likewise.
49082
547b5e30
PE
49083 [BZ #13673]
49084 * intl/plural.y: Replace FSF snail mail address with URL.
49085 * intl/plural.c: Regenerated.
49086
5f0a5dae
RH
490872012-03-09 Richard Henderson <rth@twiddle.net>
49088
49089 * include/math_private.h: Remove file.
49090 * math/math_private.h: Move file ...
49091 * sysdeps/generic/math_private.h: ... here.
49092
b8c03620
RH
49093 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
49094 * sysdeps/powerpc/fpu/math_private.h: Likewise.
49095 * sysdeps/x86_64/fpu/math_private.h: Likewise.
49096
4e234f5d 49097 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
49098 and <math_private.h>.
49099 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
49100 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
49101 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
49102 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
49103 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
49104 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
49105 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
49106 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49107 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
49108 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
49109 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49110 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
49111 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
49112 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
49113 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
49114 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
49115 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
49116 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
49117 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
49118 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
49119 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49120 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
49121 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
49122 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49123 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
49124 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
49125 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
49126 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
49127 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49128 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
49129 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
49130 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49131 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
49132 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
49133 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
49134 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
49135 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
49136 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
49137 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
49138 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
49139 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
49140 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
49141 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
49142 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
49143 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
49144 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
49145 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
49146 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
49147 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
49148 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
49149 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
49150 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
49151 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
49152 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
49153 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
49154 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
49155 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
49156 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
49157 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
49158 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
49159 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
49160 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
49161 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49162 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
49163 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
49164 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
49165 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
49166 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
49167 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
49168 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
49169 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
49170 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
49171 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
49172 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
49173 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
49174 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
49175 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
49176 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
49177 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
49178 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
49179 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
49180 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
49181 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
49182 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
49183 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
49184 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
49185 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
49186 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
49187 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
49188 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
49189 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
49190 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
49191 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
49192 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
49193 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
49194 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
49195 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
49196 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
49197 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
49198 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
49199 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
49200 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
49201 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
49202 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
49203 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
49204 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
49205 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
49206 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
49207 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
49208 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
49209 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
49210 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
49211 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
49212 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
49213 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
49214 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
49215 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
49216 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
49217 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
49218 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
49219 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
49220 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
49221 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
49222 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
49223 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
49224 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
49225 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
49226 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
49227 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
49228 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
49229 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
49230 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
49231 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
49232 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
49233 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
49234 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
49235 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
49236 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
49237 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
49238 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
49239 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
49240 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
49241 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
49242 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
49243 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
49244 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
49245 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
49246 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
49247 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
49248 * sysdeps/ieee754/k_standard.c: Likewise.
49249 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
49250 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
49251 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
49252 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
49253 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
49254 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
49255 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
49256 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
49257 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
49258 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
49259 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
49260 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
49261 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
49262 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
49263 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
49264 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
49265 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
49266 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
49267 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
49268 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
49269 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
49270 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
49271 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
49272 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
49273 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
49274 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
49275 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
49276 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
49277 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
49278 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
49279 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
49280 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
49281 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
49282 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
49283 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
49284 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
49285 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
49286 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
49287 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
49288 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
49289 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
49290 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
49291 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
49292 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
49293 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
49294 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
49295 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
49296 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
49297 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
49298 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
49299 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
49300 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
49301 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
49302 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
49303 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
49304 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
49305 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
49306 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
49307 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
49308 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
49309 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
49310 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
49311 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
49312 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
49313 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
49314 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
49315 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
49316 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
49317 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
49318 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
49319 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
49320 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
49321 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
49322 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
49323 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
49324 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
49325 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
49326 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
49327 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
49328 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
49329 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
49330 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
49331 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
49332 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
49333 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
49334 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
49335 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
49336 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
49337 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
49338 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
49339 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
49340 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
49341 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
49342 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
49343 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
49344 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
49345 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
49346 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
49347 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
49348 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
49349 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
49350 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
49351 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
49352 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
49353 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
49354 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
49355 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
49356 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
49357 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
49358 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
49359 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
49360 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
49361 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
49362 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
49363 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
49364 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
49365 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
49366 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
49367 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
49368 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
49369 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
49370 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
49371 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
49372 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
49373 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
49374 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
49375 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
49376 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
49377 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
49378 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
49379 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
49380 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
49381 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
49382 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
49383 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
49384 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
49385 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
49386 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
49387 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
49388 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
49389 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
49390 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
49391 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
49392 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
49393 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
49394 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
49395 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
49396 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
49397 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
49398 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
49399 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
49400 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
49401 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
49402 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
49403 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
49404 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
49405 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
49406 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
49407 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
49408 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
49409 * sysdeps/ieee754/s_lib_version.c: Likewise.
49410 * sysdeps/ieee754/s_matherr.c: Likewise.
49411 * sysdeps/ieee754/s_signgam.c: Likewise.
49412 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
49413 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
49414 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
49415 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
49416 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
49417 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
49418 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
49419 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
49420 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
49421 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
49422 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
49423 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
49424 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
49425 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
49426 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
49427 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
49428 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
49429 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
49430 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
49431 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
49432 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 49433
1991fa03
JM
494342012-03-09 Joseph Myers <joseph@codesourcery.com>
49435
49436 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
49437 * sunrpc/rpc_main.c: Likewise.
49438 * sunrpc/rpc_svcout.c: Likewise.
49439
60d6f5a6
DM
494402012-03-09 David S. Miller <davem@davemloft.net>
49441
49442 * include/math_private.h: New file.
49443
4962050e
JM
494442012-03-09 Joseph Myers <joseph@codesourcery.com>
49445
02a6f887
JM
49446 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
49447 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
49448 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
49449 from <bits/socket_type.h>.
49450 (enum __socket_type): Don't define here.
49451 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
49452 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49453 bits/socket_type.h.
49454
c6e013c1
JM
49455 [BZ #13566]
49456 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
49457 checking __USE_GNU.
49458
4962050e
JM
49459 * Makerules ($(inst_includedir)/%.h): New rule.
49460 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
49461 (install-others): Remove variable setting.
49462 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
49463
38842f45
RH
494642012-03-08 Richard Henderson <rth@twiddle.net>
49465
67bb6da6
RH
49466 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
49467 from macro to inline function; merge with the
49468 !__LIBC_INTERNAL_MATH_INLINES version.
49469 (__ieee754_sqrtf): Likewise.
49470
15194b4b
RH
49471 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
49472 to inline function.
49473 (__rintf, __floor, __floorf): Likewise.
49474
64e21ede
RH
49475 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
49476 macro to inline function.
49477 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
49478
38842f45
RH
49479 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
49480 not <math/math_private.h>.
49481
c64bf5fe
DM
494822012-03-08 David S. Miller <davem@davemloft.net>
49483
49484 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
49485 copyright year.
49486 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
49487
82d86f28
TS
494882012-03-08 Thomas Schwinge <thomas@codesourcery.com>
49489
49490 * resolv/gai_misc.c (handle_requests): Fix struct timespec
49491 normalization.
49492 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
49493 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
49494
aea5d727
UD
494952012-03-08 Ulrich Drepper <drepper@gmail.com>
49496
49497 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
49498 be defined individually, they must be defined as a block. Define
49499 S for printing a string instead of hidint the different by using a
49500 macro for adding the 'l'.
49501 * stdio-common/tst-fphex-wide.c: Adjust.
49502
70bca0a3
MP
495032012-03-07 Marek Polacek <polacek@redhat.com>
49504
49505 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
49506
65b81130
MP
495072012-03-08 Marek Polacek <polacek@redhat.com>
49508
49509 [BZ #13806]
49510 * stdio-common/Makefile (tests): Add tst-fphex-wide.
49511 * stdio-common/tst-fphex.c: Define a few macros to make the
49512 test reusable. Use them.
49513 * stdio-common/tst-fphex-wide.c: New file.
49514
07037eeb
JM
495152012-03-08 Joseph Myers <joseph@codesourcery.com>
49516
a7a93d50
JM
49517 [BZ #6911]
49518 * manual/macros.texi (gnusystems): New macro.
49519 (nongnusystems): Likewise.
49520 (gnulinuxhurdsystems): Likewise.
49521 (gnuhurdsystems): Likewise..
49522 (gnulinuxsystems): Likewise.
49523 * manual/charset.texi: Use new macros or @theglibc{} to refer to
49524 variants of the GNU system, not "GNU system".
49525 * manual/conf.texi: Likewise.
49526 * manual/errno.texi: Likewise. Update example of errno macro
49527 expansion.
49528 * manual/filesys.texi: Likewise.
49529 (getumask): Document as specific to GNU/Hurd.
49530 * manual/install.texi: Likewise. Reword some references to
49531 GNU/Linux.
49532 * manual/intro.texi: Likewise.
49533 * manual/io.texi: Likewise.
49534 (File Name Portability): Detail which constraints are inapplicable
49535 to all GNU systems and which are only inapplicable to GNU/Hurd.
49536 * manual/job.texi: Likewise.
49537 * manual/llio.texi: Likewise.
49538 (O_NOCTTY): Document as present on GNU/Linux.
49539 * manual/maint.texi: Likewise.
49540 * manual/memory.texi: Likewise.
49541 * manual/pattern.texi: Likewise.
49542 * manual/pipe.texi: Likewise.
49543 * manual/process.texi: Likewise.
49544 * manual/resource.texi: Likewise.
49545 (RUSAGE_CHILDREN): Remove statement about specifying a particular
49546 child on GNU/Hurd.
49547 * manual/setjmp.texi: Likewise.
49548 * manual/signal.texi: Likewise.
49549 * manual/startup.texi: Likewise.
49550 * manual/stdio.texi: Likewise.
49551 * manual/terminal.texi: Likewise.
49552 (ONLCR): Document as POSIX.
49553 (OXTABS): Document availability on GNU/Linux as XTABS.
49554 (ONOEOT): Document availability separately from other bits.
49555 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
49556 * manual/time.texi: Likewise.
49557 * manual/users.texi: Likewise.
49558 * INSTALL: Regenerated.
49559 * sysdeps/gnu/errlist.c: Regenerated.
49560
07037eeb
JM
49561 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
49562 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
49563 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
49564 puts.
49565 * configure: Regenerated.
49566
d1d3431a
JM
495672012-03-07 Joseph Myers <joseph@codesourcery.com>
49568
af6a1e37
JM
49569 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
49570 default includes instead of AC_HEADER_CHECK.
49571 * sysdeps/i386/configure: Regenerated.
49572
d1d3431a
JM
49573 [BZ #10716]
49574 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
49575 * math/s_cacoshf.c (__cacoshf): Likewise.
49576 * math/s_cacoshl.c (__cacoshl): Likewise.
49577 * math/s_casinh.c (__casinh): Set signs of result from argument.
49578 * math/s_casinhf.c (__casinhf): Likewise.
49579 * math/s_casinhl.c (__casinhl): Likewise.
49580 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
49581 (casinh_test): Add more tests.
49582 * sysdeps/i386/fpu/libm-test-ulps: Update.
49583 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49584
482ff4da
UD
495852012-03-07 Ulrich Drepper <drepper@gmail.com>
49586
872fda05
UD
49587 * po/zh_TW.po: Update from translation team.
49588
a4300c7a
UD
49589 * login/Makefile (distribute): Remove variable.
49590 * catgets/Makefile: Likewise.
49591 * mach/Makefile: Likewise.
49592 * malloc/Makefile: Likewise.
49593 * misc/Makefile: Likewise.
49594 * iconv/Makefile: Likewise.
49595 * nscd/Makefile: Likewise.
49596 * hurd/Makefile: Likewise.
49597 * manual/Makefile: Likewise.
49598 * locale/Makefile: Likewise.
49599 * intl/Makefile: Likewise.
49600 * conform/Makefile: Likewise.
49601 * nss/Makefile: Likewise.
49602 * time/Makefile: Likewise.
49603 * soft-fp/Makefile: Likewise.
49604 * dirent/Makefile: Likewise.
49605 * gmon/Makefile: Likewise.
49606 * po/Makefile: Likewise.
49607 * rt/Makefile: Likewise.
49608 * socket/Makefile: Likewise.
49609 * math/Makefile: Likewise.
49610 * signal/Makefile: Likewise.
49611 * debug/Makefile: Likewise.
49612 * elf/Makefile: Likewise.
49613 * timezone/Makefile: Likewise.
49614 * stdlib/Makefile: Likewise.
49615 * iconvdata/Makefile: Likewise.
49616 * sunrpc/Makefile: Likewise.
49617 * io/Makefile: Likewise.
49618 * argp/Makefile: Likewise.
49619 * inet/Makefile: Likewise.
49620 * hesiod/Makefile: Likewise.
49621 * grp/Makefile: Likewise.
49622 * csu/Makefile: Likewise.
49623 * wctype/Makefile: Likewise.
49624 * crypt/Makefile: Likewise.
49625 * libio/Makefile: Likewise.
49626 * string/Makefile: Likewise.
49627 * nis/Makefile: Likewise.
49628 * resolv/Makefile: Likewise.
49629 * stdio-common/Makefile: Likewise.
49630 * wcsmbs/Makefile: Likewise.
49631 * dlfcn/Makefile: Likewise.
49632 * posix/Makefile: Likewise.
49633
3b7c4e74 49634 [BZ #6959]
482ff4da
UD
49635 * timezone/Makefile: Don't install timezone files, just the programs
49636 and scripts.
49637
f72ed77d
UD
496382012-03-06 Ulrich Drepper <drepper@gmail.com>
49639
a000466f
UD
49640 * nss/databases.def: Add missing gshadow entry.
49641
f72ed77d
UD
49642 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
49643
a53b7a4e
MP
496442012-03-06 Marek Polacek <polacek@redhat.com>
49645
49646 [BZ #13726]
49647 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
49648 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
49649 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
49650 * stdio-common/tst-long-dbl-fphex.c: New file.
49651
e9258400
DM
496522012-03-06 David S. Miller <davem@davemloft.net>
49653
49654 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
49655 (set_obp_int): New function.
49656 (get_obp_int): New function.
49657 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
49658 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
49659 Avoid unused variable warnings on 'val' and use builtin_expect.
49660 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
49661 __builtin_expect.
e9258400
DM
49662 (INLINE_CLONE_SYSCALL): Likewise.
49663
3bd2c723
DM
496642012-03-05 David S. Miller <davem@davemloft.net>
49665
49666 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49667
bbb78d03
AS
496682012-03-05 Andreas Schwab <schwab@linux-m68k.org>
49669
884c5db4
AS
49670 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49671
bbb78d03
AS
49672 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
49673 only for |x| >= 40.
49674 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
49675
1c9f702a 496762012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
49677
49678 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
49679 Replace gettimeofday with __vdso_gettimeofday.
49680
7be16f82
RM
49681 * sysdeps/unix/sysv/linux/x86_64/init-first.c
49682 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
49683 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
49684
49685 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
49686 time with __vdso_time.
49687
ed58a00f
JM
496882012-03-05 Joseph Myers <joseph@codesourcery.com>
49689
49690 * manual/lang.texi (size_t): Note types to which size_t may be
49691 equivalent with the GNU C Library, but do not describe when
49692 differences between them are significant.
49693
30ee4ced
AJ
496942012-03-05 Andreas Jaeger <aj@suse.de>
49695
49696 * sysdeps/i386/fpu/libm-test-ulps: Update.
49697
b7cd39e8
JM
496982012-03-05 Joseph Myers <joseph@codesourcery.com>
49699
49700 [BZ #3976]
49701 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
49702 (__ieee754_pow): Save and restore rounding mode and use
49703 round-to-nearest for main computations.
49704 * math/libm-test.inc (pow_test_tonearest): New function.
49705 (pow_test_towardzero): Likewise.
49706 (pow_test_downward): Likewise.
49707 (pow_test_upward): Likewise.
49708 (main): Call the new functions.
49709 * sysdeps/i386/fpu/libm-test-ulps: Update.
49710 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
49711
49712 [BZ #3976]
49713 * math/libm-test.inc (cosh_test_tonearest): New function.
49714 (cosh_test_towardzero): Likewise.
49715 (cosh_test_downward): Likewise.
49716 (cosh_test_upward): Likewise.
49717 (sinh_test_tonearest): Likewise.
49718 (sinh_test_towardzero): Likewise.
49719 (sinh_test_downward): Likewise.
49720 (sinh_test_upward): Likewise.
49721 (main): Call the new functions.
49722 * sysdeps/i386/fpu/libm-test-ulps: Update.
49723 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49724
6c6a98c9
TV
497252012-03-05 Tom de Vries <tom@codesourcery.com>
49726
49727 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
49728 default stack guard is set in last bytes.
49729 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
49730
21bb2d2e 497312012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 49732
21bb2d2e 49733 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 49734
21bb2d2e
AJ
49735 [BZ #13656]
49736 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
49737 possibly allocate from heap instead of stack.
49738 * stdio-common/bug-vfprintf-nargs.c: New file.
49739 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 49740
c6922934
AS
497412012-03-03 Andreas Schwab <schwab@linux-m68k.org>
49742
49743 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49744
bc957d53
MP
497452012-03-03 Marek Polacek <polacek@redhat.com>
49746
49747 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
49748 * math/math_private.h: Likewise.
49749 * stdlib/tst-strtod.c: Likewise.
49750 * sysdeps/i386/i486/bits/atomic.h: Likewise.
49751 * sysdeps/x86_64/bits/atomic.h: Likewise.
49752
6358490d
DM
497532012-03-02 David S. Miller <davem@davemloft.net>
49754
49755 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
49756 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
49757 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
49758 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
49759 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
49760 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
49761 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
49762 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
49763
01ae168d
RM
497642012-03-02 Roland McGrath <roland@hack.frob.com>
49765
d9a17c07
RM
49766 [BZ #13792]
49767 * manual/examples/README: New file, says the example source files
49768 can be used under GPL>=2.
49769 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
49770 line containing just "*/".
49771 * manual/examples/add.c: Add copyright header (GPL>=2).
49772 * manual/examples/argp-ex1.c: Likewise.
49773 * manual/examples/argp-ex2.c: Likewise.
49774 * manual/examples/argp-ex3.c: Likewise.
49775 * manual/examples/argp-ex4.c: Likewise.
49776 * manual/examples/atexit.c: Likewise.
49777 * manual/examples/db.c: Likewise.
49778 * manual/examples/dir.c: Likewise.
49779 * manual/examples/dir2.c: Likewise.
49780 * manual/examples/execinfo.c: Likewise.
49781 * manual/examples/filecli.c: Likewise.
49782 * manual/examples/filesrv.c: Likewise.
49783 * manual/examples/fmtmsgexpl.c: Likewise.
49784 * manual/examples/genpass.c: Likewise.
49785 * manual/examples/inetcli.c: Likewise.
49786 * manual/examples/inetsrv.c: Likewise.
49787 * manual/examples/isockad.c: Likewise.
49788 * manual/examples/longopt.c: Likewise.
49789 * manual/examples/memopen.c: Likewise.
49790 * manual/examples/memstrm.c: Likewise.
49791 * manual/examples/mkfsock.c: Likewise.
49792 * manual/examples/mkisock.c: Likewise.
49793 * manual/examples/mygetpass.c: Likewise.
49794 * manual/examples/pipe.c: Likewise.
49795 * manual/examples/popen.c: Likewise.
49796 * manual/examples/rprintf.c: Likewise.
49797 * manual/examples/search.c: Likewise.
49798 * manual/examples/select.c: Likewise.
49799 * manual/examples/setjmp.c: Likewise.
49800 * manual/examples/sigh1.c: Likewise.
49801 * manual/examples/sigusr.c: Likewise.
49802 * manual/examples/stpcpy.c: Likewise.
49803 * manual/examples/strdupa.c: Likewise.
49804 * manual/examples/strftim.c: Likewise.
49805 * manual/examples/strncat.c: Likewise.
49806 * manual/examples/subopt.c: Likewise.
49807 * manual/examples/swapcontext.c: Likewise.
49808 * manual/examples/termios.c: Likewise.
49809 * manual/examples/testopt.c: Likewise.
49810 * manual/examples/testpass.c: Likewise.
49811 * manual/examples/timeval_subtract.c: Likewise.
49812
01ae168d
RM
49813 [BZ #13792]
49814 * manual/time.texi (Elapsed Time): Move timeval_subtract example
49815 function to ...
49816 * manual/timeval_subtract.c.texi: ... here, new file.
49817
49efa33d
DM
498182012-03-02 David S. Miller <davem@davemloft.net>
49819
49820 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
49821
28afd92d
JM
498222012-03-02 Joseph Myers <joseph@codesourcery.com>
49823
804360ed
JM
49824 [BZ #3976]
49825 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
49826 (__sin): Save and restore rounding mode and use round-to-nearest
49827 for all computations.
49828 (__cos): Save and restore rounding mode and use round-to-nearest
49829 for all computations.
49830 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
49831 <fenv.h>.
49832 (tan): Save and restore rounding mode and use round-to-nearest for
49833 all computations.
49834 * math/libm-test.inc (cos_test_tonearest): New function.
49835 (cos_test_towardzero): Likewise.
49836 (cos_test_downward): Likewise.
49837 (cos_test_upward): Likewise.
49838 (sin_test_tonearest): Likewise.
49839 (sin_test_towardzero): Likewise.
49840 (sin_test_downward): Likewise.
49841 (sin_test_upward): Likewise.
49842 (tan_test_tonearest): Likewise.
49843 (tan_test_towardzero): Likewise.
49844 (tan_test_downward): Likewise.
49845 (tan_test_upward): Likewise.
49846 (main): Call the new functions.
49847 * sysdeps/i386/fpu/libm-test-ulps: Update.
49848 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49849
a6d06d7b
JM
49850 [BZ #10135]
49851 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
49852 small n, then large n, before computing and testing k+n.
49853 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
49854 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
49855 Likewise.
49856 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
49857 Likewise.
49858 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
49859 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
49860 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
49861 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
49862 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
49863 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
49864 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
49865 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
49866 * math/libm-test.inc (scalbn_test): Add more tests.
49867 (scalbln_test): Likewise.
49868
07e12bb3
JM
49869 * manual/filesys.texi (mode_t): Describe constraints on size and
49870 signedness, not exact equivalence to a particular type.
49871 (ino_t): Likewise.
49872 (ino64_t): Likewise.
49873 (dev_t): Likewise.
49874 (nlink_t): Likewise.
49875 (blkcnt_t): Likewise.
49876 (blkcnt64_t): Likewise.
49877 * manual/llio.texi (off_t): Likewise.
49878
28afd92d
JM
49879 [BZ #3976]
49880 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
49881 (__ieee754_exp): Save and restore rounding mode and use
49882 round-to-nearest for all computations.
49883 * math/libm-test.inc (exp_test_tonearest): New function.
49884 (exp_test_towardzero): Likewise.
49885 (exp_test_downward): Likewise.
49886 (exp_test_upward): Likewise.
49887 (main): Call the new functions.
49888 * sysdeps/i386/fpu/libm-test-ulps: Update.
49889 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49890
b1eeb65d
CD
498912012-03-01 Chris Demetriou <cgd@google.com>
49892
49893 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
49894 have predictable order.
49895
53362a4b
DM
498962012-03-01 David S. Miller <davem@davemloft.net>
49897
3c969083
DM
49898 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
49899
759707de
DM
49900 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
49901 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
49902 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
49903 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
49904
dfdb8ff2
DM
49905 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
49906 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
49907 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
49908 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
49909 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
49910 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
49911 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
49912 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
49913 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
49914
ead89f96
DM
49915 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49916
7f66bd07
DM
49917 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
49918 * sysdeps/sparc/fpu/libm-test-ulps: to here.
49919 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
49920
53362a4b
DM
49921 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
49922 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
49923 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
49924 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
49925 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
49926 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
49927 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
49928 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
49929 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
49930 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
49931 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
49932 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
49933 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
49934 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
49935 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
49936 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
49937 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
49938 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
49939 * sysdeps/sparc/elf/configure: Regenerated.
49940
7b1902cb
JM
499412012-03-01 Joseph Myers <joseph@codesourcery.com>
49942
bec039bc
JM
49943 * configure.in (AS, LD): Require binutils 2.20 or later.
49944 * configure: Regenerated.
49945 * manual/install.texi (Tools for Compilation): Give binutils 2.20
49946 as required minimum version.
49947 * INSTALL: Regenerated.
49948
7b1902cb
JM
49949 [BZ #2541]
49950 [BZ #4108]
49951 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
49952 before squaring exponent.
49953 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
49954 bottom long double and 27 bits of top long double before squaring
49955 exponent.
49956 * math/libm-test.inc (erfc_test): Add more tests.
49957 * sysdeps/i386/fpu/libm-test-ulps: Update.
49958 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49959 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49960
f775c276
KT
499612012-03-01 Kai Tietz <ktietz@redhat.com>
49962
49963 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
49964 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
49965 containing bit-fields.
49966 * soft-fp/extended.h (_FP_UNION_E): Likewise.
49967 * soft-fp/single.h (_FP_UNION_S): Likewise.
49968 * soft-fp/double.h (_FP_UNION_D): Likewise.
49969
5b8a4d4a
JM
499702012-02-29 Joseph Myers <joseph@codesourcery.com>
49971
0bab47b6
JM
49972 [BZ #13786]
49973 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
49974 not include ../strcmp.S.
49975 [USE_AS_STRNCASECMP_L]: Likewise.
49976 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
49977 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
49978 * sysdeps/i386/i686/multiarch/strncase_l-c.c
49979 (__strncasecmp_l_ia32): Define as alias to
49980 __strncasecmp_l_nonascii.
49981
0fcad3e2
JM
49982 [BZ #5794]
49983 * math/libm-test.inc (expm1_test): Add test for bug 5794.
49984 * sysdeps/i386/fpu/libm-test-ulps: Update.
49985 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49986
5b8a4d4a
JM
49987 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
49988 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49989
8fdceb2e
JL
499902012-02-29 Jeff Law <law@redhat.com>
49991
49992 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
49993 out of bounds read.
49994
1f393a11
MP
499952012-02-29 Marek Polacek <polacek@redhat.com>
49996
49997 [BZ #13706]
49998 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
49999 * elf/Makefile: Add rules to run tst-unused-dep.out.
50000
8847f037
DM
500012012-02-28 David S. Miller <davem@davemloft.net>
50002
50003 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
50004 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
50005 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
50006 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
50007 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
50008 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
50009
169d7f11
JM
500102012-02-29 Joseph Myers <joseph@codesourcery.com>
50011
50012 * math/libm-test.inc (llround_test): Move one test from
50013 lround_test. Use TEST_f_L in moved test.
50014 (lround_test): Move misplaced test to llround_test. Add testcase
50015 from bug 2561.
50016
39adf059
UD
500172012-02-28 Ulrich Drepper <drepper@gmail.com>
50018
50019 * sysdeps/x86_64/fpu/e_expf.S: New file.
50020 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
50021
71b5d1c5
SB
500222012-02-28 Stanislav Brabec <sbrabec@suse.cz>
50023
50024 [BZ #13637]
50025 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
50026 of remain_len that may cause incomplete multi-byte character and
50027 false match.
50028 * posix/bug-regex33.c: New file.
50029 * posix/Makefile (tests): Add bug-regex33.
50030
1f77f049
JM
500312012-02-28 Joseph Myers <joseph@codesourcery.com>
50032
50033 * manual/macros.texi: New file.
50034 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
50035 * manual/libc.texinfo: Include macros.texi.
50036 * manual/creatute.texi: Likewise.
50037 * manual/install.texi: Likewise.
50038 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
50039 @glibcadj{} in references to the GNU C Library.
50040 * manual/charset.texi: Likewise.
50041 * manual/conf.texi: Likewise.
50042 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
50043 when not using those macros.
50044 * manual/creature.texi: Likewise.
50045 * manual/crypt.texi: Likewise.
50046 * manual/errno.texi: Likewise.
50047 * manual/filesys.texi: Likewise.
50048 * manual/header.texi: Likewise.
50049 * manual/install.texi: Likewise.
50050 * manual/intro.texi: Likewise.
50051 * manual/io.texi: Likewise.
50052 * manual/job.texi: Likewise.
50053 * manual/lang.texi: Likewise.
50054 * manual/libc.texiinfo: Likewise.
50055 * manual/llio.texi: Likewise.
50056 * manual/locale.texi: Likewise.
50057 * manual/maint.texi: Likewise.
50058 * manual/math.texi: Likewise.
50059 * manual/memory.texi: Likewise.
50060 * manual/message.texi: Likewise.
50061 * manual/nss.texi: Likewise.
50062 * manual/pattern.texi: Likewise.
50063 * manual/process.texi: Likewise.
50064 * manual/resource.texi: Likewise.
50065 * manual/search.texi: Likewise.
50066 * manual/setjmp.texi: Likewise.
50067 * manual/signal.texi: Likewise.
50068 * manual/socket.texi: Likewise.
50069 * manual/startup.texi: Likewise.
50070 * manual/stdio.texi: Likewise.
50071 * manual/string.texi: Likewise.
50072 * manual/sysinfo.texi: Likewise.
50073 * manual/syslog.texi: Likewise.
50074 * manual/terminal.texi: Likewise.
50075 * manual/time.texi: Likewise.
50076 * manual/users.texi: Likewise.
50077 * INSTALL: Regenerated.
50078 * NOTES: Regenerated.
d40c5d54 50079 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 50080
450bf206
AS
500812012-02-28 Andreas Schwab <schwab@linux-m68k.org>
50082
50083 * include/dirent.h: Include <dirstream.h> before
50084 <dirent/dirent.h>.
50085
741a235b
DM
500862012-02-28 David S. Miller <davem@davemloft.net>
50087
50088 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
50089 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
50090 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
50091 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
50092
d6b5aa58
DM
500932012-02-27 David S. Miller <davem@davemloft.net>
50094
1aff59a3
DM
50095 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
50096 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
50097 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
50098 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
50099
d6b5aa58
DM
50100 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
50101 frame pointer instead of stack pointer relative arg slot.
50102 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
50103 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
50104 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
50105
433f48bf
CD
501062012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
50107
50108 [BZ #3992]
50109 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
50110
d674b76d
DM
501112012-02-27 David S. Miller <davem@davemloft.net>
50112
50113 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
50114 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
50115 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
50116 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
50117 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
50118 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
50119 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
50120 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
50121
0e7727f7
JM
501222012-02-27 Joseph Myers <joseph@codesourcery.com>
50123
50124 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
50125 later. Allow versions 5-9.
43be4ca2 50126 * configure: Regenerated.
0e7727f7
JM
50127 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
50128 required minimum version and 4.6 as recommended version. Do not
50129 mention bugs in GCC 2.7 and 2.8.
43be4ca2 50130 * INSTALL: Regenerated.
0e7727f7 50131
a78bc654
DM
501322012-02-27 David S. Miller <davem@davemloft.net>
50133
428d5830
DM
50134 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
50135 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
50136 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
50137 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
50138 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
50139 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
50140 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
50141 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
50142
a78bc654
DM
50143 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
50144 manipulate bits before adding and subtracting TWO112[sx].
50145 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
50146
4579f81c
RM
501472012-02-27 Roland McGrath <roland@hack.frob.com>
50148
36c8acb4
RM
50149 [BZ #13775]
50150 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
50151 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
50152 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
50153 being in POSIX, because they are in 1003.1-2008.
50154
84ad622b
RM
50155 * rt/tst-aio.c: Include <fcntl.h>.
50156 * rt/tst-aio7.c: Likewise.
50157 * rt/tst-aio64.c: Likewise.
50158
4579f81c
RM
50159 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
50160
abd923db
JM
501612012-02-27 Joseph Myers <joseph@codesourcery.com>
50162
50163 * manual/install.texi (--with-headers): Describe headers as
50164 interface headers, not private headers.
50165 (Specific advice for GNU/Linux systems): Describe use of headers
50166 from "make headers_install", not private headers from older
50167 kernels.
43be4ca2 50168 * INSTALL: Regenerated.
abd923db
JM
50169 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
50170 Change to 2.6.19.
50171 * sysdeps/unix/sysv/linux/configure: Regenerated.
50172
6664049b
JM
50173 * manual/llio.texi (fclean): Remove documentation.
50174
bb8b6697
JM
50175 * manual/Makefile (libc-texi-generated): New variable. Include
50176 version.texi.
50177 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
50178 $(libc-texi-generated), not duplicated list of files.
50179 (version.texi, stamp-version): New rules.
50180 (realclean): Remove $(libc-texi-generated), not individual files
50181 from that list. Do not remove dir-add.texinfo.
50182 * manual/libc.texinfo: Comment out uses of edition numbers and
50183 references to printed manual. Remove last-updated dates.
50184 (EDITION): Comment out.
50185 (ISBN): Likewise.
50186 (VERSION, UPDATED): Remove.
50187 (version.texi): Include.
50188
12e5c3b9
AS
501892012-02-27 Andreas Schwab <schwab@linux-m68k.org>
50190
50191 * sysdeps/posix/spawni.c: Include <signal.h>.
50192 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
50193 * sysdeps/pthread/aio_fsync.c: Likewise.
50194
4efeffc1 501952012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 50196
ba63ba08
UD
50197 * conform/Makefile (tests): Run only when not cross-compiling and
50198 when fast-check is not defined.
50199
d94a4670
UD
50200 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
50201 * conform/data/limits.h-data: Fixes for POSIX2008.
50202 * conform/run-conformtest.sh: Run all tests.
50203 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
50204 headers.
50205 * include/bits/dlfcn.h: Likewise.
50206 * include/langinfo.h: Likewise.
50207 * include/monetary.h: Likewise.
50208 * include/sys/poll.h: Likewise.
50209
50210 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
50211 for __USE_GNU.
50212 * posix/spawn.h: Define __need_sigset_t.
50213 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
50214 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
50215 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
50216 to get sigevent_t only.
50217 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
50218 only for __USE_GNU.
50219 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
50220 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
50221 process_vm_writev only for __USE_GNU.
50222 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
50223
50224 * conform/Makefile: For now ignore errors from run-conformtest.
50225 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
50226 POSIX to avoid namespace pollution. Don't prepend headers.
50227 * conform/data/aio.h-data: Fixes for POSIX testing.
50228 * conform/data/fcntl.h-data: Likewise.
50229 * conform/data/glob.h-data: Likewise.
50230 * conform/data/grp.h-data: Likewise.
50231 * conform/data/pthread.h-data: Likewise.
50232 * conform/data/pwd.h-data: Likewise.
50233 * conform/data/signal.h-data: Likewise.
50234 * conform/data/spawn.h-data: Likewise.
50235 * conform/data/stdio.h-data: Likewise.
50236 * conform/data/stdlib.h-data: Likewise.
50237 * conform/data/stropts.h-data: Likewise.
50238 * conform/data/sys/mman.h-data: Likewise.
50239 * conform/data/sys/stat.h-data: Likewise.
50240 * conform/data/sys/types.h-data: Likewise.
50241 * conform/data/sys/wait.h-data: Likewise.
50242 * conform/data/time.h-data: Likewise.
50243 * conform/data/unistd.h-data: Likewise.
50244 * conform/data/utime.h-data: Likewise.
50245
50246 * io/sys/stat.h: fchmod was always in POSIX.
50247 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
50248 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
50249 * rt/aio.h: Define __need_timespec before including <time.h>.
50250 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
50251 struct. Add forward declaration of pthread_attr_t and use it in
50252 sigevent.
50253 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
50254 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
50255 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
50256 always remove CLK_TCK definition.
50257
c20105c3
AS
502582012-02-26 Andreas Schwab <schwab@linux-m68k.org>
50259
50260 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
50261
7a270350
UD
502622012-02-25 Ulrich Drepper <drepper@gmail.com>
50263
31341567
UD
50264 * conform/run-conformtest.sh: New file.
50265 * conform/Makefile: Run run-conformtest for tests.
50266 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
50267 support.
50268
50269 * conform/data/uchar.h-data: New file.
50270 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
50271 * conform/data/arpa/inet.h-data: Likewise.
50272 * conform/data/assert.h-data: Likewise.
50273 * conform/data/complex.h-data: Likewise.
50274 * conform/data/cpio.h-data: Likewise.
50275 * conform/data/ctype.h-data: Likewise.
50276 * conform/data/dirent.h-data: Likewise.
50277 * conform/data/dlfcn.h-data: Likewise.
50278 * conform/data/errno.h-data: Likewise.
50279 * conform/data/fcntl.h-data: Likewise.
50280 * conform/data/float.h-data: Likewise.
50281 * conform/data/fmtmsg.h-data: Likewise.
50282 * conform/data/fnmatch.h-data: Likewise.
50283 * conform/data/ftw.h-data: Likewise.
50284 * conform/data/glob.h-data: Likewise.
50285 * conform/data/grp.h-data: Likewise.
50286 * conform/data/iconv.h-data: Likewise.
50287 * conform/data/inttypes.h-data: Likewise.
50288 * conform/data/langinfo.h-data: Likewise.
50289 * conform/data/libgen.h-data: Likewise.
50290 * conform/data/limits.h-data: Likewise.
50291 * conform/data/locale.h-data: Likewise.
50292 * conform/data/math.h-data: Likewise.
50293 * conform/data/monetary.h-data: Likewise.
50294 * conform/data/mqueue.h-data: Likewise.
50295 * conform/data/ndbm.h-data: Likewise.
50296 * conform/data/net/if.h-data: Likewise.
50297 * conform/data/netdb.h-data: Likewise.
50298 * conform/data/netinet/in.h-data: Likewise.
50299 * conform/data/nl_types.h-data: Likewise.
50300 * conform/data/poll.h-data: Likewise.
50301 * conform/data/pthread.h-data: Likewise.
50302 * conform/data/pwd.h-data: Likewise.
50303 * conform/data/regex.h-data: Likewise.
50304 * conform/data/sched.h-data: Likewise.
50305 * conform/data/search.h-data: Likewise.
50306 * conform/data/semaphore.h-data: Likewise.
50307 * conform/data/setjmp.h-data: Likewise.
50308 * conform/data/signal.h-data: Likewise.
50309 * conform/data/spawn.h-data: Likewise.
50310 * conform/data/stdarg.h-data: Likewise.
50311 * conform/data/stdio.h-data: Likewise.
50312 * conform/data/stdlib.h-data: Likewise.
50313 * conform/data/string.h-data: Likewise.
50314 * conform/data/strings.h-data: Likewise.
50315 * conform/data/stropts.h-data: Likewise.
50316 * conform/data/sys/ipc.h-data: Likewise.
50317 * conform/data/sys/mman.h-data: Likewise.
50318 * conform/data/sys/msg.h-data: Likewise.
50319 * conform/data/sys/resource.h-data: Likewise.
50320 * conform/data/sys/select.h-data: Likewise.
50321 * conform/data/sys/sem.h-data: Likewise.
50322 * conform/data/sys/shm.h-data: Likewise.
50323 * conform/data/sys/socket.h-data: Likewise.
50324 * conform/data/sys/stat.h-data: Likewise.
50325 * conform/data/sys/statvfs.h-data: Likewise.
50326 * conform/data/sys/time.h-data: Likewise.
50327 * conform/data/sys/timeb.h-data: Likewise.
50328 * conform/data/sys/times.h-data: Likewise.
50329 * conform/data/sys/types.h-data: Likewise.
50330 * conform/data/sys/uio.h-data: Likewise.
50331 * conform/data/sys/un.h-data: Likewise.
50332 * conform/data/sys/utsname.h-data: Likewise.
50333 * conform/data/sys/wait.h-data: Likewise.
50334 * conform/data/syslog.h-data: Likewise.
50335 * conform/data/tar.h-data: Likewise.
50336 * conform/data/termios.h-data: Likewise.
50337 * conform/data/utime.h-data: Likewise.
50338 * conform/data/utmpx.h-data: Likewise.
50339 * conform/data/varargs.h-data: Likewise.
50340 * conform/data/wchar.h-data: Likewise.
50341 * conform/data/wctype.h-data: Likewise.
50342 * conform/data/wordexp.h-data: Likewise.
50343
50344 * include/stropts.h: New file.
50345 * include/uchar.h: New file.
50346 * include/aio.h: Changes to allow conformtest.pl to use the headers.
50347 * include/assert.h: Likewise.
50348 * include/ctype.h: Likewise.
50349 * include/dirent.h: Likewise.
50350 * include/dlfcn.h: Likewise.
50351 * include/fcntl.h: Likewise.
50352 * include/fnmatch.h: Likewise.
50353 * include/glob.h: Likewise.
50354 * include/grp.h: Likewise.
50355 * include/libio.h: Likewise.
50356 * include/locale.h: Likewise.
50357 * include/math.h: Likewise.
50358 * include/net/if.h: Likewise.
50359 * include/netdb.h: Likewise.
50360 * include/netinet/in.h: Likewise.
50361 * include/pthread.h: Likewise.
50362 * include/pwd.h: Likewise.
50363 * include/regex.h: Likewise.
50364 * include/sched.h: Likewise.
50365 * include/search.h: Likewise.
50366 * include/setjmp.h: Likewise.
50367 * include/signal.h: Likewise.
50368 * include/stdio.h: Likewise.
50369 * include/stdlib.h: Likewise.
50370 * include/string.h: Likewise.
50371 * include/sys/cdefs.h: Likewise.
50372 * include/sys/mman.h: Likewise.
50373 * include/sys/msg.h: Likewise.
50374 * include/sys/resource.h: Likewise.
50375 * include/sys/select.h: Likewise.
50376 * include/sys/socket.h: Likewise.
50377 * include/sys/stat.h: Likewise.
50378 * include/sys/statvfs.h: Likewise.
50379 * include/sys/time.h: Likewise.
50380 * include/sys/times.h: Likewise.
50381 * include/sys/uio.h: Likewise.
50382 * include/sys/utsname.h: Likewise.
50383 * include/sys/wait.h: Likewise.
50384 * include/termios.h: Likewise.
50385 * include/time.h: Likewise.
50386 * include/ulimit.h: Likewise.
50387 * include/unistd.h: Likewise.
50388 * include/utime.h: Likewise.
50389 * include/wchar.h: Likewise.
50390 * include/wctype.h: Likewise.
50391 * include/wordexp.h: Likewise.
50392
50393 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
50394
7a270350
UD
50395 * time/time.h: TIME_UTC must be a macro.
50396 Make timespec_get available for ISO C11 only as well.
50397
7724defc
UD
503982012-02-24 Ulrich Drepper <drepper@gmail.com>
50399
50400 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
50401 Reported by Peng Haitao <penght@cn.fujitsu.com>.
50402
6b1d1d46
JM
504032012-02-24 Joseph Myers <joseph@codesourcery.com>
50404
50405 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 50406
0f8bbd69
JM
504072012-02-24 Joseph Myers <joseph@codesourcery.com>
50408
50409 * manual/texinfo.tex: Update to version 2012-01-19.16.
50410
66ab80bc
JM
504112012-02-24 Joseph Myers <joseph@codesourcery.com>
50412
50413 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
50414
74981cc5
RM
504152012-02-24 Roland McGrath <roland@hack.frob.com>
50416
ee968201
RM
50417 [BZ #13738]
50418 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
50419 * manual/fdl-1.3.texi: New file.
50420 * manual/fdl-1.1.texi: File removed.
50421
74981cc5
RM
50422 [BZ #13738]
50423 * manual/libc.texinfo (FDL_VERSION): New @set.
50424 Use it for mention of FDL in cover text.
50425 (Documentation License): Use it in @include file name.
50426
7bb764bc
JM
504272012-02-22 Joseph Myers <joseph@codesourcery.com>
50428 Roland McGrath <roland@hack.frob.com>
50429
50430 [BZ #5461]
57f41c40
AS
50431 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
50432 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
50433 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
50434 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
50435 name.
50436 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
50437
6cbeae47
JM
504382012-02-22 Joseph Myers <joseph@codesourcery.com>
50439
50440 [BZ #2547]
50441 [BZ #11365]
50442 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
50443 manipulate bits before adding and subtracting TWO23[sx].
50444 * math/libm-test.inc (nearbyint_test): Add more tests.
50445
fe45ce09
JM
504462012-02-22 Joseph Myers <joseph@codesourcery.com>
50447
50448 [BZ #2548]
50449 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
50450 bits before adding and subtracting TWO23[sx].
50451 * math/libm-test.inc (rint_test): Add more tests.
50452 (rint_test_tonearest): Likewise.
50453 (rint_test_towardzero): Likewise.
50454 (rint_test_downward): Likewise.
50455 (rint_test_upward: Likewise.
50456
ff3b3d82
JM
504572012-02-22 Joseph Myers <joseph@codesourcery.com>
50458
50459 [BZ #10110]
50460 * include/stdc-predef.h: New file. Extracted from features.h.
50461 * include/features.h: Include stdc-predef.h.
50462 * Makefile (headers): Add stdc-predef.h.
50463 * CONFORMANCE (Compiler limitations): Update.
50464
ef0aab35
JM
504652012-02-22 Joseph Myers <joseph@codesourcery.com>
50466
50467 * manual/libc.texinfo (VERSION, UPDATED): Revert.
50468
58639409
DM
504692012-02-21 David S. Miller <davem@davemloft.net>
50470
50471 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
50472 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
50473
c0e70b25
DM
504742012-02-20 David S. Miller <davem@davemloft.net>
50475
50476 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
50477 using a normal save/restore sequence, rather than allocating a
50478 dummy stack frame just to store a frame pointer and restore.
50479 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
50480
fb06851d
JM
504812012-02-21 Joseph Myers <joseph@codesourcery.com>
50482
50483 * manual/install.texi: Fix stray word in line-wrapped comment.
50484
7a8b71c3
DM
504852012-02-20 David S. Miller <davem@davemloft.net>
50486
d510c123
DM
50487 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
50488 both binutils and gcc support GOTDATA.
50489
0722d7c2
DM
50490 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
50491 "rd %pc" in the PIC register setup sequences.
50492
3d2b3019
DM
50493 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
50494 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
50495 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
50496 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
50497 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
50498 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
50499 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
50500 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
50501 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
50502 (SYSCALL_ERROR_HANDLER): Likewise.
50503 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
50504 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
50505 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
50506 (SYSCALL_ERROR_HANDLER): Likewise.
50507
c80098a9
DM
50508 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
50509 (HAVE_GCC_GOTDATA): New.
50510 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
50511 relocation support in both binutils and gcc.
50512 * sysdeps/sparc/elf/configure: Regenerate.
50513
3a2545a0
DM
50514 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
50515 * sysdeps/sparc/sparc32/elf/configure: Delete.
50516 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
50517 * sysdeps/sparc/sparc64/elf/configure: Delete.
50518 * sysdeps/sparc/elf/configure.in: New file.
50519 * sysdeps/sparc/elf/configure: Generate.
50520
7a8b71c3
DM
50521 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
50522 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
50523 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
50524 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
50525 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
50526
f1e86fca
JM
505272012-02-21 Joseph Myers <joseph@codesourcery.com>
50528
50529 * manual/install.texi: Do not mention specific glibc version
50530 numbers.
50531 * manual/libc.texinfo (VERSION, UPDATED): Update.
50532 (@copying): Use @copyright{} and range of years.
50533
0e7dfaef
JM
505342012-02-21 Joseph Myers <joseph@codesourcery.com>
50535
50536 [BZ #13695]
50537 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
50538 [crti.S not in sysdirs] (generated): Do not append.
50539 [crti.S not in sysdirs] (omit-deps): Likewise.
50540 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
50541 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
50542 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
50543 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
50544 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
50545 Likewise.
50546 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
50547 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
50548 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
50549 * csu/defs.awk: Remove file.
50550 * sysdeps/generic/initfini.c: Likewise.
50551 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
50552 variable.
50553 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
50554 Likewise.
50555
599af3ca
JM
505562012-02-20 Joseph Myers <joseph@codesourcery.com>
50557
50558 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
50559 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
50560 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
50561 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
50562 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
50563 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
50564 <bits/epoll.h>.
50565 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
50566 (__EPOLL_PACKED): Define to empty if not defined by
50567 <bits/epoll.h>.
50568 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
50569 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50570 bits/epoll.h.
50571
0e499750
JM
505722012-02-20 Joseph Myers <joseph@codesourcery.com>
50573
50574 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
50575 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
50576 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
50577 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
50578 <bits/timerfd.h>.
50579 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
50580 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50581 bits/timerfd.h.
50582
5ad91f6e
JM
505832012-02-20 Joseph Myers <joseph@codesourcery.com>
50584
50585 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
50586 in C locale.
50587 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
50588 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
50589 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
50590 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50591
06b99b02
AJ
505922012-02-20 Aurelien Jarno <aurelien@aurel32.net>
50593
50594 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50595 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
50596
7638c0fd
AS
505972012-02-19 Andreas Schwab <schwab@linux-m68k.org>
50598
50599 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
50600 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
50601 defined.
50602 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
50603 Likewise.
50604 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
50605 entry for 2.16.
50606
92221550
AJ
506072012-02-19 Aurelien Jarno <aurelien@aurel32.net>
50608
50609 * math/w_acos.c: Use non-signaling floating-point comparisons.
50610 * math/w_acosf.c: Likewise.
50611 * math/w_acosh.c: Likewise.
50612 * math/w_acoshf.c: Likewise.
50613 * math/w_acoshl.c: Likewise.
50614 * math/w_acosl.c: Likewise.
50615 * math/w_asin.c: Likewise.
50616 * math/w_asinf.c: Likewise.
50617 * math/w_asinl.c: Likewise.
50618 * math/w_atanh.c: Likewise.
50619 * math/w_atanhf.c: Likewise.
50620 * math/w_atanhl.c: Likewise.
50621 * math/w_exp2.c: Likewise.
50622 * math/w_exp2f.c: Likewise.
50623 * math/w_exp2l.c: Likewise.
50624 * math/w_j0.c: Likewise.
50625 * math/w_j0f.c: Likewise.
50626 * math/w_j0l.c: Likewise.
50627 * math/w_j1.c: Likewise.
50628 * math/w_j1f.c: Likewise.
50629 * math/w_j1l.c: Likewise.
50630 * math/w_jn.c: Likewise.
50631 * math/w_jnf.c: Likewise.
50632 * math/w_log.c: Likewise.
50633 * math/w_log10.c: Likewise.
50634 * math/w_log10f.c: Likewise.
50635 * math/w_log10l.c: Likewise.
50636 * math/w_log2.c: Likewise.
50637 * math/w_log2f.c: Likewise.
50638 * math/w_log2l.c: Likewise.
50639 * math/w_logf.c: Likewise.
50640 * math/w_logl.c: Likewise.
50641 * math/w_sqrt.c: Likewise.
50642 * math/w_sqrtf.c: Likewise.
50643 * math/w_sqrtl.c: Likewise.
50644 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
50645 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
50646 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
50647 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
50648 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
50649
ebaf36eb
JM
506502012-02-19 Joseph Myers <joseph@codesourcery.com>
50651
50652 [BZ #9739]
50653 * manual/string.texi (strnlen): Use correct parameter name in
50654 equivalent expression.
50655
71c254a6
JM
506562012-02-19 Joseph Myers <joseph@codesourcery.com>
50657
50658 [BZ #11174]
50659 * manual/users.texi (seteuid): Consistently use neweuid for
50660 argument name.
50661
16d2c631
JM
506622012-02-19 Joseph Myers <joseph@codesourcery.com>
50663
50664 [BZ #13704]
50665 * manual/nss.texi (Services in the NSS configuration): Correct
50666 list of services in example configuration file.
50667
cd837b09
NB
506682012-02-19 Nick Bowler <nbowler@draconx.ca>
50669
50670 [BZ #11322]
50671 * manual/arith.texi: Remove statements about negative zero
50672 behaving identically to zero.
50673
02c4bbad
JM
506742012-02-18 Joseph Myers <joseph@codesourcery.com>
50675
50676 [BZ #5993]
50677 * manual/install.texi: Do not document upgrading from libc5.
50678
366842e7
JM
506792012-02-18 Joseph Myers <joseph@codesourcery.com>
50680
50681 [BZ #4596]
50682 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
50683
dd54084d
DM
506842012-02-18 David S. Miller <davem@davemloft.net>
50685
50686 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
50687 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
50688 %o7 across the call.
50689 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
50690 instead.
50691 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
50692 SETUP_PIC_REG_LEAF.
50693 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
50694 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
50695 * sysdeps/sparc/crtn.S: Likewise.
50696
2bcc53a3
UD
506972012-02-17 Ulrich Drepper <drepper@gmail.com>
50698
50699 * aout/Makefile: Remove.
50700
09c093b5
RK
507012012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
50702
50703 [BZ #13058]
50704 * manual/examples/argp-ex1.c (main): Format definition in GNU
50705 style.
50706 * manual/examples/argp-ex2.c (main): Likewise.
50707 * manual/examples/argp-ex3.c (main): Likewise.
50708 * manual/examples/argp-ex4.c (main): Likewise.
50709 * manual/examples/longopt.c (main): Use new-style prototype
50710 definition.
50711 * manual/examples/strncat.c (main): Specify return type and use
50712 (void) for arguments.
50713 * manual/examples/subopt.c (main): Use char **argv argument.
50714
2ee633a2
JM
507152012-02-17 Joseph Myers <joseph@codesourcery.com>
50716
50717 [BZ #5077]
50718 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
50719 rounding modes.
50720
0520adde
FB
507212012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
50722
50723 [BZ #6907]
50724 * manual/string.texi (strchr): Change when strchrnul is
50725 recommended.
50726
3f4081cd
DGM
507272012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
50728
50729 [BZ #174]
50730 * manual/locale.texi (setlocale): Document LOCPATH.
50731
d1b10e78
JM
507322012-02-17 Joseph Myers <joseph@codesourcery.com>
50733
50734 [BZ #10210]
50735 * manual/process.texi (execle): Move @dots{} before last argument.
50736
79c6869c
PB
507372012-02-17 Paul Bolle <pebolle@tiscali.nl>
50738
50739 [BZ #12047]
50740 * manual/charset.texi (Generic Charset Conversion): Fix typo
50741 (LC_TYPE -> LC_CTYPE).
50742
cc6e48bc
NB
507432012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
50744
50745 [BZ #5805]
50746 * manual/arith.texi (scalbn): Use @var{} on parameter names.
50747 (scalbnf): Likewise.
50748 (scalbnl): Likewise.
50749 (scalbln): Likewise.
50750 (scalblnf): Likewise.
50751 (scalblnl): Likewise.
50752 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
50753 (vwarnx): Likewise.
50754 (verr): Likewise.
50755 (verrx): Likewise.
50756 * manual/filesys.texi (telldir): Use braces around return type.
50757 * manual/llio.texi (mmap): Add space after comma.
50758 (mmap64): Likewise.
50759 * manual/math.texi (jn): Use @var{} on parameter names.
50760 (jnf): Likewise.
50761 (jnl): Likewise.
50762 (yn): Likewise.
50763 (ynf): Likewise.
50764 (ynl): Likewise.
50765 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
50766 line.
50767 * manual/resource.texi (ulimit): Use @dots{} instead of literal
50768 "...".
50769 (sched_get_priority_min): Remove semicolon on @deftypefun line.
50770 (sched_get_priority_max): Likewise.
50771 * manual/signal.texi (sigvec): Add space after comma.
50772 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
50773 names.
50774 (if_indextoname): Likewise.
50775 (if_freenameindex): Likewise.
50776 (sendto): Use ',' instead of '.' in prototype.
50777 * manual/startup.texi (syscall): Use @dots{} instead of literal
50778 "...".
50779 * manual/stdio.texi (__fpending): Separate initial words of
50780 paragraph from @deftypefun line.
50781 * manual/syslog.texi (syslog): Use @dots{} instead of literal
50782 "...".
50783 (vsyslog): Use @var{} on parameter names.
50784 * manual/terminal.texi (stty): Use @var{} on parameter names.
50785 * manual/users.texi (getutmp): Use @var{} on parameter names.
50786 (getutmpx): Likewise.
50787
5b23062f
JM
507882012-02-17 Joseph Myers <joseph@codesourcery.com>
50789
50790 [BZ #6884]
50791 * manual/stdio.texi (fopen): Fix typos in description of
50792 ",ccs=STRING".
50793
8dee4833
AJ
507942012-02-17 Aurelien Jarno <aurelien@aurel32.net>
50795
50796 [BZ #4026]
50797 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
50798 get clock_id definition.
50799
9078ce93
TS
508002012-02-17 Thomas Schwinge <thomas@schwinge.name>
50801
50802 [BZ #4822]
50803 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
50804 (madvise): Cast every argument to void on its own.
50805
3835c55f
JM
508062012-02-17 Joseph Myers <joseph@codesourcery.com>
50807
50808 [BZ #9902]
50809 * manual/startup.texi (Exit Status): Fix typo.
50810
35c47e37
JM
508112012-02-17 Joseph Myers <joseph@codesourcery.com>
50812
50813 [BZ #10140]
50814 * manual/examples/argp-ex1.c: Include <stdlib.h>.
50815 * manual/examples/argp-ex2.c: Likewise.
50816 * manual/examples/argp-ex3.c: Likewise.
50817
e3b69ca7
RH
508182012-02-16 Richard Henderson <rth@redhat.com>
50819
50820 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
50821 * sysdeps/s390/s390-32/initfini.c: Remove.
50822 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
50823 * sysdeps/s390/s390-64/initfini.c: Remove.
50824
df83af67
KK
508252012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
50826
50827 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
50828 compiler output for sysdeps/generic/initfini.c.
50829 * sysdeps/sh/elf/initfini.c: Remove file.
50830
f63f3380
DM
508312012-02-16 David S. Miller <davem@davemloft.net>
50832
fb59b3a4
DM
50833 [BZ #11494]
50834 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
50835
f63f3380
DM
50836 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
50837 * sysdeps/sparc/crti.S: New file.
50838 * sysdeps/sparc/crtn.S: New file.
50839 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
50840 * sysdeps/sparc/sparc64/Makefile: Likewise.
50841
df6a4a4a
MF
508422012-02-15 Mike Frysinger <vapier@gentoo.org>
50843
6dd8f3dc 50844 [BZ #3335]
df6a4a4a
MF
50845 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
50846
1cac7236
RM
508472012-02-15 Roland McGrath <roland@hack.frob.com>
50848
d2c736f8
RM
50849 [BZ #4822]
50850 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
50851
1cac7236
RM
50852 * mach/devstream.c (cookie_io_functions_t): Macro removed.
50853 (write, read, close): Likewise.
50854 Patch by Aurelien Jarno <aurelien@aurel32.net>.
50855
8e475601
JM
508562012-02-15 Joseph Myers <joseph@codesourcery.com>
50857
50858 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
50859 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
50860 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
50861 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
50862 <bits/signalfd.h>.
50863 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
50864 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50865 bits/signalfd.h.
50866
ed656b40
MP
508672012-02-14 Marek Polacek <polacek@redhat.com>
50868
50869 * sysdeps/x86_64/crti.S: New file.
50870 * sysdeps/x86_64/crtn.S: New file.
50871 * sysdeps/x86_64/elf/initfini.c: Remove file.
50872
2a979d3a
JM
508732012-02-13 Joseph Myers <joseph@codesourcery.com>
50874
50875 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
50876 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
50877 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
50878 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
50879 <bits/inotify.h>.
50880 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
50881 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50882 bits/inotify.h.
50883
2a418ac3
JM
508842012-02-13 Joseph Myers <joseph@codesourcery.com>
50885
50886 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
50887 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
50888 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
50889 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
50890 <bits/eventfd.h>.
50891 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
50892 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50893 bits/eventfd.h.
50894
fb779be7
TS
508952012-02-10 Thomas Schwinge <thomas@codesourcery.com>
50896
e19e83c5
RM
50897 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
50898 __feraiseexcept instead of feraiseexcept.
7c35ffed 50899
fb779be7
TS
50900 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
50901 nanosleep invocations.
50902 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
50903 strings, and add error checking for a nanosleep invocations.
50904
59ba27a6
PE
509052012-02-09 Paul Eggert <eggert@cs.ucla.edu>
50906
50907 Replace FSF snail mail address with URLs, as per GNU coding standards.
50908 Most of the snail mail addresses were wrong anyway, and omitting
50909 them makes the source code easier to maintain. Almost all of the
50910 changes are to license notices and to locale LC_IDENTIFICATION
50911 addresses, except for this one:
50912 * manual/libc.texinfo: In "Published by", give the FSF's URL,
50913 not its snail mail address.
50914
57b957eb
RH
509152012-02-09 Richard Henderson <rth@twiddle.net>
50916
af850b1c
RH
50917 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
50918 of kernel-features.h.
50919
57b957eb
RH
50920 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
50921
6b73181a
MP
509222012-02-08 Marek Polacek <polacek@redhat.com>
50923
50924 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
50925 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
50926 * sysdeps/gnu/_G_config.h: Likewise.
50927 * sysdeps/generic/_G_config.h: Likewise.
50928
26ecc33a
AS
509292012-02-08 Andreas Schwab <schwab@linux-m68k.org>
50930
6c6dbc63
AS
50931 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
50932 tests.
50933 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50934
e216c012
AS
50935 * sysdeps/powerpc/powerpc32/crti.S: New file.
50936 * sysdeps/powerpc/powerpc32/crtn.S: New file.
50937 * sysdeps/powerpc/powerpc64/crti.S: New file.
50938 * sysdeps/powerpc/powerpc64/crtn.S: New file.
50939
26ecc33a
AS
50940 * Makeconfig (have-initfini): Don't set.
50941 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
50942 * configure.in (nopic_initfini): Don't substitute.
50943 * config.h.in (HAVE_INITFINI): Don't #undef.
50944 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
50945 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
50946
3add8e13
JM
509472012-02-08 Joseph Myers <joseph@codesourcery.com>
50948
50949 Support crti.S and crtn.S provided directly by architectures.
50950 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
50951 [crti.S in sysdirs] (omit-deps): Likewise.
50952 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
50953 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
50954 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
50955 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
50956 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
50957 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
50958 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
50959 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
50960 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
50961 compiler output for sysdeps/generic/initfini.c.
50962 * sysdeps/i386/elf/Makefile: Remove file.
50963 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
50964
a22f12b4
MP
509652012-02-07 Marek Polacek <polacek@redhat.com>
50966
50967 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
50968 * sysdeps/gnu/_G_config.h: Likewise.
50969 * sysdeps/mach/hurd/_G_config.h: Likewise.
50970
148cf100
MP
509712012-02-07 Marek Polacek <polacek@redhat.com>
50972
50973 * math/Makefile (tests): Add tst-CMPLX2.
50974 * math/tst-CMPLX2.c: New file.
50975
cfdc0dd7
AS
509762012-02-07 Andreas Schwab <schwab@linux-m68k.org>
50977
84ba42c4
AS
50978 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50979
cfdc0dd7
AS
50980 * math/libm-test.inc (jn_test): Add missing L suffix.
50981
622c86f4
MP
509822012-02-06 Marek Polacek <polacek@redhat.com>
50983
50984 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
50985 * sysdeps/i386/fpu/e_powf.S: Likewise.
50986 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
50987 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
50988 * sysdeps/i386/fpu/e_acosh.S: Likewise.
50989 * sysdeps/i386/fpu/e_pow.S: Likewise.
50990 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
50991 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
50992 * sysdeps/i386/fpu/s_expm1.S: Likewise.
50993 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
50994 * sysdeps/i386/fpu/e_log2.S: Likewise.
50995 * sysdeps/i386/fpu/e_log2l.S: Likewise.
50996 * sysdeps/i386/fpu/e_scalb.S: Likewise.
50997 * sysdeps/i386/fpu/e_powl.S: Likewise.
50998 * sysdeps/i386/fpu/s_log1p.S: Likewise.
50999 * sysdeps/i386/fpu/e_log10f.S: Likewise.
51000 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
51001 * sysdeps/i386/fpu/e_logl.S: Likewise.
51002 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
51003 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
51004 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
51005 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
51006 * sysdeps/i386/fpu/e_log2f.S: Likewise.
51007 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
51008 * sysdeps/i386/fpu/e_log.S: Likewise.
51009 * sysdeps/i386/fpu/s_cexp.S: Likewise.
51010 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
51011 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
51012 * sysdeps/i386/fpu/e_logf.S: Likewise.
51013 * sysdeps/i386/fpu/e_log10l.S: Likewise.
51014 * sysdeps/i386/fpu/e_atanh.S: Likewise.
51015 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
51016 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
51017 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
51018 * sysdeps/i386/fpu/e_log10.S: Likewise.
51019 * sysdeps/i386/fpu/s_frexp.S: Likewise.
51020 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
51021 * sysdeps/i386/fpu/s_asinh.S: Likewise.
51022 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
51023 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
51024 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
51025 * sysdeps/i386/asm-syntax.h: Likewise.
51026 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
51027 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
51028 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
51029 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
51030 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
51031 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
51032 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
51033 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
51034 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
51035 * sysdeps/powerpc/sysdep.h: Likewise.
51036 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
51037 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
51038
d4a54ac6
JM
510392012-02-06 Joseph Myers <joseph@codesourcery.com>
51040
51041 [BZ #411]
51042 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
51043
314054ea
JM
510442012-02-06 Joseph Myers <joseph@codesourcery.com>
51045
51046 * sysdeps/i386/sysdep.h: Include <features.h>.
51047 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
51048 version.
51049
d8e0ca50
JM
510502012-02-05 Joseph Myers <joseph@codesourcery.com>
51051
51052 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
51053 Define.
51054 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
51055 LOAD_PIC_REG_STR.
51056
b1da7dd9
JM
510572012-02-03 Joseph Myers <joseph@codesourcery.com>
51058
51059 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
51060 (SETUP_PIC_REG): Use GET_PC_THUNK.
51061 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
51062 macro.
51063
9a1d9254
JM
510642012-02-03 Joseph Myers <joseph@codesourcery.com>
51065
51066 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
51067 for non-PIC compilation.
51068 (SETUP_PIC_REG): Add .p2align directive.
51069 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
51070 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
51071 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
51072 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
51073 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
51074 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
51075 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
51076 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
51077 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
51078 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
51079 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
51080 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
51081 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
51082 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
51083 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
51084 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
51085 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
51086 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
51087 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
51088 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
51089 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
51090 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
51091 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
51092 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
51093 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
51094 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
51095 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
51096 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
51097 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
51098 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
51099 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
51100 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
51101 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
51102 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
51103 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
51104 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
51105 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
51106 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
51107 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
51108 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
51109 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
51110
65dc3b75
JM
511112012-02-03 Joseph Myers <joseph@codesourcery.com>
51112
51113 * math/tst-CMPLX.c: Include <stdio.h>.
51114
d55bf177
JM
511152012-01-31 Joseph Myers <joseph@codesourcery.com>
51116
51117 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
51118 float.
51119 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
51120 * sysdeps/sparc/bits/mathdef.h: Likewise.
51121
69db4f8f
MP
511222012-01-31 Marek Polacek <polacek@redhat.com>
51123
51124 * libio/libio.h: Don't define _PARAMS.
51125 * locale/programs/config.h: Don't define PARAMS.
51126 * stdlib/strtol_l.c: Likewise.
51127 (__strtol_l): Remove PARAMS from the prototype.
51128
41b81892
UD
511292012-01-31 Ulrich Drepper <drepper@gmail.com>
51130
3b49edc0
UD
51131 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
51132 names. Just use the correct names. Remove unnecessary wrapper
51133 functions.
51134 * malloc/arena.c: Likewise.
51135 * malloc/hooks.c: Likewise.
51136
41b81892
UD
51137 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
51138 ARENA_TEST says not to. Simplify test for creation of a new arena.
51139 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
51140
27a25b6e
UD
511412012-01-30 Ulrich Drepper <drepper@gmail.com>
51142
51143 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
51144 into tail calls.
51145 (update_get_addr): New function.
51146 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
51147 GET_ADDR_MODULE parameter.
51148
c8a89e7d
JM
511492012-01-30 Joseph Myers <joseph@codesourcery.com>
51150
51151 * crypt/cert.c: Remove __STDC__ conditionals.
51152 * crypt/crypt-entry.c: Likewise.
51153 * crypt/crypt_util.c: Likewise.
51154 * libio/filedoalloc.c: Likewise.
51155 * libio/fileops.c: Likewise.
51156 * libio/genops.c: Likewise.
51157 * libio/iofclose.c: Likewise.
51158 * libio/iofdopen.c: Likewise.
51159 * libio/iofopen.c: Likewise.
51160 * libio/iofopen64.c: Likewise.
51161 * libio/iogetdelim.c: Likewise.
51162 * libio/iopopen.c: Likewise.
51163 * libio/obprintf.c: Likewise.
51164 * libio/oldfileops.c: Likewise.
51165 * libio/oldiofclose.c: Likewise.
51166 * libio/oldiofdopen.c: Likewise.
51167 * libio/oldiofopen.c: Likewise.
51168 * libio/oldiopopen.c: Likewise.
51169 * libio/wfiledoalloc.c: Likewise.
51170 * libio/wgenops.c: Likewise.
51171 * locale/programs/xmalloc.c: Likewise.
51172 * misc/syslog.c: Likewise.
51173 * stdio-common/xbug.c: Likewise.
51174 * string/memchr.c: Likewise.
51175 * string/memcmp.c: Likewise.
51176 * string/memrchr.c: Likewise.
51177 * string/rawmemchr.c: Likewise.
51178 * sysdeps/posix/getcwd.c: Likewise.
51179 * time/strftime_l.c: Likewise.
51180
3b100462
JM
511812012-01-30 Joseph Myers <joseph@codesourcery.com>
51182
51183 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
51184 * config.make.in (config-cflags-sse2avx): Define.
51185 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
51186 Fix typo.
51187
607998af
CM
511882012-01-29 Chris Metcalf <cmetcalf@tilera.com>
51189
51190 * scripts/config.guess: Update from upstream config git repository.
51191 * scripts/config.sub: Likewise.
51192
3601428f
CM
511932012-01-28 Chris Metcalf <cmetcalf@tilera.com>
51194
3ac8b282
CM
51195 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
51196 (EM_NUM): Update.
51197 (R_TILEPRO_*, R_TILEGX_*): New macros.
51198
e034841e
CM
51199 * scripts/firstversions.awk: Fix bug in version range handling.
51200
540d7568
CM
51201 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
51202
3601428f
CM
51203 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
51204
463de862
CM
51205 * include/sys/epoll.h: New file.
51206 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
51207 libc_hidden_def.
51208
73139a76
UD
512092012-01-28 Ulrich Drepper <drepper@gmail.com>
51210
96bc5b45
UD
51211 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
51212 Avoid unnecessary __WORDSIZE == 64 test.
51213 (fmaxf): Use VEX format if possible.
51214 (fmax): Likewise.
51215 (fminf): Likewise.
51216 (fmin): Likewise.
51217
56f6f6a2
UD
51218 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
51219 * math/math_private.h: Remove libc_fegetround* and
51220 libc_fesetround*.
51221 * sysdeps/i386/configure.in: Check for -msse2avx.
51222 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
51223 also if SSE2AVX is defined.
51224 Remove libc_fegetround* and libc_fesetround*.
51225 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
51226 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
51227 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
51228 of HAS_YMM_USABLE.
51229 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
51230 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
51231 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
51232 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
51233 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
51234
73139a76
UD
51235 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
51236
d73f93a4
AZ
512372012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51238
51239 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
51240 size is not set.
51241 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
51242
6ee65ed6
UD
512432012-01-27 Ulrich Drepper <drepper@gmail.com>
51244
51245 [BZ #13618]
51246 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
51247 relocation.
51248 * Makeconfig (libm): Define.
51249 * elf/Makefile: Add rules to build and run tst-relsort1.
51250 * elf/tst-relsort1.c: New file.
51251 * elf/tst-relsort1mod1.c: New file.
51252 * elf/tst-relsort1mod2.c: New file.
51253
8db21882
JM
512542012-01-27 Joseph Myers <joseph@codesourcery.com>
51255
51256 * math/s_ldexp.c: Remove __STDC__ conditionals.
51257 * math/s_ldexpf.c: Likewise.
51258 * math/s_ldexpl.c: Likewise.
51259 * math/s_nextafter.c: Likewise.
51260 * math/s_nexttowardf.c: Likewise.
51261 * math/s_significand.c: Likewise.
51262 * math/s_significandf.c: Likewise.
51263 * math/s_significandl.c: Likewise.
51264 * math/w_jnl.c: Likewise.
51265 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
51266 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
51267 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
51268 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
51269 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
51270 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
51271 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
51272 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
51273 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
51274 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
51275 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
51276 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
51277 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
51278 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
51279 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
51280 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
51281 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
51282 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
51283 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
51284 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
51285 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
51286 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
51287 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
51288 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
51289 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
51290 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
51291 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
51292 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
51293 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
51294 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
51295 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
51296 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
51297 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
51298 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
51299 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
51300 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
51301 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
51302 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
51303 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
51304 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
51305 * sysdeps/ieee754/k_standard.c: Likewise.
51306 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
51307 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
51308 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
51309 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
51310 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
51311 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
51312 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
51313 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
51314 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
51315 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
51316 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
51317 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
51318 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
51319 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
51320 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
51321 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
51322 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
51323 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
51324 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
51325 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
51326 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
51327 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
51328 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
51329 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
51330 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
51331 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
51332 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
51333 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
51334 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
51335 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
51336 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
51337 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
51338 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
51339 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
51340 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
51341 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
51342 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
51343 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
51344 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
51345 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
51346 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
51347 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
51348 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
51349 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
51350 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
51351 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
51352 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
51353 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
51354 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
51355 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
51356 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
51357 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
51358 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
51359 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
51360 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
51361 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
51362 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
51363 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
51364 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
51365 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
51366 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
51367 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
51368 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
51369 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
51370 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
51371 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
51372 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
51373 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
51374 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
51375 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
51376 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
51377 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
51378 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
51379 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
51380 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
51381 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
51382 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
51383 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
51384 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
51385 * sysdeps/ieee754/s_matherr.c: Likewise.
51386 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
51387 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
51388 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
51389 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
51390
965a54a4
JM
513912012-01-26 Joseph Myers <joseph@codesourcery.com>
51392
51393 * crypt/md5.h: Remove __STDC__ conditionals.
51394 * libio/libioP.h: Likewise.
51395 * locale/programs/config.h: Likewise.
51396 * sysdeps/generic/sysdep.h: Likewise.
51397 * sysdeps/i386/asm-syntax.h: Likewise.
51398 * sysdeps/s390/asm-syntax.h: Likewise.
51399 * sysdeps/unix/sysdep.h: Likewise.
51400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
51401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
51402
7071ad79
JM
514032012-01-26 Joseph Myers <joseph@codesourcery.com>
51404
51405 * libio/libio.h: Remove __STDC__ conditionals.
51406 * malloc/obstack.h: Likewise.
51407 * math/complex.h: Likewise.
51408 * math/math.h: Likewise.
51409 * sysdeps/generic/_G_config.h: Likewise.
51410 * sysdeps/gnu/_G_config.h: Likewise.
51411 * sysdeps/mach/hurd/_G_config.h: Likewise.
51412 * sysdeps/powerpc/bits/mathdef.h: Likewise.
51413 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
51414 * sysdeps/sparc/bits/mathdef.h: Likewise.
51415
afc5ed09
UD
514162012-01-26 Ulrich Drepper <drepper@gmail.com>
51417
51418 [BZ #13583]
51419 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 51420 Clean up HAS_* macros.
afc5ed09 51421 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
51422 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
51423 possible.
51424 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
51425 HAS_AVX.
51426 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
51427 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
51428 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
51429 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
51430 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 51431
bdb6de1d
JM
514322012-01-25 Joseph Myers <joseph@codesourcery.com>
51433
51434 * elf/tst-unique3.cc (gets): Remove declaration.
51435 * elf/tst-unique3lib.cc (gets): Likewise.
51436 * elf/tst-unique3lib2.cc (gets): Likewise.
51437 * elf/tst-unique4.cc (gets): Likewise.
51438
b15549e6
UD
514392012-01-24 Ulrich Drepper <drepper@gmail.com>
51440
51441 * include/stdio.h: Add C++ protection. Add gets declarations and
51442 definitions.
51443 * debug/tst-chk1.c: Don't declare gets here.
51444 * stdio-common/tst-gets.c: Likewise.
51445
a037381f
JM
514462012-01-24 Joseph Myers <joseph@codesourcery.com>
51447
51448 * posix/glob: Remove directory.
51449
f1d4aa75
JM
514502012-01-24 Joseph Myers <joseph@codesourcery.com>
51451
51452 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
51453
81c0c964
PT
514542012-01-22 Pino Toscano <toscano.pino@tiscali.it>
51455
51456 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
51457 of the non-standard EPFNOSUPPORT.
51458
0ea698ae
ST
514592011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
51460
51461 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
51462 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
51463 ANYWHERE set to 1 only on KERN_NO_SPACE error.
51464
d220b117
UD
514652012-01-21 Ulrich Drepper <drepper@gmail.com>
51466
51467 * wcsmbs/uchar.h: Test __STDC_VERSION__.
51468
3e1aa84e
UD
514692012-01-20 Ulrich Drepper <drepper@gmail.com>
51470
51471 * nscd/aicache.c (addhstaiX): Do not cache negative results of
51472 transient errors.
51473 * nscd/grpcache.c (cache_addgr): Likewise.
51474 * nscd/hstcache.c (cache_addhst): Likewise.
51475 * nscd/initgrcache.c (addinitgroupsX): Likewise.
51476 * nscd/pwdcache.c (cache_addpw): Likewise.
51477 * nscd/servicescache.c (cache_addserv): Likewise.
51478
400aa020
UD
514792012-01-16 Ulrich Drepper <drepper@gmail.com>
51480
d77e7869
UD
51481 * malloc/malloc.c: Various cleanups.
51482 * malloc/hooks.c: Likewise.
51483
400aa020
UD
51484 * stdlib/Makefile (tests): Add bug-fmtmsg1.
51485 * stdlib/bug-fmtmsg1.c: New file.
51486
51487 * stdlib/fmtmsg.c (init): Add missing unlock.
51488 Patch by Peng Haitao <penght@cn.fujitsu.com>.
51489
e0a309cf
MP
514902012-01-12 Marek Polacek <polacek@redhat.com>
51491
51492 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
51493 and _GNU_SOURCE.
51494
929d11c7
WS
514952012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
51496
51497 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
51498 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
51499 macro to ensure uniqueness of label name.
51500 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
51501 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
51502
41d0e869
UD
515032012-01-11 Ulrich Drepper <drepper@gmail.com>
51504
0cc5ed3b
UD
51505 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
51506
41d0e869
UD
51507 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
51508 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
51509 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
51510 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
51511
a47a831a
UD
515122012-01-10 Ulrich Drepper <drepper@gmail.com>
51513
daa891c0
UD
51514 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
51515
51516 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
51517 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
51518 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
51519
e58ef0f2
UD
51520 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
51521
a47a831a 51522 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
51523 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
51524 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 51525 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
51526
51527 * math/bits/math-finite.h: Add ldexp support.
51528
a0bfc9c7
MP
515292012-01-10 Marek Polacek <polacek@redhat.com>
51530
51531 * locale/programs/localedef.h (show_archive_content): Add noreturn
51532 attribute.
51533
d6e97a1d
UD
515342012-01-09 Ulrich Drepper <drepper@gmail.com>
51535
51536 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
51537
d5835c26
UD
515382012-01-08 Ulrich Drepper <drepper@gmail.com>
51539
e5f484c6
UD
51540 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
51541
d5835c26
UD
51542 * io/Makefile (headers): Add bits/poll2.h.
51543
d1f741e9
WS
515442011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
51545
51546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
51547 typo #include statement.
51548
ec09c1c4
UD
515492012-01-08 Ulrich Drepper <drepper@gmail.com>
51550
51551 * include/sys/cdefs.h: Define __attribute_alloc_size.
51552 * catgets/gencat.c: Add alloc_size attribute and apply consistently
51553 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
51554 * elf/pldd.c: Likewise.
51555 * iconv/iconv_charmap.c: Likewise.
51556 * iconv/iconvconfig.c: Likewise.
51557 * iconv/strtab.c: Likewise.
51558 * locale/programs/locale.c: Likewise.
51559 * locale/programs/localedef.h: Likewise.
51560 * locale/programs/simple-hash.c: Likewise.
51561 * nscd/nscd.h: Likewise.
51562 * nss/makedb.c: Likewise.
51563 * sysdeps/generic/ldconfig.h: Likewise.
51564 * locale/programs/localedef.c: Remove xmalloc prototype.
51565 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
51566
20b38e03
PP
515672012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
51568
51569 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
51570 appropriate.
51571
a0da5fe1
UD
515722012-01-08 Ulrich Drepper <drepper@gmail.com>
51573
1d5a644a 51574 * math/Makefile (tests): Add tst-CMPLX.
669704fd 51575 * math/tst-CMPLX.c: New file.
1d5a644a 51576
8784a6db
UD
51577 * math/complex.h (CMPLXL): Fix typo.
51578
d9a216c0
UD
51579 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
51580 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
51581 GLIBC_2.16.
51582 * debug/tst-chk1.c: Add poll and ppoll tests.
51583 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
51584 * include/sys/poll.h: Add hidden proto for ppoll.
51585 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
51586 * sysdeps/mach/hurd/ppoll.c: Likewise.
51587 * io/ppoll.c: Likewise.
51588 * debug/poll_chk.c: New file.
51589 * debug/ppoll_chk.c: New file.
51590 * include/bits/poll2.h: New file.
51591 * io/bits/poll2.h: New file.
51592
ac097f5c
UD
51593 [BZ #1350]
51594 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
51595
2119dcfa
UD
51596 * configure.in: static is always set to yes. Remove.
51597 * config.make.in: Don't set build-static.
51598 * Makeconfig: Remove use of build-static.
51599 * dlfcn/Makefile: Likewise.
51600 * elf/Makefile: Likewise.
51601 * math/Makefile: Likewise.
51602 * misc/Makefile: Likewise.
51603 * nptl/Makefile: Likewise.
51604 * sysdeps/mach/hurd/Makefile: Likewise.
51605
121766a9
UD
51606 * configure.in: PWD_P is not used anymore.
51607 * config.make.in: Remove PWD_P entry.
51608
51a1d39c 51609 * configure.in: Remove last remnants of RANLIB.
8720d066 51610 No need to check for signed size_t anymore.
215f4bdc
UD
51611 Don't set libc_commonpagesize and libc_relro_required here for Alpha
51612 and IA-64.
3857022a 51613 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
51614 * aclocal.m4: Likewise.
51615
d3ed7225
UD
51616 * wcsmbs/mbrtoc16.c: Implement using towc function.
51617 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
51618 * wcsmbs/wcsmbsload.c: Likewise.
51619 * iconv/gconv_simple.c: Likewise.
51620 * iconv/gconv_int.h: Likewise.
51621 * iconv/gconv_builtin.h: Likewise.
51622 * iconv/iconv_prog.c: Remove CHAR16 handling.
51623
51624 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
51625
51626 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
51627
a0da5fe1
UD
51628 * configure.in: Remove --with-elf and --enable-bounded options.
51629 Dont set base_machine for ia64. More non-ELF conditions removed.
51630 Remove testing and setting of leading underscore information.
51631 * config.make.in (build-bounded): Set to no.
51632 * config.h.in: Remove NO_UNDERSCORES entry.
51633 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
51634 them.
51635 * csu/start.c: Remove !NO_UNDERSCORE code.
51636 * locale/localeinfo.h: Likewise.
51637 * sysdeps/generic/machine-gmon.h: Likewise.
51638 * sysdeps/generic/sysdep.h: Likewise.
51639 * sysdeps/i386/sysdep.h: Likewise.
51640 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
51641 * sysdeps/mach/sysdep.h: Likewise.
51642 * sysdeps/s390/s390-32/sysdep.h: Likewise.
51643 * sysdeps/s390/s390-64/sysdep.h: Likewise.
51644 * sysdeps/sh/sysdep.h: Likewise.
51645 * sysdeps/sparc/sparc32/alloca.S: Likewise.
51646 * sysdeps/unix/i386/sysdep.S: Likewise.
51647 * sysdeps/unix/sparc/start.c: Likewise.
51648 * sysdeps/unix/sparc/sysdep.S: Likewise.
51649 * sysdeps/unix/sparc/sysdep.h: Likewise.
51650 * sysdeps/unix/start.c: Likewise.
51651 * sysdeps/unix/x86_64/sysdep.S: Likewise.
51652 * sysdeps/x86_64/sysdep.h: Likewise.
51653
df78418a
UD
516542012-01-07 Ulrich Drepper <drepper@gmail.com>
51655
a784e502
UD
51656 [BZ #13553]
51657 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
51658 for non-gcc.
51659 * argp/argp-fmtstream.h: Use const instead __const.
51660 * argp/argp.h: Likewise.
51661 * assert/assert.h: Likewise.
51662 * bits/fenv.h: Likewise.
51663 * bits/sched.h: Likewise.
51664 * bits/sigset.h: Likewise.
51665 * bits/sigthread.h: Likewise.
51666 * catgets/nl_types.h: Likewise.
51667 * conform/data/pthread.h-data: Likewise.
51668 * crypt/crypt-private.h: Likewise.
51669 * crypt/crypt.h: Likewise.
51670 * crypt/crypt_util.c: Likewise.
51671 * ctype/ctype.h: Likewise.
51672 * debug/execinfo.h: Likewise.
51673 * debug/mbsnrtowcs_chk.c: Likewise.
51674 * debug/mbsrtowcs_chk.c: Likewise.
51675 * debug/wcsnrtombs_chk.c: Likewise.
51676 * debug/wcsrtombs_chk.c: Likewise.
51677 * debug/wcstombs_chk.c: Likewise.
51678 * dirent/dirent.h: Likewise.
51679 * dlfcn/dlfcn.h: Likewise.
51680 * elf/neededtest4.c: Likewise.
51681 * grp/grp.h: Likewise.
51682 * gshadow/gshadow.h: Likewise.
51683 * iconv/gconv.h: Likewise.
51684 * iconv/gconv_int.h: Likewise.
51685 * iconv/gconv_simple.c: Likewise.
51686 * iconv/iconv.h: Likewise.
51687 * iconv/loop.c: Likewise.
51688 * iconv/skeleton.c: Likewise.
51689 * include/aio.h: Likewise.
51690 * include/aliases.h: Likewise.
51691 * include/argz.h: Likewise.
51692 * include/arpa/inet.h: Likewise.
51693 * include/assert.h: Likewise.
51694 * include/dirent.h: Likewise.
51695 * include/dlfcn.h: Likewise.
51696 * include/execinfo.h: Likewise.
51697 * include/fcntl.h: Likewise.
51698 * include/fenv.h: Likewise.
51699 * include/glob.h: Likewise.
51700 * include/grp.h: Likewise.
51701 * include/libintl.h: Likewise.
51702 * include/mntent.h: Likewise.
51703 * include/netdb.h: Likewise.
51704 * include/pwd.h: Likewise.
51705 * include/rpc/netdb.h: Likewise.
51706 * include/sched.h: Likewise.
51707 * include/search.h: Likewise.
51708 * include/shadow.h: Likewise.
51709 * include/signal.h: Likewise.
51710 * include/stdio.h: Likewise.
51711 * include/stdlib.h: Likewise.
51712 * include/string.h: Likewise.
51713 * include/sys/socket.h: Likewise.
51714 * include/sys/stat.h: Likewise.
51715 * include/sys/statfs.h: Likewise.
51716 * include/sys/statvfs.h: Likewise.
51717 * include/sys/syslog.h: Likewise.
51718 * include/sys/time.h: Likewise.
51719 * include/sys/uio.h: Likewise.
51720 * include/time.h: Likewise.
51721 * include/unistd.h: Likewise.
51722 * include/utmp.h: Likewise.
51723 * include/wchar.h: Likewise.
51724 * include/wctype.h: Likewise.
51725 * inet/aliases.h: Likewise.
51726 * inet/arpa/inet.h: Likewise.
51727 * inet/netinet/ether.h: Likewise.
51728 * inet/netinet/in.h: Likewise.
51729 * intl/libintl.h: Likewise.
51730 * io/bits/fcntl2.h: Likewise.
51731 * io/fcntl.h: Likewise.
51732 * io/ftw.h: Likewise.
51733 * io/sys/poll.h: Likewise.
51734 * io/sys/stat.h: Likewise.
51735 * io/sys/statfs.h: Likewise.
51736 * io/sys/statvfs.h: Likewise.
51737 * io/utime.h: Likewise.
51738 * libio/bits/stdio.h: Likewise.
51739 * libio/bits/stdio2.h: Likewise.
51740 * libio/libio.h: Likewise.
51741 * libio/libioP.h: Likewise.
51742 * libio/stdio.h: Likewise.
51743 * locale/lc-ctype.c: Likewise.
51744 * locale/locale.h: Likewise.
51745 * login/utmp.h: Likewise.
51746 * malloc/arena.c: Likewise.
51747 * malloc/malloc.c: Likewise.
51748 * malloc/malloc.h: Likewise.
51749 * malloc/mcheck.c: Likewise.
51750 * malloc/mtrace.c: Likewise.
51751 * math/bits/mathcalls.h: Likewise.
51752 * math/fenv.h: Likewise.
51753 * math/math_private.h: Likewise.
51754 * misc/bits/error.h: Likewise.
51755 * misc/bits/syslog.h: Likewise.
51756 * misc/err.h: Likewise.
51757 * misc/error.h: Likewise.
51758 * misc/fstab.h: Likewise.
51759 * misc/mntent.h: Likewise.
51760 * misc/regexp.h: Likewise.
51761 * misc/search.h: Likewise.
51762 * misc/sgtty.h: Likewise.
51763 * misc/sys/mman.h: Likewise.
51764 * misc/sys/syslog.h: Likewise.
51765 * misc/sys/uio.h: Likewise.
51766 * misc/sys/xattr.h: Likewise.
51767 * misc/ttyent.h: Likewise.
51768 * nis/rpcsvc/ypclnt.h: Likewise.
51769 * nss/nss.h: Likewise.
51770 * posix/bits/unistd.h: Likewise.
51771 * posix/fnmatch.h: Likewise.
51772 * posix/glob.h: Likewise.
51773 * posix/sched.h: Likewise.
51774 * posix/spawn.h: Likewise.
51775 * posix/sys/wait.h: Likewise.
51776 * posix/unistd.h: Likewise.
51777 * posix/wordexp.h: Likewise.
51778 * pwd/pwd.h: Likewise.
51779 * resolv/netdb.h: Likewise.
51780 * resource/sys/resource.h: Likewise.
51781 * rt/aio.h: Likewise.
51782 * rt/bits/mqueue2.h: Likewise.
51783 * rt/mqueue.h: Likewise.
51784 * shadow/shadow.h: Likewise.
51785 * signal/signal.h: Likewise.
51786 * socket/send.c: Likewise.
51787 * socket/sendto.c: Likewise.
51788 * socket/sys/socket.h: Likewise.
51789 * stdio-common/printf.h: Likewise.
51790 * stdlib/bits/stdlib.h: Likewise.
51791 * stdlib/fmtmsg.h: Likewise.
51792 * stdlib/monetary.h: Likewise.
51793 * stdlib/stdlib.h: Likewise.
51794 * stdlib/ucontext.h: Likewise.
51795 * streams/stropts.h: Likewise.
51796 * string/argz.h: Likewise.
51797 * string/bits/string2.h: Likewise.
51798 * string/string.h: Likewise.
51799 * string/strings.h: Likewise.
51800 * sunrpc/rpc/auth.h: Likewise.
51801 * sunrpc/rpc/auth_des.h: Likewise.
51802 * sunrpc/rpc/clnt.h: Likewise.
51803 * sunrpc/rpc/netdb.h: Likewise.
51804 * sunrpc/rpc/pmap_clnt.h: Likewise.
51805 * sunrpc/rpc/xdr.h: Likewise.
51806 * sysdeps/generic/inttypes.h: Likewise.
51807 * sysdeps/generic/net/if.h: Likewise.
51808 * sysdeps/generic/sys/swap.h: Likewise.
51809 * sysdeps/gnu/net/if.h: Likewise.
51810 * sysdeps/gnu/utmpx.h: Likewise.
51811 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
51812 * sysdeps/i386/i486/bits/string.h: Likewise.
51813 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
51814 * sysdeps/s390/bits/string.h: Likewise.
51815 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
51816 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
51817 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
51818 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
51819 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
51820 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
51821 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
51822 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
51823 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
51824 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
51825 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
51826 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
51827 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
51828 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
51829 * sysdeps/unix/sysv/linux/readv.c: Likewise.
51830 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
51831 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
51832 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
51833 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
51834 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
51835 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
51836 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
51837 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
51838 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
51839 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
51840 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
51841 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
51842 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
51843 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
51844 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
51845 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
51846 * sysvipc/sys/ipc.h: Likewise.
51847 * sysvipc/sys/msg.h: Likewise.
51848 * sysvipc/sys/sem.h: Likewise.
51849 * sysvipc/sys/shm.h: Likewise.
51850 * termios/termios.h: Likewise.
51851 * time/sys/time.h: Likewise.
51852 * time/time.h: Likewise.
51853 * wcsmbs/bits/wchar2.h: Likewise.
51854 * wcsmbs/uchar.h: Likewise.
51855 * wcsmbs/wchar.h: Likewise.
51856 * wctype/wctype.h: Likewise.
51857
0269750c
UD
51858 [BZ #13551]
51859 * Makeconfig: Remove all but ELF support including AIX support.
51860 * Makerules: Likewise.
51861 * config.h.in: Likewise.
51862 * config.make.in: Likewise.
51863 * configure: Likewise.
51864 * configure.in: Likewise.
51865 * csu/Makefile: Likewise.
51866 * csu/version.c: Likewise.
51867 * debug/Makefile: Likewise.
51868 * dlfcn/Makefile: Likewise.
51869 * elf/Makefile: Likewise.
51870 * extra-lib.mk: Likewise.
51871 * iconv/Makefile: Likewise.
51872 * include/libc-symbols.h: Likewise.
51873 * include/shlib-compat.h: Likewise.
51874 * resolv/Makefile: Likewise.
51875 * resolv/res_libc.c: Likewise.
51876 * rt/Makefile: Likewise.
51877 * sysdeps/i386/asm-syntax.h: Likewise.
51878 * sysdeps/i386/sysdep.h: Likewise.
51879 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
51880 * sysdeps/mach/sysdep.h: Likewise.
51881 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
51882 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
51883 * sysdeps/s390/asm-syntax.h: Likewise.
51884 * sysdeps/s390/s390-32/sysdep.h: Likewise.
51885 * sysdeps/s390/s390-64/sysdep.h: Likewise.
51886 * sysdeps/sh/sysdep.h: Likewise.
51887 * sysdeps/unix/sparc/sysdep.h: Likewise.
51888 * sysdeps/wordsize-32/divdi3.c: Likewise.
51889 * sysdeps/x86_64/sysdep.h: Likewise.
51890
00bbd29b
UD
51891 * argp/Versions: Remove _argp_unlock_xxx.
51892
51893 [BZ #13559]
51894 * abilist/ld.abilist: Update. Adjust for removal of tls option.
51895 * abilist/libBrokenLocale.abilist: Likewise.
51896 * abilist/libanl.abilist: Likewise.
51897 * abilist/libc.abilist: Likewise.
51898 * abilist/libcrypt.abilist: Likewise.
51899 * abilist/libdl.abilist: Likewise.
51900 * abilist/libm.abilist: Likewise.
51901 * abilist/libnsl.abilist: Likewise.
51902 * abilist/libpthread.abilist: Likewise.
51903 * abilist/libresolv.abilist: Likewise.
51904 * abilist/librt.abilist: Likewise.
51905 * abilist/libthread_db.abilist: Likewise.
51906 * abilist/libutil.abilist: Likewise.
51907 * abilist/libnss_db.abilist: New file.
51908
51909 * scripts/abilist.awk: Add support for indirect functions.
51910
a2693a0e
UD
51911 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
51912
3f05895f
UD
51913 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
51914
ecb6fb48
UD
51915 * shlib-versions: Remove entries for ports architectures.
51916
664f8cb9
UD
51917 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
51918 files in ports.
51919 * elf/stackguard-macros.h: Remove support for IA-64.
51920 * elf/tst-auditmod1.c: Likewise.
51921 * sysdeps/generic/ldsodefs.h: Likewise.
51922
7ae81d88
UD
51923 * sysdeps/unix/sysv/linux/configure.in: Ports should define
51924 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
51925 configure files.
51926
bdeba135
UD
51927 [BZ #13552]
51928 * configure.in: Remove --enable-omitfp support.
51929 * FAQ.in: Adjust.
51930 * config.make.in: Likewise.
51931 * Makeconfig: Likewise.
51932 * manual/install.texi: Likewise.
51933
d75a0a62
UD
51934 In case anyone cares, the IA-64 architecture could move to ports.
51935 * sysdeps/ia64/*: Removed.
51936 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 51937 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 51938
dcc9756b
UD
51939 [BZ #13555]
51940 * configure.in: Remove entries for unsupported architectures.
51941
d3761ebc 51942 [BZ #13533]
9954432e
UD
51943 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
51944 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
51945 routines.
51946 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
51947 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
51948 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
51949 fall back to using wcrtomb.
51950 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
51951 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
51952 renaming.
51953 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
51954 * wcsmbs/tst-c16c32-1.c: New file.
51955
51956 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
51957 local variable.
51958
c3a87236
UD
51959 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
51960
28926a1b
UD
51961 * elf/tst-unique3.cc: Add explicit declaration of gets.
51962 * elf/tst-unique3lib.cc: Likewise.
51963 * elf/tst-unique3lib2.cc: Likewise.
51964 * elf/tst-unique4.cc: Likewise.
51965
df78418a
UD
51966 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
51967
8ecd6b2a
JM
519682012-01-06 Joseph Myers <joseph@codesourcery.com>
51969
51970 [BZ #13566]
51971 * assert/assert.h (static_assert): Don't define for C++.
51972 * libio/stdio.h (gets): Do declare for C++ <= C++11.
51973 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
51974
9f115170
UD
519752012-01-03 Ulrich Drepper <drepper@gmail.com>
51976
5e0d0300
UD
51977 * iconv/loop.c (single loop): Fix assertion in storing of
51978 remaining bytes.
51979
9f115170
UD
51980 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
51981
81fb02b0
UD
519822012-01-01 Ulrich Drepper <drepper@gmail.com>
51983
51984 * posix/getconf.c: Update copyright year.
51985 * nss/getent.c: Likewise.
a316c1f6 51986 * nss/makedb.c: Likewise.
81fb02b0
UD
51987 * iconv/iconvconfig.c: Likewise.
51988 * iconv/iconv_prog.c: Likewise.
51989 * elf/ldconfig.c: Likewise.
a316c1f6
UD
51990 * elf/pldd.c: Likewise.
51991 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
51992 * catgets/gencat.c: Likewise.
51993 * csu/version.c: Likewise.
51994 * elf/ldd.bash.in: Likewise.
51995 * elf/sprof.c (print_version): Likewise.
51996 * locale/programs/locale.c: Likewise.
51997 * locale/programs/localedef.c: Likewise.
a316c1f6 51998 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
51999 * nscd/nscd.c (print_version): Likewise.
52000 * debug/xtrace.sh: Likewise.
52001 * malloc/memusage.sh: Likewise.
52002 * malloc/mtrace.pl: Likewise.
52003 * debug/catchsegv.sh: Likewise.
52004
2ba92745
JJ
520052011-12-30 Jakub Jelinek <jakub@redhat.com>
52006
52007 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
52008 pure attribute.
52009
dadebdae
UD
520102011-12-24 Ulrich Drepper <drepper@gmail.com>
52011
d3761ebc 52012 [BZ #13533]
db6af3eb
UD
52013 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
52014 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
52015 transformations.
52016 * iconv/gconv_int.h: Likewise.
52017 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
52018 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
52019 from libc for GLIBC_2.16.
52020 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
52021 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
52022 * wcsmbs/uchar.h: Really define mbstate_t.
52023 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
52024 * wcsmbs/c16rtomb.c: New file.
52025 * wcsmbs/mbrtoc16.c: New file.
52026 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
52027 for C/POSIX locale.
52028 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
52029 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
52030
dadebdae
UD
52031 * wcsmbs/wchar.h: Add missing __restrict.
52032
67371b56
UD
520332011-12-23 Ulrich Drepper <drepper@gmail.com>
52034
74033a25
UD
52035 [BZ #13532]
52036 * time/Makefile (routines): Add timespec_get.
52037 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
52038 * time/time.h: Define TIME_UTC and declare timespec_get. Define
52039 timespec for ISO C11.
52040 * time/timespec_get.c: New file.
52041 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
52042 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
52043
380d7e87
UD
52044 [BZ #13531]
52045 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
52046 * stdlib/stdlib.h: Declare aligned_alloc.
52047 * Versions.def: Add GLIBC_2.16 for libc.
52048 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
52049
4e9e7a35
UD
52050 [BZ 13527]
52051 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
52052 ISO C11.
52053
380d7e87 52054 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
52055 code.
52056
03a71829
UD
52057 [BZ #13528]
52058 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
52059
839e283e
UD
52060 [BZ #13529]
52061 * assert/assert.h (static_assert): Define.
52062
ce5294e2 52063 * version.h: Update for 2.16 development version.
90fa7312 52064
8d44e150 52065 [BZ #13526]
d7809905
UD
52066 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
52067 _ISOC11_SOURCE.
52068
c0da14cd
UD
52069 * version.h (RELEASE): Bump for 2.15 release.
52070 * include/features.h (__GLIBC_MINOR__): Bump to 15.
52071
530a3249
MP
52072 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
52073 Patch by Marek Polacek <mpolacek@redhat.com>.
52074
67371b56
UD
52075 * bits/byteswap.h: Protect long long constants with __extension__.
52076 * sysdeps/i386/bits/byteswap.h: Likewise.
52077 * sysdeps/ia64/bits/byteswap.h: Likewise.
52078 * sysdeps/s390/bits/byteswap.h: Likewise.
52079 * sysdeps/x86_64/bits/byteswap.h: Likewise.
52080
15db4de1
LD
520812011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52082
52083 [BZ #13540]
bbe315ea
LD
52084 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
52085 destination buffer.
15db4de1
LD
52086 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
52087
2b2596b1
MP
520882011-12-23 Marek Polacek <polacek@redhat.com>
52089
52090 * elf/dl-addr.c (determine_info): Add inline keyword.
52091 * elf/tst-auditmod4b.c (check_avx): Likewise.
52092 * elf/tst-auditmod6b.c (check_avx): Likewise.
52093 * elf/tst-auditmod6c.c (check_avx): Likewise.
52094 * elf/tst-auditmod7b.c (check_avx): Likewise.
52095
70c6c246
UD
520962011-12-23 Ulrich Drepper <drepper@gmail.com>
52097
52098 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
52099 !__SSE_MATH__.
52100
c044cf14
LD
521012011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52102
15db4de1 52103 [BZ #13540]
c044cf14
LD
52104 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
52105 processing for last bytes.
52106
6b13d9d9
BH
521072011-08-06 Bruno Haible <bruno@clisp.org>
52108
d455f537
BH
52109 [BZ #13061]
52110 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
52111 U+0385, not to U+1FEE.
52112
6b13d9d9
BH
52113 [BZ #13062]
52114 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
52115 entry for U+00A5 U+0301.
52116
db910efd
UD
521172011-12-22 Ulrich Drepper <drepper@gmail.com>
52118
27deeafc
UD
52119 [BZ #13166]
52120 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
52121 buffer for the output is too small.
52122
aed9d171
UD
52123 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
52124 optimization.
52125
db910efd
UD
52126 [BZ #13185]
52127 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
52128 SSE flags if possible.
52129
2bd779ae
LD
521302011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52131
e7f9dac3 52132 [BZ #13540]
2bd779ae
LD
52133 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
52134 processing for last bytes.
52135
154bfc16
JM
521362011-12-22 Joseph Myers <joseph@codesourcery.com>
52137
52138 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
52139 (syscall-list-default-options, syscall-list-default-condition)
52140 (syscall-list-includes): Define.
52141 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
52142 list of ABIs and options and #if conditions for each ABI. Do not
52143 handle common syscalls between ABIs specially.
52144 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
52145 Remove.
52146 (syscall-list-variants, syscall-list-32bit-options)
52147 (syscall-list-32bit-condition, syscall-list-64bit-options)
52148 (syscall-list-64bit-condition): Define.
52149 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
52150 (syscall-list-variants, syscall-list-32bit-options)
52151 (syscall-list-32bit-condition, syscall-list-64bit-options)
52152 (syscall-list-64bit-condition): Define.
52153 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
52154 Remove.
52155 (syscall-list-variants, syscall-list-32bit-options)
52156 (syscall-list-32bit-condition, syscall-list-64bit-options)
52157 (syscall-list-64bit-condition): Define.
52158 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
52159 Remove.
52160 (syscall-list-variants, syscall-list-32bit-options)
52161 (syscall-list-32bit-condition, syscall-list-64bit-options)
52162 (syscall-list-64bit-condition): Define.
52163
21eaf3a5
UD
521642011-12-22 Ulrich Drepper <drepper@gmail.com>
52165
16c6f992
UD
52166 * locale/iso-639.def: Add brx entry.
52167
41043168
UD
52168 [BZ #13328]
52169 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
52170 Proposed by Mariusz_Cukr <marcukr@op.pl>.
52171
21eaf3a5
UD
52172 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
52173 __feraiseexcept_renamed.
52174
e3a851a2
UD
521752011-12-21 Ulrich Drepper <drepper@gmail.com>
52176
4920765e
UD
52177 [BZ #13538]
52178 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
52179 EPOLLET with unsigned values.
52180 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
52181 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
52182
e3a851a2
UD
52183 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
52184 to large cancellation.
52185 * math/s_cacoshf.c: Likewise.
52186 * math/s_cacoshl.c: Likewise.
52187
b27e24b8
RK
521882011-11-18 Richard B. Kreckel <kreckel@ginac.de>
52189
52190 [BZ #13305]
aebefeee 52191 [BZ #12786]
b27e24b8
RK
52192 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
52193 * math/s_cacoshf.c: Likewise.
52194 * math/s_cacoshl.c: Likewise.
52195
ee190f67
UD
521962011-12-21 Ulrich Drepper <drepper@gmail.com>
52197
52198 [BZ #13439]
52199 * iconv/gconv.h: Define __GCONV_SWAP.
52200 * iconvdata/unicode.c: The swap bit must be stored in __flags.
52201 * iconvdata/utf-16.c: Likewise.
52202 * iconvdata/utf-32.c: Likewise.
52203
707f25df
AS
522042011-12-21 Andreas Schwab <schwab@linux-m68k.org>
52205
52206 [BZ #13524]
52207 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
52208 numerator after shifting it by one limb.
52209
d2daaa1e
RÁE
522102011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
52211
52212 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
52213 under [__USE_EXTERN_INLINES].
52214
a4647e72
UD
522152011-12-17 Ulrich Drepper <drepper@gmail.com>
52216
52217 [BZ #13446]
52218 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
52219
f0b264f1
AZ
522202011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52221
52222 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
52223 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
52224 optimized code.
52225 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
52226 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
52227 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
52228 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
52229 for strncasecmp/strncasecmp_l compilation.
52230 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
52231 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
52232
8ef4f244
MP
522332011-12-08 Marek Polacek <mpolacek@redhat.com>
52234
52235 [BZ #13484]
52236 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
52237 of __asm__.
52238
97ac2654
UD
522392011-12-17 Ulrich Drepper <drepper@gmail.com>
52240
52241 [BZ #13506]
52242 * time/tzfile.c (__tzfile_read): Check values from file header.
52243
91d2a845
WS
522442011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
52245
52246 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
52247 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
52248 * powerpc/powerpc32/dl-start.S: Likewise.
52249 * powerpc/powerpc32/elf/start.S: Likewise.
52250 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
52251 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
52252 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
52253 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
52254 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
52255 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
52256 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
52257 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
52258 * powerpc/powerpc32/fpu/s_round.S: Likewise.
52259 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
52260 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
52261 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
52262 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
52263 * powerpc/powerpc32/memset.S: Likewise.
52264 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
52265 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
52266 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
52267 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
52268 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
52269 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
52270 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
52271 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
52272 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
52273 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
52274 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
52275 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
52276 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
52277
a1267ba1
AZ
522782011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52279
52280 * math/libm-test.inc: Added more nearbyint tests.
52281 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
52282 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
52283 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
52284 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
52285
ad8ac1bd
RL
522862011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
52287
52288 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
52289 FD_CLOEXEC.
52290
1d3e4b61
UD
522912011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52292
52293 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
52294 Add wcscpy-ssse3 wcscpy-c.
52295 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
52296 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
52297 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
52298 * sysdeps/x86_64/wcschr.S: New file.
52299 * sysdeps/x86_64/wcsrchr.S: New file.
52300 * string/test-strcmp.c: Remove checking of wcscmp function for
52301 wrong alignments.
52302 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
52303 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
52304 wcsrchr-sse2 wcsrchr-c.
52305 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
52306 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
52307 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
52308 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
52309 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
52310 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
52311 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
52312 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
52313 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
52314 * wcsmbc/wcschr.c (WCSCHR): New macro.
52315
5b330a2d
UD
523162011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52317
52318 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
52319 * wcsmbs/test-wcsrchr.c: New file.
52320 * string/test-strrchr.c: Add wcsrchr support.
52321 (WIDE): New macro.
52322 * wcsmbs/test-wcscpy.c: New file.
52323 * string/test-strcpy.c: Add wcscpy support.
52324 (WIDE): New macro.
26428b7c 52325
f039c043
UD
523262011-12-10 Ulrich Drepper <drepper@gmail.com>
52327
52328 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
52329 the inner loop.
52330
850fb039
AS
523312011-12-06 Andreas Schwab <schwab@linux-m68k.org>
52332
52333 [BZ #13472]
52334 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
52335
4efbd5cb
UD
523362011-12-04 Ulrich Drepper <drepper@gmail.com>
52337
52ff5dd0 52338 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 52339 Minor optimizations.
52ff5dd0 52340
4efbd5cb
UD
52341 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
52342 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
52343 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
52344
8a426e12
UD
523452011-12-03 Ulrich Drepper <drepper@gmail.com>
52346
aff2453d
UD
52347 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
52348 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
52349 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
52350 for gcc to avoid warnings.
52351 * inet/Makefile (tests): Add tst-checks.
52352 * inet/tst-checks.c: New file.
52353
52354 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
52355 warning.
52356
52357 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
52358 __wmemcmp_sse2.
52359
52360 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
52361 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
52362
8a426e12
UD
52363 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
52364
9bea3473
UD
523652011-12-02 Ulrich Drepper <drepper@gmail.com>
52366
3a965496
UD
52367 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
52368 problem.
52369
9bea3473
UD
52370 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
52371
f101631b
UD
523722011-11-29 Joseph Myers <joseph@codesourcery.com>
52373
52374 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
52375 conditional on GCC version.
52376 (__arch_compare_and_exchange_val_8_acq)
52377 (__arch_compare_and_exchange_val_16_acq)
52378 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
52379 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
52380 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
52381
a98275aa
UD
523822011-12-02 Joseph Myers <joseph@codesourcery.com>
52383
52384 * sysdeps/sh/backtrace.c: New file.
52385
d4cc29a2
AS
523862011-12-02 Andreas Schwab <schwab@redhat.com>
52387
52388 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
52389 parenthesis.
52390
6257af2d
AS
523912011-12-01 Andreas Schwab <schwab@redhat.com>
52392
52393 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
52394 falling back to utime.
52395
b5f44c1a
AS
523962011-11-30 Andreas Schwab <schwab@redhat.com>
52397
52398 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
52399 expectations for float.
52400
f3a6cc0a
AS
524012011-11-29 Andreas Schwab <schwab@redhat.com>
52402
52403 * locale/weight.h (findidx): Add parameter len.
52404 * locale/weightwc.h (findidx): Likewise.
52405 * posix/fnmatch_loop.c (FCT): Adjust caller.
52406 * posix/regcomp.c (build_equiv_class): Likewise.
52407 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
52408 * posix/regexec.c (check_node_accept_bytes): Likewise.
52409 * string/strcoll_l.c (STRCOLL): Likewise.
52410 * string/strxfrm_l.c (STRXFRM): Likewise.
52411
9d65ea3a
UD
524122011-11-17 Ulrich Drepper <drepper@gmail.com>
52413
52414 * Makefile.in: Remove CVSOPT handling.
52415 * configure.in: Remove use of AC_REVISION.
52416 * iconvdata/Makefile (distribute): No need to filter out CVS.
52417 * scripts/list-sources.sh: Remove CVS, subversion and monotone
52418 handling.
52419
5583a086
AS
524202011-11-16 Andreas Schwab <schwab@redhat.com>
52421
52422 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
52423 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
52424 [USE_AS_STRNCASECMP_L]: Likewise.
52425 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
52426 NO_TLS_DIRECT_SEG_REFS.
52427 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
52428 Fix argument offsets for non-PIC.
52429 [USE_AS_STRNCASECMP_L]: Likewise.
52430 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
52431 NO_TLS_DIRECT_SEG_REFS.
52432
d62a8200
UD
524332011-11-15 Ulrich Drepper <drepper@gmail.com>
52434
9d65ea3a 52435 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
52436 O_CLOEXEC.
52437 * locale/loadlocale.c (_nl_load_locale): Likewise.
52438
09f93bd3
AS
524392011-11-15 Andreas Schwab <schwab@redhat.com>
52440
446514f9
AS
52441 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
52442 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
52443 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
52444 (SYSCALL_GETTIME): Set errno on error.
52445
09f93bd3
AS
52446 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
52447 count references to noai6ai_cached.
52448
312be3f9
UD
524492011-11-15 Ulrich Drepper <drepper@gmail.com>
52450
52451 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
52452
52453 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
52454 FD_CLOEXEC for /proc/self/maps.
52455
52456 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
52457 FD_CLOEXEC for /proc/meminfo.
52458
52459 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
52460 gai.conf.
52461
52462 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
52463 FD_CLOEXEC for given file.
52464
52465 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
52466
52467 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
52468 FD_CLOEXEC for /etc/hosts.
52469 (_gethtent): Likewise.
52470
52471 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
52472
52473 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
52474 cancellation and set FD_CLOEXEC for /etc/netgroup.
52475
52476 * nss/nss_files/files-key.c (search): Don't allow cancellation when
52477 reading /etc/publickey.
52478
52479 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
52480 allow cancellation when reading /etc/group.
52481
52482 * nss/nss_files/files-alias.c (internal_setent): Don't allow
52483 cancellation.
52484 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
52485
52486 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
52487 when using data file.
52488
52489 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
52490
52491 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
52492 (write_nis_obj): Use "c" and "e" in fopen.
52493
52494 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
52495
52496 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
52497
52498 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
52499
52500 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
52501
52502 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
52503 locale.alias.
52504
52505 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
52506
52507 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
52508
52509 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
52510
52511 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
52512 file parsing and set FD_CLOEXEC.
52513
82af0fa8
UD
525142011-11-14 Ulrich Drepper <drepper@gmail.com>
52515
52516 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
52517
a5fb313c
AS
525182011-11-14 Andreas Schwab <schwab@redhat.com>
52519
52520 * malloc/arena.c (arena_get2): Don't call reused_arena when
52521 _int_new_arena failed.
52522
6abf3465
UD
525232011-11-14 Ulrich Drepper <drepper@gmail.com>
52524
52525 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
52526 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
52527 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
52528 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
52529 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
52530 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
52531 to compile strcasecmp and strncasecmp.
52532 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
52533 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
52534
52535 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
52536
76e3966e
UD
525372011-11-13 Ulrich Drepper <drepper@gmail.com>
52538
52539 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
52540 locale-defines.sym to gen-as-const-headers.
52541 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
52542 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
52543 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
52544 to compile strcasecmp and strncasecmp.
52545 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
52546 strcasecmp_l and strncasecmp_l.
52547 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
52548 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
52549 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
52550 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
52551 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
52552 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
52553 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
52554 * sysdeps/i386/i686/multiarch/strncase.S: New file.
52555 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
52556 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
52557 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
52558
ab26144e
UD
525592011-11-12 Ulrich Drepper <drepper@gmail.com>
52560
7edb22ef
UD
52561 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
52562 result of SYSDEP_GETTIME_CPU to retval.
52563 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
52564 parameter list to macro. Remove trailing semicolon. Adjust users.
52565
9694fc44
UD
52566 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
52567 variable.
52568
8ad89ef8
UD
52569 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
52570 mantissa words.
52571 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
52572
0c822ef9
UD
52573 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
52574 from unused variable.
52575
874e0564
UD
52576 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
52577 DWARF definitions.
52578 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
52579 for assembling.
52580
3a2edc79
UD
52581 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
52582 over namespaces.
52583
f3c2577f
UD
52584 * sunrpc/rpc_prot.c (rejected): Fix case value.
52585
294ce126
UD
52586 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
52587 unsigned long long int to avoid warnings in shift.
52588
5e2b63c6
UD
52589 * posix/regex_internal.c (re_string_reconstruct): Actually use result
52590 of use of trans.
52591 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
52592 variable tmp.
52593
e7f4b08e
UD
52594 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
52595 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
52596 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
52597
ab26144e
UD
52598 * nis/nis_table.c (nis_list): Use variable of correct type for
52599 result of __follow_path call.
52600
8a6d5255
AZ
526012011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52602
52603 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
52604 of math functions ceil, trunc, floor, round, and sqrt, when
52605 avaliable on the platform.
52606 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
52607 name clash.
52608 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
52609 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
52610 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
52611
aaddc98c
MP
526122011-10-30 Marek Polacek <mpolacek@redhat.com>
52613
52614 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
52615 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
52616
95b7042b
RM
526172011-11-11 Roland McGrath <roland@hack.frob.com>
52618
52619 * include/unistd.h: Fix __readlink return type.
52620 Reported by Chris Metcalf <cmetcalf@tilera.com>.
52621
57769839
UD
526222011-11-11 Ulrich Drepper <drepper@gmail.com>
52623
52624 * stdlib/ucontext.h: Undo last change for makecontext.
52625
edc5984d
AS
526262011-11-11 Andreas Schwab <schwab@redhat.com>
52627
98591e58
AS
52628 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
52629
edc5984d
AS
52630 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
52631 * setjmp/setjmp.h: Mark functions as non-leaf.
52632 * setjmp/bits/setjmp2.h: Likewise.
52633 * stdlib/ucontext.h: Likewise.
52634
77cdc054
AS
526352011-11-10 Andreas Schwab <schwab@redhat.com>
52636
52637 * malloc/arena.c (_int_new_arena): Don't increment narenas.
52638 (reused_arena): Don't check arena limit.
52639 (arena_get2): Atomically check arena limit.
52640
fe72eebd
UD
526412011-11-08 Ulrich Drepper <drepper@gmail.com>
52642
5f078c32
UD
52643 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
52644 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
52645
fe72eebd
UD
52646 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
52647 instructions.
52648
ae1bc2fa
AS
526492011-11-07 Andreas Schwab <schwab@redhat.com>
52650
7583a88d
AS
52651 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
52652 handler when locking.
52653
ae1bc2fa
AS
52654 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
52655 Fix size of allocated buffer.
52656
10fb0bfa
AS
526572011-11-04 Andreas Schwab <schwab@redhat.com>
52658
998832a4
AS
52659 [BZ #10103]
52660 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
52661 declarations for long double functions.
52662 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
52663
10fb0bfa
AS
52664 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
52665
3d7ba52b
AS
526662011-11-03 Andreas Schwab <schwab@redhat.com>
52667
a9ae54a1
AS
52668 * nscd/nscd.c (main): Don't start AVC thread until credentials are
52669 installed.
52670
3d7ba52b
AS
52671 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
52672 is disabled.
52673
bc8db248
ST
526742011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
52675
52676 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
52677
45b96dd6
AS
526782011-11-01 Andreas Schwab <schwab@linux-m68k.org>
52679
647776f6
AS
52680 * include/alloca.h (stackinfo_alloca_round): Define.
52681 (extend_alloca): Use it.
52682 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
52683 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
52684 here.
52685
d91a8b93
AS
52686 * scripts/check-local-headers.sh: Ignore libaudit.h.
52687
45b96dd6
AS
52688 * nscd/Makefile (extra-objs): Make recursively expanded.
52689
432d41ce
UD
526902011-11-01 Ulrich Drepper <drepper@gmail.com>
52691
34372fc6
UD
52692 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
52693 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
52694
fadb59f8
UD
52695 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
52696 * posix/tst-rfc3484-2.c: Likewise.
52697 * posix/tst-rfc3484-3.c: Likewise.
52698
78239589
UD
52699 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
52700 process_vm_writev.
52701 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
52702 process_vm_writev.
52703 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
52704 process_vm_writev from libc using GLIBC_2.15 version.
52705
432d41ce
UD
52706 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
52707
02f9c6cf
PP
527082011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
52709
52710 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
52711 stack usage.
52712
3a2c0242
UD
527132011-10-31 Ulrich Drepper <drepper@gmail.com>
52714
f4ec4833
UD
52715 [BZ #13367]
52716 * nss/getent.c (initgroups_keys): Show error message in case no group
52717 names are given.
52718
3a2c0242
UD
52719 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
52720 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
52721 __bump_nl_timestamp.
52722 * nscd/connections (nscd_init): When host database is served open
52723 netlink socket and request notification about configuration changes.
52724 (main_loop_poll): Track netlink file descriptor and bump timestamp
52725 in case data becomes available.
52726 (main_loop_epoll): Likewise.
52727 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
52728 (database_pers_head): Add extra_data fileds.
52729 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
52730 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
52731 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
52732 Adjust caller.
52733 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
52734 in6ai data, call __free_in6ai.
52735 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
52736 Add -DHAVE_NETLINK.
52737 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
52738 interface information. Reuse previous data if netlink timestamp
52739 is not changed.
52740 (__bump_nl_timestamp): New function.
52741 (__free_in6ai): New function.
52742
636064eb
UD
527432011-10-30 Ulrich Drepper <drepper@gmail.com>
52744
52745 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
52746 close_not_cancel_no_status here.
52747 (__check_pf): Reorganize code a bit to not call close twice if OOM.
52748
9beb2334
UD
527492011-10-29 Ulrich Drepper <drepper@gmail.com>
52750
6ef76f3b
UD
52751 [BZ #13276]
52752 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
52753 return value.
52754
0ffc4f3e 52755 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
52756 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
52757 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
52758
cb95113e
UD
527592011-07-03 Andreas Jaeger <aj@suse.de>
52760
52761 [BZ #10709]
52762 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
52763 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
52764 * math/libm-test.inc (sin_test): Add test case.
52765
a1b560ff
UD
527662011-10-29 Ulrich Drepper <drepper@gmail.com>
52767
c9aaface
UD
52768 [BZ #13337]
52769 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
52770 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
52771
d272e7f1
UD
52772 * elf/chroot_canon.c (chroot_canon): Cleanups.
52773
1bc33071
UD
52774 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
52775
1760874d
TJ
52776 [BZ #13335]
52777 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
52778 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
52779
51d91b18
UD
52780 * string/test-strchr.c: Make usable for strchrnul testing.
52781 * string/test-strchrnul.c: New file.
52782 * string/Makefile (strop-tests): Add strchrnul.
52783
a1b560ff 52784 * po/it.po: Update from translation team.
b611fb81 52785 * po/es.po: Likewise.
a1b560ff 52786
a5b81e1f
UD
527872011-10-28 Ulrich Drepper <drepper@gmail.com>
52788
fd52bc6d
UD
52789 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
52790 the three constants needed as parameters. Drop the others.
52791 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
52792 __m128i_strloadu_tolower.
52e4b9eb
UD
52793 Create and initialize variable zero and use it in all the places
52794 where _mm_setzero_si128 was used.
fd52bc6d 52795
a5b81e1f
UD
52796 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
52797 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
52798 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
52799 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
52800 anymore.
52801 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
52802 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
52803 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
52804 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
52805 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
52806 __mpranred, __mptan.
52807 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
52808 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
52809 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
52810 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
52811 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
52812 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
52813 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
52814 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
52815 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
52816
b4343346
AS
528172011-10-28 Andreas Schwab <schwab@redhat.com>
52818
0c92d8a8
AS
52819 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
52820 redefine if SHARED.
52821 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
52822
b4343346
AS
52823 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
52824 wide char related routines to wcsmbs subdir.
52825
3871f58f
AS
528262011-10-27 Andreas Schwab <schwab@redhat.com>
52827
52828 [BZ #13344]
52829 * misc/sys/cdefs.h (__THROWNL): Define.
52830 * posix/unistd.h: Use __THREADNL instead of __THREAD
52831 for memory synchronization functions.
52832
94d44d9f
RM
528332011-10-26 Roland McGrath <roland@hack.frob.com>
52834
21b64b15 52835 [BZ #13349]
94d44d9f
RM
52836 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
52837 doesn't exist.
52838 * manual/stdio.texi (Obstack Streams): Node removed.
52839
f6ce9294
AS
528402011-10-26 Andreas Schwab <schwab@redhat.com>
52841
80479147
AS
52842 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
52843 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
52844 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
52845
f6ce9294
AS
52846 * math/math_private.h (math_force_eval): Allow non-addressable
52847 arguments.
52848 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
52849
618280a1
UD
528502011-10-25 Ulrich Drepper <drepper@gmail.com>
52851
e0016b11
UD
52852 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
52853 file is not needed.
52854
52855 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
52856 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
52857 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
52858 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
52859 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
52860 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
52861 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
52862 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
52863 Add AVX variants.
52864 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
52865 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
52866 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
52867 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
52868 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
52869 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
52870 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
52871 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
52872 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
52873 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
52874 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
52875 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
52876 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
52877 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
52878 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
52879 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
52880 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
52881 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
52882 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
52883
52884 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
52885 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
52886
618280a1
UD
52887 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
52888 place. Use VEX encoding when compiling for AVX.
52889
37822576
AS
528902011-10-25 Andreas Schwab <schwab@redhat.com>
52891
1f1e1947
AS
52892 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
52893 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
52894
37822576
AS
52895 * string/test-strchr.c (do_test): Don't generate NUL bytes.
52896
31ea014d
UD
528972011-10-25 Ulrich Drepper <drepper@gmail.com>
52898
d7826aa1 52899 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 52900 useless if() expression.
d7826aa1
UD
52901 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
52902 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
52903 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
52904 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
52905 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
52906 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
52907 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
52908 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
52909 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
52910 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
52911 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
52912 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
52913 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
52914 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
52915 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
52916 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
52917 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
52918 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
52919 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
52920
31ea014d
UD
52921 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
52922
16437fec
AS
529232011-10-25 Andreas Schwab <schwab@redhat.com>
52924
52925 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
52926 condition.
52927 * elf/dl-fini.c (_dl_sort_fini): Likewise.
52928
31d3cc00
UD
529292011-10-25 Ulrich Drepper <drepper@gmail.com>
52930
52931 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
52932 .text section. Avoid duplicate constants.
52933 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
52934 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52935 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
52936 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52937 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52938 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52939 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52940 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52941 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
52942 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
52943 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
52944 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
52945 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
52946 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
52947 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
52948 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
52949 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
52950 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
52951 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
52952 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52953 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
52954 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
52955 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
52956 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
52957 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
52958 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
52959 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
52960 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
52961 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
52962 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
52963 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
52964 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
52965 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
52966 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
52967 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
52968 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
52969 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
52970 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
52971 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
52972 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
52973 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
52974 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
52975 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
52976 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
52977 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
52978
58985aa9
UD
529792011-10-24 Ulrich Drepper <drepper@gmail.com>
52980
202c9deb
UD
52981 * sysdeps/x86_64/dla.h: Move to ...
52982 * sysdeps/x86_64/fpu/dla.h: ...here.
52983 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
52984 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 52985
af968f62
UD
52986 * config.make.in: Add have-mfma4 entry.
52987 * configure.in: Substitute libc_cv_cc_fma4.
52988 * math/Makefile (dbl-only-routines): Add sincostab.
52989 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
52990 Use __sincostab not sincos.
52991 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
52992 name is a macro.
52993 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52994 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52995 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52996 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
52997 using __copysign.
52998 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
52999 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
53000 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
53001 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
53002 and __inv.
53003 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
53004 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
53005 __copysign.
53006 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
53007 define aliases when function name is a macro.
53008 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
53009 sysdeps/ieee754/dbl-64/sincos.tbl.
53010 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
53011 fma4-enabled routines.
53012 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
53013 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
53014 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
53015 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
53016 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
53017 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
53018 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
53019 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
53020 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
53021 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
53022 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
53023 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
53024 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
53025 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
53026 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
53027 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
53028 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
53029 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
53030 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
53031 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
53032 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
53033 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
53034 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
53035 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
53036 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
53037 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
53038 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
53039 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
53040 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
53041 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
53042
58985aa9
UD
53043 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
53044 rename.
53045 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
53046 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
53047 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
53048 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
53049 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
53050 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
53051 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
53052 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
53053
a201fbcf
AS
530542011-10-24 Andreas Schwab <schwab@redhat.com>
53055
53056 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
53057
fc2ee42a
LD
530582011-10-23 Ulrich Drepper <drepper@gmail.com>
53059
bb3129bd
UD
53060 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
53061
0275fff8
UD
53062 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
53063 prediction.
53064 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
53065
2fa2ae85
UD
53066 * string/strnlen.c: Don't define STRNLEN, reverse logic.
53067 Remove unused variable magic_bits.
53068 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
53069
fc2ee42a
LD
53070 * string/strnlen.c: Define and use STRNLEN macro.
53071 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
53072 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
53073 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
53074 * wcsmbs/wcslen.c: Define and use WCSLEN.
53075 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
53076 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
53077 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
53078 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
53079 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
53080 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
53081 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
53082
ce7dd29f
LD
530832011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53084
53085 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53086 strnlen-sse2-no-bsf.
53087 Rename strlen-no-bsf to strlen-sse2-no-bsf.
53088 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
53089 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
53090 Add strnlen support.
53091 (USE_AS_STRNLEN): New macro.
53092 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
53093 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
53094 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
53095 * sysdeps/x86_64/wcslen.S: New file.
53096
979c70a3
MZ
530972011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
53098
53099 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
53100 XMM-moves are used for copying on small sizes.
53101
2d09f82f
LD
531022011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53103
53104 * wcsmbs/Makefile (strop-tests): Add wcschr.
53105 * wcsmbs/test-wcschr.c: New file.
53106 * string/test-strchr.c: Update.
53107 Add wcschr support.
53108 (WIDE): New macro.
53109
619fccca
LD
531102011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53111
2d09f82f 53112 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
53113 * wcsmbs/test-wcslen.c: New file.
53114 * string/test-strlen.c: Update.
53115 Add wcslen support.
53116 (WIDE): New macro.
53117
09f699ea
UD
531182011-10-23 Ulrich Drepper <drepper@gmail.com>
53119
53120 * po/it.po: Update from translation team.
53121
95584d3b
LD
531222011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53123
53124 * sysdeps/x86_64/wcscmp.S: Update.
53125 Fix wrong comparison semantics.
53126 wcscmp shall use signed comparison not unsigned.
53127 Don't use substraction to avoid overflow bug.
53128 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
53129 * wcsmbc/wcscmp.c: Likewise.
53130 * string/test-strcmp.c: Likewise.
53131 Add new tests to check cases with negative values.
53132
c8b3296b
UD
531332011-10-23 Ulrich Drepper <drepper@gmail.com>
53134
53135 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
53136 * sysdeps/x86_64/dla.h: ...here. New file.
53137 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
53138 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
53139 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
53140 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
53141 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
53142 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
53143 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
53144 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
53145 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
53146
246ad57a
AS
531472011-10-23 Andreas Schwab <schwab@linux-m68k.org>
53148
53149 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
53150 __ynl_finite aliases.
53151
a1a87169
UD
531522011-10-22 Ulrich Drepper <drepper@gmail.com>
53153
0d355eb7
UD
53154 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53155
a1a87169
UD
53156 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
53157 define DLA_FMA.
53158 [DLA_FMA] (EMULV): Use DLA_FMA.
53159 [DLA_FMA] (MUL12): Use EMULV.
53160 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
53161 that are not needed.
53162 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
53163 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
53164 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
53165 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
53166 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
53167 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
53168 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
53169
ee2aafe0
AS
531702011-10-22 Andreas Schwab <schwab@linux-m68k.org>
53171
53172 * math/s_nan.c: Undef __nan.
53173 * math/s_nanf.c: Undef __nanf.
53174 * math/s_nanl.c: Undef __nanl.
53175 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
53176 "math_private.h".
53177
bc62c2fb
UD
531782011-10-22 Ulrich Drepper <drepper@gmail.com>
53179
77425c63
UD
53180 * math/s_catan.c: Add branch predictions.
53181 * math/s_catanf.c: Likewise.
53182 * math/s_catanh.c: Likewise.
53183 * math/s_catanhf.c: Likewise.
53184 * math/s_catanhl.c: Likewise.
53185 * math/s_catanl.c: Likewise.
53186 * math/s_cexp.c: Likewise.
53187 * math/s_cexpf.c: Likewise.
53188 * math/s_cexpl.c: Likewise.
53189 * math/s_clog.c: Likewise.
53190 * math/s_clog10.c: Likewise.
53191 * math/s_clog10f.c: Likewise.
53192 * math/s_clog10l.c: Likewise.
53193 * math/s_clogf.c: Likewise.
53194 * math/s_clogl.c: Likewise.
53195 * math/s_csqrt.c: Likewise.
53196 * math/s_csqrtf.c: Likewise.
53197 * math/s_csqrtl.c: Likewise.
53198 * math/s_ctanf.c: Likewise.
53199 * math/s_ctanh.c: Likewise.
53200 * math/s_ctanhf.c: Likewise.
53201 * math/s_ctanhl.c: Likewise.
53202 * math/s_ctanl.c: Likewise.
53203
bc62c2fb
UD
53204 * math/math_private.h: Define __nan, __nanf, __nanl.
53205 * math/s_cacosh.c: Include <math_private.h>.
53206 * math/s_cacoshl.c: Likewise.
53207 * math/s_casinh.c: Likewise.
53208 * math/s_casinhf.c: Likewise.
53209 * math/s_casinhl.c: Likewise.
53210 * math/s_ccos.c: Rely entire on ccosh.
53211 * math/s_ccosf.c: Rely entire on ccoshf.
53212 * math/s_ccosl.c: Rely entirely on ccoshl.
53213 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
53214 Remove tests for FE_INVALID.
53215 * math/s_ccoshf.c: Likewise.
53216 * math/s_ccoshl.c: Likewise.
53217 * math/s_csin.c: Likewise.
53218 * math/s_csinf.c: Likewise.
53219 * math/s_csinh.c Likewise.
53220 * math/s_csinhf.c: Likewise.
53221 * math/s_csinhl.c: Likewise.
53222 * math/s_csinl.c: Likewise.
53223 * math/s_ctan.c: Likewise.
53224 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
53225 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
53226 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
53227
8ec250a4
UD
532282011-10-21 Ulrich Drepper <drepper@gmail.com>
53229
c196fed8
UD
53230 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
53231 compilation problems.
53232
8ec250a4
UD
53233 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
53234 __builtin_expect.
53235
8d4f46c6
UD
532362011-10-20 Ulrich Drepper <drepper@gmail.com>
53237
ed72b654
UD
53238 * sysdeps/i386/configure.in: Test for -mfma4 option.
53239 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
53240 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
53241 COMMON_CPUID_INDEX_80000001.
53242 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
53243 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
53244 use it if FMA3 is not supported.
53245 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
53246
8d4f46c6
UD
53247 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
53248 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
53249
d45c60c2
AS
532502011-10-20 Andreas Schwab <schwab@redhat.com>
53251
53252 [BZ #12892]
53253 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
53254 it would create a cycle with a link time dependency.
53255
d9a4d2ab
UD
532562011-10-19 Ulrich Drepper <drepper@gmail.com>
53257
855d1560
UD
53258 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
53259 instruction.
53260 * string/Makefile (strop-tests): Add rawmemchr.
53261 * string/test-rawmemchr.c: New file.
53262
d9a4d2ab
UD
53263 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
53264 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
53265 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
53266 when compiling str{,n}casecmp and when AVX is available. Hook up
53267 new optimized code in initializers.
53268
8f3b1ffe
AS
532692011-10-19 Andreas Schwab <schwab@redhat.com>
53270
53271 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
53272 __feraiseexcept instead of feraiseexcept.
53273
d38f1dba
UD
532742011-10-18 Ulrich Drepper <drepper@gmail.com>
53275
d9a8d0ab
UD
53276 * math/math_private.h: Define defaults for libc_fetestexcept and
53277 libc_feupdateenv.
53278 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
53279 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
53280 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
53281 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
53282 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
53283 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
53284 libc_fetestexcept and libc_feupdateenv.
53285
4855e3dd
UD
53286 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
53287 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
53288 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
53289 * sysdeps/x86_64/fpu/math_private.h: Define special version of
53290 libc_feholdexcept_setround.
53291
581d30e3
UD
53292 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
53293 Add s_nearbyint-c and s_nearbyintf-c.
53294 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
53295 nearbyintf inlines.
53296 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
53297 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
53298 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
53299 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
53300
d38f1dba
UD
53301 * math/math_private.h: Define defaults for libc_fegetround,
53302 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
53303 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
53304 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
53305 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
53306 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
53307 standard functions.
53308 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
53309 Remove comments and hacks for old compiler versions.
53310 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
53311 libc_fegetround, libc_fesetround, libc_feholdexcept, and
53312 libc_feholdexceptl.
53313
caa6c9d8
AS
533142011-10-18 Andreas Schwab <schwab@redhat.com>
53315
53316 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
53317 (__feraiseexcept_renamed): Add __NTH.
53318 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
53319 namespace violations.
53320
97c066e6
UD
533212011-10-17 Ulrich Drepper <drepper@gmail.com>
53322
99ce7b04
UD
53323 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
53324
1004d182
UD
53325 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
53326
228a984d
UD
53327 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
53328 recently added interfaces.
53329 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
53330
c8553a6a
UD
53331 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
53332 about macro parameter expansion.
53333
ed22dcf6
UD
53334 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
53335 __NO_MATH_INLINES is defined. Cleanups.
53336
53337 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
53338 and __floorf is target has SSE4.1.
53339 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
53340 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
53341 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
53342 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
53343
b171c137
UD
53344 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
53345 name.
53346 (floorf): Likewise.
53347
97c066e6
UD
53348 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
53349
629f62ef
AS
533502011-10-17 Andreas Schwab <schwab@redhat.com>
53351
49a43d80
AS
53352 * misc/sys/cdefs.h: Fix last change.
53353
629f62ef
AS
53354 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
53355 database lookup.
53356
e453f6cd
UD
533572011-10-16 Ulrich Drepper <drepper@gmail.com>
53358
aa78043a
UD
53359 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
53360
ad0f5cad
UD
53361 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
53362 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
53363 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
53364 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
53365 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
53366 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
53367 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
53368 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
53369 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
53370 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
53371 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
53372 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
53373 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
53374 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
53375 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
53376 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
53377 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
53378 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
53379 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
53380 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
53381 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
53382 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
53383
53384 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
53385 ceil, ceilf, floor, floorf.
53386
53387 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
53388 Perform IRELATIVE relocations last.
53389
e453f6cd
UD
53390 * elf/do-rel.h: Add another parameter nrelative, replacing the
53391 local variable with the same name. Change name of the function
53392 to end in Rel or Rela (uppercase).
53393 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
53394 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
53395 elf_dynamic_do_##reloc function.
53396
fd5bdc09
UD
533972011-10-15 Ulrich Drepper <drepper@gmail.com>
53398
79b195b5
UD
53399 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
53400 is sufficient, at least on modern CPUs.
53401
d4a28569
UD
53402 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
53403
b61099b5
UD
53404 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
53405 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
53406
bcf01e6d
UD
53407 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
53408 __expl_finite.
53409 * math/bits/math-finite.h: Add entries for exp.
53410 * math/e_expl.c: Add __*_finite alias.
53411 * sysdeps/i386/fpu/e_exp.S: Likewise.
53412 * sysdeps/i386/fpu/e_expf.S: Likewise.
53413 * sysdeps/i386/fpu/e_expl.c: Likewise.
53414 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
53415 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
53416 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
53417 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
53418 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
53419 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
53420 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
53421
ba1a0d59
UD
53422 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
53423 is sufficient, at least on modern CPUs.
53424
fd5bdc09
UD
53425 * ctype/ctype-info.c (__ctype_init): Define.
53426 * include/ctype.h (__ctype_init): Declare.
53427 (__ctype_b_loc): The variable is always initialized.
53428 (__ctype_toupper_loc): Likewise.
53429 (__ctype_tolower_loc): Likewise.
53430 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
53431 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
53432
7872cfb0
AS
534332011-10-15 Andreas Schwab <schwab@linux-m68k.org>
53434
b468825a
AS
53435 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
53436
7872cfb0
AS
53437 * configure.in: Also look in $cxxmachine/include for C++ system
53438 headers.
53439
be13f7bf
LD
534402011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53441
53442 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
53443 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
53444 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
53445 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
53446 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
53447 (USE_AS_WMEMCMP): New macro.
53448 Fixing indents.
53449 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
53450 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
53451 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
53452 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
53453 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53454 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
53455 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
53456 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
53457 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
53458 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
53459 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
53460 (USE_AS_WMEMCMP): New macro.
53461 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
53462 * sysdeps/string/test-memcmp.c: Update.
53463 Fix simple_wmemcmp.
53464 Add new tests.
53465 * wcsmbs/wmemcmp.c: Update.
53466 (WMEMCMP): New macro.
53467 Fix overflow bug.
53468
556a2007
AJ
534692011-10-12 Andreas Jaeger <aj@suse.de>
53470
53471 [BZ #13268]
53472 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
53473
538faaa7
UD
534742011-10-15 Ulrich Drepper <drepper@gmail.com>
53475
ab6737ff
UD
53476 * libio/iofwide.c (do_length): Avoid warning.
53477
538faaa7
UD
53478 * ctype/ctype.h (__isctype_f): Add missing __THROW.
53479
396a21b1
UD
534802011-10-14 Ulrich Drepper <drepper@gmail.com>
53481
cdf2901f
UD
53482 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
53483
38ad40ce
UD
53484 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
53485 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
53486 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
53487 * sysdeps/i386/i686/fpu/e_log.S: New file.
53488 * sysdeps/i386/i686/fpu/e_logf.S: New file.
53489 * sysdeps/i386/i686/fpu/e_logl.S: New file.
53490
396a21b1
UD
53491 * ctype/ctype.h: Add support for inlined isXXX functions when
53492 compiling C++ code.
53493
6b1f68c9
AS
534942011-10-14 Andreas Schwab <schwab@redhat.com>
53495
349290c0
AS
53496 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53497
6b1f68c9
AS
53498 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
53499
f2282d42
RM
535002011-10-13 Roland McGrath <roland@hack.frob.com>
53501
53502 [BZ #13291]
53503 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
53504
5298ffa8
AS
535052011-10-13 Andreas Schwab <schwab@redhat.com>
53506
714fad23
AS
53507 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
53508 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
53509 feraiseexcept.
53510
81dcc7fb
AS
53511 * sysdeps/x86_64/memrchr.S: Check for zero size.
53512
5298ffa8
AS
53513 * string/stratcliff.c: Add memrchr tests.
53514
951fbcec
LD
535152011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53516
53517 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53518 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
53519 rawmemchr-sse2 rawmemchr-sse2-bsf.
53520 * sysdeps/i386/i686/multiarch/memchr.S: New file.
53521 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
53522 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
53523 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
53524 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
53525 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
53526 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
53527 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
53528 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
53529 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
53530 * string/memrchr.c (MEMRCHR): New macro.
53531
0ac5ae23
UD
535322011-10-12 Ulrich Drepper <drepper@gmail.com>
53533
53534 Add integration with gcc's -ffinite-math-only and optimize wrapper
53535 functions in libm.
53536 * Versions.def: Define GLIBC_2.15 version for libm.
53537 * math/Makefile (headers): Add bits/math-finite.h.
53538 * math/bits/math-finite.h: New file.
53539 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
53540 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
53541 * math/e_acoshl.c: Add __*_finite alias.
53542 * math/e_acosl.c: Likewise.
53543 * math/e_asinl.c: Likewise.
53544 * math/e_atan2l.c: Likewise.
53545 * math/e_atanhl.c: Likewise.
53546 * math/e_coshl.c: Likewise.
53547 * math/e_exp10.c: Likewise.
53548 * math/e_exp10f.c: Likewise.
53549 * math/e_exp10l.c: Likewise.
53550 * math/e_exp2l.c: Likewise.
53551 * math/e_fmodl.c: Likewise.
53552 * math/e_gammal_r.c: Likewise.
53553 * math/e_hypotl.c: Likewise.
53554 * math/e_j0l.c: Likewise.
53555 * math/e_j1l.c: Likewise.
53556 * math/e_jnl.c: Likewise.
53557 * math/e_lgammal_r.c: Likewise.
53558 * math/e_log10l.c: Likewise.
53559 * math/e_log2l.c: Likewise.
53560 * math/e_logl.c: Likewise.
53561 * math/e_powl.c: Likewise.
53562 * math/e_sinhl.c: Likewise.
53563 * math/e_sqrtl.c: Likewise.
53564 * math/e_scalb.c: Completely rewritten and optimized.
53565 * math/e_scalbf.c: Likewise.
53566 * math/e_scalbl.c: Likewise.
53567 * math/w_acos.c: Likewise.
53568 * math/w_acosf.c: Likewise.
53569 * math/w_acosl.c: Likewise.
53570 * math/w_acosh.c: Likewise.
53571 * math/w_acoshf.c: Likewise.
53572 * math/w_acoshl.c: Likewise.
53573 * math/w_asin.c: Likewise.
53574 * math/w_asinf.c: Likewise.
53575 * math/w_asinl.c: Likewise.
53576 * math/w_atan2.c: Likewise.
53577 * math/w_atan2f.c: Likewise.
53578 * math/w_atan2l.c: Likewise.
53579 * math/w_atanh.c: Likewise.
53580 * math/w_atanhf.c: Likewise.
53581 * math/w_atanhl.c: Likewise.
53582 * math/w_exp10.c: Likewise.
53583 * math/w_exp10f.c: Likewise.
53584 * math/w_exp10l.c: Likewise.
53585 * math/w_fmod.c: Likewise.
53586 * math/w_fmodf.c: Likewise.
53587 * math/w_fmodl.c: Likewise.
53588 * math/w_j0.c: Likewise.
53589 * math/w_j0f.c: Likewise.
53590 * math/w_j0l.c: Likewise.
53591 * math/w_j1.c: Likewise.
53592 * math/w_j1f.c: Likewise.
53593 * math/w_j1l.c: Likewise.
53594 * math/w_jn.c: Likewise.
53595 * math/w_jnf.c: Likewise.
53596 * math/w_log.c: Likewise.
53597 * math/w_logf.c: Likewise.
53598 * math/w_logl.c: Likewise.
53599 * math/w_log10.c: Likewise.
53600 * math/w_log10f.c: Likewise.
53601 * math/w_log10l.c: Likewise.
53602 * math/w_log2.c: Likewise.
53603 * math/w_log2f.c: Likewise.
53604 * math/w_log2l.c: Likewise.
53605 * math/w_pow.c: Likewise.
53606 * math/w_powf.c: Likewise.
53607 * math/w_powl.c: Likewise.
53608 * math/w_remainder.c: Likewise.
53609 * math/w_remainderf.c: Likewise.
53610 * math/w_remainderl.c: Likewise.
53611 * math/w_scalb.c: Likewise.
53612 * math/w_scalbf.c: Likewise.
53613 * math/w_scalbl.c: Likewise.
53614 * math/w_sqrt.c: Likewise.
53615 * math/w_sqrtf.c: Likewise.
53616 * math/w_sqrtl.c: Likewise.
53617 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
53618 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
53619 used.
53620 * math/math_private.h: Declare __kernel_standard_f.
53621 * math/w_cosh.c: Remove cruft and optimize a bit.
53622 * math/w_coshf.c: Likewise.
53623 * math/w_coshl.c: Likewise.
53624 * math/w_exp2.c: Likewise.
53625 * math/w_exp2f.c: Likewise.
53626 * math/w_exp2l.c: Likewise.
53627 * math/w_hypot.c: Likewise.
53628 * math/w_hypotf.c: Likewise.
53629 * math/w_hypotl.c: Likewise.
53630 * math/w_lgamma.c: Likewise.
53631 * math/w_lgamma_r.c: Likewise.
53632 * math/w_lgammaf.c: Likewise.
53633 * math/w_lgammaf_r.c: Likewise.
53634 * math/w_lgammal.c: Likewise.
53635 * math/w_lgammal_r.c: Likewise.
53636 * math/w_sinh.c: Likewise.
53637 * math/w_sinhf.c: Likewise.
53638 * math/w_sinhl.c: Likewise.
53639 * math/w_tgamma.c: Likewise.
53640 * math/w_tgammaf.c: Likewise.
53641 * math/w_tgammal.c: Likewise.
53642 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
53643 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
53644 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
53645 Minor optimizations. Pretty printing. Remove cruft.
53646 * sysdeps/i386/fpu/e_acosf.S: Likewise.
53647 * sysdeps/i386/fpu/e_acosh.S: Likewise.
53648 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
53649 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
53650 * sysdeps/i386/fpu/e_acosl.c: Likewise.
53651 * sysdeps/i386/fpu/e_asin.S: Likewise.
53652 * sysdeps/i386/fpu/e_asinf.S: Likewise.
53653 * sysdeps/i386/fpu/e_atan2.S: Likewise.
53654 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
53655 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
53656 * sysdeps/i386/fpu/e_atanh.S: Likewise.
53657 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
53658 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
53659 * sysdeps/i386/fpu/e_exp10.S: Likewise.
53660 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
53661 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
53662 * sysdeps/i386/fpu/e_exp2.S: Likewise.
53663 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
53664 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
53665 * sysdeps/i386/fpu/e_fmod.S: Likewise.
53666 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
53667 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
53668 * sysdeps/i386/fpu/e_hypot.S: Likewise.
53669 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
53670 * sysdeps/i386/fpu/e_log.S: Likewise.
53671 * sysdeps/i386/fpu/e_log10.S: Likewise.
53672 * sysdeps/i386/fpu/e_log10f.S: Likewise.
53673 * sysdeps/i386/fpu/e_log10l.S: Likewise.
53674 * sysdeps/i386/fpu/e_log2.S: Likewise.
53675 * sysdeps/i386/fpu/e_log2f.S: Likewise.
53676 * sysdeps/i386/fpu/e_log2l.S: Likewise.
53677 * sysdeps/i386/fpu/e_logf.S: Likewise.
53678 * sysdeps/i386/fpu/e_logl.S: Likewise.
53679 * sysdeps/i386/fpu/e_pow.S: Likewise.
53680 * sysdeps/i386/fpu/e_powf.S: Likewise.
53681 * sysdeps/i386/fpu/e_powl.S: Likewise.
53682 * sysdeps/i386/fpu/e_remainder.S: Likewise.
53683 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
53684 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
53685 * sysdeps/i386/fpu/e_scalb.S: Likewise.
53686 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
53687 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
53688 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
53689 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
53690 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
53691 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
53692 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
53693 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
53694 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
53695 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
53696 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
53697 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
53698 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
53699 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
53700 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
53701 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
53702 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
53703 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
53704 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
53705 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
53706 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
53707 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
53708 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
53709 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
53710 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
53711 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
53712 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
53713 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
53714 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
53715 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
53716 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
53717 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
53718 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
53719 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
53720 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
53721 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
53722 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
53723 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
53724 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
53725 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
53726 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
53727 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
53728 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
53729 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
53730 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
53731 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
53732 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
53733 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
53734 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
53735 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
53736 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
53737 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
53738 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
53739 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
53740 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
53741 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
53742 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
53743 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
53744 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
53745 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
53746 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
53747 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
53748 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
53749 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
53750 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
53751 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
53752 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
53753 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
53754 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
53755 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
53756 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
53757 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
53758 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
53759 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
53760 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
53761 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
53762 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
53763 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
53764 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
53765 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
53766 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
53767 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
53768 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
53769 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
53770 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
53771 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
53772 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
53773 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
53774 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
53775 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
53776 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
53777 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
53778 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
53779 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
53780 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
53781 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
53782 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
53783 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
53784 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
53785 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
53786 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
53787 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
53788 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
53789 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
53790 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
53791 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
53792 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
53793 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
53794 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
53795 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
53796 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
53797 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
53798 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
53799 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
53800 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
53801 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
53802 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
53803 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
53804 (__isnanf): Likewise.
53805 (__isinf_ns): Likewise.
53806 (__isinf_nsf): Likewise.
53807 (__finite): Likewise.
53808 (__finitef): Likewise.
53809 (__ieee754_sqrt): Define as macro.
53810 (__ieee754_sqrtf): Define as macro.
53811 (__ieee754_sqrtl): Define as macro.
53812 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
53813 inlined copy.
53814 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
53815 __FINITE_MATH_ONLY__ consistent.
53816 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
53817
12cc2fcd
AS
538182011-10-10 Andreas Schwab <schwab@linux-m68k.org>
53819
a843a204
AS
53820 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
53821 of rawmemchr.
53822
12cc2fcd
AS
53823 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
53824
c853acd5
UD
538252011-10-09 Ulrich Drepper <drepper@gmail.com>
53826
53827 * po/ja.po: Update from translation team.
53828
c658d255
RM
538292011-10-08 Roland McGrath <roland@hack.frob.com>
53830
110946e4
RM
53831 * locale/programs/locarchive.c (prepare_address_space): New function.
53832 (create_archive, enlarge_archive, open_archive): Use it.
53833
50604220
RM
53834 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
53835 inside [SHARED], where it is used.
53836
c658d255
RM
53837 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
53838
53839 * nss/getent.c (netgroup_keys): Remove unused variable.
53840 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
53841
6a621eb7
UD
538422011-10-08 Ulrich Drepper <drepper@gmail.com>
53843
7edb55ce
UD
53844 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
53845 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
53846 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
53847 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
53848 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
53849 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
53850 * math/Makefile (libm-calls): Add s_isinf_ns.
53851 * math/divtc3.c: Use __isinf_nsl instead of isinf.
53852 * math/multc3.c: Likewise.
53853 * math/s_casin.c: Likewise.
53854 * math/s_casinf.c: Likewise.
53855 * math/s_casinl.c: Likewise.
53856 * math/s_ccos.c: Likewise.
53857 * math/s_ccosf.c: Likewise.
53858 * math/s_ccosl.c: Likewise.
53859 * math/s_ctan.c: Likewise.
53860 * math/s_ctanf.c: Likewise.
53861 * math/s_ctanh.c: Likewise.
53862 * math/s_ctanhf.c: Likewise.
53863 * math/s_ctanhl.c: Likewise.
53864 * math/s_ctanl.c: Likewise.
53865 * math/w_fmod.c: Likewise.
53866 * math/w_fmodf.c: Likewise.
53867 * math/w_fmodl.c: Likewise.
53868 * math/w_remainder.c: Likewise.
53869 * math/w_remainderf.c: Likewise.
53870 * math/w_remainderl.c: Likewise.
53871 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
53872 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
53873 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
53874 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
53875 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
53876 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
53877 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
53878 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
53879
187da0ae
UD
53880 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
53881 of the number.
53882 * stdio-common/printf_fphex.c: Likewise.
53883 * stdio-common/printf_size.c: Likewise.
53884
9277c064
UD
53885 * math/e_exp10.c: Include math_private.h using <...> not "...".
53886 * math/e_exp10f.c: Likewise.
53887 * math/e_exp10l.c: Likewise.
53888 * math/e_exp2l.c: Likewise.
53889 * math/e_j0l.c: Likewise.
53890 * math/e_j1l.c: Likewise.
53891 * math/e_jnl.c: Likewise.
53892 * math/e_lgammal_r.c: Likewise.
53893 * math/e_rem_pio2l.c: Likewise.
53894 * math/e_scalb.c: Likewise.
53895 * math/e_scalbf.c: Likewise.
53896 * math/e_scalbl.c: Likewise.
53897 * math/k_cosl.c: Likewise.
53898 * math/k_sinl.c: Likewise.
53899 * math/k_tanl.c: Likewise.
53900 * math/s_cacoshf.c: Likewise.
53901 * math/s_catan.c: Likewise.
53902 * math/s_catanf.c: Likewise.
53903 * math/s_catanh.c: Likewise.
53904 * math/s_catanhf.c: Likewise.
53905 * math/s_catanhl.c: Likewise.
53906 * math/s_catanl.c: Likewise.
53907 * math/s_ccosh.c: Likewise.
53908 * math/s_ccoshf.c: Likewise.
53909 * math/s_ccoshl.c: Likewise.
53910 * math/s_cexp.c: Likewise.
53911 * math/s_cexpf.c: Likewise.
53912 * math/s_cexpl.c: Likewise.
53913 * math/s_clog.c: Likewise.
53914 * math/s_clog10.c: Likewise.
53915 * math/s_clog10f.c: Likewise.
53916 * math/s_clog10l.c: Likewise.
53917 * math/s_clogf.c: Likewise.
53918 * math/s_clogl.c: Likewise.
53919 * math/s_csin.c: Likewise.
53920 * math/s_csinf.c: Likewise.
53921 * math/s_csinh.c: Likewise.
53922 * math/s_csinhf.c: Likewise.
53923 * math/s_csinhl.c: Likewise.
53924 * math/s_csinl.c: Likewise.
53925 * math/s_csqrt.c: Likewise.
53926 * math/s_csqrtf.c: Likewise.
53927 * math/s_csqrtl.c: Likewise.
53928 * math/s_ctan.c: Likewise.
53929 * math/s_ctanf.c: Likewise.
53930 * math/s_ctanh.c: Likewise.
53931 * math/s_ctanhf.c: Likewise.
53932 * math/s_ctanhl.c: Likewise.
53933 * math/s_ctanl.c: Likewise.
53934 * math/s_ldexp.c: Likewise.
53935 * math/s_ldexpf.c: Likewise.
53936 * math/s_ldexpl.c: Likewise.
53937 * math/s_significand.c: Likewise.
53938 * math/s_significandf.c: Likewise.
53939 * math/s_significandl.c: Likewise.
53940 * math/w_acos.c: Likewise.
53941 * math/w_acosf.c: Likewise.
53942 * math/w_acosh.c: Likewise.
53943 * math/w_acoshf.c: Likewise.
53944 * math/w_acoshl.c: Likewise.
53945 * math/w_acosl.c: Likewise.
53946 * math/w_asin.c: Likewise.
53947 * math/w_asinf.c: Likewise.
53948 * math/w_asinl.c: Likewise.
53949 * math/w_atan2.c: Likewise.
53950 * math/w_atan2f.c: Likewise.
53951 * math/w_atan2l.c: Likewise.
53952 * math/w_atanh.c: Likewise.
53953 * math/w_atanhf.c: Likewise.
53954 * math/w_atanhl.c: Likewise.
53955 * math/w_cosh.c: Likewise.
53956 * math/w_coshf.c: Likewise.
53957 * math/w_coshl.c: Likewise.
53958 * math/w_dremf.c: Likewise.
53959 * math/w_exp10.c: Likewise.
53960 * math/w_exp10f.c: Likewise.
53961 * math/w_exp10l.c: Likewise.
53962 * math/w_exp2.c: Likewise.
53963 * math/w_exp2f.c: Likewise.
53964 * math/w_fmod.c: Likewise.
53965 * math/w_fmodf.c: Likewise.
53966 * math/w_fmodl.c: Likewise.
53967 * math/w_hypot.c: Likewise.
53968 * math/w_hypotf.c: Likewise.
53969 * math/w_hypotl.c: Likewise.
53970 * math/w_j0.c: Likewise.
53971 * math/w_j0f.c: Likewise.
53972 * math/w_j0l.c: Likewise.
53973 * math/w_j1.c: Likewise.
53974 * math/w_j1f.c: Likewise.
53975 * math/w_j1l.c: Likewise.
53976 * math/w_jn.c: Likewise.
53977 * math/w_jnf.c: Likewise.
53978 * math/w_jnl.c: Likewise.
53979 * math/w_lgamma.c: Likewise.
53980 * math/w_lgamma_r.c: Likewise.
53981 * math/w_lgammaf.c: Likewise.
53982 * math/w_lgammaf_r.c: Likewise.
53983 * math/w_lgammal.c: Likewise.
53984 * math/w_lgammal_r.c: Likewise.
53985 * math/w_log.c: Likewise.
53986 * math/w_log10.c: Likewise.
53987 * math/w_log10f.c: Likewise.
53988 * math/w_log10l.c: Likewise.
53989 * math/w_log2.c: Likewise.
53990 * math/w_log2f.c: Likewise.
53991 * math/w_log2l.c: Likewise.
53992 * math/w_logf.c: Likewise.
53993 * math/w_logl.c: Likewise.
53994 * math/w_pow.c: Likewise.
53995 * math/w_powf.c: Likewise.
53996 * math/w_powl.c: Likewise.
53997 * math/w_remainder.c: Likewise.
53998 * math/w_remainderf.c: Likewise.
53999 * math/w_remainderl.c: Likewise.
54000 * math/w_scalb.c: Likewise.
54001 * math/w_scalbf.c: Likewise.
54002 * math/w_scalbl.c: Likewise.
54003 * math/w_sinh.c: Likewise.
54004 * math/w_sinhf.c: Likewise.
54005 * math/w_sinhl.c: Likewise.
54006 * math/w_sqrt.c: Likewise.
54007 * math/w_sqrtf.c: Likewise.
54008 * math/w_sqrtl.c: Likewise.
54009 * math/w_tgamma.c: Likewise.
54010 * math/w_tgammaf.c: Likewise.
54011 * math/w_tgammal.c: Likewise.
54012
6a621eb7
UD
54013 * po/ja.po: Update from translation team.
54014
bf582445
AJ
540152011-09-29 Andreas Jaeger <aj@suse.de>
54016
f9efbf3a
AJ
54017 [BZ #13179]
54018 * sunrpc/netname.c (netname2host): Fix logic.
54019
bf582445
AJ
54020 [BZ #6779]
54021 [BZ #6783]
54022 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
54023 correctly.
54024 * math/w_remainder.c (__remainder): Likewise.
54025 * math/w_remainderf.c (__remainderf): Likewise.
54026 * math/libm-test.inc (remainder_test): Add test cases.
54027
48693bea
AK
540282011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54029
54030 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
54031 sdiv_qrnnd.
54032
42622229
LD
540332011-10-07 Ulrich Drepper <drepper@gmail.com>
54034
54035 * string/test-memcmp.c: Avoid unncessary #defines.
54036 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
54037
093ecf92
LD
540382011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54039
54040 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
54041 Use new sse2 version for core i3 - i7 as it's faster
54042 than sse42 version.
54043 (bit_Prefer_PMINUB_for_stringop): New.
54044 * sysdeps/x86_64/rawmemchr.S: Update.
54045 Replace with faster SSE2 version.
54046 * sysdeps/x86_64/memrchr.S: New file.
54047 * sysdeps/x86_64/memchr.S: Update.
54048 Replace with faster SSE2 version.
54049
fde56e5c
MP
540502011-09-12 Marek Polacek <mpolacek@redhat.com>
54051
54052 * elf/dl-load.c (lose): Add cast to avoid warning.
54053
21fd49a9
UD
540542011-10-07 Ulrich Drepper <drepper@gmail.com>
54055
5a06e643
UD
54056 * po/ca.po: Update from translation team.
54057
684ae515
UD
54058 * inet/getnetgrent_r.c: Hook up nscd.
54059 * nscd/Makefile (routines): Add nscd_netgroup.
54060 (nscd-modules): Add netgroupcache.
54061 (CFLAGS-netgroupcache.c): Define.
54062 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
54063 (cache_search): Add const to second parameter.
54064 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
54065 INNETGR.
54066 (dbs): Add netgrdb entry.
54067 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
54068 (verify_persistent_db): Handle netgrdb.
54069 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
54070 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
54071 GETFDNETGR.
54072 (netgroup_response_header): Define.
54073 (innetgroup_response_header): Define.
54074 (datahead): Add netgroup_response_header and innetgroup_response_header
54075 elements.
54076 * nscd/nscd.conf: Add entries for netgroup cache.
54077 * nscd/nscd.h (dbtype): Add netgrdb.
54078 (_PATH_NSCD_NETGROUP_DB): Define.
54079 (netgroup_iov_disabled): Declare.
54080 (xmalloc, xcalloc, xrealloc): Move declarations here.
54081 (cache_search): Adjust prototype.
54082 Add netgroup-related prototypes.
54083 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
54084 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
54085 (__nscd_innetgr): Declare.
54086 * nscd/selinux.c (perms): Use access_vector_t as element type and
54087 add netgroup-related initializers.
54088 * nscd/netgroupcache.c: New file.
54089 * nscd/nscd_netgroup.c: New file.
54090 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
54091 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
54092 For four parameters use innetgr.
54093 * nss/nss_files/files-init.c: Add definition and callback for netgr.
54094 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
54095 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
54096 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
54097
21fd49a9
UD
54098 * nscd/connections.c (register_traced_file): Don't register file
54099 for disabled databases.
54100
054c0457
UD
541012011-10-06 Ulrich Drepper <drepper@gmail.com>
54102
32b63198
UD
54103 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
54104
054c0457
UD
54105 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
54106 from tree and freeing node.
54107
64031225
JO
541082011-09-25 Jiri Olsa <jolsa@redhat.com>
54109
54110 * nss/nsswitch.c (__nss_database_lookup): Handle
54111 nss_parse_service_list out of memory case.
54112
0490345c
JO
541132011-09-15 Jiri Olsa <jolsa@redhat.com>
54114
54115 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
54116 out of memory case.
54117
3a62d00d
AS
541182011-10-04 Andreas Schwab <schwab@redhat.com>
54119
54120 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
54121 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
54122 pass it down.
54123 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
54124 elf_machine_rela, elf_machine_lazy_rel.
54125 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
54126 (ELF_DYNAMIC_DO_REL): Likewise.
54127 (ELF_DYNAMIC_DO_RELA): Likewise.
54128 (ELF_DYNAMIC_RELOCATE): Likewise.
54129 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
54130 to ELF_DYNAMIC_DO_REL.
54131 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
54132 (dl_main): In trace mode always set __RTLD_NOIFUNC.
54133 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
54134 elf_machine_rela.
54135 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
54136 skip_ifunc, don't call ifunc function if non-zero.
54137 (elf_machine_rela): Likewise.
54138 (elf_machine_lazy_rel): Likewise.
54139 (elf_machine_lazy_rela): Likewise.
54140 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
54141 (elf_machine_lazy_rel): Likewise.
54142 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
54143 Likewise.
54144 (elf_machine_lazy_rel): Likewise.
54145 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
54146 Likewise.
54147 (elf_machine_lazy_rel): Likewise.
54148 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
54149 (elf_machine_lazy_rel): Likewise.
54150 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
54151 (elf_machine_lazy_rel): Likewise.
54152 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
54153 (elf_machine_lazy_rel): Likewise.
54154 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
54155 (elf_machine_lazy_rel): Likewise.
54156 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
54157 (elf_machine_lazy_rel): Likewise.
54158 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
54159 (elf_machine_lazy_rel): Likewise.
54160
68577918
UD
541612011-09-28 Ulrich Drepper <drepper@gmail.com>
54162
54163 * nss/nss_files/files-init.c (_nss_files_init): Use static
54164 initialization for all the *_traced_file variables.
54165
68822d74
AS
541662011-09-28 Andreas Schwab <schwab@redhat.com>
54167
54168 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
54169
2056100b
RM
541702011-09-27 Roland McGrath <roland@hack.frob.com>
54171
54172 [BZ #13226]
54173 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
54174
32c76b63
AS
541752011-09-27 Andreas Schwab <schwab@redhat.com>
54176
54177 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
54178 Reread the line before reparsing it.
54179
bf972c9d
AS
541802011-09-26 Andreas Schwab <schwab@redhat.com>
54181
54182 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
54183
e057a1b5
JM
541842011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
54185 Maxim Kuvyrkov <maxim@codesourcery.com>
54186 Joseph Myers <joseph@codesourcery.com>
54187
54188 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
54189 if needed for __stack_chk_guard.
54190
bc7e1c36
RM
541912011-09-19 Roland McGrath <roland@hack.frob.com>
54192
ecb1482f
RM
54193 * sysdeps/posix/spawni.c (script_execute): Always define it.
54194 It will be optimized away if unused.
54195 (maybe_script_execute): New function.
54196 (__spawni): Call it.
54197
bc7e1c36
RM
54198 * Makerules: Don't include tls.make.
54199 (config-tls): Always set to thread.
54200 * tls.make.c: File removed.
54201
1c3b002b
MF
542022011-09-19 Mike Frysinger <vapier@gentoo.org>
54203
54204 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
54205 * config.make.in (CPPFLAGS-config): New substituted variable.
54206
2840865d
UD
542072011-09-15 Ulrich Drepper <drepper@gmail.com>
54208
88738eb6
UD
54209 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
54210
cbf645a6 54211 [BZ #13192]
2840865d
UD
54212 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
54213 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
54214
b402e91a
RM
542152011-09-15 Roland McGrath <roland@hack.frob.com>
54216
54217 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
54218 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
54219 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
54220 (CALL_FAIL): Likewise.
54221 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
54222 (CALL_FAIL): Macro removed.
54223 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
54224
4c1a1f71
UD
542252011-09-15 Ulrich Drepper <drepper@gmail.com>
54226
54227 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
54228 for __FINITE_MATH_ONLY__ == 1.
54229
edc121be
AS
542302011-09-15 Andreas Schwab <schwab@redhat.com>
54231
54232 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
54233 __ieee754_sqrt instead of sqrt.
54234 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
54235 __ieee754_sqrtf instead of sqrtf.
54236 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
54237 __floorf instead of floorf.
54238 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
54239 __floorf, __truncf instead of floorf, truncf.
54240
cd205654
UD
542412011-09-14 Ulrich Drepper <drepper@gmail.com>
54242
ee4d0315
UD
54243 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
54244
cd205654
UD
54245 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
54246 __extern_always_inline.
54247 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
54248 32-bit.
54249
48b67d71
AS
542502011-09-14 Andreas Schwab <schwab@redhat.com>
54251
54252 * elf/rtld.c (dl_main): Also relocate in dependency order when
54253 doing symbol dependency testing.
54254
1ae12c75
AS
542552011-09-13 Andreas Schwab <schwab@linux-m68k.org>
54256
54257 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
54258 Always define `refsym'.
54259
995a80df
AS
542602011-09-13 Andreas Schwab <schwab@redhat.com>
54261
e529793b
AS
54262 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
54263 (__FD_ELT): Renamed from __FDELT.
54264 * misc/bits/select2.h (__FD_ELT): Likewise.
54265 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
54266 __FD_MASK instead of __FDELT, __FDMASK.
54267 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
54268 Likewise.
54269 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
54270 Likewise.
54271
52d4fef8
AS
54272 * elf/Makefile (gen-ldd): Fix pattern.
54273
995a80df
AS
54274 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
54275 (init_tls): Likewise.
54276
8682f8b0
UD
542772011-09-12 Ulrich Drepper <drepper@gmail.com>
54278
54279 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
54280
de82006d
AS
542812011-09-12 Andreas Schwab <schwab@redhat.com>
54282
a7c8e6a1
AS
54283 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
54284 `struct cmsghdr *' instead of `void *'.
54285 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
54286 Likewise.
54287
0f31fe77
AS
542882011-09-11 Andreas Schwab <schwab@linux-m68k.org>
54289
54290 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
54291 if non-absolute.
54292 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
54293 ldd_rewrite_script.
0f31fe77 54294
32b4c839
UD
542952011-09-11 Ulrich Drepper <drepper@gmail.com>
54296
83cd1420
UD
54297 * configure.in: Remove --with-tls option.
54298 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
54299 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
54300 out in case it is missing.
54301 * sysdeps/ia64/elf/configure.in: Likewise.
54302 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
54303 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
54304 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
54305 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
54306 * sysdeps/sh/elf/configure.in: Likewise.
54307 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
54308 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
54309 * sysdeps/x86_64/elf/configure.in: Likewise.
54310 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
54311 * sysdeps/mach/hurd/tls.h: Likewise.
54312
633f745d
UD
54313 [BZ #13067]
54314 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
54315
f318beb8
UD
54316 [BZ #13090]
54317 * configure.in: Fix use of AC_INIT.
54318
32b4c839
UD
54319 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
54320
3ce1f295
UD
543212011-09-10 Ulrich Drepper <drepper@gmail.com>
54322
bb016596
UD
54323 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
54324 __set_errno.
8e58439c
UD
54325 * malloc/hooks.c: Likewise.
54326
aebae053 54327 [BZ #11929]
02d46fc4
UD
54328 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
54329 variables statically.
54330 (narenas): Initialize.
54331 (list_lock): Initialize.
bb016596
UD
54332 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
54333 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
54334 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
54335 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
54336 Add initializers to main_arena and mp_.
54337 (malloc_state): Remove pagesize member. Change all users to use
54338 GLRO(dl_pagesize).
54339
54340 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
54341 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
54342 is always initialized.
54343
22a89187
UD
54344 * malloc/malloc.c: Removed unused configurations and dead code.
54345 * malloc/arena.c: Likewise.
54346 * malloc/hooks.c: Likewise.
02d46fc4 54347 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 54348
d063d164
UD
54349 * include/tls.h: Removed. USE___THREAD must always be defined.
54350 * bits/libc-tsd.h: Don't handle !USE___THREAD.
54351 * elf/dl-libc.c: Likewise.
54352 * elf/dl-tsd.c: Likewise.
54353 * include/errno.h: Likewise.
54354 * include/netdb.h: Likewise.
54355 * include/resolv.h: Likewise.
54356 * inet/herrno-loc.c: Likewise.
54357 * inet/herrno.c: Likewise.
54358 * malloc/arena.c: Likewise.
54359 * malloc/hooks.c: Likewise.
54360 * malloc/malloc.c: Likewise.
54361 * resolv/res-state.c: Likewise.
54362 * resolv/res_libc.c: Likewise.
54363 * sysdeps/i386/dl-machine.h: Likewise.
54364 * sysdeps/ia64/dl-machine.h: Likewise.
54365 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
54366 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
54367 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
54368 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
54369 * sysdeps/sh/dl-machine.h: Likewise.
54370 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
54371 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
54372 * sysdeps/unix/i386/sysdep.S: Likewise.
54373 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
54374 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
54375 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
54376 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
54377 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
54378 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
54379 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
54380 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
54381 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
54382 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
54383 * sysdeps/unix/x86_64/sysdep.S: Likewise.
54384 * sysdeps/x86_64/dl-machine.h: Likewise.
54385 * tls.make.c: Likewise.
54386
3ce1f295
UD
54387 * configure.in: Remove --with-__thread option. Make tests for
54388 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
54389 tls_model attribute fail if no support is available. Remove
54390 USE_IN_LIBIO.
54391 * Makeconfig: Adjust for dropped configure option. All features are
54392 now mandatory.
54393 * Makerules: Likewise.
54394 * Versions.def: Likewise.
54395 * argp/argp-fmtstream.c: Likewise.
54396 * argp/argp-fmtstream.h: Likewise.
54397 * argp/argp-help.c: Likewise.
54398 * assert/assert.c: Likewise.
54399 * config.h.in: Likewise.
54400 * config.make.in: Likewise.
54401 * configure: Likewise.
54402 * configure.in: Likewise.
54403 * csu/Versions: Likewise.
54404 * csu/init.c: Likewise.
54405 * elf/tst-audit2.c: Likewise.
54406 * elf/tst-tls10.c: Likewise.
54407 * elf/tst-tls10.h: Likewise.
54408 * elf/tst-tls11.c: Likewise.
54409 * elf/tst-tls12.c: Likewise.
54410 * elf/tst-tls14.c: Likewise.
54411 * elf/tst-tlsmod11.c: Likewise.
54412 * elf/tst-tlsmod12.c: Likewise.
54413 * elf/tst-tlsmod13.c: Likewise.
54414 * elf/tst-tlsmod13a.c: Likewise.
54415 * elf/tst-tlsmod14a.c: Likewise.
54416 * elf/tst-tlsmod15b.c: Likewise.
54417 * elf/tst-tlsmod16a.c: Likewise.
54418 * elf/tst-tlsmod16b.c: Likewise.
54419 * elf/tst-tlsmod7.c: Likewise.
54420 * elf/tst-tlsmod8.c: Likewise.
54421 * elf/tst-tlsmod9.c: Likewise.
54422 * gmon/gmon.c: Likewise.
54423 * grp/fgetgrent_r.c: Likewise.
54424 * grp/putgrent.c: Likewise.
54425 * hurd/fopenport.c: Likewise.
54426 * include/libc-symbols.h: Likewise.
54427 * include/tls.h: Likewise.
54428 * intl/gettextP.h: Likewise.
54429 * intl/loadinfo.h: Likewise.
54430 * locale/global-locale.c: Likewise.
54431 * locale/localeinfo.h: Likewise.
54432 * mach/devstream.c: Likewise.
54433 * malloc/arena.c: Likewise.
54434 * malloc/set-freeres.c: Likewise.
54435 * misc/err.c: Likewise.
54436 * misc/getttyent.c: Likewise.
54437 * misc/mntent_r.c: Likewise.
54438 * posix/getopt.c: Likewise.
54439 * posix/wordexp.c: Likewise.
54440 * pwd/fgetpwent_r.c: Likewise.
54441 * resolv/Versions: Likewise.
54442 * resolv/res_hconf.c: Likewise.
54443 * shadow/fgetspent_r.c: Likewise.
54444 * shadow/putspent.c: Likewise.
54445 * stdio-common/printf_fphex.c: Likewise.
54446 * stdio-common/tmpfile.c: Likewise.
54447 * stdlib/abort.c: Likewise.
54448 * stdlib/fmtmsg.c: Likewise.
54449 * sunrpc/auth_unix.c: Likewise.
54450 * sunrpc/clnt_perr.c: Likewise.
54451 * sunrpc/clnt_tcp.c: Likewise.
54452 * sunrpc/clnt_udp.c: Likewise.
54453 * sunrpc/clnt_unix.c: Likewise.
54454 * sunrpc/openchild.c: Likewise.
54455 * sunrpc/svc_simple.c: Likewise.
54456 * sunrpc/svc_tcp.c: Likewise.
54457 * sunrpc/svc_udp.c: Likewise.
54458 * sunrpc/svc_unix.c: Likewise.
54459 * sunrpc/xdr.c: Likewise.
54460 * sunrpc/xdr_array.c: Likewise.
54461 * sunrpc/xdr_rec.c: Likewise.
54462 * sunrpc/xdr_ref.c: Likewise.
54463 * sunrpc/xdr_stdio.c: Likewise.
54464
1248c1c4
PB
544652011-09-09 Ulrich Drepper <drepper@gmail.com>
54466
54467 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
54468
544692011-07-03 Andreas Jaeger <aj@suse.de>
54470
54471 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
54472 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
54473 regenerate with gen-libm-tests.pl.
54474
544752010-05-12 Petr Baudis <pasky@suse.cz>
54476
54477 [BZ #11589]
54478 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
54479 around j0() zero points by switching to j1().
54480 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
54481 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
54482 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
54483 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
54484
f22e1074
UD
544852011-09-09 Ulrich Drepper <drepper@gmail.com>
54486
f19009c1
UD
54487 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
54488 instead of 0.
54489 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 54490 instead of 0.
f19009c1
UD
54491 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
54492 Patch in part by Pavel Roskin <proski@gnu.org>.
54493
3f8cc204
UD
54494 [BZ #13138]
54495 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
54496 realloc.
54497 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
54498 Free memory block if necessary.
54499
f22e1074
UD
54500 [BZ #12847]
54501 * libio/genops.c (INTDEF): For string streams the _lock pointer can
54502 be NULL. Don't lock in this case.
54503
0a2349f9
RM
545042011-09-09 Roland McGrath <roland@hack.frob.com>
54505
54506 * elf/elf.h (ELFOSABI_GNU): New macro.
54507 (ELFOSABI_LINUX): Define to that.
54508
f3cdd467
DZ
545092011-07-29 Denis Zaitceff <zaitceff@gmail.com>
54510
54511 * string/strncat.c (strncat): Undef the symbol in case it has been
54512 defined in bits/string.h.
54513
74718d13
UD
545142011-09-09 Ulrich Drepper <drepper@gmail.com>
54515
633e9e0f
UD
54516 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
54517
0a2349f9 54518 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
54519 link map.
54520
f9924780
AJ
545212011-08-17 Andreas Jaeger <aj@suse.de>
54522
54523 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
54524
7f5517aa
PP
545252011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
54526 Ian Lance Taylor <iant@google.com>
54527
54528 * math/libm-test.inc (lround_test): New testcase.
54529 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
54530
762011fe
UD
545312011-09-08 Ulrich Drepper <drepper@gmail.com>
54532
92963737
UD
54533 * Makefile: Remove support for automatic cvs check-ins.
54534 * Makerules: Likewise.
54535 * config.make.in: Likewise.
54536 * configure.in: Likewise.
54537 * intl/Makefile: Likewise.
54538 * locale/Makefile: Likewise.
54539 * po/Makefile: Likewise.
54540 * posix/Makefile: Likewise.
54541 * sysdeps/gnu/Makefile: Likewise.
54542 * sysdeps/mach/hurd/Makefile: Likewise.
54543 * sysdeps/sparc/sparc32/Makefile: Likewise.
54544
b0727fd8
JS
54545 [BZ #13118]
54546 * posix/Makefile (bug-regex32-ENV): Define.
54547 Patch by John Stanley <jpsinthemix@verizon.net>.
54548
a0f33f99
UD
54549 * misc/Makefile (headers): Add bits/select2.h.
54550 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
54551 * misc/bits/select2.h: New file.
54552 * include/bits/select2.h: New file.
54553 * debug/Makefile (routines): Add fdelt_chk.
54554 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
54555 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
54556 FD_ISSET.
54557 * debug/fdelt_chk.c: New file.
54558
762011fe
UD
54559 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
54560 * wcsmbs/test-wmemcmp.c: Likewise.
54561 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 54562 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
54563
545642011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54565
54566 * string/Makefile (strop-tests): Add memcmp.
54567 * string/test-wmemcmp.c: New file.
54568 * string/test-memcmp.c: Add wmemcmp support.
54569
7f513ec8
RM
545702011-09-08 Roland McGrath <roland@hack.frob.com>
54571
0442afb4
RM
54572 [BZ #13153]
54573 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
54574 2011-07-19 change.
54575
7f513ec8
RM
54576 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
54577 garbage value in a __mach_port_mod_refs call in the cases of the
54578 task-self and thread-self ports.
54579
a12b2239
ST
545802011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
54581
54582 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
54583
610f9ab4
AS
545842011-09-08 Andreas Schwab <schwab@redhat.com>
54585
7f513ec8 54586 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 54587
48882a1a
LD
545882011-09-07 Ulrich Drepper <drepper@gmail.com>
54589
b49865be
UD
54590 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
54591
fdc86bc9
UD
54592 * elf/dl-libc.c (dlerror_run): Pass back error code from
54593 dl_catch_error.
54594
c966526a
UD
54595 [BZ #13123]
54596 * elf/dl-load.c (lose): Free l_origin if it is valid.
54597
48882a1a
LD
54598 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
54599 names.
54600 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
54601 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
54602 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
54603 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
54604 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
54605 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
54606
77a2a8b4
AZ
546072011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54608
54609 * sysdeps/powerpc/fpu/e_hypot.c: New file.
54610 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
54611 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
54612 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
54613 * sysdeps/powerpc/fpu/k_cosf.c: New file.
54614 * sysdeps/powerpc/fpu/k_sinf.c: New file.
54615 * sysdeps/powerpc/fpu/s_cosf.c: New file.
54616 * sysdeps/powerpc/fpu/s_sinf.c: New file.
54617 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
54618 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
54619
24f579d8
AM
546202011-08-15 Alan Modra <amodra@gmail.com>
54621
54622 [BZ #13092]
54623 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
54624 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
54625 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
54626 ppc_mcount to static-only-routines.
54627 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
54628 __mcount_internal.
54629 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
54630 __mcount_internal with usual JUMPTARGET. Remove useless nop.
54631
3d4837df
UD
546322011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
54633
54634 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
54635 for finite and infinity parameters.
54636
22700377
WS
546372011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
54638
54639 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
54640 and add nop instructions for throughput optimization.
54641 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
54642
5025581e
WS
546432011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
54644
54645 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
54646 aligned copy for power7 with vector-scalar instructions.
54647 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
54648
08a300c9
L
546492011-07-24 H.J. Lu <hongjiu.lu@intel.com>
54650
54651 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
54652 AVX check.
54653
59178ef9
AS
546542011-09-07 Andreas Schwab <schwab@redhat.com>
54655
54656 [BZ #13144]
54657 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
54658 last change.
54659
e38ba7ab
UD
546602011-09-07 Ulrich Drepper <drepper@gmail.com>
54661
54662 * sysdeps/unix/sysv/linux/x86_64/init-first.c
54663 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
54664 syscall wrapper around clock_gettime in __vdso_clock_gettime.
54665 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
54666 clock_gettime.
54667
d53a73ac
UD
546682011-09-06 Ulrich Drepper <drepper@gmail.com>
54669
fc8bffcc
UD
54670 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
54671 Forgot to demangle the pointer.
54672
ceaa0c5d
UD
54673 * sysdeps/i386/sysdep.h: Define atom_text_section.
54674 * sysdeps/x86_64/sysdep.h: Likewise.
54675 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
54676 section with atom_text_section.
54677 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
54678 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
54679 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
54680 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
54681 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
54682
a77d3c17
UD
54683 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
54684 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
54685 already be defined. Change to take two parameters and don't assign
54686 result to variable. Adjust all users.
54687 Define INTERNAL_GETTIME if not already defined.
54688 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
54689 call.
54690 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
54691 HAVE_CLOCK_GETTIME_VSYSCALL.
54692 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
54693
d53a73ac
UD
54694 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
54695 gettimeofday vsyscall, just use time.
54696
a8f84144
AS
546972011-09-06 Andreas Schwab <schwab@redhat.com>
54698
54699 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
54700 <errno.h>.
54701
ef606249
UD
547022011-09-06 Ulrich Drepper <drepper@gmail.com>
54703
54704 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
54705 syscall on x86-64.
54706 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
54707 syscall.
54708 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
54709 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
54710 syscall if possible.
54711
6585cb60
UD
547122011-09-05 Ulrich Drepper <drepper@gmail.com>
54713
54714 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
54715 e_ident. Don't pass to find_mapsXX.
54716 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
54717
a5f524e4
LD
547182011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54719
54720 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54721 strchr-sse2-no-bsf strrchr-sse2-no-bsf
54722 * sysdeps/x86_64/multiarch/strchr.S: Update.
54723 Check bit_slow_BSF bit.
54724 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
54725 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
54726 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
54727
554881ef
UD
547282011-09-05 Ulrich Drepper <drepper@gmail.com>
54729
d96de963
UD
54730 [BZ #13134]
54731 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
54732 before glibc 2.15.
54733 (tryshell): Define.
54734 (__spawni): Change last parameter to be flag. Test
54735 SPAWN_XFLAGS_USE_PATH flag to use path or not.
54736 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
54737 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
54738 * posix/spawni.c: Likewise.
54739 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
54740 * posix/spawnp.c: Likewise. Change normal version to use
54741 SPAWN_XFLAGS_USE_PATH.
54742 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
54743 SPAWN_XFLAGS_TRY_SHELL.
54744
d48e5868
UD
54745 [BZ #13150]
54746 * posix/glob.h: Remove gcc 1.x support.
54747
554881ef
UD
54748 [BZ #13068]
54749 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
54750
693fb948
LD
547512011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54752
54753 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54754 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
54755 strrchr-sse2-bsf
54756 * sysdeps/i386/i686/multiarch/strchr.S: New file.
54757 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
54758 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
54759 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
54760 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
54761 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
54762
1b48c537
UD
547632011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54764
49d42c37
UD
54765 * sysdeps/x86_64/wcscmp.S: New file.
54766
1b48c537
UD
54767 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
54768 wcscmp-c wcscmp-sse2
54769 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
54770 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
54771 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
54772 * wcsmbs/wcscmp.c: Allow renaming.
54773
15c95c5d
DM
547742011-09-05 David S. Miller <davem@davemloft.net>
54775
54776 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
54777 stack slot, rather than the struct return pointer slot.
54778 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
54779 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
54780 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
54781 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
54782
2f0ad8f3
UD
547832011-09-05 Ulrich Drepper <drepper@gmail.com>
54784
d88ae418
UD
54785 * po/ja.po: Update from translation team.
54786
2f0ad8f3
UD
54787 [BZ #13144]
54788 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
54789 kernel in 64-bit binaries.
54790
5f4318d1
DM
547912011-09-01 David S. Miller <davem@davemloft.net>
54792
54793 * elf/elf.h (HWCAP_SPARC_*): Move to..
54794 * sysdeps/sparc/sysdep.h: this new file and add new values.
54795 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
54796 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
54797 _DL_HWCAP_COUNT to 24.
54798 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
54799 entries.
54800 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
54801 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
54802 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
54803 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
54804 instead of magic constants.
54805 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
54806
3ba57516
DM
548072011-08-31 David S. Miller <davem@davemloft.net>
54808
54809 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
54810 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
54811 Reimplement to do errno handling inline.
54812 (SYSCALL_ERROR_HANDLER): New macro.
54813 (__SYSCALL_STRING): Do not do errno handling in asm.
54814 (__CLONE_SYSCALL_STRING): Delete.
54815 (__INTERNAL_SYSCALL_STRING): Delete.
54816 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
54817 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
54818 (PSEUDO): Reimplement to do errno handling inline.
54819 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
54820 (SYSCALL_ERROR_HANDLER): New macro.
54821 (__SYSCALL_STRING): Do not do errno handling in asm.
54822 (__CLONE_SYSCALL_STRING): Delete.
54823 (__INTERNAL_SYSCALL_STRING): Delete.
54824 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
54825 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
54826 i386.
54827 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
54828 (inline_syscall*): Add 'err' argument.
54829 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
54830 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
54831 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
54832 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
54833
54834 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
54835 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
54836
2bc17433
AS
548372011-08-30 Andreas Schwab <schwab@redhat.com>
54838
54839 * elf/rtld.c (dl_main): Relocate objects in dependency order.
54840
fbeb5f4d
JO
548412011-08-29 Jiri Olsa <jolsa@redhat.com>
54842
54843 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
54844 directive.
54845
ad69cc26
DM
548462011-08-24 David S. Miller <davem@davemloft.net>
54847
54848 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
54849
39dd69df
AS
548502011-08-24 Andreas Schwab <schwab@redhat.com>
54851
54852 * elf/Makefile: Add rules to build and run unload8 test.
54853 * elf/unload8.c: New file.
54854 * elf/unload8mod1.c: New file.
54855 * elf/unload8mod1x.c: New file.
54856 * elf/unload8mod2.c: New file.
54857 * elf/unload8mod3.c: New file.
54858
54859 * elf/dl-close.c (_dl_close_worker): Reset private search list if
54860 it wasn't used.
54861
2c0b250a
DM
548622011-08-23 David S. Miller <davem@davemloft.net>
54863
54864 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
54865 subtract stack bias.
54866 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
54867 %sp not %fp in calculations.
54868 (_JMPBUF_UNWINDS_ADJ): Likewise.
54869
22044b48
DM
54870 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
54871 (aio_suspend): Call it to force an exception region around the
54872 AIO_MISC_WAIT() invocation.
54873
2cae4995
AS
548742011-08-23 Andreas Schwab <schwab@redhat.com>
54875
54876 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
54877 backslash.
54878
873a772e
AJ
548792011-07-04 Aurelien Jarno <aurelien@aurel32.net>
54880
54881 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
54882 protection macro.
54883 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
54884 and <dl-machine.h>.
54885 (Elf64_FuncDesc): Remove.
54886
25ad0df1
DM
548872011-08-22 David S. Miller <davem@davemloft.net>
54888
54889 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
54890 sigaltstack check, add missing cfi directives.
54891 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
54892 missing cfi directives, and sigaltstack handling.
54893
e888bcbe
AS
548942011-08-16 Andreas Schwab <schwab@redhat.com>
54895
54896 [BZ #11724]
54897 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
54898 object is seen twice.
54899 * elf/dl-fini.c (_dl_sort_fini): Likewise.
54900
54901 * elf/Makefile (distribute): Add tst-initorder2.c.
54902 (tests): Add tst-initorder2.
54903 (modules-names): Add tst-initorder2a tst-initorder2b
54904 tst-initorder2c tst-initorder2d. Add rules to build them.
54905 ($(objpfx)tst-initorder2.out): New rule.
54906 * elf/tst-initorder2.c: New file.
54907 * elf/tst-initorder2.exp: New file.
54908
87162f46
AS
549092011-08-22 Andreas Schwab <schwab@redhat.com>
54910
70538b7f
AS
54911 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
54912
f55ffe58
AS
54913 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
54914 dependencies back to end of function.
54915
87162f46
AS
54916 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
54917 $(elfobjdir)/ld.so.
54918
91b392a4
UD
549192011-08-21 Ulrich Drepper <drepper@gmail.com>
54920
54921 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
54922 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
54923 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
54924 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
54925 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
54926 of __vdso_gettimeofday.
54927 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
54928 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
54929 attribute_hidden.
54930 (_libc_vdso_platform_setup): Remove initialization of
54931 __vdso_gettimeofday and __vdso_time.
54932
5c43483f
UD
549332011-08-20 Ulrich Drepper <drepper@gmail.com>
54934
775a77e7
UD
54935 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
54936 and fgetc_unlocked.
54937 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
54938 getc_unlocked.
89f447ed 54939
49c74ba9
UD
54940 * elf/dl-open.c (add_to_global): Report additions to the global scope
54941 for LD_DEBUG=scopes.
54942 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 54943 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 54944
5c43483f
UD
54945 [BZ #13114]
54946 * stdio-common/Makefile (tests): Add bug24.
54947 * stdio-common/bug24.c: New file.
54948
a101b025
AJ
549492011-08-19 Andreas Jaeger <aj@suse.de>
54950
54951 [BZ #13114]
54952 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
54953 non-existant file when using close-on-exec mode.
54954
c88f1766
UD
549552011-08-20 Ulrich Drepper <drepper@gmail.com>
54956
0276a718
UD
54957 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
54958 the very first instruction.
54959
c88f1766
UD
54960 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
54961 the CFI state in the end.
54962 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
54963 inclusion of dl-trampoline.h.
54964 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
54965
51ccffa0
AS
549662011-08-19 Andreas Schwab <schwab@redhat.com>
54967
94d7165f
AS
54968 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
54969 expectations for long double.
54970
51ccffa0
AS
54971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
54972 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
54973
fd708658 549742011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
54975
54976 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
54977 artificual limit depends upon the system page size.
54978
44f0a71e
UD
549792011-08-17 Ulrich Drepper <drepper@gmail.com>
54980
54981 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
54982 * resolv/Makefile: Define CFLAGS-libresolv.
54983
8de79a24
AS
549842011-08-17 Andreas Schwab <schwab@redhat.com>
54985
54986 * nss/makedb.c (compute_tables): Make variables used in nested
54987 function static.
54988
27724598
UD
549892011-08-17 Ulrich Drepper <drepper@gmail.com>
54990
c5305d88
UD
54991 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
54992 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
54993 if buffer was too small.
54994
27724598
UD
54995 * elf/pldd.c (main): Attach to all threads in the process.
54996 Rewrite /proc handling to use *at functions.
54997
076fe015
UD
549982011-08-16 Ulrich Drepper <drepper@gmail.com>
54999
174baab3
UD
55000 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
55001 specifies first scope to show.
55002 (dl_open_worker): Update callers. Move printing scope of new
55003 object to before the relocation.
44f0a71e 55004 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
55005 * sysdeps/generic/ldsodefs.h: Update declaration.
55006
076fe015
UD
55007 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
55008 string for the scope number.
55009
a60df2c3
UD
550102011-08-14 Ulrich Drepper <drepper@gmail.com>
55011
55012 * nscd/servicescache.c (cache_addserv): Make sure written is always
55013 initialized.
55014
5e4287d1
RM
550152011-08-14 Roland McGrath <roland@hack.frob.com>
55016
85ae0589
RM
55017 * sysdeps/i386/i486/bits/atomic.h
55018 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
55019 statement expression, so as to suppress "set but not used" warning.
55020 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
55021
69f63097
RM
55022 * string/strncat.c (STRNCAT): Use prototype definition.
55023
675456ef
RM
55024 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
55025 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
55026 -Iprograms here.
55027 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
55028 (localedef-modules): Add localedef.
55029 (locale-modules): Add locale.
55030
5e4287d1
RM
55031 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
55032 * elf/rtld.c (dl_main): Invert order of assignment in last change,
55033 to avoid a warning.
55034
9c96ff23
DM
550352011-08-14 David S. Miller <davem@davemloft.net>
55036
55037 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
55038 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
55039
f9ddf089
UD
550402011-08-13 Ulrich Drepper <drepper@gmail.com>
55041
44f0a71e 55042 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
55043 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
55044 * elf/rtld.c (dl_main): Set l_name of vDSO.
55045 Call _dl_show_scope when DL_DEBUG_SCOPES.
55046 (process_dl_debug): Recognize scopes flag and also set it for all.
55047 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
55048 Declare _dl_show_scope.
55049
1dc27704
UD
55050 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
55051 (do_dlopen): Pass caller_dlopen to dl_open.
55052 (__libc_dlopen_mode): Initialize caller_dlopen.
55053
f9ddf089
UD
55054 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
55055 of libc. Make tolower call locale-independent. Optimize a bit by
55056 using isdigit instead of isalnum.
55057 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
55058
9ac533d3
UD
550592011-08-12 Ulrich Drepper <drepper@gmail.com>
55060
55061 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
55062 was a dependency or dynamically loaded.
55063
89edf2e9
UD
550642011-08-11 Ulrich Drepper <drepper@gmail.com>
55065
8e999d29
UD
55066 * intl/l10nflist.c: Allow architecture-specific pop function.
55067 * sysdeps/x86_64/l10nflist.c: New file.
55068
89edf2e9
UD
55069 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
55070 classification.
55071
14d96785
AS
550722011-08-10 Andreas Schwab <schwab@redhat.com>
55073
55074 * include/dirent.h: Add libc_hidden_proto for scandirat and
55075 scandirat64. Don't declare __scandirat64.
55076 * dirent/scandirat.c: Add libc_hidden_def.
55077 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
55078 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
55079
6761ac04
DM
550802011-08-10 David S. Miller <davem@davemloft.net>
55081
55082 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
55083 enum.
55084 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
55085 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
55086 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
55087
c55fbd1e
UD
550882011-08-09 Ulrich Drepper <drepper@gmail.com>
55089
55090 * Versions.def [libc]: Add GLIBC_2.15.
55091 * dirent/Makefile (routines): Add scandirat and scandirat64.
55092 * dirent/Versions [libc]: Export scandirat and scandirat64 for
55093 GLIBC_2.15.
55094 * dirent/dirent.h: Declare scandirat and scandirat64.
55095 * dirent/scandirat.c: New file.
55096 * dirent/scandirat64.c: New file.
55097 * sysdeps/wordsize-64/scandirat.c: New file.
55098 * sysdeps/wordsize-64/scandirat64.c: New file.
55099 * dirent/opendir.c: Define opendirat.
55100 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
55101 using scandirat.
55102 * dirent/scandir64.c: Adjust for scandir.c change.
55103 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
55104 __scandirat64, and __scandir_cancel_handler.
55105 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
55106 additional parameter and use openat instead of open (outside of ld.so).
55107 Add new __opendir as wrapper around __opendirat.
55108 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
55109 here without requiring old scandirat implementation.
55110
879165f2
UD
551112011-08-08 Ulrich Drepper <drepper@gmail.com>
55112
55113 * dirent/scandir.c (cancel_handler): Renamed to
55114 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
55115 defined. Adjust users.
55116 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
55117 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
55118
cb7e923b
UD
551192011-08-04 Ulrich Drepper <drepper@gmail.com>
55120
16292edd
UD
55121 * string/test-string.h (IMPL): Use __STRING to expand name and then
55122 stringify it.
55123
cb7e923b
UD
55124 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
55125 of cleanups.
55126
cff82933
LD
551272011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55128
55129 * string/Makefile: Update.
55130 (strop-tests): Append strncat.
55131 * string/test-wcscmp.c: New file.
55132 New comprehensive test for wcscmp.
55133 * string/test-strcmp.c: Update.
55134 (WIDE): New define.
55135
9be9bfcc
AS
551362011-07-22 Andreas Schwab <schwab@redhat.com>
55137
55138 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
55139 line.
55140
2e96f1c7
AS
551412011-07-26 Andreas Schwab <schwab@redhat.com>
55142
55143 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
55144 encoding to ACE if AI_IDN.
55145
85188888
JJ
551462011-08-01 Jakub Jelinek <jakub@redhat.com>
55147
55148 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
55149 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
55150
5fa16e9b
LD
551512011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
55152
55153 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
55154 Fix overflow bug in strncat.
55155 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
55156
55157 * string/test-strncat.c: Update.
55158 Add new tests for checking overflow bugs.
55159
551602011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
55161
55162 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55163 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
55164 * sysdeps/i386/i686/multiarch/strcat.S: New file.
55165 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
55166 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
55167 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
55168 * sysdeps/i386/i686/multiarch/strncat.S: New file.
55169 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
55170 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
55171
55172 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
55173 (USE_AS_STRCAT): Define.
55174 Add strcat and strncat support.
55175 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
55176
8c1a459f
AS
551772011-07-25 Andreas Schwab <schwab@redhat.com>
55178
55179 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
55180 __n bigger than INT_MAX+1.
55181 (__strncmp_g): Likewise.
55182
bba33c28
UD
551832011-07-23 Ulrich Drepper <drepper@gmail.com>
55184
798be72d
UD
55185 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
55186 * libio/stido.h: Likewise.
55187
8accd4dc
UD
55188 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
55189 (AF_NFC): Define.
55190 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
55191 (AF_NFC): Define.
55192
cbff0d96
UD
55193 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
55194 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
55195 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
55196 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
55197 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
55198
9191c04a
UD
55199 [BZ #13021]
55200 * scripts/test-installation.pl: Don't expect libnss_test1 to be
55201 installed.
55202
bba33c28
UD
55203 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
55204 typo.
55205 (_dl_x86_64_save_sse): Likewise.
55206
90f139dd
UD
552072011-07-22 Ulrich Drepper <drepper@gmail.com>
55208
1aae088a
UD
55209 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
55210 OSXSAVE.
55211 (_dl_x86_64_save_sse): Likewise.
55212
8e2045f5
UD
55213 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
55214
90f139dd
UD
55215 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
55216
1d002f25
AS
552172011-07-21 Andreas Schwab <schwab@redhat.com>
55218
55219 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
55220 change.
55221 (_dl_x86_64_save_sse): Use correct AVX check.
55222
21137f89
UD
552232011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55224
55225 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
55226 bug in strncpy/strncat.
55227 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
55228
a65c0b7a
UD
552292011-07-21 Ulrich Drepper <drepper@gmail.com>
55230
55231 * string/tester.c (test_strcat): Add tests for different alignments
55232 of source and destination.
55233 (test_strncat): Likewise.
55234
6986b98a
UD
552352011-07-20 Ulrich Drepper <drepper@gmail.com>
55236
90bb2039
UD
55237 [BZ #12852]
55238 * posix/glob.c (glob): Check passed in values before using them in
55239 expressions to avoid some overflows.
55240 (glob_in_dir): Likewise.
55241
5644ef54
UD
55242 [BZ #13007]
55243 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
55244 check for AVX enablement so that we don't crash with old kernels and
55245 new hardware.
55246 * elf/tst-audit4.c: Add same checks here.
55247 * elf/tst-audit6.c: Likewise.
55248
55249 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 55250
bfc9dc9b
AS
552512011-07-09 Andreas Schwab <schwab@linux-m68k.org>
55252
55253 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
55254
702e64bb
UD
552552011-07-20 Ulrich Drepper <drepper@gmail.com>
55256
55257 * po/cs.po: Update from translation team.
55258 * po/bg.po: Likewise.
55259
295e904f
MP
552602011-07-12 Marek Polacek <mpolacek@redhat.com>
55261
55262 * misc/sys/cdefs.h: Add support for const attribute.
55263 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
55264 to gnu_dev_{major,minor,makedev} functions.
55265
3ff94596
MP
552662011-07-20 Marek Polacek <mpolacek@redhat.com>
55267
55268 * intl/dcigettext.c (get_output_charset): Add missing bracket.
55269
28b59fca
AS
552702011-07-20 Andreas Schwab <schwab@redhat.com>
55271
55272 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
55273 strlen results.
55274
19df733e
AK
552752011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55276
55277 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
55278 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
55279 register in order to avoid conflicts with the soft frame pointer
55280 being held in r11 when necessary.
55281 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
55282 (INTERNAL_VSYSCALL_NCS): Likewise.
55283
c8835729
MP
552842011-07-14 Marek Polacek <mpolacek@redhat.com>
55285
55286 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
55287 * elf/dl-fini.c (_dl_fini): Adjust caller.
55288 * elf/dl-close.c (_dl_close_worker): Likewise.
55289 * sysdeps/generic/ldsodefs.h: Adjust declaration.
55290
b902330c
MP
552912011-07-15 Marek Polacek <mpolacek@redhat.com>
55292
8991e135
MP
55293 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
55294 "aux_cache->nlibs < 0".
55295
b902330c
MP
55296 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
55297 in the reload-count case.
55298
99710781
LD
552992011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
55300
55301 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55302 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
55303 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
55304 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
55305 * sysdeps/x86_64/multiarch/strcat.S: New file.
55306 * sysdeps/x86_64/multiarch/strncat.S: New file.
55307 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
55308 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
55309 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
55310 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
55311 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
55312 (USE_AS_STRCAT): Define.
55313 Add strcat and strncat support.
55314 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
55315 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
55316 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
55317 * string/strncat.c: Update.
55318 (USE_AS_STRNCAT): Define.
55319 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55320 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
55321 and i7.
55322 * sysdeps/x86_64/multiarch/init-arch.h
55323 (bit_Prefer_PMINUB_for_stringop): New.
55324 (index_Prefer_PMINUB_for_stringop): Likewise.
55325 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
55326 bit_Prefer_PMINUB_for_stringop.
55327
7dc6bd90
UD
553282011-07-19 Ulrich Drepper <drepper@gmail.com>
55329
55330 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
55331 buffer64.
55332 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
55333 of casting of buffer.
55334 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
55335 buffer32 and buffer64.
55336 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
55337 writes instead of casting of buffer.
55338 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
55339 buffer32.
55340 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
55341 casting of buffer.
55342
e0e72284
AS
553432011-07-19 Andreas Schwab <schwab@redhat.com>
55344
55345 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
55346
feb1eb0b
UD
553472011-07-19 Ulrich Drepper <drepper@gmail.com>
55348
55349 * nscd/nscd.c (termination_handler): Don't do anything for a database
55350 if it has not yet been initialized.
55351
298711ff
UD
553522011-07-18 Ulrich Drepper <drepper@gmail.com>
55353
55354 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
55355
553562011-07-15 Marek Polacek <mpolacek@redhat.com>
55357
55358 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
55359
f9d68389
UD
553602011-07-18 Ulrich Drepper <drepper@gmail.com>
55361
55362 * po/nl.po: Update from translation team.
55363 * po/sv.po: Likewise.
55364
db290cf5
RM
553652011-07-16 Roland McGrath <roland@hack.frob.com>
55366
55367 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
55368 now disallowed by GCC.
5c550700 55369
fd5e21c7
RM
55370 * configure.in (use-default-link): Default to yes if a test -shared
55371 link meets our qualifications.
55372 * configure: Regenerated.
55373
5c550700
RM
55374 * config.make.in (output-format): New variable.
55375 * configure.in: Check for ld --print-output-format support.
55376 * configure: Regenerated.
55377 * Makerules ($(common-objpfx)format.lds)
55378 [$(output-format) != unknown]: Just use $(output-format),
55379 instead of the linker-script munging.
55380
9fa2c032
RM
553812011-07-14 Roland McGrath <roland@hack.frob.com>
55382
a6928d51
RM
55383 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
55384 of $(common-objpfx)shlib.lds.
55385 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
55386
661607b3
RM
55387 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
55388 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
55389
9fa2c032
RM
55390 * configure.in (-z relro check): Adjust test code to add a large
55391 writable data section after it.
55392 * configure: Regenerated.
55393
defe9061
RM
553942011-07-11 Roland McGrath <roland@hack.frob.com>
55395
55396 * configure.in (-z relro check): Fix test code to make the variable
55397 truly const.
55398 * configure: Regenerated.
55399
319b9ad4
UD
554002011-07-11 Ulrich Drepper <drepper@gmail.com>
55401
55402 * nscd/nscd.h (struct traced_file): Define.
55403 (struct database_dyn): Remove inotify_descr, reset_res, and filename
55404 elements. Add traced_files.
55405 (inotify_fd): Declare.
55406 (register_traced_file): Declare.
55407 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
55408 (inotify_fd): Export.
55409 (resolv_conf_descr): Remove.
55410 (nscd_init): Move inotify descriptor creation to main.
55411 Don't register files for notification here.
55412 (register_traced_file): New function.
55413 (invalidate_cache): Don't use reset_res to determine whether to call
55414 res_init, go through the list of registered files.
55415 (main_loop_poll): The inotify descriptors are now stored in the
55416 structures for the traced files.
55417 (main_loop_epoll): Likewise
55418 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
55419 to __nss_disable_nscd.
55420 * nscd/cache.c (prune_cache): There is no single inotify descriptor
55421 for a database anymore. Check the records for all the registered
55422 files instead.
55423 * nss/Makefile (libnss_files-routines): Add files-init.
55424 (libnss_db-routines): Add db-init.
55425 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
55426 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
55427 * nss/nss_db/db-init.c: New file.
55428 * nss/nss_files/files-init.c: New file.
55429 * nss/nsswitch.c (nss_load_library): New function. Broken out of
55430 __nss_lookup_function.
55431 (__nss_lookup_function): Call nss_load_library.
55432 (nss_load_all_libraries): New function.
55433 (__nss_disable_nscd): Take parameter with callback function for files
55434 to register. Set is_nscd. Load all the DSOs for the NSS modules
55435 used for the cached services.
55436 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
55437 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
55438 options for features to all the files in nscd.
55439
55440 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
55441
23bee3e8
RM
554422011-07-10 Roland McGrath <roland@hack.frob.com>
55443
55444 * csu/elf-init.c (__libc_csu_init): Comment typo.
55445
46a5b7f0
UD
554462011-07-09 Ulrich Drepper <drepper@gmail.com>
55447
55448 * po/pl.po: Update from translation team.
55449 * po/ja.po: Likewise.
55450 * po/ru.po: Likewise.
55451 * po/ko.po: Likewise.
55452 * po/fr.po: Likewise.
55453
d30cf5bb
RM
554542011-07-09 Roland McGrath <roland@hack.frob.com>
55455
113ddea4
RM
55456 * configure.in (.ctors/.dtors header and trailer check):
55457 Use an empirical test on a built program.
55458 * configure: Regenerated.
55459
574920b4
RM
55460 * configure.in (-z relro check): Use an empirical test on a built DSO.
55461 Detect, but do not require, on ia64.
55462 * configure: Regenerated.
55463
d30cf5bb
RM
55464 * configure.in (READELF): Find it with AC_CHECK_TOOL.
55465 Update tests that use readelf to use $READELF instead.
55466 * configure: Regenerated.
55467
8538fdb3
UD
554682011-07-08 Ulrich Drepper <drepper@gmail.com>
55469
55470 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
55471 if the result is not used.
55472
04d08991
AJ
554732011-07-05 Andreas Jaeger <aj@suse.de>
55474
55475 [BZ#9696]
55476 * stdlib/tst-strtod.c: Add testcase.
55477
de283087
AD
554782011-07-07 Ulrich Drepper <drepper@gmail.com>
55479
4e5f31c8 55480 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 55481 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
55482 The latter has a higher limit. Take additional parameter to pass to
55483 the new function.
55484 (__pathconf): Pass file to __statfs_link_max.
55485 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
55486 __statfs_link_max.
55487 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
55488 __statfs_link_max.
55489
de283087
AD
55490 [BZ #12868]
55491 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
55492 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
55493 Handle Lustre.
55494 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
55495 (__statfs_filesize_max): Likewise.
55496 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
55497
c75fa153
AJ
554982011-07-05 Andreas Jaeger <aj@suse.de>
55499
55500 * resolv/res_comp.c (dn_skipname): Remove unused variable.
55501
1a544854
UD
555022011-07-06 Marek Polacek <mpolacek@redhat.com>
55503
55504 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
55505 `status' variable.
55506 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
55507 Likewise.
55508
6f0eec67
UD
555092011-07-04 H.J. Lu <hongjiu.lu@intel.com>
55510
55511 * Makefile (strop-tests): Add strncat.
55512 * string/test-strncat.c: New file.
55513
aae30307
UD
555142011-06-30 Marek Polacek <mpolacek@redhat.com>
55515
55516 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
55517
c0cfb5eb
UD
555182011-06-21 Andreas Jaeger <aj@suse.de>
55519
55520 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
55521 Copy rule from iconvdata/Makefile.
55522
01636b21
UD
555232011-07-06 Ulrich Drepper <drepper@gmail.com>
55524
55525 [BZ #12922]
55526 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
55527 but no long options are defined, just return 'W'.
55528
9895c8bc
UD
555292011-06-22 Marek Polacek <mpolacek@redhat.com>
55530
55531 [BZ #9696]
55532 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
55533
5d4cf042
UD
555342011-07-06 Ulrich Drepper <drepper@gmail.com>
55535
55536 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
55537 netgroups to read.
960e5535 55538 (innetgr): Likewise.
5d4cf042 55539
751eb97e
RM
555402011-07-05 Roland McGrath <roland@hack.frob.com>
55541
55542 * config.make.in (install_root): Default to $(DESTDIR).
55543
f15f1e45
UD
555442011-07-05 Ulrich Drepper <drepper@gmail.com>
55545
55546 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
55547
4e34ac6a
RM
555482011-07-02 Roland McGrath <roland@hack.frob.com>
55549
5e9b6af4
RM
55550 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
55551
84f9ea0f
RM
55552 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
55553 containing directory rather than embedding absolute directory names.
55554
ea5ee9f7
RM
55555 * scripts/check-local-headers.sh: Rewritten using awk.
55556 Match by word, not by line. Print error messages for matches.
55557 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
55558
1b74661a
RM
55559 * Makerules [shlib-lds-flags empty]:
55560 ($(common-objpfx)libc_pic.opts): New target.
55561 ($(common-objpfx)libc_pic.os.clean): New target.
55562 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
55563
55564 * config.make.in (OBJCOPY): New variable.
55565 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
55566 * configure: Regenerated.
55567
f781ef40
RM
55568 * config.make.in (use-default-link): New variable.
55569 * configure.in (use_default_link): Grok --with-default-link to set it.
55570 * configure: Regenerated.
55571 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
55572 (shlib-lds, shlib-lds-flags): Define to empty.
55573
2d4fa81e
RM
55574 * Makerules (shlib-lds): New variable.
55575 (shlib-lds-flags): New variable.
55576 (build-shlib, build-moduile, build-module-asneeded): Use it.
55577 ($(common-objpfx)libc.so): Use $(shlib-lds).
55578 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
55579 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
55580
31fffa6b
RM
55581 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
55582 DT_FLAGS/DT_FLAGS_1 with zero flags.
55583
4e34ac6a
RM
55584 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
55585 linker script munging.
55586
fcfc776b
UD
555872011-07-02 Ulrich Drepper <drepper@gmail.com>
55588
55589 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
55590 as 128-bit value.
55591 * crypt/sha512.c (sha512_process_block): Perform total addition using
55592 128-bit if possible.
55593 (__sha512_finish_ctx): Likewise.
55594 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
55595 as 64-bit value.
55596 * crypt/sha256.c (SWAP64): Define.
55597 (sha256_process_block): Perform total addition using 64-bit if
55598 possible.
55599 (__sha256_finish_ctx): Likewise.
55600
99231d9a
UD
556012011-07-01 Ulrich Drepper <drepper@gmail.com>
55602
55603 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
55604 * nscd/initgrcache.c (addinitgroupsX): Likewise.
55605 * nscd/hstcache.c (cache_addhst): Likewise.
55606 * nscd/grpcache.c (cache_addgr): Likewise.
55607 * nscd/aicache.c (addhstaiX): Likewise
55608 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
55609
445b4a53
TK
556102011-07-01 Thorsten Kukuk <kukuk@suse.de>
55611
55612 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
55613 * nscd/initgrcache.c (addinitgroupsX): Likewise.
55614 * nscd/hstcache.c (cache_addhst): Likewise.
55615 * nscd/grpcache.c (cache_addgr): Likewise.
55616 * nscd/aicache.c (addhstaiX): Likewise
55617
6d4d8e8e
AS
556182011-07-01 Andreas Schwab <schwab@redhat.com>
55619
55620 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
55621 domain only when needed.
55622
89f654c5
AS
556232011-06-30 Andreas Schwab <schwab@redhat.com>
55624
55625 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
55626 is always restored.
55627
cf3b23ff
UD
556282011-06-29 Ulrich Drepper <drepper@gmail.com>
55629
55630 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
55631 are re-adding the entry.
55632 * nscd/servicescache.c (cache_addserv): Likewise.
55633
751626f9
AJ
556342011-06-30 Aurelien Jarno <aurelien@aurel32.net>
55635
55636 * sysdeps/generic/dl-irel.h: fix protection against multiple
55637 inclusions.
55638 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
55639
9113ea1f
UD
556402011-06-28 Ulrich Drepper <drepper@gmail.com>
55641
5c0b8d90
UD
55642 [BZ #12935]
55643 * malloc/memusage.sh: Fix quoting in message.
55644 * debug/xtrace.sh: Likewise.
55645
9113ea1f
UD
55646 * configure.in: Remove support for --experimental-malloc option, make
55647 it the default.
55648 * config.make.in: Likewise.
55649 * malloc/Makefile: Likewise.
55650
a4172181
AS
556512011-06-27 Andreas Schwab <schwab@redhat.com>
55652
55653 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
55654 two-byte characters.
55655
78a7eee7
RM
556562011-06-27 Roland McGrath <roland@hack.frob.com>
55657
62bede13
RM
55658 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
55659 AC_CACHE_CHECK invocation.
55660 * configure: Regenerated.
55661
78a7eee7
RM
55662 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
55663
5ce33a62
UD
556642011-06-27 Ulrich Drepper <drepper@gmail.com>
55665
034807a9
UD
55666 [BZ #12350]
55667 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
55668 bit from old_res_options.
55669
4902da17
UD
55670 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
55671
5ce33a62
UD
55672 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
55673 value type for setfct.
55674
c2344f56
L
556752011-06-23 H.J. Lu <hongjiu.lu@intel.com>
55676
55677 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
55678 __gettimeofday instead of gettimeofday.
55679
68468076
UD
556802011-06-26 Ulrich Drepper <drepper@gmail.com>
55681
55682 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
55683
acb0d739
L
556842011-06-24 H.J. Lu <hongjiu.lu@intel.com>
55685
55686 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
55687
55688 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
55689 info.
55690
8912479f
L
556912011-06-22 H.J. Lu <hongjiu.lu@intel.com>
55692
55693 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55694 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
55695 strcpy-sse2-unaligned strncpy-sse2-unaligned
55696 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
55697 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
55698 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
55699 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
55700 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
55701 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
55702 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
55703 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
55704 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
55705 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
55706 (STRCPY): Support SSE2 and SSSE3 versions.
55707
d5495a11
UD
557082011-06-24 Ulrich Drepper <drepper@gmail.com>
55709
55710 [BZ #12874]
55711 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
55712 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
55713 kernels which artificially limit size of requests.
55714
0b1cbaae
L
557152011-06-22 H.J. Lu <hongjiu.lu@intel.com>
55716
55717 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55718 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
55719 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
55720 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
55721 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
55722 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
55723 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
55724 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
55725 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
55726 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
55727 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
55728 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
55729 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
55730 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
55731 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
55732 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55733 Enable unaligned load optimization for Intel Core i3, i5 and i7
55734 processors.
55735 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
55736 Define.
55737 (index_Fast_Unaligned_Load): Define.
55738 (HAS_FAST_UNALIGNED_LOAD): Define.
55739
07f494a0
MP
557402011-06-23 Marek Polacek <mpolacek@redhat.com>
55741
55742 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
55743
fa3fc0fe
UD
557442011-06-22 Ulrich Drepper <drepper@gmail.com>
55745
55746 [BZ #12907]
55747 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
55748 until it is clear that the information is realy needed.
55749 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
55750
e12df166
AS
557512011-06-22 Andreas Schwab <schwab@redhat.com>
55752
55753 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
55754
852eb34d
UD
557552011-06-22 Ulrich Drepper <drepper@gmail.com>
55756
84e2a551
UD
55757 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
55758 /sys/devices/system/cpu/online if it is usable.
55759
852eb34d
UD
55760 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
55761 reading the information from the /proc filesystem to once a second.
55762
6e502e19
UD
557632011-06-21 Andreas Jaeger <aj@suse.de>
55764
55765 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
55766 NULL after inclusion of kernel headers.
55767
75d39ff2
UD
557682011-06-21 Ulrich Drepper <drepper@gmail.com>
55769
51f9aa6a
UD
55770 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
55771 calls to internal_setent.
55772
c0244a9d
UD
55773 [BZ #12885]
55774 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
55775 addresses using gethostbyname4_r ignore IPv4 addresses.
55776
c5e3c2ae
UD
55777 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
55778 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
55779
75d39ff2
UD
55780 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
55781
42675c6f
DM
557822011-06-20 David S. Miller <davem@davemloft.net>
55783
55784 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
55785 inclusions.
55786 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
55787
55788 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
55789 (elf_irel): Use it.
55790 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
55791 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
55792 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
55793 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
55794 * sysdeps/x86_64/dl-irel.h: Likewise.
55795
55796 * elf/dl-runtime.c: Use elf_ifunc_invoke.
55797 * elf/dl-sym.c: Likewise.
55798
57912a71
UD
557992011-06-15 Ulrich Drepper <drepper@gmail.com>
55800
55801 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
55802 need to dereference resplen2.
55803
ee22793d
AS
558042011-06-14 Andreas Schwab <schwab@redhat.com>
55805
55806 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
55807
a9e836b0
UD
558082011-06-15 Ulrich Drepper <drepper@gmail.com>
55809
77fb9117
UD
55810 * Makeconfig: Define vardbdir and inst_vardbdir.
55811 * nss/Makefile: Add rules to install db-Makefile.
55812
40c1b22c
UD
55813 * nss/nss_db/db-XXX.c: Cleanup.
55814
9f2da732
UD
55815 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
55816 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
55817 GLIBC_PRIVATE.
55818 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
55819 * nss/makedb.c: Implement -g option to specify that value strings
55820 are generated and should not be added to table iterated over for
55821 get*ent calls.
55822 * nss/nss_db/db-initgroups.c: New file.
55823
82e9a1f7
UD
55824 * nss/getent.c: Add support for initgroups lookups through getgrouplist
55825 interface.
55826
c41af17e
UD
55827 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
55828 (internal_getgrouplist): Adjust to name change.
55829 Update use_initgroups_entry if this is not the first call.
55830 * nss/databases.def: Add initgroups entry.
55831
a9e836b0
UD
55832 * nss/makedb.c (compute_tables): Check result of multiple hash table
55833 sizes to minimize maximum chain length.
55834
2666d441
UD
558352011-06-14 Ulrich Drepper <drepper@gmail.com>
55836
55837 * Versions.def: Add entry for libnss_db.
55838 * shlib-versions: Likewise.
55839 * nss/Makefile: Add rules to build libnss_db.
55840 * nss/Versions: Add libnss_db information. Organize libnss_files
55841 entries better.
55842 * nss/db-Makefile: Add gshadow support. Change rules for the new
55843 makedb progra. Some minor improvements to generate smaller files.
55844 * nss/nss_db/nss_db.h: Move NSS database header data structures to
55845 here from...
55846 * nss/makedb.c: ...here.
55847 Improve database format to be smaller and require less memory at
55848 runtime.
55849 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
55850 db anymore.
55851 * nss/nss_db/db-netgrp.c: Likewise.
55852 * nss/nss_db/db-open.c: Likewise.
55853 * nss/nss_files/flies-XXX.x: Adjust comments.
55854 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
55855 * nss/nss_files/files-grp.c: Likewise.
55856 * nss/nss_files/files-hosts.c: Likewise.
55857 * nss/nss_files/files-network.c: Likewise.
55858 * nss/nss_files/files-proto.c: Likewise.
55859 * nss/nss_files/files-pwd.c: Likewise.
55860 * nss/nss_files/files-rpc.c: Likewise.
55861 * nss/nss_files/files-service.c: Likewise.
55862 * nss/nss_files/files-sgrp.c: Likewise.
55863 * nss/nss_files/files-spwd.c: Likewise.
55864 * nss/nss_db/db-alias.c: Removed.
55865 * nss/nss_db/dummy-db.h: Removed.
55866
9ee76b5a
UD
558672011-06-02 Ulrich Drepper <drepper@gmail.com>
55868
55869 * nss/makedb.c: Rewritten to not use database library.
55870 * nss/Makefile: Update to build new makedb program.
55871
c71ca1f8
AJ
558722011-06-14 Andreas Jaeger <aj@suse.de>
55873
55874 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
55875 memset declaration.
55876
3154bfb8
UD
558772011-06-10 Andreas Schwab <schwab@redhat.com>
55878
55879 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
55880 tmpbuf.
55881
b350afab
RM
558822011-06-10 Roland McGrath <roland@hack.frob.com>
55883
decd4e50
RM
55884 * Makerules (shlib.lds): Fail if the linker script comes out empty.
55885 * elf/Makefile ($(objpfx)ld.so): Likewise.
55886
5615eaf2
RM
55887 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
55888 Don't list ld.so twice in dependencies.
55889
55890 * posix/bug-regex31.c: Include <stdlib.h>.
55891
55892 * nscd/hstcache.c (cache_addhst): Remove unused variable.
55893
55894 * nis/nss_compat/compat-spwd.c
55895 (getspent_next_nss_netgr): Remove unused variable.
55896 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
55897
55898 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
55899 nonmembers" output to use the right array.
55900
55901 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
55902
55903 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
55904
55905 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
55906 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
55907 * catgets/gencat.c (read_input_file): Likewise.
55908 * locale/programs/locarchive.c (enlarge_archive): Likewise.
55909
55910 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
55911 variable definition inside #if's controlling its use.
55912
55913 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
55914
55915 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
55916
55917 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
55918
55919 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
55920 unreachable code.
55921
55922 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
55923
b68e08db
RM
55924 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
55925 * configure: Regenerated.
55926
b350afab
RM
55927 * Makerules: Revert last change.
55928 * elf/Makefile: Likewise.
55929
28368601
RM
559302011-06-09 Roland McGrath <roland@hack.frob.com>
55931
55932 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
55933 * elf/Makefile ($(objpfx)librtld.os): Likewise.
55934 (reloc-link): Likewise.
55935
11988f8f
UD
559362011-06-09 Ulrich Drepper <drepper@gmail.com>
55937
55938 * elf/Makefile: Add rules to build pldd.
55939 * elf/pldd.c: New file.
55940 * elf/pldd-xx.c: New file.
55941
e80fab37
UD
559422011-06-07 Ulrich Drepper <drepper@gmail.com>
55943
55944 * version.h: Update for 2.15 development version.
55945
9b849836
DM
559462011-06-07 David S. Miller <davem@davemloft.net>
55947
55948 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
55949 ifuncs.
55950 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
55951 elf_machine_lazy_rel): Likewise.
55952 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
55953 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
55954 elf_machine_lazy_rel): Likewise.
55955 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
55956 dl_hwcap via passed in argument.
55957 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
55958 Likewise.
55959
5a31b283
AK
559602011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55961
55962 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
55963
069e52f8
RM
559642011-06-06 Roland McGrath <roland@hack.frob.com>
55965
55966 [BZ #12849]
55967 * manual/fdl-1.1.texi: New file, verbatim from:
55968 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
55969 * manual/lgpl-2.1.texi: New file, verbatim from:
55970 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
55971 * manual/Makefile (licenses): New variable, list those new file names.
55972 (texis): Use it.
55973 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
55974
55975 * manual/fdl.texi: File removed.
55976 * manual/lesser.texi: File removed.
55977 * manual/libc.texinfo (Copying, Documentation License):
55978 Use new @include file names, put @appendix directive before @include.
55979
f16846a5
JJ
559802011-06-04 Jakub Jelinek <jakub@redhat.com>
55981
55982 [BZ #12841]
55983 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
55984 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
55985 (mq_open): Add __NTH.
55986
3d29045b
L
559872011-06-02 H.J. Lu <hongjiu.lu@intel.com>
55988
55989 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55990 Assume Intel Core i3/i5/i7 processor if AVX is available.
55991
8c297311
UD
559922011-05-31 Ulrich Drepper <drepper@gmail.com>
55993
55994 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
55995 typo.
55996
c8fc0c91
UD
559972011-05-31 Andreas Schwab <schwab@redhat.com>
55998
55999 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
56000 memory. Use alloca_account. Fix memory leak when retrying.
56001
5b27a807
UD
560022011-05-31 Ulrich Drepper <drepper@gmail.com>
56003
356f8bc6
UD
56004 * version.h (RELEASE): Bump for 2.14 release.
56005 * include/features.h (__GLIBC_MINOR__): Bump to 14.
56006
5b27a807
UD
56007 * config.make.in (RANLIB): Remove entry.
56008
01f16ab0
UD
560092011-05-30 Ulrich Drepper <drepper@gmail.com>
56010
41fce8bd
UD
56011 * po/Makefile (po-sed-cmd): Add ksh to extensions.
56012 (libc.pot): Work around missing support for .ksh extension in xgettext.
56013
4769ae77
UD
56014 [BZ #12684]
56015 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
56016 if both request failed.
56017 (send_dg): In case of server errors clear resplen or *resplen2.
56018
6b1e7d19
UD
56019 [BZ #12454]
56020 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
56021 when there are multiple maps.
56022 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
56023 (_dl_fini): Remove test here.
56024
01f16ab0
UD
56025 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
56026
b1ebd700
UD
560272011-05-29 Ulrich Drepper <drepper@gmail.com>
56028
7ae22829
UD
56029 [BZ #12350]
56030 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
56031 bit from old_res_options.
56032 (gaih_inet): Likewise.
56033
553149f6 56034 [BZ #11099]
18a84741 56035 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
56036 as signed.
56037
652ffab1
UD
56038 * resolv/res_init.c (res_setoptions): Make the code more compact.
56039
16985fd0
UD
56040 [BZ #11558]
56041 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
56042 set RES_USEVC.
56043
0464f746
UD
56044 [BZ #11634]
56045 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
56046
7d17596c
UD
56047 * malloc/malloc.h: Mark malloc hook variables as deprecated.
56048
cf6bbbd7
UD
56049 [BZ #11781]
56050 * malloc/malloc.h: Declare malloc hook variables as volatile.
56051
13f1ab36
UD
56052 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
56053 in last patch.
56054
b1ebd700
UD
56055 [BZ #11799]
56056 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 56057 raise in the comment.
80e2212d
UD
56058 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
56059 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
56060 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 56061
ce67228d
UD
560622011-05-28 Ulrich Drepper <drepper@gmail.com>
56063
8887a920
UD
56064 [BZ #12811]
56065 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
56066 grow the buffers more if it already has to be sufficient.
56067 (build_wcs_upper_buffer): Likewise.
56068 * posix/regexec.c (check_matching): Likewise.
56069 (clean_state_log_if_needed): Likewise.
56070 (extend_buffers): Don't enlarge buffers beyond size of the input
56071 buffer.
56072 Patches mostly by Emil Wojak <emil@wojak.eu>.
56073 * posix/bug-regex32.c: New file.
56074 * posix/Makefile (tests): Add bug-regex32.
56075
4f031072
UD
56076 * locale/findlocale.c (_nl_find_locale): Return right away if
56077 _nl_explode_name failed.
56078 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
56079
d0478f0c
UD
56080 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
56081
de81b246
UD
56082 * debug/xtrace.sh: Unify messages.
56083 * malloc/memusage.sh: Likewise.
56084
c738465a
UD
56085 [BZ #12813]
56086 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
56087 time symbol from vDSO. Substitute with vsyscall if not available.
56088 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
56089 __vdso_time.
56090
f1f929d7
UD
56091 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
56092 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
56093 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
56094 Add sendmmsg and internal_sendmmsg.
56095 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
56096 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
56097 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
56098
ce67228d
UD
56099 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
56100 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
56101 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
56102
e57420c6
UD
561032011-05-27 Ulrich Drepper <drepper@gmail.com>
56104
a8509ca5
UD
56105 [BZ #12813]
56106 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
56107 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
56108 available.
56109 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
56110 __vdso_getcpu.
56111
e57420c6
UD
56112 [BZ #12814]
56113 * iconvdata/Makefile (tests): Add bug-iconv9.
56114 * iconvdata/bug-iconv9.c: New file.
56115
4d07db15
AS
561162011-05-27 Andreas Schwab <schwab@redhat.com>
56117
56118 [BZ #12814]
56119 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
56120
ea486f69
JJ
561212011-05-25 Jakub Jelinek <jakub@redhat.com>
56122
56123 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
56124 (struct user_regs_struct): Change intcs field back to cs.
56125
6f038433
UD
561262011-05-25 Ulrich Drepper <drepper@gmail.com>
56127
56128 * po/ja.po: Update from translation team.
56129
67f86a25
UD
561302011-05-23 Ulrich Drepper <drepper@gmail.com>
56131
56132 [BZ #12795]
56133 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
56134 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
56135
def7fbd6
AS
561362011-05-20 Andreas Schwab <schwab@redhat.com>
56137
56138 * stdlib/longlong.h: Update from GCC.
56139
f50ef8f1
AS
561402011-05-23 Andreas Schwab <schwab@redhat.com>
56141
56142 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
56143 parameter name.
56144 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
56145 Add parameter name.
56146 (__sysconf): Pass it down.
56147
de7ce8f1
UD
561482011-05-22 Ulrich Drepper <drepper@gmail.com>
56149
f2962a71
UD
56150 [BZ #12671]
56151 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
56152 some situations.
56153 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
56154 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
56155 add in in __libc_use_alloca calls. Adjust callers.
56156 (glob): Use malloc in some situations.
56157
de7ce8f1
UD
56158 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
56159 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
56160 pltexit.
56161
aec84f53
UD
561622011-05-21 Ulrich Drepper <drepper@gmail.com>
56163
05bb4a68
UD
56164 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
56165 and CLOCK_BOOTTIME_ALARM.
56166
7ea72f99
UD
56167 [BZ #12782]
56168 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
56169 is returned.
56170
7e4afad5
UD
56171 * string/_strerror.c (__strerror_r): Print negative errors as signed
56172 numbers.
56173
8e211fec
UD
56174 [BZ #12777]
56175 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
56176 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
56177 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
56178
f7d82dc9
UD
56179 * configure.in: Fix typo in redirection and correct removal of test
56180 files in two cases.
56181
cc9e536d
UD
56182 [BZ #12788]
56183 * locale/setlocale.c (new_composite_name): Fix test to check for
56184 identical name of all categories.
56185
aec84f53
UD
56186 [BZ #12792]
56187 * libio/filedoalloc.c (local_isatty): New function.
56188 (_IO_file_doallocate): Use local_isatty.
56189 * stdio-common/perror.c (perror): In case a new stream is used
56190 forward the stream error.
56191 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
56192 error flag.
56193
78e64fdc
RT
561942011-05-20 Ulrich Drepper <drepper@gmail.com>
56195
34a9094f
UD
56196 [BZ #11869]
56197 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
56198 alloca.
56199 * include/alloca.h (extend_alloca_account): Define.
56200
78e64fdc
RT
56201 [BZ #11857]
56202 * posix/regex.h: Fix comments with documentation of user-accessible
56203 fields after compilation and describe correct free'ing of pattern
56204 after re_compile_pattern.
56205 Patch by Reuben Thomas <rrt@sc3d.org>.
56206
457bddfc
RA
562072011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
56208
56209 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
56210 and -mno-altivec to prevent the compiler from using Altivec and/or
56211 VSX instructions when the corresponding registers are not available.
56212
a4527b51
AS
562132011-05-19 Andreas Schwab <schwab@redhat.com>
56214
56215 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
56216
ed690b2f
UD
562172011-05-19 Ulrich Drepper <drepper@gmail.com>
56218
56219 * libio/freopen.c (freopen): Use __dup2, not dup2.
56220 * libio/freopen64.c (freopen64): Likewise.
56221
8db73634
L
562222011-05-17 H.J. Lu <hongjiu.lu@intel.com>
56223
56224 [BZ #12775]
56225 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
56226 * math/Makefile (tests): Add test-powl.
56227 (CFLAGS-test-powl.c): Define.
56228 * math/test-powl.c: New file.
56229
0a197a9d
L
562302011-05-16 H.J. Lu <hongjiu.lu@intel.com>
56231
56232 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
56233
ee30c380
UD
562342011-05-17 Ulrich Drepper <drepper@gmail.com>
56235
56236 [BZ #11837]
56237 * iconvdata/gb18030.c: Update to GB18020-2005.
56238
6ce75379
UD
562392011-05-16 Ulrich Drepper <drepper@gmail.com>
56240
a4b89fd8
AR
56241 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
56242 RE_SYNTAX_POSIX_AWK): Update to match recent development.
56243 Patch by Aharon Robbins <arnold@skeeve.com>.
56244
ea389b12
UD
56245 [BZ #11892]
56246 * stdlib/putenv.c (putenv): Don't always create copy of the variable
56247 on the stack.
56248
68a3f91f
UD
56249 [BZ #11895]
56250 * misc/pselect.c (__pselect): Handle timeout value errors hidden
56251 through underflows.
56252
15cc7dd1
UD
56253 [BZ #12766]
56254 * misc/error.c (error_at_line): Ensure file_name and old_file_name
56255 point to strings before performing equality test for error_one_per_line
56256 mode.
56257
f3799213
UD
56258 [BZ #11697]
56259 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
56260
d79a9c94
UD
56261 [BZ #11820]
56262 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
56263 (struct user_fpregs_struct): Avoid __uint*_t types.
56264
56e5eb46
UD
56265 [BZ #6420]
56266 * malloc/mtrace.c (tr_where): Add additional parameter to point to
56267 symbol info. Use it instead of calling _dl_addr locally.
56268 (lock_and_info): New function.
56269 (tr_freehook): Call lock_and_info and pass symbol info as additional
56270 parameter to tr_where.
56271 (tr_mallochook): Likewise.
56272 (tr_reallochook): Likewise.
56273 (tr_memalignhook): Likewise.
56274
6ce75379
UD
56275 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
56276 used and couldn't be at all thread-safe.
56277
f8a3b5bf
UD
562782011-05-15 Ulrich Drepper <drepper@gmail.com>
56279
94b7cc37
UD
56280 * libio/freopen.c (freopen): Don't close old file descriptor
56281 before the new one is opened. Instead dup the new file descriptor
56282 to the old one after the new stream is created.
56283 * libio/freopen64.c (freopen64): Likewise.
56284 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
56285 * libio/fileops.c (_IO_new_file_close_it): Handle new
56286 _IO_FLAGS2_NOCLOSE flag.
56287 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
56288 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
56289 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
56290 _IO_FLAGS2_NOCLOSE flag.
56291 * include/unistd.h: Add hidden_proto for dup3.
56292 Define __have_dup3.
56293 * io/dup3.c: Define hidden symbol.
56294 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
56295
bd25564e
UD
56296 [BZ #7101]
56297 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
56298 when an incomplete long option is used.
56299 * posix/tst-getopt_long1.c: New file.
56300 * posix/Makefile (tests): Add tst-getopt_long1.
56301
c84cfef4
UD
56302 [BZ #10138]
56303 * scripts/config.guess: Update from autoconf-2.68.
56304 * scripts/config.sub: Likewise.
56305
3b85df27
UD
56306 [BZ #10157]
56307 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
56308 tests into ...
56309 (has_cpuclock): ...this. New function.
56310 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
56311 macro here based on has_cpuclock code.
56312
15a856b1
UD
56313 [BZ #10149]
56314 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
56315 First byte (not low byte) is now always NUL.
56316 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
56317
05f399e6
UD
56318 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
56319 Use non-cancelable interfaces.
56320
10a52685 56321 [BZ #9809]
94ecc67d
UD
56322 * locale/iso-639.def: Add entry for Sorani.
56323
f8a3b5bf
UD
56324 [BZ #11901]
56325 * include/stdlib.h: Move include protection to the right place.
56326 Define abort_msg_s. Declare __abort_msg with it.
56327 * stdlib/abort.c (__abort_msg): Adjust type.
56328 * assert/assert.c (__assert_fail_base): New function. Majority
56329 of code from __assert_fail. Allocate memory for __abort_msg with
56330 mmap.
56331 (__assert_fail): Now call __assert_fail_base.
56332 * assert/assert-perr.c: Remove bulk of implementation. Use
56333 __assert_fail_base.
56334 * include/assert.hL Declare __assert_fail_base.
56335 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
56336 mmap.
56337 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
56338
1af4e298
UD
563392011-05-14 Ulrich Drepper <drepper@gmail.com>
56340
f8a3b5bf 56341 [BZ #11952]
d26dfc60
MG
56342 [BZ #12453]
56343 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
56344 until all modules are registered in the DTV.
56345 * elf/Makefile: Add rules to build and run tst-tls19.
56346 * elf/tst-tls19.c: New file.
56347 * elf/tst-tls19mod1.c: New file.
56348 * elf/tst-tls19mod2.c: New file.
56349 * elf/tst-tls19mod3.c: New file.
56350 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
56351
2fc54d6f
UD
56352 [BZ #12083]
56353 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
56354 correctly.
56355
98d76b46
UD
56356 [BZ #12601]
56357 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
56358 two-byte sequence errors.
56359 * iconvdata/Makefile (tests): Add bug-iconv8.
56360 * iconvdata/bug-iconv8.c: New file.
56361
da3c19ef
UD
56362 [BZ #12626]
56363 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
56364 buf2 definition.
56365
ca408c15
UD
56366 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
56367
d6f67f7d
UD
56368 [BZ #12432]
56369 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
56370 (dummy_getcfa): New function.
56371 (init): Get _Unwind_GetCFA address, use dummy if not found.
56372 (backtrace_helper): In recursion check, also check whether CFA changes.
56373 (__backtrace): Completely initialize arg.
56374
1af4e298 56375 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
56376 storing incomplete byte sequence in state object. Avoid testing for
56377 guaranteed too small input if we know there is enough data available.
1af4e298 56378
da62f81b
AS
563792011-05-11 Andreas Schwab <schwab@redhat.com>
56380
56381 * Makeconfig (+link-pie): Indent.
56382 * Rules (binaries-pie): Define if $(have-fpie) and
56383 $(build-shared).
56384 (binaries-shared): Also filter out $(binaries-pie).
56385 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
56386 * nscd/Makefile (others-pie): Add nscd.
56387 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
56388 ($(objpfx)nscd): Remove command override.
56389 * login/Makefile (others-pie): Add pt_chown.
56390 ($(objpfx)pt_chown): Remove command override.
56391 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
56392 remove command overrides.
56393
fcabc0f8
UD
563942011-05-13 Ulrich Drepper <drepper@gmail.com>
56395
20030ae6
UD
56396 * libio/tst_putwc.c: Fix error messages.
56397
fcabc0f8
UD
56398 [BZ #12724]
56399 * libio/fileops.c (_IO_new_file_close_it): Always flush when
56400 currently writing and seek to current position when not.
56401 * libio/Makefile (tests): Add bug-fclose1.
56402 * libio/bug-fclose1.c: New file.
56403
320a5dc0
PB
564042011-05-12 Ulrich Drepper <drepper@gmail.com>
56405
56406 [BZ #12511]
56407 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
56408 don't set DF_1_NODELETE here.
56409 (do_lookup_x): When entering new entry test for copy relocation
56410 and if necessary set DF_1_NODELETE flag.
56411 * elf/tst-unique4.cc: New file.
56412 * elf/tst-unique4.h: New file.
56413 * elf/tst-unique4lib.cc: New file.
56414 * elf/Makefile: Add rules to build and run tst-unique4.
56415 Patch by Piotr Bury <pbury@goahead.com>.
56416
22836f52
UD
564172011-05-11 Ulrich Drepper <drepper@gmail.com>
56418
f574184a
UD
56419 [BZ #12052]
56420 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
56421
e1fb097f
UD
56422 [BZ #12625]
56423 * misc/mntent_r.c (addmntent): Flush the stream after the output
56424
22836f52
UD
56425 [BZ #12393]
56426 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
56427 (is_trusted_path_normalize): Skip initial colon. Append slash
56428 to empty buffer. Duplicate is_trusted_path code but allow
56429 constructed patch to be prefix.
56430 (is_dst): Allow $ORIGIN followed by /.
56431 (_dl_dst_substitute): Correct clearing of check_for_trusted.
56432 Correct testing of result of is_trusted_path_normalize
56433 (decompose_rpath): Fix warning.
56434
7b3b0b2a
UD
564352011-05-10 Ulrich Drepper <drepper@gmail.com>
56436
56437 [BZ #11257]
56438 * grp/initgroups.c (internal_getgrouplist): When we found the service
56439 list through the initgroups entry in nsswitch.conf do not always
56440 continue on a successful lookup. Don't always use the
eac80ce2 56441 __nss_group_database value if it is set.
7b3b0b2a
UD
56442 * nss/nsswitch.conf (initgroups): Change action for successful db
56443 lookup to continue for compatibility.
56444
2a81eaa5
UD
564452011-05-09 Ulrich Drepper <drepper@gmail.com>
56446
be97a69e
UD
56447 [BZ #11532]
56448 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
56449 and CP774 modules.
56450 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
56451 and CP774 modules.
56452 * iconvdata/tst-tables.sh: Likewise.
56453 * iconvdata/cp770.c: New file.
56454 * iconvdata/cp771.c: New file.
56455 * iconvdata/cp772.c: New file.
56456 * iconvdata/cp773.c: New file.
56457 * iconvdata/cp774.c: New file.
56458 * iconvdata/testdata/CP770: New file.
56459 * iconvdata/testdata/CP770..UTF8: New file.
56460 * iconvdata/testdata/CP771: New file.
56461 * iconvdata/testdata/CP771..UTF8: New file.
56462 * iconvdata/testdata/CP772: New file.
56463 * iconvdata/testdata/CP772..UTF8: New file.
56464 * iconvdata/testdata/CP773: New file.
56465 * iconvdata/testdata/CP773..UTF8: New file.
56466 * iconvdata/testdata/CP774: New file.
56467 * iconvdata/testdata/CP774..UTF8: New file.
56468
56469 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
56470 END CHARMAP line.
56471 * iconvdata/gen-8bit-gap.sh: Likewise.
56472 * iconvdata/gen-8bit.sh: Likewise.
56473
c1e9e399
UD
56474 * locale/iso-639.def: Add ary entry.
56475
24c55fb3 56476 [BZ #11258]
96b4b1b0
UD
56477 * locale/C-translit.h.in: Add U20A1 transliteration.
56478
bdc2f971
KB
56479 [BZ #12178]
56480 * locale/iso-639.def: Add wae entry.
56481 Patch by Kevin Bortis <bortis@translate-wae.ch>.
56482
2952b117
UD
56483 [BZ #12545]
56484 * locale/programs/localedef.c (construct_output_path): Use ssize_t
56485 for n.
56486
2a81eaa5
UD
56487 [BZ #12711]
56488 * locale/C-translit.h.in: Add entry for U20B9.
56489 Patch by pravin.d.s@gmail.com.
56490
28377d1b
UD
564912011-05-08 Ulrich Drepper <drepper@gmail.com>
56492
7fb90fb8
UD
56493 [BZ #12713]
56494 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
56495 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
56496 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
56497 in rtld. Use *stat64.
7fb90fb8 56498 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 56499 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 56500 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
56501 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
56502 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
56503 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
56504 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
56505 __fstatat64 macros.
7fb90fb8
UD
56506 * include/dirent.h: Add libc_hidden_proto for rewinddir.
56507 * dirent/rewinddir.c: Add libc_hidden_def.
56508 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 56509 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 56510
28377d1b
UD
56511 * include/dirent.h (__alloc_dir): Add flags parameter.
56512 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
56513 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
56514 __alloc_dir.
56515 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
56516 from fdopendir if O_CLOEXEC is already set.
56517
66bdbaa4
AM
565182011-03-15 Alan Modra <amodra@gmail.com>
56519
56520 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
56521 l_tls_firstbyte_offset non-zero. Save padding offset in
56522 l_tls_firstbyte_offset for later use.
56523 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
56524 freeing static tls block.
56525
95721191
JN
565262011-03-05 Jonathan Nieder <jrnieder@gmail.com>
56527
56528 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
56529 where #ifdef was intended. The intent is to prevent ARG_MAX from
56530 being defined by the kernel headers.
56531
f87dfb1f
UD
565322011-05-07 Ulrich Drepper <drepper@gmail.com>
56533
56534 [BZ #12734]
56535 * resolv/resolv.h: Define RES_NOTLDQUERY.
56536 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
56537 no-tld-query and set RES_NOTLDQUERY.
56538 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
56539 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
56540 modern BIND to search name as TLD unless forbidden.
56541
47c3cd7a
UD
565422011-05-07 Petr Baudis <pasky@suse.cz>
56543 Ulrich Drepper <drepper@gmail.com>
56544
56545 [BZ #12393]
56546 * elf/dl-load.c (fillin_rpath): Move trusted path check...
56547 (is_trusted_path): ...to here.
c1e9ea35 56548 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 56549 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 56550 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 56551
8a35c912
PP
565522011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
56553
56554 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
56555 __BEGIN/__END_DECLS.
56556
acd41f47
UD
565572011-05-06 Ulrich Drepper <drepper@gmail.com>
56558
56559 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
56560 NSS_STATUS_NOTFOUND if no record was found.
56561
597df647
AS
565622011-05-05 Andreas Schwab <schwab@redhat.com>
56563
56564 * sunrpc/Makefile (headers): Add rpc/netdb.h.
56565 (headers-not-in-tirpc): Remove rpc/netdb.h
56566 * resolv/netdb.h: Revert last change.
56567
b9af1301
PP
565682011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
56569
56570 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
56571 circular dependency between libgcc.a and libc.a.
56572
4e34d5f5
AS
565732011-05-05 Andreas Schwab <schwab@redhat.com>
56574
56575 * resolv/netdb.h: Don't include <rpc/netdb.h>.
56576 * nis/Makefile: Don't install rpcsvc/*.
56577 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
56578 instead of <rpc/types.h>.
56579 (MAXHOSTNAMELEN): Define.
56580
00ee369c
AS
565812011-05-03 Andreas Schwab <schwab@redhat.com>
56582
56583 * elf/ldconfig.c (add_dir): Don't crash on empty path.
56584
0b592a30
MB
565852011-04-28 Maciej Babinski <mbabinski@google.com>
56586
56587 [BZ #12714]
56588 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
56589 gethostbyname4_r when IPv6 results are possible.
56590
6e04cbbe
UD
565912011-05-02 Ulrich Drepper <drepper@gmail.com>
56592
56593 [BZ #12723]
56594 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
56595 _PC_PIPE_BUF handling.
56596
e4ecafe0
BH
565972011-04-30 Bruno Haible <bruno@clisp.org>
56598
56599 [BZ #12717]
56600 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
56601 * resolv/netdb.h (getnameinfo): Change type of flags parameter
56602 to 'int'.
56603 * inet/getnameinfo.c (getnameinfo): Likewise.
56604
125ee683
UD
566052011-04-29 Ulrich Drepper <drepper@gmail.com>
56606
56607 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
56608 to groups setting in database lookup.
56609 * nss/nsswitch.conf: Add initgroups entry.
56610
b722481a
EB
566112011-04-22 Ulrich Drepper <drepper@gmail.com>
56612
56613 [BZ #12685]
56614 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
56615 mode string.
56616 Patch by Eric Blake <eblake@redhat.com>.
56617
4df46dbd
L
566182011-04-20 H.J. Lu <hongjiu.lu@intel.com>
56619
56620 * sunrpc/Makefile (need-export-routines): Add svc_run.
56621 (routines): Remove svc_run.
56622 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
56623 * sunrpc/clnt_perr.c (clnt_perrno): Export.
56624 * sunrpc/svc_run.c (svc_run): Likewise.
56625 * sunrpc/svc_udp.c (svcudp_create): Likewise.
56626
e84142d2
UD
566272011-04-21 Ulrich Drepper <drepper@gmail.com>
56628
56629 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
56630 problem in reallocation in last patch.
56631
877175d8
UD
566322011-04-20 Ulrich Drepper <drepper@gmail.com>
56633
56634 * sunrpc/Makefile: Move inclusion of Rules.
56635
ab8eed78
UD
566362011-04-19 Ulrich Drepper <drepper@gmail.com>
56637
56638 * nss/nss_files/files-initgroups.c: New file.
56639 * nss/Makefile (libnss_files-routines): Add files-initgroups.
56640 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
56641 _nss_files_initgroups_dyn.
56642
e3d8f584
RS
566432011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
56644
56645 * elf/elf.h (R_ARM_IRELATIVE): Define.
56646
af190f45
UD
566472011-04-19 Ulrich Drepper <drepper@gmail.com>
56648
56649 * po/ru.po: Update from translation team.
56650
53cf59ef
UD
566512011-04-17 Ulrich Drepper <drepper@gmail.com>
56652
56653 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
56654 dependencies.
56655
4c559bcd
MF
566562011-02-06 Mike Frysinger <vapier@gentoo.org>
56657
56658 [BZ #12653]
56659 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
56660 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
56661 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
56662 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
56663 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
56664
4420675c
AS
566652011-03-28 Andreas Schwab <schwab@linux-m68k.org>
56666
56667 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
56668 differing bytes.
56669 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
56670 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
56671 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
56672
75ea32ab
UD
566732011-04-17 Ulrich Drepper <drepper@gmail.com>
56674
56675 [BZ #12420]
56676 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
56677 storing it.
56678 * stdlib/bug-getcontext.c: New file.
56679 * stdlib/Makefile: Add rules to build and run bug-getcontext.
56680
27390476
AK
566812011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56682
56683 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
56684 instructions into .machine "z9-109".
56685 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
56686 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
56687
10442705
AK
566882011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56689
56690 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
56691 between environment variables and auxiliary vector.
56692
7b57bfe5
UD
566932011-04-16 Ulrich Drepper <drepper@gmail.com>
56694
56695 * Makefile: Add rules to build linkobj/libc.so.
56696 * include/libc-symbols.h: Define libc_hidden_nolink.
56697 * include/rpc/auth.h: Mark functions which are to be hidden.
56698 * include/rpc/auth_des.h: Likewise.
56699 * include/rpc/auth_unix.h: Likewise.
56700 * include/rpc/clnt.h: Likewise.
56701 * include/rpc/des_crypt.h: Likewise.
56702 * include/rpc/key_prot.h: Likewise.
56703 * include/rpc/pmap_clnt.h: Likewise.
56704 * include/rpc/pmap_prot.h: Likewise.
56705 * include/rpc/pmap_rmt.h: Likewise.
56706 * include/rpc/rpc_msg.h: Likewise.
56707 * include/rpc/svc.h: Likewise.
56708 * include/rpc/svc_auth.h: Likewise.
56709 * include/rpc/xdr.h: Likewise.
56710 * nis/Makefile: Link all DSOs against linkobj/libc.so.
56711 * nss/Makefile: Likewise.
56712 * sunrpc/Makefile: Don't install headers. Build library with normal
56713 entry points. Don't build rpcinfo. Link RPC tests appropriately.
56714 * sunrpc/auth_des.c: Hide exported symbols by default, export some
56715 for the compat linking library. Remove use of INTDEF/INTUSE.
56716 * sunrpc/auth_none.c: Likewise.
56717 * sunrpc/auth_unix.c: Likewise.
56718 * sunrpc/authdes_prot.c: Likewise.
56719 * sunrpc/authuxprot.c: Likewise.
56720 * sunrpc/clnt_gen.c: Likewise.
56721 * sunrpc/clnt_perr.c: Likewise.
56722 * sunrpc/clnt_raw.c: Likewise.
56723 * sunrpc/clnt_simp.c: Likewise.
56724 * sunrpc/clnt_tcp.c: Likewise.
56725 * sunrpc/clnt_udp.c: Likewise.
56726 * sunrpc/clnt_unix.c: Likewise.
56727 * sunrpc/des_crypt.c: Likewise.
56728 * sunrpc/des_soft.c: Likewise.
56729 * sunrpc/get_myaddr.c: Likewise.
56730 * sunrpc/key_call.c: Likewise.
56731 * sunrpc/key_prot.c: Likewise.
56732 * sunrpc/netname.c: Likewise.
56733 * sunrpc/pm_getmaps.c: Likewise.
56734 * sunrpc/pm_getport.c: Likewise.
56735 * sunrpc/pmap_clnt.c: Likewise.
56736 * sunrpc/pmap_prot.c: Likewise.
56737 * sunrpc/pmap_prot2.c: Likewise.
56738 * sunrpc/pmap_rmt.c: Likewise.
56739 * sunrpc/publickey.c: Likewise.
56740 * sunrpc/rpc_cmsg.c: Likewise.
56741 * sunrpc/rpc_common.c: Likewise.
56742 * sunrpc/rpc_dtable.c: Likewise.
56743 * sunrpc/rpc_prot.c: Likewise.
56744 * sunrpc/rpc_thread.c: Likewise.
56745 * sunrpc/rtime.c: Likewise.
56746 * sunrpc/svc.c: Likewise.
56747 * sunrpc/svc_auth.c: Likewise.
56748 * sunrpc/svc_authux.c: Likewise.
56749 * sunrpc/svc_raw.c: Likewise.
56750 * sunrpc/svc_run.c: Likewise.
56751 * sunrpc/svc_simple.c: Likewise.
56752 * sunrpc/svc_tcp.c: Likewise.
56753 * sunrpc/svc_udp.c: Likewise.
56754 * sunrpc/svc_unix.c: Likewise.
56755 * sunrpc/svcauth_des.c: Likewise.
56756 * sunrpc/xcrypt.c: Likewise.
56757 * sunrpc/xdr.c: Likewise.
56758 * sunrpc/xdr_array.c: Likewise.
56759 * sunrpc/xdr_float.c: Likewise.
56760 * sunrpc/xdr_intXX_t.c: Likewise.
56761 * sunrpc/xdr_mem.c: Likewise.
56762 * sunrpc/xdr_rec.c: Likewise.
56763 * sunrpc/xdr_ref.c: Likewise.
56764 * sunrpc/xdr_sizeof.c: Likewise.
56765 * sunrpc/xdr_stdio.c: Likewise.
56766
e6c61494
UD
567672011-04-10 Ulrich Drepper <drepper@gmail.com>
56768
56769 [BZ #12650]
56770 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
56771 * sysdeps/ia64/dl-tls.h: Likewise.
56772 * sysdeps/powerpc/dl-tls.h: Likewise.
56773 * sysdeps/s390/dl-tls.h: Likewise.
56774 * sysdeps/sh/dl-tls.h: Likewise.
56775 * sysdeps/sparc/dl-tls.h: Likewise.
56776 * sysdeps/x86_64/dl-tls.h: Likewise.
56777 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
56778
34fe483e
AS
567792011-03-14 Andreas Schwab <schwab@redhat.com>
56780
56781 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
56782 rpath element also skip the following colon.
56783 (expand_dynamic_string_token): Add is_path parameter and pass
56784 down to DL_DST_REQUIRED and _dl_dst_substitute.
56785 (decompose_rpath): Call expand_dynamic_string_token with
56786 non-zero is_path. Ignore empty rpaths.
56787 (_dl_map_object_from_fd): Call expand_dynamic_string_token
56788 with zero is_path.
56789
f12a32e6
AS
567902011-04-08 Andreas Schwab <schwab@linux-m68k.org>
56791
56792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
56793 Make cancelable.
56794
38a7d692
UD
567952011-04-09 Ulrich Drepper <drepper@gmail.com>
56796
56797 [BZ #12655]
56798 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
56799 Patch by Filipe David Manana <fdmanana@apache.org>.
56800
e451d22b
AS
568012011-04-07 Andreas Schwab <schwab@redhat.com>
56802
56803 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
56804 Maintain aligned stack.
56805 (CHECK_RSP): Remove unused macro.
56806
dedc7c7b
UD
568072011-04-03 Ulrich Drepper <drepper@gmail.com>
56808
56809 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
56810 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
56811
94521213
UD
568122011-04-02 Ulrich Drepper <drepper@gmail.com>
56813
56814 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
56815
8cb700c0 56816 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 56817
0354e355
L
568182011-03-26 H.J. Lu <hongjiu.lu@intel.com>
56819
56820 [BZ #12518]
56821 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
56822 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
56823 * sysdeps/x86_64/memmove.c: New file.
56824 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
56825 (memcpy): Renamed to ...
56826 (__new_memcpy): This.
56827 (memcpy): Provide GLIBC_2_14 memcpy.
56828 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
56829 (memcpy): Provide GLIBC_2_2_5 memcpy.
56830
8593482f
UD
568312011-04-01 Ulrich Drepper <drepper@gmail.com>
56832
56833 [BZ #12631]
56834 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
56835
81a5726b
AS
568362011-03-30 Andreas Schwab <schwab@redhat.com>
56837
56838 * misc/syncfs.c: New file.
56839 * misc/Makefile (routines): Add syncfs.
56840 * posix/unistd.h: Declare syncfs.
56841 * sysdeps/unix/syscalls.list: Add syncfs.
56842
00e5419f
AS
568432011-04-01 Andreas Schwab <schwab@redhat.com>
56844
56845 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
56846 open_by_handle_at.
56847 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
56848 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
56849 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56850 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56851 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56852 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
56853 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56854
748876bf
UD
568552011-04-01 Ulrich Drepper <drepper@gmail.com>
56856
658e451d
UD
56857 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
56858 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
56859 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
56860 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56861 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56862 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56863 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56864
748876bf
UD
56865 * io/Makefile: Compile fallocate.c, fallocate64.c, and
56866 sync_file_range.c with -fexceptions.
56867 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
56868 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
56869 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
56870 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
56871 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
56872 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
56873 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
56874 sync_file_range as cancellation point
56875 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
56876 now a wrapper around __call_sync_file_range with cancellation handling.
56877 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
56878 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
56879 function name to __call_sync_file_range.
56880 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
56881 Add call_sync_file_range.
748876bf 56882
6e63d5e1
AS
568832011-04-01 Andreas Schwab <schwab@redhat.com>
56884
56885 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 56886 bits/timex.h.
6e63d5e1 56887
46998f74
UD
568882011-04-01 Ulrich Drepper <drepper@gmail.com>
56889
4c1423ed
UD
56890 * iconv/iconv.h: Fix typo in comment.
56891 * io/fcntl.h: Likewise.
56892 * libio/stdio.h: Likewise.
56893 * posix/spawn.h: Likewise.
56894 * posix/unistd.h: Likewise.
56895 * stdlib/stdlib.h: Likewise.
56896 * time/time.h: Likewise.
56897 * wcsmbs/wchar.h: Likewise.
56898
158648c0
UD
56899 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
56900 open_by_handle): Add.
56901 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
56902 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
56903 Augment a few comments.
56904 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
56905 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56906 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56907 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56908 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56909 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
56910 open_by_handle.
56911
46998f74
UD
56912 * io/fcntl.h (AT_EMPTY_PATH): Define.
56913
83fe108b
UD
569142011-03-30 Ulrich Drepper <drepper@gmail.com>
56915
56916 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
56917 * sysdeps/unix/sysv/linux/bits/time.h: New file.
56918 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
56919 to...
56920 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
56921 * Versions.def: Add GLIBC_2.14.
56922 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
56923 Export.
83fe108b 56924
bb242059
UD
569252011-03-22 Ulrich Drepper <drepper@gmail.com>
56926
56927 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
56928 round counter.
56929 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
56930
c97a1282
L
569312011-03-20 H.J. Lu <hongjiu.lu@intel.com>
56932
56933 [BZ #12597]
56934 * string/test-strncmp.c (do_page_test): New function.
56935 (check2): Likewise.
56936 (test_main): Call check2.
56937 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
56938
2a115601
UD
569392011-03-20 Ulrich Drepper <drepper@gmail.com>
56940
56941 [BZ #12587]
56942 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
56943 Handle cache information in CPU leaf 4.
56944 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
56945
8126d904
UD
569462011-03-18 Ulrich Drepper <drepper@gmail.com>
56947
042c49c6 56948 [BZ #12583]
8126d904
UD
56949 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
56950 character representation.
56951 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
56952
ccfe366e
RA
569532011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
56954
56955 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
56956 END(__isnan) to END(__isnanf) to match function entry point/label
56957 EALIGN(__isnanf,...).
56958
c6e13027
JJ
569592011-03-10 Jakub Jelinek <jakub@redhat.com>
56960
56961 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
56962
33f85a3f
UD
569632011-03-10 Ulrich Drepper <drepper@gmail.com>
56964
028478fa
UD
56965 [BZ #12510]
56966 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
56967 copy from the symbol referenced in the relocation to initialize the
56968 used variable.
56969 Patch by Piotr Bury <pbury@goahead.com>.
56970 * elf/Makefile: Add rules to build and tst-unique3.
56971 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
56972 * elf/tst-unique3.cc: New file.
56973 * elf/tst-unique3.h: New file.
56974 * elf/tst-unique3lib.cc: New file.
56975 * elf/tst-unique3lib2.cc: New file.
56976
33f85a3f
UD
56977 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
56978
03592fc7
MF
569792011-03-10 Mike Frysinger <vapier@gentoo.org>
56980
56981 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
56982 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
56983 to _start.
03592fc7 56984
6a5ee102
UD
569852011-03-06 Ulrich Drepper <drepper@gmail.com>
56986
56987 * elf/dl-load.c (_dl_map_object): If we are looking for the first
56988 to-be-loaded object along a path to loader is ld.so.
56989
7e4ba49c
HJ
569902011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
56991 Ulrich Drepper <drepper@gmail.com>
56992
56993 * sysdeps/x86_64/memset.S: After aligning destination, code
56994 branches to different locations depending on the value of
56995 misalignment, when multiarch is enabled. Fix this.
56996
569972011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
56998
56999 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
57000 Set _x86_64_preferred_memory_instruction for AMD processsors.
57001 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57002 Set bit_Prefer_SSE_for_memop for AMD processors.
57003
13a804de
UD
570042011-03-04 Ulrich Drepper <drepper@gmail.com>
57005
57006 * libio/fmemopen.c (fmemopen): Optimize a bit.
57007
9d25c392
AS
570082011-03-03 Andreas Schwab <schwab@redhat.com>
57009
57010 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
57011
a5543c6a
RM
570122011-03-03 Roland McGrath <roland@redhat.com>
57013
57014 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
57015
012d35f7
DM
570162011-02-28 Aurelien Jarno <aurelien@aurel32.net>
57017
7e4ba49c 57018 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
57019 __bzero_ultra1 instead of __memset_ultra1.
57020
4bff6e01
AS
570212011-02-23 Andreas Schwab <schwab@redhat.com>
57022 Ulrich Drepper <drepper@gmail.com>
57023
57024 [BZ #12509]
57025 * include/link.h (struct link_map): Add l_orig_initfini.
57026 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
57027 returning unsuccessfully.
57028 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
57029 close of a file loaded at startup, restore the original l_initfini
57030 list.
57031 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
57032 list, store the pointer.
57033 * elf/Makefile ($(objpfx)noload-mem): New rule.
57034 (noload-ENV): Define.
57035 (tests): Add $(objpfx)noload-mem.
57036 * elf/noload.c: Include <memcheck.h>.
57037 (main): Call mtrace. Close all opened handles.
57038
f2092faf
AS
570392011-02-17 Andreas Schwab <schwab@redhat.com>
57040
57041 [BZ #12454]
57042 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
57043 dependencies are missing.
57044
6c8a2e88
ST
570452011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
57046
f2092faf 57047 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
57048 Hurd needs munmap.
57049 * sysdeps/mach/hurd/ifreq.h: New file.
57050
84a42118
PB
570512011-01-27 Petr Baudis <pasky@suse.cz>
57052 Ulrich Drepper <drepper@gmail.com>
57053
071f805e 57054 [BZ 12445]#
84a42118
PB
57055 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
57056 to extend_alloca().
57057 * stdio-common/bug23.c: New file.
57058 * stdio-common/Makefile (tests): Add bug23.
57059
e23fe25b
AS
570602010-09-28 Andreas Schwab <schwab@redhat.com>
57061 Ulrich Drepper <drepper@gmail.com>
57062
57063 [BZ #12489]
57064 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
57065 before performing relro protection. At old place add assertion
57066 to make sure nothing changed.
57067
d3f02e10
NS
570682011-02-17 Nathan Sidwell <nathan@codesourcery.com>
57069 Glauber de Oliveira Costa <glommer@gmail.com>
57070
57071 * elf/elf.h: Add new ARM TLS relocs.
57072
d55fd7a5
RA
570732011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
57074
57075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
57076 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
57077 cast from r3.
57078 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
57079 'tests' variable.
57080 * sysdeps/wordsize-64/tst-writev.c: New file.
57081
2206397e
RA
570822011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
57083
57084 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
57085 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
57086 insns in _dl_start to prevent a TOC reference before relocs are
57087 resolved.
57088
e9433893
UD
570892011-02-15 Ulrich Drepper <drepper@gmail.com>
57090
57091 [BZ #12469]
57092 * Makeconfig: Remove RANLIB definition.
57093 * Makerules: Don't use RANLIB.
57094 * aclocal.m4: Remove ranlib test.
57095 * configure.in: No need to check for ranlib.
57096 * elf/rtld-Rules: Don't use RANLIB.
57097
f75286c6
ST
570982011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
57099
8e31c82d
ST
57100 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
57101 protection macro.
57102 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
57103 inclusion protection macro.
57104
f75286c6
ST
57105 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
57106 SIGRTMIN and SIGRTMAX and print information in that case only when
57107 SIGRTMIN is defined.
57108
c1d0e639
JJ
571092011-02-11 Jakub Jelinek <jakub@redhat.com>
57110
57111 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
57112 arginfo fn returning -1.
57113
57114 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
57115 and thousands string is zero terminated.
57116
edf9294e
AS
571172011-02-03 Andreas Schwab <schwab@redhat.com>
57118
57119 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
57120 sysdeps/unix/sysv/linux/bits/socket.h.
57121
2b7e92df
ST
571222011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
57123
edf9294e
AS
57124 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
57125 (__CPU_COUNT): Remove old macros.
57126 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
57127 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
57128 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
57129 (__sched_cpualloc, __sched_cpufree): Add declarations.
57130
a4c7ea7b
UD
571312011-02-05 Ulrich Drepper <drepper@gmail.com>
57132
57133 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
57134 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
57135 * nscd/aicache.c (addhstaiX): Return timeout of added value.
57136 (readdhstai): Return value of addhstaiX call.
57137 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
57138 (addgrbyX): Return value returned by cache_addgr.
57139 (readdgrbyname): Return value returned by addgrbyX.
57140 (readdgrbygid): Likewise.
57141 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
57142 (addpwbyX): Return value returned by cache_addpw.
57143 (readdpwbyname): Return value returned by addhstbyX.
57144 (readdpwbyuid): Likewise.
57145 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
57146 (addservbyX): Return value returned by cache_addserv.
57147 (readdservbyname): Return value returned by addservbyX:
57148 (readdservbyport): Likewise.
57149 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
57150 (addhstbyX): Return value returned by cache_addhst.
57151 (readdhstbyname): Return value returned by addhstbyX.
57152 (readdhstbyaddr): Likewise.
57153 (readdhstbynamev6): Likewise.
57154 (readdhstbyaddrv6): Likewise.
57155 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
57156 (readdinitgroups): Return value returned by addinitgroupsX.
57157 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
57158 (prune_cache): Keep track of timeout value of re-added entries.
57159 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
57160 * nscd/nscd.h: Adjust prototypes of readd* functions.
57161
a0bf67cc
RM
571622011-02-04 Roland McGrath <roland@redhat.com>
57163
57164 * nis/nis_server.c (nis_servstate): Use the right name for 0.
57165 (nis_stats): Likewise.
57166 * nis/nis_modify.c (nis_modify): Likewise.
57167 * nis/nis_remove.c (nis_remove): Likewise.
57168 * nis/nis_add.c (nis_add): Likewise.
57169
57170 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
57171
57172 * posix/fnmatch_loop.c: Add some consts.
57173
57174 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
57175
435b95eb
L
571762011-02-02 H.J. Lu <hongjiu.lu@intel.com>
57177
57178 [BZ #12460]
57179 * config.make.in (config-cflags-novzeroupper): Define.
57180 * configure.in: Substitute libc_cv_cc_novzeroupper.
57181 * elf/Makefile (AVX-CFLAGS): Define.
57182 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
57183 (CFLAGS-tst-auditmod4a.c): Likewise.
57184 (CFLAGS-tst-auditmod4b.c): Likewise.
57185 (CFLAGS-tst-auditmod6b.c): Likewise.
57186 (CFLAGS-tst-auditmod6c.c): Likewise.
57187 (CFLAGS-tst-auditmod7b.c): Likewise.
57188 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
57189
8517b15e
UD
571902011-02-02 Ulrich Drepper <drepper@gmail.com>
57191
57192 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
57193 function to the callback.
57194 Patch partly by Jiri Olsa <jolsa@redhat.com>.
57195
10a656fe
AS
571962011-02-02 Andreas Schwab <schwab@redhat.com>
57197
57198 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
57199 of errno.
57200
968dad0a
UD
572012011-01-19 Ulrich Drepper <drepper@gmail.com>
57202
9f94d2ea 57203 [BZ #11724]
968dad0a
UD
57204 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
57205 of constructors.
57206 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
57207 of destructors.
57208 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
57209
57210 [BZ #11724]
57211 * elf/Makefile: Add rules to build and run new test.
57212 * elf/tst-initorder.c: New file.
57213 * elf/tst-initorder.exp: New file.
57214 * elf/tst-initordera1.c: New file.
57215 * elf/tst-initordera2.c: New file.
57216 * elf/tst-initordera3.c: New file.
57217 * elf/tst-initordera4.c: New file.
57218 * elf/tst-initorderb1.c: New file.
57219 * elf/tst-initorderb2.c: New file.
57220 * elf/tst-order-a1.c: New file.
57221 * elf/tst-order-a2.c: New file.
57222 * elf/tst-order-a3.c: New file.
57223 * elf/tst-order-a4.c: New file.
57224 * elf/tst-order-b1.c: New file.
57225 * elf/tst-order-b2.c: New file.
57226 * elf/tst-order-main.c: New file.
57227 New test case by George Gensure <werkt0@gmail.com>.
57228
86e92359
UD
572292010-10-01 Andreas Schwab <schwab@redhat.com>
57230
57231 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
57232 decoding ACE if AI_CANONIDN.
57233
5d5732b0
UD
572342011-01-18 Ulrich Drepper <drepper@gmail.com>
57235
57236 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
57237
a77e8cbc
UD
572382011-01-17 Ulrich Drepper <drepper@gmail.com>
57239
6392473f
UD
57240 * version.h (RELEASE): Bump for 2.13 release.
57241 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
57242
620a0529
UD
57243 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
57244
18ba70a5
UD
57245 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
57246 MADV_NOHUGEPAGE.
32465c3e
UD
57247 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
57248 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
57249 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
57250 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
57251 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
57252 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
57253
c0dafcf1
UD
57254 * posix/getconf.c: Update copyright year.
57255 * catgets/gencat.c: Likewise.
57256 * csu/version.c: Likewise.
57257 * debug/catchsegv.sh: Likewise.
57258 * debug/xtrace.sh: Likewise.
57259 * elf/ldconfig.c: Likewise.
57260 * elf/ldd.bash.in: Likewise.
57261 * elf/sprof.c (print_version): Likewise.
57262 * iconv/iconv_prog.c: Likewise.
57263 * iconv/iconvconfig.c: Likewise.
57264 * locale/programs/locale.c: Likewise.
57265 * locale/programs/localedef.c: Likewise.
57266 * malloc/memusage.sh: Likewise.
57267 * malloc/mtrace.pl: Likewise.
57268 * nscd/nscd.c (print_version): Likewise.
57269 * nss/getent.c: Likewise.
57270
a77e8cbc
UD
57271 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
57272 PF_CAIF, and PF_ALG.
57273 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
57274
77e8bddf
AS
572752011-01-16 Andreas Schwab <schwab@linux-m68k.org>
57276
1f20b93a
AS
57277 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
57278 (modules-names): Use them.
57279 (ifunc-test-modules, ifunc-pie-tests): Define.
57280 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
57281 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
57282 (test-extras): Likewise.
57283 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
57284 $(compile-command.c).
57285 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
57286 (all-built-dso): Define.
57287 (check-textrel.out, check-execstack.out): Depend on it.
57288
77e8bddf
AS
57289 * configure.in: Don't override --enable-multi-arch.
57290
bc425b33
UD
572912011-01-15 Ulrich Drepper <drepper@gmail.com>
57292
57293 [BZ #6812]
57294 * nscd/hstcache.c (tryagain): Define.
57295 (cache_addhst): Return tryagain not notfound for temporary errors.
57296 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
57297 failed.
57298
794c3ad3
UD
572992011-01-14 Ulrich Drepper <drepper@gmail.com>
57300
70181fdd
UD
57301 [BZ #10563]
57302 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
57303 to make the syscall.
57304 * sysdeps/unix/sysv/linux/setgroups.c: New file.
57305
794c3ad3
UD
57306 [BZ #12378]
57307 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
57308 and fall back to matching as normal character if the string ends before
57309 the matching ']' is found. This is what POSIX requires.
57310 * posix/testfnm.c: Adjust test result.
57311 * posix/globtest.sh: Adjust test result. Add new test.
57312 * posix/tst-fnmatch.input: Likewise.
57313 * posix/tst-fnmatch2.c: Add new test.
57314
68dc9497
AS
573152010-12-28 Andreas Schwab <schwab@linux-m68k.org>
57316
57317 * elf/Makefile (check-execstack): Revert last change. Depend on
57318 check-execstack.h.
57319 (check-execstack.h): New target.
57320 (generated): Add check-execstack.h.
57321 * elf/check-execstack.c: Include "check-execstack.h".
57322 (main): Revert last change.
57323 (handle_file): Return zero if GNU_STACK is absent and
57324 DEFAULT_STACK_PERMS doesn't include PF_X.
57325
451f001b
UD
573262011-01-13 Ulrich Drepper <drepper@gmail.com>
57327
cfa28e56
UD
57328 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
57329 in child fails because the descriptor is already closed.
8cf8ce17
UD
57330 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
57331 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
57332 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 57333
1086d70d
UD
57334 [BZ #12397]
57335 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
57336 syscall.
57337
451f001b
UD
57338 [BZ #10484]
57339 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
57340 temporary buffer used to handle multi lookups locally.
a85b5cb4 57341 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 57342
08769175
UD
573432011-01-12 Ulrich Drepper <drepper@gmail.com>
57344
57345 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
57346 loader is ld.so.
57347
5e49c52e
UD
573482011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
57349
57350 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
57351 alignment for SSE2.
57352
60522a5f
UD
573532011-01-12 Ulrich Drepper <drepper@gmail.com>
57354
57355 [BZ #12394]
57356 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
57357 characters. When rounding increased number of integer digits recompute
57358 number of groups.
57359 * stdio-common/tst-grouping.c: New file.
57360 * stdio-common/Makefile: Add rules to build and run tst-grouping.
57361
f257bbd7
UD
573622011-01-09 Ulrich Drepper <drepper@gmail.com>
57363
57364 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
57365 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
57366
57367 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
57368 void.
57369 * bits/select.h: Likewise.
57370
fa9c15cb
UD
573712011-01-08 Ulrich Drepper <drepper@gmail.com>
57372
57373 * po/ja.po: Update from translation team.
57374
16c2895f
DM
573752011-01-04 David S. Miller <davem@sunset.davemloft.net>
57376
57377 [BZ #11155]
57378 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
57379 implementation just like for lxstat, fxstatat, et al.
57380
2543fef2
JM
573812010-12-27 Jim Meyering <meyering@redhat.com>
57382
57383 [BZ #12348]
57384 * posix/regexec.c (build_trtable): Return failure indication upon
57385 calloc failure. Otherwise, re_search_internal could infloop on OOM.
57386
98727dbe
UD
573872010-12-25 Ulrich Drepper <drepper@gmail.com>
57388
5bd6dc5c
UD
57389 [BZ #12201]
57390 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
57391 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
57392 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
57393 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
57394
97983464
UD
57395 [BZ #12207]
57396 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
57397
98727dbe
UD
57398 [BZ #12204]
57399 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
57400 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
57401
4a531bb0
L
574022010-12-15 H.J. Lu <hongjiu.lu@intel.com>
57403
57404 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
57405 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
57406 script has SORT_BY_INIT_PRIORITY.
57407 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
57408 NO_CTORS_DTORS_SECTIONS is defined.
57409 * elf/soinit.c: Likewise.
57410 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
57411 NO_CTORS_DTORS_SECTIONS is defined.
57412 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
57413 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
57414 * sysdeps/sh/init-first.c: Likewise.
57415 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
57416
07eb4b71
UD
574172010-12-24 Ulrich Drepper <drepper@gmail.com>
57418
57419 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
57420 always use the slow path.
57421
30950a5f
RA
574222010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
57423
57424 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
57425 similar rule which adds the sysdep directories to the header search in
57426 order to pick up the correct platform stackinfo.h.
57427 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
57428 perform test if it is, otherwise return successfully without testing.
57429 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
57430 DEFAULT_STACK_PERMS define in stackinfo.h.
57431 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
57432 defined in stackinfo.h.
57433 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
57434 DEFAULT_STACK_PERMS defined in stackinfo.h.
57435 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
57436 * sysdeps/ia64/stackinfo.h: Likewise.
57437 * sysdeps/s390/stackinfo.h: Likewise.
57438 * sysdeps/sh/stackinfo.h: Likewise.
57439 * sysdeps/sparc/stackinfo.h: Likewise.
57440 * sysdeps/x86_64/stackinfo.h: Likewise.
57441 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
57442 PF_X for powerpc64. Retain PF_X for powerpc32.
57443
db753e2c
UD
574442010-12-19 Ulrich Drepper <drepper@gmail.com>
57445
14b697f7
UD
57446 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
57447 accurately.
db753e2c
UD
57448 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
57449 GETDENTS_64BIT_ALIGNED.
57450
28300719
UD
574512010-12-14 Ulrich Drepper <dreper@gmail.com>
57452
14b697f7 57453 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 57454
4f197237
AS
574552010-12-10 Andreas Schwab <schwab@redhat.com>
57456
dbb0472f
AS
57457 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
57458 _GNU_SOURCE.
57459
4f197237
AS
57460 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
57461 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
57462 Remove __restrict.
57463 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
57464 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
57465
fb88ac72
UD
574662010-12-09 Ulrich Drepper <drepper@gmail.com>
57467
57468 [BZ #11655]
57469 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
57470 are initialized.
57471
42acbb92
JJ
574722010-12-09 Jakub Jelinek <jakub@redhat.com>
57473
57474 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
57475
c038d98d
UD
574762010-12-03 Ulrich Drepper <drepper@gmail.com>
57477
57478 * po/it.po: Update from translation team.
57479
3a4a2499
L
574802010-12-01 H.J. Lu <hongjiu.lu@intel.com>
57481
57482 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
57483 unused codes.
57484
1e24cf6e
UD
574852010-11-30 Ulrich Drepper <drepper@gmail.com>
57486
57487 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
57488
a7690819
AS
574892010-11-24 Andreas Schwab <schwab@redhat.com>
57490
57491 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
57492 specially.
57493 (gaih_getanswer_slice): Likewise.
57494
3bf8d1b1
JJ
574952010-10-20 Jakub Jelinek <jakub@redhat.com>
57496
57497 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
57498
6db52fbb
PB
574992010-05-31 Petr Baudis <pasky@suse.cz>
57500
57501 [BZ #11149]
57502 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
57503 silently even in the chroot mode.
57504
eaca7569
UD
575052010-11-22 Ulrich Drepper <drepper@gmail.com>
57506
57507 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
57508 last patch a bit. Pretty printing
57509
3056dcdb
UD
575102010-05-31 Petr Baudis <pasky@suse.cz>
57511
57512 [BZ #10085]
57513 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
57514 initialization of skip_initgroups_dyn.
57515
cf7c9078
UD
575162010-11-19 Ulrich Drepper <drepper@gmail.com>
57517
57518 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
57519 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
57520
a1fb5e3e
UD
575212010-11-16 Ulrich Drepper <drepper@gmail.com>
57522
57523 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
57524
3540d66b
AS
575252010-11-11 Andreas Schwab <schwab@redhat.com>
57526
57527 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
57528 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
57529 (tst-fnmatch-ENV): Set MALLOC_TRACE.
57530 ($(objpfx)tst-fnmatch-mem): New rule.
57531 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
57532 * posix/tst-fnmatch.c (main): Call mtrace.
57533
13b69574
L
575342010-11-11 H.J. Lu <hongjiu.lu@intel.com>
57535
57536 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57537 Support Intel processor model 6 and model 0x2c.
57538
da93d214
LM
575392010-11-10 Luis Machado <luisgpm@br.ibm.com>
57540
57541 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
57542 signed comparison.
57543
8ca52c6e
L
575442010-11-09 H.J. Lu <hongjiu.lu@intel.com>
57545
57546 [BZ #12205]
57547 * string/test-strncasecmp.c (check_result): New function.
57548 (do_one_test): Use it.
57549 (check1): New function.
57550 (test_main): Use it.
57551 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
57552 Support strcasecmp and strncasecmp.
57553
69da074d
UD
575542010-11-08 Ulrich Drepper <drepper@gmail.com>
57555
57556 [BZ #12194]
57557 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
57558 * sysdeps/x86_64/bits/byteswap.h: Likewise.
57559
ff02d528
L
575602010-11-07 H.J. Lu <hongjiu.lu@intel.com>
57561
57562 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
57563 IFUNC support.
57564 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57565 memset-x86-64.
57566 * sysdeps/x86_64/multiarch/bzero.S: New file.
57567 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
57568 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
57569 * sysdeps/x86_64/multiarch/memset.S: New file.
57570 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
57571 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57572 Set bit_Prefer_SSE_for_memop for Intel processors.
57573 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
57574 Define.
57575 (index_Prefer_SSE_for_memop): Define.
57576 (HAS_PREFER_SSE_FOR_MEMOP): Define.
57577
344d0b54
LM
575782010-11-04 Luis Machado <luisgpm@br.ibm.com>
57579
57580 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
57581 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
57582
c0dde15b
UD
575832010-11-03 H.J. Lu <hongjiu.lu@intel.com>
57584
57585 [BZ #12191]
57586 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
57587 (__x86_64_raw_data_cache_size_half): Likewise.
57588 (__x86_64_raw_shared_cache_size): Likewise.
57589 (__x86_64_raw_shared_cache_size_half): Likewise.
57590
57591 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
57592 (__x86_64_raw_data_cache_size_half): Likewise.
57593 (__x86_64_raw_shared_cache_size): Likewise.
57594 (__x86_64_raw_shared_cache_size_half): Likewise.
57595 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
57596 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
57597 and __x86_64_raw_shared_cache_size_half. Round
57598 __x86_64_data_cache_size_half, __x86_64_data_cache_size
57599 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
57600 to multiple of 256 bytes.
57601
0e516e0e
MS
576022010-11-03 Ulrich Drepper <drepper@gmail.com>
57603
57604 [BZ #12167]
57605 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
57606 of inacessible symlinks. Verify result of symlink before returning it.
57607 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
57608 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
57609
0e012e87
ER
576102010-10-28 Erich Ritz <erichritz@gmail.com>
57611
57612 * math/math.h (isinf): Fix typo in comment.
57613
de0ff7bc
UD
576142010-11-01 Ulrich Drepper <drepper@gmail.com>
57615
57616 * po/da.po: Update from translation team.
57617
fa41c84d
UD
576182010-10-26 Ulrich Drepper <drepper@gmail.com>
57619
57620 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
57621 is added to the list.
57622
f0967738
AK
576232010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57624 Ulrich Drepper <drepper@gmail.com>
57625
57626 * elf/dl-object.c (_dl_new_object): Don't append the new object to
57627 the global list here. Move code to...
57628 (_dl_add_to_namespace_list): ...here. New function.
57629 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
57630 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
57631 * elf/dl-load.c (lose): Don't remove the element from the list.
57632 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
57633 (_dl_map_object): Likewise.
57634
576352010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
57636
57637 [BZ #12159]
57638 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
57639 into all bytes of SSE register.
57640 Patch by Richard Li <richardpku@gmail.com>.
57641
f0967738 576422010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
57643
57644 [BZ #12140]
57645 * malloc/malloc.c (_int_free): Fill correct number of bytes when
57646 perturbing.
57647
d0b9e94f
MB
576482010-10-20 Michael B. Brutman <brutman@us.ibm.com>
57649
57650 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
57651 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
57652 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
57653 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
57654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
57655 submachine.
57656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
57657
8e9f92e9
AS
576582010-10-22 Andreas Schwab <schwab@redhat.com>
57659
57660 * include/dlfcn.h (__RTLD_SECURE): Define.
57661 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
57662 mode & __RTLD_SECURE instead.
57663 (open_path): Rename preloaded parameter to secure.
57664 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
57665 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
57666 * elf/dl-deps.c (openaux): Likewise.
57667 * elf/rtld.c (struct map_args): Remove is_preloaded.
57668 (map_doit): Don't use it.
57669 (dl_main): Likewise.
57670 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
57671 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
57672
bc96fbda
AS
576732010-09-09 Andreas Schwab <schwab@redhat.com>
57674
57675 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
57676 (sysd-rules-targets): Remove duplicates.
57677 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
57678 rtld-%.$o dependency.
57679
22cd1c9b
AS
576802010-10-18 Andreas Schwab <schwab@redhat.com>
57681
57682 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
57683 _dl_map_object do it.
57684
18edac48
UD
576852010-10-19 Ulrich Drepper <drepper@gmail.com>
57686
57687 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
57688 fast fma builtins, define the macros in the C99 standard.
57689 (FP_FAST_FMAF): Likewise.
57690 (FP_FAST_FMAL): Likewise.
57691 * sysdeps/x86_64/bits/mathdef.h: Likewise.
57692
57693 * bits/mathdef.h: Update copyright year.
57694 * sysdeps/powerpc/bits/mathdef.h: Likewise.
57695
d2050124
MM
576962010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
57697
57698 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
57699 builtins, define the macros in the C99 standard.
57700 (FP_FAST_FMAF): Likewise.
57701 (FP_FAST_FMAL): Likewise.
57702 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
57703 multiply/add.
57704 (FP_FAST_FMAF): Likewise.
57705
475facd1
JJ
577062010-10-15 Jakub Jelinek <jakub@redhat.com>
57707
57708 [BZ #3268]
57709 * math/libm-test.inc (fma_test): Some new testcases.
57710 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
57711 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
57712 y and infinite z. Do multiplication by C already in long double.
57713 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
57714 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
57715 y and infinite z. Do bitwise or of inexact bit into u.d.
57716 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
57717 * sysdeps/i386/fpu/s_fmaf.S: Removed.
57718 * sysdeps/i386/fpu/s_fma.S: Removed.
57719 * sysdeps/i386/fpu/s_fmal.S: Removed.
57720
7c08a05c
JJ
577212010-10-16 Jakub Jelinek <jakub@redhat.com>
57722
57723 [BZ #3268]
57724 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
57725 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
57726 computation is not scheduled after fetestexcept. Fix value
57727 of minimum denormal long double.
57728
f3f7372d
JJ
577292010-10-14 Jakub Jelinek <jakub@redhat.com>
57730
57731 [BZ #3268]
57732 * math/libm-test.inc (fma_test): Add some more tests.
57733 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
57734 correctly.
57735
14d43591
AS
577362010-10-15 Andreas Schwab <schwab@redhat.com>
57737
57738 * scripts/data/localplt-s390-linux-gnu.data: New file.
57739 * scripts/data/localplt-s390x-linux-gnu.data: New file.
57740
5e908464
JJ
577412010-10-13 Jakub Jelinek <jakub@redhat.com>
57742
57743 [BZ #3268]
57744 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
57745 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
57746 instead of dbl-64.
57747 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
57748 inlines.
57749 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
57750 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
57751 if one of x and y is very large and the other is subnormal.
57752 * sysdeps/s390/fpu/s_fmaf.c: New file.
57753 * sysdeps/s390/fpu/s_fma.c: New file.
57754 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
57755 * sysdeps/powerpc/fpu/s_fma.S: New file.
57756 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
57757 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
57758 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
57759
577602010-10-12 Jakub Jelinek <jakub@redhat.com>
57761
57762 [BZ #3268]
57763 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
57764 fma tests.
57765 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
57766 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
57767 * sysdeps/i386/i686/multiarch/s_fma.c: Include
57768 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
57769 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
57770 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
57771 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
57772
b833d51f
UD
577732010-10-12 Ulrich Drepper <drepper@redhat.com>
57774
57775 [BZ #12078]
57776 * posix/regcomp.c (parse_branch): One more memory leak plugged.
57777 * posix/bug-regex31.input: Add test case.
57778
1751705d
UD
577792010-10-11 Ulrich Drepper <drepper@gmail.com>
57780
e9b9cbf5
UD
57781 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
57782 * posix/bug-regex31.input: New file.
57783
57784 [BZ #12078]
57785 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
57786 (parse_sub_exp): Fix last change, use postorder.
57787
ef06edbe
UD
57788 * posix/bug-regex31.c: New file.
57789 * posix/Makefile: Add rules to build and run bug-regex31.
57790
a129c80d
UD
57791 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
57792
57793 [BZ #12078]
57794 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
57795
b76b818e
UD
57796 [BZ #12108]
57797 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
57798 to have entries in sys_siglist.
57799
1751705d
UD
57800 [BZ #12093]
57801 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
57802 be NULL.
57803
9ff8d36f
JJ
578042010-10-07 Jakub Jelinek <jakub@redhat.com>
57805
57806 [BZ #3268]
57807 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
57808 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
57809 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
57810 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
57811 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
57812 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
57813 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
57814 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
57815 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
57816 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
57817 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
57818 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
57819 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
57820 * math/ftestexcept.c (fetestexcept): Likewise.
57821 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
57822 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
57823 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
57824 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
57825 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
57826 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
57827 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
57828
af325969
UD
578292010-10-11 Ulrich Drepper <drepper@gmail.com>
57830
c579b202 57831 [BZ #12107]
af325969
UD
57832 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
57833 newline.
57834
67a67b95
UD
578352010-10-06 Ulrich Drepper <drepper@gmail.com>
57836
57837 * string/bug-strstr1.c: New file.
57838 * string/Makefile: Add rules to build and run bug-strstr1.
57839
5fb308bc
EB
578402010-10-05 Eric Blake <eblake@redhat.com>
57841
57842 [BZ #12092]
57843 * string/str-two-way.h (two_way_long_needle): Always clear memory
57844 when skipping input due to the shift table.
57845
45db99c7
UD
578462010-10-03 Ulrich Drepper <drepper@gmail.com>
57847
3b111893
UD
57848 [BZ #12005]
57849 * malloc/mcheck.c: Handle large requests.
57850
45db99c7
UD
57851 [BZ #12077]
57852 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
57853 for strncmp and strncasecmp.
57854 * string/stratcliff.c: Add tests for strcmp and strncmp.
57855 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
57856
cf7a1eb8
NI
578572010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
57858
57859 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
57860 __set_fpscr.
57861
6484ba5e
AJ
578622010-09-30 Andreas Jaeger <aj@suse.de>
57863
57864 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
57865 (CGROUP_SUPER_MAGIC): Define.
57866 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
57867 Handle btrfs and cgroup file systems.
57868 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
57869 Likewise.
57870
91c42559
LM
578712010-09-27 Luis Machado <luisgpm@br.ibm.com>
57872
57873 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
57874 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
57875
87a97932
AK
578762010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57877
57878 [BZ #12067]
57879 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
57880 trying to locate the ELF header.
57881
c21cc9bc
AS
578822010-09-27 Andreas Schwab <schwab@redhat.com>
57883
57884 [BZ #11611]
57885 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
57886 Mask out sign-bit copies when constructing f_fsid.
57887
315970f6
PB
578882010-09-24 Petr Baudis <pasky@suse.cz>
57889
57890 * debug/stack_chk_fail_local.c: Add missing licence exception.
57891 * debug/warning-nop.c: Likewise.
57892
1ac7a2c7
JM
578932010-09-15 Joseph Myers <joseph@codesourcery.com>
57894
57895 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
57896 implementing getdents64 using getdents syscall, set d_type if
57897 __ASSUME_GETDENTS32_D_TYPE.
57898
56801c50
AS
578992010-09-16 Andreas Schwab <schwab@redhat.com>
57900
57901 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
57902 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
57903
dda51327
UD
579042010-09-21 Ulrich Drepper <drepper@redhat.com>
57905
57906 [BZ #12037]
57907 * posix/unistd.h: Undo change of feature selection for ftruncate from
57908 2010-01-11.
57909
8ffcee4a
UD
579102010-09-20 Ulrich Drepper <drepper@redhat.com>
57911
a545ecd9 57912 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
57913 detection.
57914
e24f0a8b
AS
579152010-09-20 Andreas Schwab <schwab@redhat.com>
57916
57917 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
57918 fanotify_mark.
57919 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
57920
7291c56f
AS
579212010-09-14 Andreas Schwab <schwab@redhat.com>
57922
57923 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
57924 variables after CHECK_SP call.
57925 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
57926
bc5fb037
AS
579272010-09-13 Andreas Schwab <schwab@redhat.com>
57928 Ulrich Drepper <drepper@redhat.com>
57929
57930 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
57931 re-relocationg ld.so.
57932 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
57933 _dl_init_paths call.
57934 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
57935 here anymore.
57936
e66e7419
UD
579372010-09-14 Ulrich Drepper <drepper@redhat.com>
57938
57939 * resolv/res_init.c (__res_vinit): Count the default server we added.
57940
c044aa75
CLT
579412010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
57942 Ulrich Drepper <drepper@redhat.com>
57943
57944 [BZ #11968]
57945 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
57946 (____longjmp_chk): Use %ebx for saving value across system call.
57947 Add unwind info.
57948
32cf4069
AS
579492010-09-06 Andreas Schwab <schwab@redhat.com>
57950
57951 * manual/Makefile: Don't mix pattern rules with normal rules.
57952
817328ee
AS
579532010-09-05 Andreas Schwab <schwab@linux-m68k.org>
57954
57955 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
57956 operation.
57957 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
57958 * libio/iofopncook.c (_IO_cookie_init): Likewise.
57959 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
57960 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
57961 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
57962 Likewise.
57963
29fddf61
UD
579642010-09-04 Ulrich Drepper <drepper@redhat.com>
57965
57966 [BZ #11979]
57967 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
57968 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
57969
0959ffc9
UD
579702010-09-02 Ulrich Drepper <drepper@redhat.com>
57971
57972 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
57973 * sysdeps/x86_64/addmul_1.S: Likewise.
57974 * sysdeps/x86_64/lshift.S: Likewise.
57975 * sysdeps/x86_64/mul_1.S: Likewise.
57976 * sysdeps/x86_64/rshift.S: Likewise.
57977 * sysdeps/x86_64/sub_n.S: Likewise.
57978 * sysdeps/x86_64/submul_1.S: Likewise.
57979
ece29840
ST
579802010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
57981
0959ffc9
UD
57982 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
57983 Define __sched_param instead of SCHED_* and sched_param when
ece29840 57984 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 57985 * bits/sched.h [__need_schedparam]
ece29840 57986 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
57987 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
57988 (__defined_schedparam): Define to 1.
ece29840
ST
57989 (__sched_param): New structure, identical to sched_param.
57990 (__need_schedparam): Undefine.
57991
e53a31fe
MF
579922010-08-31 Mike Frysinger <vapier@gentoo.org>
57993
fdc0c10d
MF
57994 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
57995 (epoll_create1): Declare.
57996
e53a31fe
MF
57997 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
57998
a726d796
AS
579992010-08-31 Andreas Schwab <schwab@redhat.com>
58000
58001 [BZ #7066]
58002 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
58003 shifting retval into place.
58004
2f3e3dc7
UD
580052010-09-01 Ulrich Drepper <drepper@redhat.com>
58006
f2933da9
UD
58007 * nis/rpcsvc/nis.h: Update copyright notice.
58008 * nis/rpcsvc/nis.x: Likewise.
58009 * nis/rpcsvc/nis_callback.h: Likewise.
58010 * nis/rpcsvc/nis_callback.x: Likewise.
58011 * nis/rpcsvc/nis_object.x: Likewise.
58012 * nis/rpcsvc/nis_tags.h: Likewise.
58013 * nis/rpcsvc/yp.h: Likewise.
58014 * nis/rpcsvc/yp.x: Likewise.
58015 * nis/rpcsvc/ypupd.h: Likewise.
58016 * nis/yp_xdr.c: Likewise.
58017 * nis/ypupdate_xdr.c: Likewise.
58018
2f3e3dc7
UD
58019 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
58020 mainly the body of pmap_getport. Add parameters to specify timeouts.
58021 (pmap_getport): Use __libc_rpc_getport.
58022 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
58023 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
58024 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
58025
f3dcc2f9
AS
580262010-08-31 Andreas Schwab <schwab@linux-m68k.org>
58027
58028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
58029 fanotify_mark.
58030
6d34eb5b
RM
580312010-08-27 Roland McGrath <roland@redhat.com>
58032
58033 * sysdeps/i386/i686/multiarch/Makefile
58034 (CFLAGS-varshift.c): New variable.
58035
9ea3de11
UD
580362010-08-27 Ulrich Drepper <drepper@redhat.com>
58037
c96d23fc
UD
58038 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
58039 * sysdeps/i386/i686/multiarch/varshift.c: New file.
58040
9ea3de11
UD
58041 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
58042
58043 * sysdeps/x86_64/strlen.S: Minimal code improvement.
58044
623aac7f
L
580452010-08-26 H.J. Lu <hongjiu.lu@intel.com>
58046
58047 * sysdeps/x86_64/strlen.S: Unroll the loop.
58048 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58049 strlen-sse2 strlen-sse2-bsf.
58050 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
58051 __strlen_no_bsf if bit_Slow_BSF is set.
58052 (__strlen_sse42): Removed.
58053 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
58054 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
58055
8b2b7715
RM
580562010-08-25 Roland McGrath <roland@redhat.com>
58057
58058 * sysdeps/x86_64/multiarch/varshift.S: File removed.
58059 * sysdeps/x86_64/multiarch/varshift.c: New file.
58060 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
58061 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
58062 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
58063 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
58064
e73015f2
L
580652010-08-25 H.J. Lu <hongjiu.lu@intel.com>
58066
58067 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58068 strlen-sse2 strlen-sse2-bsf.
58069 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
58070 __strlen_sse2_bsf if bit_Slow_BSF is unset.
58071 (__strlen_sse2): Removed.
58072 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
58073 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
58074 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
58075 bit_Slow_BSF for Atom.
58076 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
58077 (index_Slow_BSF): Define.
58078 (HAS_SLOW_BSF): Define.
58079
df24a73e
UD
580802010-08-25 Ulrich Drepper <drepper@redhat.com>
58081
58082 [BZ #10851]
58083 * resolv/res_init.c (__res_vinit): When no server address at all
58084 is given default to loopback.
58085
f2ac4868
RM
580862010-08-24 Roland McGrath <roland@redhat.com>
58087
09055553
RM
58088 * configure.in: Remove config-name.h generation.
58089 * configure: Regenerated.
58090 * config-name.in: File removed.
58091 * scripts/config-uname.sh: New file.
58092 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
58093 ($(objdir)config-name.h): New target.
58094
f2ac4868
RM
58095 * sunrpc/rpc_parse.h: Avoid nested comment.
58096
73f27d5e
RH
580972010-08-24 Richard Henderson <rth@redhat.com>
58098 Ulrich Drepper <drepper@redhat.com>
58099 H.J. Lu <hongjiu.lu@intel.com>
58100
58101 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
58102 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
58103 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
58104 Replace _mm_srli_si128 with __m128i_shift_right. Replace
58105 _mm_alignr_epi8 with _mm_loadu_si128.
58106 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
58107 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
58108 (__m128i_shift_right): Removed.
58109 * sysdeps/i386/i686/multiarch/varshift.h: New file.
58110 * sysdeps/i386/i686/multiarch/varshift.S: New file.
58111 * sysdeps/x86_64/multiarch/varshift.h: New file.
58112 * sysdeps/x86_64/multiarch/varshift.S: New file.
58113
84b9230c
MF
581142010-08-21 Mike Frysinger <vapier@gentoo.org>
58115
58116 * configure.in: Move assembler checks to before sysdep dir checking.
58117
9bbd0ddc
PB
581182010-08-20 Petr Baudis <pasky@suse.cz>
58119
58120 * LICENSES: Sync the sunrpc license.
58121
9da4bb31
UD
581222010-08-19 Ulrich Drepper <drepper@redhat.com>
58123
a7ab6ec8
UD
58124 * sunrpc/auth_des.c: Update copyright notice once again.
58125 * sunrpc/auth_none.c: Likewise.
58126 * sunrpc/auth_unix.c: Likewise.
58127 * sunrpc/authdes_prot.c: Likewise.
58128 * sunrpc/authuxprot.c: Likewise.
58129 * sunrpc/bindrsvprt.c: Likewise.
58130 * sunrpc/clnt_gen.c: Likewise.
58131 * sunrpc/clnt_perr.c: Likewise.
58132 * sunrpc/clnt_raw.c: Likewise.
58133 * sunrpc/clnt_simp.c: Likewise.
58134 * sunrpc/clnt_tcp.c: Likewise.
58135 * sunrpc/clnt_udp.c: Likewise.
58136 * sunrpc/clnt_unix.c: Likewise.
58137 * sunrpc/des_crypt.c: Likewise.
58138 * sunrpc/des_soft.c: Likewise.
58139 * sunrpc/get_myaddr.c: Likewise.
58140 * sunrpc/getrpcport.c: Likewise.
58141 * sunrpc/key_call.c: Likewise.
58142 * sunrpc/key_prot.c: Likewise.
58143 * sunrpc/openchild.c: Likewise.
58144 * sunrpc/pm_getmaps.c: Likewise.
58145 * sunrpc/pm_getport.c: Likewise.
58146 * sunrpc/pmap_clnt.c: Likewise.
58147 * sunrpc/pmap_prot.c: Likewise.
58148 * sunrpc/pmap_prot2.c: Likewise.
58149 * sunrpc/pmap_rmt.c: Likewise.
58150 * sunrpc/rpc/auth.h: Likewise.
58151 * sunrpc/rpc/auth_unix.h: Likewise.
58152 * sunrpc/rpc/clnt.h: Likewise.
58153 * sunrpc/rpc/des_crypt.h: Likewise.
58154 * sunrpc/rpc/key_prot.h: Likewise.
58155 * sunrpc/rpc/netdb.h: Likewise.
58156 * sunrpc/rpc/pmap_clnt.h: Likewise.
58157 * sunrpc/rpc/pmap_prot.h: Likewise.
58158 * sunrpc/rpc/pmap_rmt.h: Likewise.
58159 * sunrpc/rpc/rpc.h: Likewise.
58160 * sunrpc/rpc/rpc_des.h: Likewise.
58161 * sunrpc/rpc/rpc_msg.h: Likewise.
58162 * sunrpc/rpc/svc.h: Likewise.
58163 * sunrpc/rpc/svc_auth.h: Likewise.
58164 * sunrpc/rpc/types.h: Likewise.
58165 * sunrpc/rpc/xdr.h: Likewise.
58166 * sunrpc/rpc_clntout.c: Likewise.
58167 * sunrpc/rpc_cmsg.c: Likewise.
58168 * sunrpc/rpc_common.c: Likewise.
58169 * sunrpc/rpc_cout.c: Likewise.
58170 * sunrpc/rpc_dtable.c: Likewise.
58171 * sunrpc/rpc_hout.c: Likewise.
58172 * sunrpc/rpc_main.c: Likewise.
58173 * sunrpc/rpc_parse.c: Likewise.
58174 * sunrpc/rpc_parse.h: Likewise.
58175 * sunrpc/rpc_prot.c: Likewise.
58176 * sunrpc/rpc_sample.c: Likewise.
58177 * sunrpc/rpc_scan.c: Likewise.
58178 * sunrpc/rpc_scan.h: Likewise.
58179 * sunrpc/rpc_svcout.c: Likewise.
58180 * sunrpc/rpc_tblout.c: Likewise.
58181 * sunrpc/rpc_util.c: Likewise.
58182 * sunrpc/rpc_util.h: Likewise.
58183 * sunrpc/rpcinfo.c: Likewise.
58184 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
58185 * sunrpc/rpcsvc/key_prot.x: Likewise.
58186 * sunrpc/rpcsvc/klm_prot.x: Likewise.
58187 * sunrpc/rpcsvc/mount.x: Likewise.
58188 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
58189 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
58190 * sunrpc/rpcsvc/rex.x: Likewise.
58191 * sunrpc/rpcsvc/rstat.x: Likewise.
58192 * sunrpc/rpcsvc/rusers.x: Likewise.
58193 * sunrpc/rpcsvc/sm_inter.x: Likewise.
58194 * sunrpc/rpcsvc/spray.x: Likewise.
58195 * sunrpc/rpcsvc/yppasswd.x: Likewise.
58196 * sunrpc/rtime.c: Likewise.
58197 * sunrpc/svc.c: Likewise.
58198 * sunrpc/svc_auth.c: Likewise.
58199 * sunrpc/svc_authux.c: Likewise.
58200 * sunrpc/svc_raw.c: Likewise.
58201 * sunrpc/svc_run.c: Likewise.
58202 * sunrpc/svc_simple.c: Likewise.
58203 * sunrpc/svc_tcp.c: Likewise.
58204 * sunrpc/svc_udp.c: Likewise.
58205 * sunrpc/svc_unix.c: Likewise.
58206 * sunrpc/svcauth_des.c: Likewise.
58207 * sunrpc/xcrypt.c: Likewise.
58208 * sunrpc/xdr.c: Likewise.
58209 * sunrpc/xdr_array.c: Likewise.
58210 * sunrpc/xdr_float.c: Likewise.
58211 * sunrpc/xdr_mem.c: Likewise.
58212 * sunrpc/xdr_rec.c: Likewise.
58213 * sunrpc/xdr_ref.c: Likewise.
58214 * sunrpc/xdr_sizeof.c: Likewise.
58215 * sunrpc/xdr_stdio.c: Likewise.
58216
9da4bb31
UD
58217 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
58218 handling.
58219
bdaa77bc
AS
582202010-08-19 Andreas Schwab <schwab@redhat.com>
58221
58222 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
58223
fe2f79db
LM
582242010-08-19 Luis Machado <luisgpm@br.ibm.com>
58225
58226 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
58227 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
58228 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
58229 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
58230 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
58231 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
58232 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
58233 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
58234 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
58235 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
58236 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
58237 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
58238 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
58239 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
58240
b9b42ee0
AB
582412010-07-26 Anton Blanchard <anton@samba.org>
58242
58243 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
58244 * malloc/arena.c (heap_trim): Likewise.
58245
1c06ba31
UD
582462010-08-16 Ulrich Drepper <drepper@redhat.com>
58247
58248 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
58249 here. Not...
58250 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
58251 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
58252
f8392f40
L
582532010-08-12 H.J. Lu <hongjiu.lu@intel.com>
58254
58255 * sysdeps/i386/elf/Makefile: New file.
58256
3162f12e
AS
582572010-08-14 Andreas Schwab <schwab@linux-m68k.org>
58258
58259 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
58260 from fanotify_init.
58261 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
58262 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
58263
28c90b2c
UD
582642010-08-15 Ulrich Drepper <drepper@redhat.com>
58265
58266 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
58267 of strncasecmp_l.
1feccb6c 58268 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 58269
ca6bb004
UD
582702010-08-14 Ulrich Drepper <drepper@redhat.com>
58271
e9f82e0d
UD
58272 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
58273 strncase_l-nonascii.
58274 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
58275 Add strncase_l-ssse3.
58276 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
58277 * sysdeps/x86_64/strcmp.S: Likewise.
58278 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
58279 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
58280 * sysdeps/x86_64/strncase.S: New file.
58281 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
58282 * sysdeps/x86_64/strncase_l.S: New file.
58283 * string/Makefile (strop-tests): Add strncasecmp.
58284 * string/test-strncasecmp.c: New file.
58285
58286 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
58287 warning.
58288
ca6bb004
UD
58289 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
58290 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
58291
052fa7b3
AS
582922010-08-14 Andreas Schwab <schwab@linux-m68k.org>
58293
58294 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
58295
962dba78
UD
582962010-08-12 Ulrich Drepper <drepper@redhat.com>
58297
58298 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
58299 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
58300 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
58301
bebff237
AM
583022010-05-01 Alan Modra <amodra@gmail.com>
58303
58304 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
58305 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
58306 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
58307 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
58308 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
58309 tidying. Don't tail-call __sigjmp_save for static lib.
58310 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
58311 save location.
58312 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
58313 (CALL_MCOUNT): Add eh info, and nop after bl.
58314 (TAIL_CALL_SYSCALL_ERROR): New macro.
58315 (PSEUDO_RET): Use it.
58316 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
58317 Correct save location of integer regs and cr.
58318 (_dl_profile_resolve): Correct cr save location. Delete nops
58319 after bl when SHARED. Reduce cfi size a little by better
58320 placement of cfi directives.
58321 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
58322 make a stack frame. Instead use parm save area as a temp.
58323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
58324 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
58325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
58326 Don't make a stack frame for parent, use parm save area.
58327 Increase child stack frame to 112 bytes. Don't save unused reg,
58328 and adjust reg usage. Set up cfi on error recovery and
58329 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
58330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
58331 (__makecontext): Add dummy nop after jump to exit.
58332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
58333 Use correct parm save area and cr save, reduce stack frame.
58334 Correct cfi for possible PSEUDO_RET frame setup.
58335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
58336 Branch to local label emitted by PSEUDO_RET rather than
58337 __syscall_error.
58338
02637374
AS
583392010-08-12 Andreas Schwab <schwab@redhat.com>
58340
58341 [BZ #11904]
58342 * locale/programs/locale.c (print_assignment): New function.
58343 (show_locale_vars): Use it.
58344
c3e2f19b
UD
583452010-08-11 Ulrich Drepper <drepper@redhat.com>
58346
3cdaa6ad
UD
58347 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
58348 field.
58349 (struct statfs64): Likewise.
58350 (_STATFS_F_FLAGS): Define.
58351 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
58352 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
58353 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
58354 (ST_VALID): Define locally.
58355 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
58356 __statvfs_getflags, use the provided value.
58357 * sysdeps/unix/sysv/linux/kernel-features.h: Define
58358 __ASSUME_STATFS_F_FLAGS.
58359
754f7da3
UD
58360 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
58361
10b3bedc
UD
58362 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
58363 Add sys/fanotify.h.
58364 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
58365 fanotify_mask for GLIBC_2.13.
58366 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
58367 fanotify_init and fanotify_mark.
58368 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
58369 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
58370
c08fb0d7
UD
58371 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
58372 Add prlimit.
58373 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
58374 prlimit64 for GLIBC_2.13.
58375 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
58376 prlimit64.
58377 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
58378 syscall.
58379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
58380 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
58381 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
58382 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
58383 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
58384 add prlimit alias.
58385 * sysdeps/unix/sysv/linux/prlimit.c: New file.
58386
15bac72b
UD
58387 [BZ #11903]
58388 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
58389 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
58390
c3e2f19b
UD
58391 * nss/Makefile: Add rules to build and run tst-nss-test1.
58392 * shlib-versions: Add entry for libnss_test1.
58393 * nss/nss_test1.c: New file.
58394 * nss/tst-nss-test1.c: New file.
58395
58396 * nss/nsswitch.c (__nss_database_custom): Define new variable.
58397 (__nss_configure_lookup): Set appropriate entry in
58398 __nss_configure_lookup to true.
58399 * nss/nsswitch.h: Define enum with indeces of databases in
58400 databases and __nss_database_custom arrays. Declare
58401 __nss_database_custom.
58402 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
58403 to avoid using nscd when custom rules are installed.
58404 * nss/getXXbyYY_r.c: Likewise.
58405 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
58406
58407 * nss/nss_files/files-parse.c: Whitespace fixes.
58408
f15ce4d8
UD
584092010-08-09 Ulrich Drepper <drepper@redhat.com>
58410
58411 [BZ #11883]
58412 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
58413 * posix/fnmatch_loop.c: Likewise.
58414
d22e4cc9
AK
584152010-07-17 Andi Kleen <ak@linux.intel.com>
58416
58417 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
58418 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
58419 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
58420 * Versions.def [GLIBC_2.13]: Add.
58421
805bc17d
UD
584222010-08-06 Ulrich Drepper <drepper@redhat.com>
58423
58424 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
58425 Also fail if tpwd after pwuid call is NULL.
58426
5a42321d
ST
584272010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
58428
58429 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
58430 when converting to ms.
58431
fd3ebeda
ST
584322010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
58433
58434 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
58435 EOPNOTSUPP errors with ENOTTY.
58436 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
58437 EOPNOTSUPP errors with ENOTTY.
58438
73507d3a
UD
584392010-07-31 Ulrich Drepper <drepper@redhat.com>
58440
58441 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
58442 Add strcasecmp_l-ssse3.
58443 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
58444 strcasecmp.
58445 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
58446 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
58447 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
58448
fe36dd02
UD
584492010-07-30 Ulrich Drepper <drepper@redhat.com>
58450
66f6765a
UD
58451 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
58452
42e08a54
UD
58453 * string/Makefile (strop-tests): Add strcasecmp.
58454 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
58455 strcasecmp_l-nonascii.
58456 (gen-as-const-headers): Add locale-defines.sym.
58457 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
58458 * sysdeps/x86_64/strcasecmp.S: New file.
58459 * sysdeps/x86_64/strcasecmp_l.S: New file.
58460 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
58461 * sysdeps/x86_64/locale-defines.sym: New file.
58462 * string/test-strcasecmp.c: New file.
58463
fe36dd02
UD
58464 * string/test-strcasestr.c: Test both ends of the range of characters.
58465 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
58466
48cbc0d6
RM
584672010-07-29 Roland McGrath <roland@redhat.com>
58468
76e6d6bc 58469 [BZ #11856]
48cbc0d6
RM
58470 * manual/locale.texi (Yes-or-No Questions): Fix example code.
58471
880113d9
UD
584722010-07-27 Ulrich Drepper <drepper@redhat.com>
58473
58474 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
58475 for ld.so.
58476
deb9cabb
AS
584772010-07-27 Andreas Schwab <schwab@redhat.com>
58478
58479 * manual/memory.texi (Malloc Tunable Parameters): Document
58480 M_PERTURB.
58481
1c7570ff
RM
584822010-07-26 Roland McGrath <roland@redhat.com>
58483
58484 [BZ #11840]
58485 * configure.in (-fgnu89-inline check): Set and substitute
58486 gnu89_inline, not libc_cv_gnu89_inline.
58487 * configure: Regenerated.
58488 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
58489
24fb0f88
UD
584902010-07-26 Ulrich Drepper <drepper@redhat.com>
58491
58492 * string/test-strnlen.c: New file.
58493 * string/Makefile (strop-tests): Add strnlen.
58494 * string/tester.c (test_strnlen): Add a few more test cases.
58495 * string/tst-strlen.c: Better error reporting.
58496
58497 * sysdeps/x86_64/strnlen.S: New file.
58498
8e96b93a
UD
584992010-07-24 Ulrich Drepper <drepper@redhat.com>
58500
58501 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
58502 lower-latency instructions.
58503
dbc676d4
UD
585042010-07-23 Ulrich Drepper <drepper@redhat.com>
58505
58506 * string/test-strcasestr.c: New file.
58507 * string/test-strstr.c: New file.
58508 * string/Makefile (strop-tests): Add strstr and strcasestr.
58509 * string/str-two-way.h: Don't undefine MAX.
58510 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
58511
f6a31e0e
AS
585122010-07-21 Andreas Schwab <schwab@redhat.com>
58513
58514 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58515 strcasestr-nonascii.
58516 (CFLAGS-strcasestr-nonascii.c): Define.
58517 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
58518 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
58519 Remove unused attribute.
58520
5dbc3b6c
RM
585212010-07-20 Roland McGrath <roland@redhat.com>
58522
58523 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
58524 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
58525 ld.so.cache was broken. With it, there is no way to disable dsocaps
58526 like LD_HWCAP_MASK can disable hwcaps.
58527
23d101d8
EPM
585282010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
58529
58530 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
58531
cc9f2e47
UD
585322010-07-16 Ulrich Drepper <drepper@redhat.com>
58533
58534 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
58535 call in strcasestr.
58536 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
58537 __strcasestr_sse42_nonascii.
58538 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
58539 strcasestr-nonascii.c.
58540 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
58541
77c1b069
LM
585422010-06-15 Luis Machado <luisgpm@br.ibm.com>
58543
58544 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
58545 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
58546 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
58547 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
58548
440566c3
UD
585492010-07-09 Ulrich Drepper <drepper@redhat.com>
58550
58551 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
58552 fcntl.
58553
5be9d05d
AS
585542010-07-06 Andreas Schwab <schwab@redhat.com>
58555
c30b7ee2 58556 [BZ #11577]
5be9d05d
AS
58557 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
58558 dl_signal_cerror.
58559
8a492a67
UD
585602010-07-06 Ulrich Drepper <drepper@redhat.com>
58561
58562 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
58563 _PC_PIPE_BUF using F_GETPIPE_SZ.
58564
713df3d5
RM
585652010-07-05 Roland McGrath <roland@redhat.com>
58566
58567 * manual/arith.texi (Rounding Functions): Fix rint description
58568 implicit in round description.
58569
702e8f14
UD
585702010-07-02 Ulrich Drepper <drepper@redhat.com>
58571
58572 * elf/Makefile: Fix linking for a few tests to make recent linker
58573 happy.
58574
52ed8be9
AS
585752010-06-30 Andreas Schwab <schwab@redhat.com>
58576
58577 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
58578 $(common-objpfx)libc_nonshared.a.
58579
f47c9a11
LM
585802010-06-21 Luis Machado <luisgpm@br.ibm.com>
58581
58582 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
58583 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
58584 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
58585 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
58586 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
58587 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
58588 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
58589 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
58590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
58591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
58592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
58593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
58594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
58595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
58596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
58597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
58598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
58599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
58600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
58601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
58602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
58603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
58604 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
58605 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
58606 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
58607 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
58608 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
58609 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
58610 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
58611 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
58612 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
58613 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
58614 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
58615 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
58616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
58617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
58618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
58619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
58620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
58621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
58622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
58623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
58624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
58625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
58626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
58627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
58628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
58629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
58630
6fb8cbcb
L
586312010-06-25 H.J. Lu <hongjiu.lu@intel.com>
58632
58633 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
58634 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
58635 * string/memmove.c (memmove): Renamed to ...
58636 (MEMMOVE): ...this. Default to memmove.
58637 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
58638 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
58639 (END_CHK): Define.
58640 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58641 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
58642 mempcpy-ssse3-back memmove-ssse3-back.
58643 * sysdeps/x86_64/multiarch/bcopy.S: New file .
58644 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
58645 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
58646 * sysdeps/x86_64/multiarch/memcpy.S: New file.
58647 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
58648 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
58649 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
58650 * sysdeps/x86_64/multiarch/memmove.c: New file.
58651 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
58652 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
58653 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
58654 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
58655 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
58656 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
58657 Define.
58658 (index_Fast_Copy_Backward): Define.
58659 (HAS_ARCH_FEATURE): Define.
58660 (HAS_FAST_REP_STRING): Define.
58661 (HAS_FAST_COPY_BACKWARD): Define.
58662
4e733bac 586632010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
58664
58665 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
58666 Restore proper fallback handling.
58667
63c4ed22
UD
586682010-06-19 Ulrich Drepper <drepper@redhat.com>
58669
ac2b484c
UD
58670 [BZ #11701]
58671 * posix/group_member.c (__group_member): Correct checking loop.
58672
63c4ed22
UD
58673 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
58674 OOM in getpwuid_r correctly. Return error number when the caller
58675 should return, otherwise -1.
58676 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
58677 call returning > 0 value.
58678 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
58679
765ade4b
AS
586802010-06-07 Andreas Schwab <schwab@redhat.com>
58681
58682 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
58683 libc_nonshared.a from targets in modules-names.
58684
80da2e09
KS
586852010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
58686
58687 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
58688 requires it.
58689
158db122
LM
586902010-06-10 Luis Machado <luisgpm@br.ibm.com>
58691
58692 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
58693 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
58694 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
58695 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
58696
caa78cf8
AS
586972010-06-02 Andreas Schwab <schwab@redhat.com>
58698
58699 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
58700
b2ef2c01
UD
587012010-06-14 Ulrich Drepper <drepper@redhat.com>
58702
58703 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
58704 and F_GETPIPE_SZ.
58705 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
58706 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
58707 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
58708 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
58709 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
58710 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
58711
fbd643b6
RM
587122010-06-14 Roland McGrath <roland@redhat.com>
58713
58714 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
58715
f32f2869
JJ
587162010-06-07 Jakub Jelinek <jakub@redhat.com>
58717
58718 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
58719 __REDIRECT followed by __THROW.
58720 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
58721 * posix/getopt.h (getopt): Likewise.
58722
2a50c078
EPM
587232010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
58724
58725 * hurd/lookup-at.c (__file_name_lookup_at): Accept
58726 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
58727 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
58728 in AT_FLAGS.
58729 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
58730 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
58731
eb5ad2eb
LM
587322010-05-28 Luis Machado <luisgpm@br.ibm.com>
58733
58734 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
58735
3c88fe1e
L
587362010-05-26 H.J. Lu <hongjiu.lu@intel.com>
58737
58738 [BZ #11640]
58739 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58740 Properly check family and model.
58741
d2f73151
TY
587422010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
58743
58744 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
58745
ebd2e13d
LM
587462010-05-24 Luis Machado <luisgpm@br.ibm.com>
58747
58748 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
58749
b32b8b45
UD
587502010-05-21 Ulrich Drepper <drepper@redhat.com>
58751
58752 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
58753 symbol reference.
58754
9acbe24d
AS
587552010-05-19 Andreas Schwab <schwab@redhat.com>
58756
58757 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
58758 symbol reference.
58759
f0ccf6ea
AS
587602010-05-21 Andreas Schwab <schwab@redhat.com>
58761
3d04ff3a
AS
58762 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
58763 and internal_recvmmsg.
58764 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
58765 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
58766 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
58767 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
58768
f0ccf6ea
AS
58769 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
58770 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
58771 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
58772
5b08ac57
AS
587732010-05-20 Andreas Schwab <schwab@redhat.com>
58774
58775 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
58776
4828935d
LM
587772010-05-17 Luis Machado <luisgpm@br.ibm.com>
58778
58779 POWER7 optimizations.
58780 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
58781 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
58782
373d545e
UD
587832010-05-19 Ulrich Drepper <drepper@redhat.com>
58784
58785 * version.h: Update for 2.13 development version.
58786
21a2b1ae
AS
587872010-05-12 Andrew Stubbs <ams@codesourcery.com>
58788
58789 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
58790 exceptions. Return 0.
58791
3f7dcb2b
RM
587922010-05-07 Roland McGrath <roland@redhat.com>
58793
58794 * elf/ldconfig.c (main): Add a const.
58795
5f24d53a 587962010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 58797
a160f8d8
UD
58798 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
58799 (args_options): Add no-idn option.
58800 (ahosts_keys_int): Add idn_flags to ai_flags.
58801 (parse_option): Handle 'i' option to clear idn_flags.
58802
5f24d53a
UD
58803 * malloc/malloc.c (_int_free): Possible race in the most recently
58804 added check. Only act on the data if no current modification
58805 happened.
265bb1ce
UD
58806
58807See ChangeLog.17 for earlier changes.