]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Split locale generation snippet into a separate file
[thirdparty/glibc.git] / ChangeLog
CommitLineData
0f4840be
OB
12015-05-12 Ondřej Bílka <neleai@seznam.cz>
2
3 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
4 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
5
7327b333
RM
62015-05-12 Roland McGrath <roland@hack.frob.com>
7
8 * posix/uname-values.h: New file.
9 * posix/uname.c: Include that instead of <config-name.h>.
10 * sysdeps/nacl/uname-values.h: New file.
11 * sysdeps/arm/nacl/uname-values.h: New file.
12
8e65ea4d
JM
132015-05-12 Joseph Myers <joseph@codesourcery.com>
14
15 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
16 splitting into fields.
17
f13c2a8d
LH
182015-05-12 Leonhard Holz <leonhard.holz@web.de>
19
20 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
21 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
22 * locale/localeinfo.h: Add enum collation_encoding_type.
23 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
24 * programs/ld-collate.c (collate_output): Add encoding type info.
25 * string/strcoll_l.c (STRDIFF): New function.
26 * (STRCOLL): Use STRDIFF to skip over equal prefix.
27 * wcsmbs/wcscoll_l.c: Define STRDIFF.
28
34cb304e
JM
292015-05-11 Joseph Myers <joseph@codesourcery.com>
30
31 [BZ #18397]
32 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
33 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
34 <fpu_control.h> instead of <math/fpu_control.c>.
35 * sysdeps/mips/mips32/fpu/Makefile: New file.
36
b13b96ca
AS
372015-05-11 Andreas Schwab <schwab@suse.de>
38
39 [BZ #18007]
40 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
41 nss_endgrent.
42 (_nss_compat_endgrent): Call nss_endgrent.
43 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
44 nss_endpwent.
45 (_nss_compat_endpwent): Call nss_endpwent.
46 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
47 needent, call nss_setspent only if non-zero.
48 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
49 (internal_endspent): Don't call nss_endspent.
50 (_nss_compat_endspent): Call nss_endspent.
51 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
52 Remove. All uses removed.
53 (internal_setent): Remove parameter stayopen, add parameter
54 stream. Use it instead of global variable.
55 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
56 (internal_endent, internal_getent): Add parameter stream. Use it
57 instead of global variable.
58 (CONCAT(_nss_files_end,ENTNAME))
59 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
60 (_nss_files_get##name##_r): Pass local stream. Remove locking.
61 * nss/nss_files/files-alias.c (position, last_use): Remove. All
62 uses removed.
63 (internal_setent, internal_endent): Add parameter stream. Use it
64 instead of global variable.
65 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
66 stream.
67 (get_next_alias): Add parameter stream.
68 (_nss_files_getaliasent_r): Pass global stream.
69 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
70 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
71 (_nss_files_gethostbyname4_r): Pass local stream to
72 internal_setent, internal_getent and internal_endent. Remove
73 locking.
74
e1b6cb04
SL
752015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
76
77 * tst-strfmon1.c (tests): Update expected currency symbol.
78
c4c977c6
RM
792015-05-08 Roland McGrath <roland@hack.frob.com>
80
81 * sysdeps/nacl/gethostname.c: New file.
82
14f36098
JM
832015-05-08 Joseph Myers <joseph@codesourcery.com>
84
85 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
86 and sinh.
87 * math/auto-libm-test-out: Regenerated.
88 * sysdeps/i386/fpu/libm-test-ulps: Update.
89 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
90
c92d40c0
CD
912015-05-08 Carlos O'Donell <carlos@redhat.com>
92
93 [BZ #18125]
94 * stdlib/tst-setcontext3.c: New file.
95 * stdlib/tst-setcontext3.sh: New file.
96 * stdlib/Makefile (tests): Add tst-setcontext3.
97 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
98 to verify test program created output file.
99 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
100 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
101 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
102 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
103
48276b67
RM
1042015-05-06 Roland McGrath <roland@hack.frob.com>
105
b5fe8ec8
RM
106 [BZ #18383]
107 * elf/tst-tlsalign.c: New file.
108 * elf/tst-tlsalign-static.c: New file.
109 * elf/tst-tlsalign-lib.c: New file.
110 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
111 (tests-static): Add tst-tlsalign-static.
112 (modules-names): Add tst-tlsalign-lib.
113 (test-xfail-tst-tlsalign): New variable.
114 (test-xfail-tst-tlsalign-static): New variable.
115
48276b67
RM
116 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
117 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
118
471dffa1
JM
1192015-05-06 Joseph Myers <joseph@codesourcery.com>
120
121 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
122 csqrt, erfc, sin and sincos.
123 * math/auto-libm-test-out: Regenerated.
124 * sysdeps/i386/fpu/libm-test-ulps: Update.
125 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
126
eda361c8
WD
1272015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
128
129 * sysdeps/aarch64/libm-test-ulps: Update.
130
31450d9a
JM
1312015-05-05 Joseph Myers <joseph@codesourcery.com>
132
133 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
134 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
135 * math/auto-libm-test-out: Regenerated.
136 * sysdeps/i386/fpu/libm-test-ulps: Update.
137 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
138
a6ab6ccd
DM
1392015-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
140
141 [BZ #18265]
142 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
143 (wcsncpy): Likewise.
144
d0ccd0d9
FW
1452015-05-05 Florian Weimer <fweimer@redhat.com>
146
147 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
148 Assume __ASSUME_FALLOCATE is always true.
149 * sysdeps/unix/sysv/linux/posix_fallocate64.c
150 (__posix_fallocate64_l64): Likweise.
151 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
152 (posix_fallocate): Likewise.
153 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
154 (__posix_fallocate64_l64): Likewise.
155 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
156 [!__ASSUME_FALLOCATE]: Add comment.
157
4bd40bcf
FW
1582015-05-05 Florian Weimer <fweimer@redhat.com>
159
160 * sysdeps/unix/sysv/linux/i386/Makefile
161 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
162 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
163 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
164 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
165 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
166 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
167 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
168
305392ea
JM
1692015-05-02 Joseph Myers <joseph@codesourcery.com>
170
171 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
172 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
173 tgamma.
174 * math/auto-libm-test-out: Regenerated.
175 * sysdeps/i386/fpu/libm-test-ulps: Update.
176 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
177
a0d31f36
JM
1782015-05-01 Joseph Myers <joseph@codesourcery.com>
179
51e15247
JM
180 * math/auto-libm-test-in: Add more tests of tgamma.
181 * math/auto-libm-test-out: Regenerated.
182 * sysdeps/i386/fpu/libm-test-ulps: Update.
183 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
184
5ffb9a53
JM
185 * math/auto-libm-test-in: Add more tests of tanh.
186 * math/auto-libm-test-out: Regenerated.
187 * sysdeps/i386/fpu/libm-test-ulps: Update.
188 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
189
0957e15d
JM
190 * math/auto-libm-test-in: Add more tests of tan.
191 * math/auto-libm-test-out: Regenerated.
192 * sysdeps/i386/fpu/libm-test-ulps: Update.
193 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
194
827bb585
JM
195 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
196 * math/auto-libm-test-out: Regenerated.
197 * sysdeps/i386/fpu/libm-test-ulps: Update.
198 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
199
86793ae7
JM
200 * math/auto-libm-test-in: Add another test of pow.
201 * math/auto-libm-test-out: Regenerated.
202 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
203
038e4be9
JM
204 * math/auto-libm-test-in: Add more tests of lgamma.
205 * math/auto-libm-test-out: Regenerated.
206 * sysdeps/i386/fpu/libm-test-ulps: Update.
207 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
208
a0d31f36
JM
209 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
210 log1p.
211 * math/auto-libm-test-out: Regenerated.
212 * sysdeps/i386/fpu/libm-test-ulps: Update.
213 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
214
b4336ba4
MW
2152015-05-01 Mark Wielaard <mjw@redhat.com>
216
217 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
218 Elf64_Chdr structs and ELFCOMPRESS constants.
219
c5a3a509
JM
2202015-05-01 Joseph Myers <joseph@codesourcery.com>
221
e1483b36
JM
222 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
223 expm1.
224 * math/auto-libm-test-out: Regenerated.
225 * sysdeps/i386/fpu/libm-test-ulps: Update.
226 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
227
c5a3a509
JM
228 * math/auto-libm-test-in: Add more tests of erf and erfc.
229 * math/auto-libm-test-out: Regenerated.
230 * sysdeps/i386/fpu/libm-test-ulps: Update.
231 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
232
44cb254f
SN
2332015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
234
235 * config.h.in (HAVE_AARCH64_BE): Add.
236
0833cecd
JM
2372015-04-30 Joseph Myers <joseph@codesourcery.com>
238
9862ab1f
JM
239 * math/auto-libm-test-in: Add more tests of csqrt.
240 * math/auto-libm-test-out: Regenerated.
241 * sysdeps/i386/fpu/libm-test-ulps: Update.
242 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
243
094fca83
JM
244 * math/auto-libm-test-in: Add more tests of cosh and sinh.
245 * math/auto-libm-test-out: Regenerated.
246 * sysdeps/i386/fpu/libm-test-ulps: Update.
247 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
248
0833cecd
JM
249 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
250
314647f7
RM
2512015-04-29 Roland McGrath <roland@hack.frob.com>
252
45c2c564
RM
253 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
254 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
255
3600cf1e
RM
256 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
257 (euidaccess, eaccess): Define as weak aliases.
258
314647f7
RM
259 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
260 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
261 but __suseconds_t is often 'long int' so some sources assume that
262 type is being used (e.g. they use %ld to print tv_usec).
263
03d2730b
FW
2642015-04-29 Florian Weimer <fweimer@redhat.com>
265
266 [BZ #18007]
267 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
268 (CVE-2014-8121)
269 * nss/tst-nss-getpwent.c: New file.
270 * nss/Makefile (tests): Add new test.
271
7d0b2575
JM
2722015-04-28 Joseph Myers <joseph@codesourcery.com>
273
274 [BZ #18346]
275 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
276 exponents less than 48 as cases where high part of mantissa needs
277 examining to determine whether argument is integral.
278 * math/libm-test.inc (round_test_data): Add more tests.
279
fb4041ae
MW
2802015-04-28 Mark Wielaard <mjw@redhat.com>
281
282 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
283
3f2e21e9
DM
2842015-04-27 David S. Miller <davem@davemloft.net>
285
286 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
287 __tls_get_addr.
288 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
289
5cffc05e
L
2902015-04-27 H.J. Lu <hongjiu.lu@intel.com>
291
292 [BZ#18333]
293 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
294
cc8dcf96
FW
2952015-04-27 Florian Weimer <fweimer@redhat.com>
296
297 [BZ#18333]
298 * time/tzset.c (parse_tzname): Return error on memory allocation
299 failure.
300 * test-skeleton.c (struct temp_name_list): Change type of name
301 member to non-const.
302 (add_temp_file): Create a copy of the file name.
303 (delete_temp_files): Deallocate memory.
304 (create_temp_file): Add comment.
305
2dd6ee79
FW
3062015-04-24 Florian Weimer <fweimer@redhat.com>
307
308 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
309 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
310
c25fec6f
RM
3112015-04-24 Roland McGrath <roland@hack.frob.com>
312
313 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
314 * sysdeps/arm/configure: Regenerated.
315
42261ad7
FW
3162015-04-24 Florian Weimer <fweimer@redhat.com>
317
318 [BZ #17715]
319 * time/tzfile.c (__tzfile_read): Check for large values of
320 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
321 * time/tzset.c (__tzstring_len): New function, based on the old
322 __tzstring function.
323 (__tzstring): Call __tzstring_len.
324 (parse_tzname): New helper function extracted from
325 __tzset_parse_tz. Call __tzstring_len, without making a copy of
326 the input string.
327 (parse_offset): New helper function extracted from
328 __tzset_parse_tz. Replace switch with fallthrough with
329 initialization before sscanf.
330 (parse_rule): Likewise.
331 (__tzset_parse_tz): Rewrite using the new helper functions. Use
332 new-style function definition.
333 * timezone/Makefile (tests): Add tst-tzset.
334 (tst-tzset.out): Dependencies on time zone files.
335 (tst-tzset-ENV): Set TZDIR.
336 (testdata/XT%): Copy crafted time zone files.
337 * timezone/README: Mention crafted time zone files.
338 * timezone/testdata/XT1, timezone/testdata/XT2,
339 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
340 files.
341 * timezone/tst-tzset.c: New test.
342
ed159672
FW
3432015-04-24 Florian Weimer <fweimer@redhat.com>
344
345 * Makeconfig (+gccwarn): Remove -Winline.
346
8666ab5c
SL
3472015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
348
349 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
350
f7fba805
SL
3512015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
352
353 * NEWS: Mention sysconf() cache information support for s390.
354 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
355
92f28979
WD
3562015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
357
358 * math/k_casinh.c (__kernel_casinh): Use __copysign.
359 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
360 (__nearbyint): Likewise.
361 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
362 (copysignl): Likewise.
363
2959eda9
AS
3642015-04-21 Arjun Shankar <arjun.is@lostca.se>
365
366 [BZ #18287]
367 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
368 based on padding. (CVE-2015-1781)
369
7bf8fb10
AZ
3702015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
371
372 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
373 libc-vdso.h.
374 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
375 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
376 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
377 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
378 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
379 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
380 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
381 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
382 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
383 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
384 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
385 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
386 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
387 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
388 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
389 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
390 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
391 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
392 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
393 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
394 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
395 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
396 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
397
03c1e456
PE
3982015-04-19 Paul Eggert <eggert@cs.ucla.edu>
399
400 * stdlib/setenv.c (__add_to_environ):
401 Dump core quickly if setenv (..., NULL, ...) is called.
402 This time, do it the right way, and pacify GCC with a pragma.
403
328c44c3
RM
4042015-04-17 Roland McGrath <roland@hack.frob.com>
405
2bd2cad9
RM
406 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
407 IMAP->l_prev cannot be null, and #if out the code for the contrary
408 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
409 believe that NS (&_dl_ns[NSID]) could point outside the array.
410
328c44c3
RM
411 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
412 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
413 before using NSID as an index.
414
aa4980fc
DM
4152015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
416
417 [BZ #17825]
418 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
419 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
420 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
421
d1e44df1
RM
4222015-04-17 Roland McGrath <roland@hack.frob.com>
423
424 Add preliminary port to Google Native Client on ARM.
425 * abi-tags (.*-.*-nacl.*): New entry.
426 * sysdeps/arm/nacl: New directory.
427 * sysdeps/nacl: New directory.
428
f7092599
DM
4292015-04-16 David S. Miller <davem@davemloft.net>
430
431 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
432 lowlevellock-futex.h
433
da6989f9
CM
4342015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
435
436 * sysdeps/tile/configure.ac: New file.
437 * sysdeps/tile/configure: Regenerated.
438
fb78612a
AZ
4392015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
440
441 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
442 conditionals for weak_alias and libc_hidden_weak.
443 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
444 libc_hidden_weak and weak_alias.
445 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
446 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
447 and weak_alias for static one.
448
a8b6a3a6
DM
4492015-04-15 David S. Miller <davem@davemloft.net>
450
451 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
452
920a0395
SL
4532015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
454
455 [BZ #18206]
456 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
457 Use signed comparision instead of substraction to avoid
458 overflow bug.
459 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
460 Take the sign of ret.
461 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
462 Do not expect precise return values. Only the sign matters.
463 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
464 * wcsmbs/test-wcsncmp.c: New File.
465 * string/test-strncmp.c: Add wcsncmp support.
466
de8aadd5
SL
4672015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
468
469 [BZ #6792]
470 * math/w_log1p.c: New file.
471 * math/w_log1pf.c: Likewise.
472 * math/w_log1pl.c: Likewise.
473 * math/Makefile (libm-calls): Add w_log1p.
474 * math/s_log1pl.c (log1pl): Remove weak_alias.
475 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
476 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
477 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
478 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
479 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
480 [NO_LONG_DOUBLE] (log1pl): Likewise.
481 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
482 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
483 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
484 (log1p): Remove long_double_symbol.
485 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
486 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
487 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
488 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
489 remove weak_alias for corresponding log1p function.
490 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
491 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
492 * sysdeps/ia64/fpu/w_log1p.c: New file.
493 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
494 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
495 * math/libm-test.inc (log1p_test_data): Add errno expectations.
496
5556d30c
JM
4972015-04-10 Joseph Myers <joseph@codesourcery.com>
498
499 [BZ #18247]
500 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
501 decimal exponent by 1.
502 * stdlib/tst-strtod-round-data: Add more tests.
503 * stdlib/tst-strtod-round.c (tests): Regenerated.
504
b3c66c53
JM
5052015-04-09 Joseph Myers <joseph@codesourcery.com>
506
507 * math/auto-libm-test-in: Add more tests of clog and clog10.
508 * math/auto-libm-test-out: Regenerated.
509 * sysdeps/i386/fpu/libm-test-ulps: Update.
510 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
511
b0b88abc
RM
5122015-04-09 Roland McGrath <roland@hack.frob.com>
513
8a257e2c
RM
514 * Makeconfig (module-cppflags): Exclude all .v.i files.
515 (skip-module-cppflags): Variable removed.
516
05439291
RM
517 * configure.ac (libc_config_ok): Initialize before reading
518 preconfigure scripts, not after.
519 * configure: Regenerated.
520
b0b88abc
RM
521 * test-skeleton.c (TIMEOUT): Move #define to top level.
522 (main): Grok environment variable TEST_DIRECT. If set, print
523 test expectation details into that file and then behave as if
524 given --direct.
525
2902af16
FW
5262015-04-09 Florian Weimer <fweimer@redhat.com>
527
528 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
529 warning on 32-bit.
530
23ebf743
DM
5312015-04-08 David S. Miller <davem@davemloft.net>
532
533 * sysdeps/sparc/fpu/libm-test-ulps: Update.
534
024bcc51
JM
5352015-04-08 Joseph Myers <joseph@codesourcery.com>
536
787d22bc
JM
537 * math/auto-libm-test-in: Add more tests of atanh.
538 * math/auto-libm-test-out: Regenerated.
539 * sysdeps/i386/fpu/libm-test-ulps: Update.
540 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
541
024bcc51
JM
542 * math/auto-libm-test-in: Add more tests of atan.
543 * math/auto-libm-test-out: Regenerated.
544 * sysdeps/i386/fpu/libm-test-ulps: Update.
545 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
546
7b8399f4
FW
5472015-04-08 Florian Weimer <fweimer@redhat.com>
548
549 * elf/pldd.c (main): Rewrite to use struct
550 scratch_buffer instead of extend_alloca.
551 * elf/pldd-xx.c (find_maps): Likewise.
866ba63b
FW
552 * grp/initgroups.c: Include <scratch_buffer.h> instead of
553 <alloca.h>.
554 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
555 scratch_buffer instead of extend_alloca.
556 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
557 grp/compat-initgroups.c.
794a74af
FW
558 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
559 Rewrite to use struct scratch_buffer instead of extend_alloca.
c6ee40da 560 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
561052ad 561 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
7b8399f4 562
ae63c7eb
JM
5632015-04-08 Joseph Myers <joseph@codesourcery.com>
564
da0cf658
JM
565 * math/auto-libm-test-in: Add more tests of cbrt.
566 * math/auto-libm-test-out: Regenerated.
567 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
568
80352c01
JM
569 * math/auto-libm-test-in: Add more tests of cabs.
570 * math/auto-libm-test-out: Regenerated.
571 * sysdeps/i386/fpu/libm-test-ulps: Update.
572 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
573
8431838d
JM
574 [BZ #18210]
575 [BZ #18211]
576 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
577 (__ieee754_atan2): Set FE_TONEAREST mode for internal
578 computations.
579 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
580 clog10.
581 * math/auto-libm-test-out: Regenerated.
582 * sysdeps/i386/fpu/libm-test-ulps: Update.
583 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
584
ae63c7eb
JM
585 [BZ #18197]
586 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
587 (atan): Set FE_TONEAREST mode for internal computations.
588 * math/auto-libm-test-in: Add more tests of atan.
589 * math/auto-libm-test-out: Regenerated.
590
d5856d06
JC
5912015-04-07 James Cowgill <james410@cowgill.org.uk>
592
593 [BZ #17930]
594 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
595
72301304
FW
5962015-04-07 Florian Weimer <fweimer@redhat.com>
597
598 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
599
cfcfd461
FW
6002015-04-07 Florian Weimer <fweimer@redhat.com>
601
602 * include/scratch_buffer.h: New file.
603 * malloc/scratch_buffer_grow.c: Likewise.
604 * malloc/scratch_buffer_grow_preserve.c: Likewise.
605 * malloc/scratch_buffer_set_array_size.c: Likewise.
606 * malloc/tst-scratch_buffer.c: Likewise.
607 * malloc/Makefile (routines): Add scratch_buffer_grow.
608 (tests): Add test case.
609 * malloc/Versions (GLIBC_PRIVATE): Export
610 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
611 __libc_scratch_buffer_set_array_size.
612
cc47c824
RH
6132015-04-06 Richard Henderson <rth@redhat.com>
614
615 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
974c4a36 616 * sysdeps/alpha/fpu/libm-test-ulps: Update.
cc47c824 617
9e8c0381
RH
618 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
619 unsigned int before printing.
620
9781a370
OB
6212015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
622
623 [BZ #17596]
624 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
625 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
626
37d60d97
FW
6272015-04-02 Florian Weimer <fweimer@redhat.com>
628
629 * include/libc-internal.h (libc_max_align_t): Define.
630
b763f6ae
AS
6312015-04-02 Andreas Schwab <schwab@suse.de>
632
633 [BZ #16850]
634 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
635
c26efef9
MG
6362015-04-02 Mel Gorman <mgorman@suse.de>
637
638 [BZ #17195]
639 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
640 as well as the main arena.
641
a3d9ab50
L
6422015-03-31 H.J. Lu <hongjiu.lu@intel.com>
643
644 [BZ #18185]
645 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
646 sharing L2 cache to 2 for Silvermont/Knights Landing.
647
83569fb8
L
6482015-03-31 H.J. Lu <hongjiu.lu@intel.com>
649
650 [BZ #17711]
651 * config.make.in (have-protected-data): New.
652 * configure.ac: Check linker support for protected data symbol.
653 * configure: Regenerated.
654 * elf/Makefile (modules-names): Add tst-protected1moda and
655 tst-protected1modb if $(have-protected-data) is yes.
656 (tests): Add tst-protected1a and tst-protected1b if
657 $(have-protected-data) is yes.
658 ($(objpfx)tst-protected1a): New.
659 ($(objpfx)tst-protected1b): Likewise.
660 (tst-protected1modb.so-no-z-defs): Likewise.
661 * elf/tst-protected1a.c: New file.
662 * elf/tst-protected1b.c: Likewise.
663 * elf/tst-protected1mod.h: Likewise.
664 * elf/tst-protected1moda.c: Likewise.
665 * elf/tst-protected1modb.c: Likewise.
666
62da1e3b
L
6672015-03-31 H.J. Lu <hongjiu.lu@intel.com>
668
669 [BZ #17711]
670 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
671 indicates it is called from do_lookup_x on relocation against
672 protected data, skip the data definion in the executable from
673 copy reloc.
674 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
675 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
676 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
677 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
678 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
679 otherwise to 0.
680 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
681 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
682 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
683 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
684 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
685 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
686
675ddb71
MG
6872015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
688
689 * sysdeps/nptl/pthread.h: Remove duplicate definition of
690 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
691
4d611e12
MG
6922015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
693
694 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
695 THREAD_SETMEM_NC.
696 * sysdeps/x86_64/nptl/tls.h: Ditto.
697
7285eb53
RM
6982015-03-27 Roland McGrath <roland@hack.frob.com>
699
700 * dlfcn/tststatic.c (main): Converted to ...
701 (do_test): ... this.
702 (TEST_FUNCTION): New macro.
703 Include test-skeleton.c.
704
19a6a3ac
AM
7052015-03-26 Alan Modra <amodra@gmail.com>
706
707 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
708 Don't segfault if ifunc resolver returns a NULL. Do set plt to
709 zero for undefined weak.
710 (elf_machine_plt_conflict): Similarly.
711
a9fe4c5a
JM
7122015-03-25 Joseph Myers <joseph@codesourcery.com>
713
efd5b641
JM
714 * math/auto-libm-test-in: Add more tests of acosh, asinh and
715 atanh.
716 * math/auto-libm-test-out: Regenerated.
717 * sysdeps/i386/fpu/libm-test-ulps: Update.
718 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
719
e9b10151
JM
720 * math/auto-libm-test-in: Add another test of asin.
721 * math/auto-libm-test-out: Regenerated.
722 * sysdeps/i386/fpu/libm-test-ulps: Update.
723 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
724
9fa55373
JM
725 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
726 Remove macro.
727 (LLL_EBX_REG): Likewise.
728 (LLL_ENTER_KERNEL): Likewise.
729
38755f14
JM
730 * math/auto-libm-test-in: Add more tests of asin.
731 * math/auto-libm-test-out: Regenerated.
732 * sysdeps/i386/fpu/libm-test-ulps: Update.
733 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
734
a9fe4c5a
JM
735 [BZ #18138]
736 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
737 libc_do_syscall_args): New structure.
738 (INTERNAL_SYSCALL_MAIN_0): New macro.
739 (INTERNAL_SYSCALL_MAIN_1): Likewise.
740 (INTERNAL_SYSCALL_MAIN_2): Likewise.
741 (INTERNAL_SYSCALL_MAIN_3): Likewise.
742 (INTERNAL_SYSCALL_MAIN_4): Likewise.
743 (INTERNAL_SYSCALL_MAIN_5): Likewise.
744 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
745 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
746 Replace conditional definitions by conditional definitions of ....
747 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
748 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
749 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
750 (libpthread-sysdep_routines): Add libc-do-syscall.
751 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
752 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
753 to __NR_futex not 240.
754
afcd9480
AM
7552015-03-25 Alan Modra <amodra@gmail.com>
756
757 * NEWS: Advertise TLS optimization.
758 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
759 (DT_PPC_NUM): Increment.
760 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
761 (CHECK_STATIC_TLS): Use here.
762 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
763 TLS descriptors.
764 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
765 * sysdeps/powerpc/dl-tls.c: New file.
766 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
767 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
768 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
769 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
773
da9f3334
AM
7742015-03-25 Alan Modra <amodra@gmail.com>
775
776 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
777 for overlapping .opd entries" to "support...".
778 * sysdeps/powerpc/powerpc64/configure: Regenerate
779
bc899ea0
JM
7802015-03-25 Joseph Myers <joseph@codesourcery.com>
781
8d643971
JM
782 * math/auto-libm-test-in: Add more tests of acos.
783 * math/auto-libm-test-out: Regenerated.
784 * sysdeps/i386/fpu/libm-test-ulps: Update.
785 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
786
bc899ea0
JM
787 * math/auto-libm-test-in: Add more tests of expm1.
788 * math/auto-libm-test-out: Regenerated.
789 * sysdeps/i386/fpu/libm-test-ulps: Update.
790 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
791
7c84a504
JM
7922015-03-24 Joseph Myers <joseph@codesourcery.com>
793
239ed6f3
JM
794 * math/auto-libm-test-in: Add more tests of cosh and sinh.
795 * math/auto-libm-test-out: Regenerated.
796 * sysdeps/i386/fpu/libm-test-ulps: Update.
797 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
798
a737e826
JM
799 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
800 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
801
7c84a504
JM
802 * math/auto-libm-test-in: Add more tests of log2.
803 * math/auto-libm-test-out: Regenerated.
804 * sysdeps/i386/fpu/libm-test-ulps: Update.
805 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
806
7e9c7b9b
RM
8072015-03-23 Roland McGrath <roland@hack.frob.com>
808
809 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
810 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
811 _IO_IS_APPENDING bit in READ_WRITE instead.
812
98734cc5
FW
8132015-03-23 Florian Weimer <fweimer@redhat.com>
814
815 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
816 (__determine_cpumask_size): Replace extend_alloca with a
817 variable-length array. Do not treat res == 0 as an error.
818
2b028564
FW
8192015-03-23 Florian Weimer <fweimer@redhat.com>
820
821 [BZ #18100]
822 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
823 and integer overflow.
824 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
825 (main): Add integer overflow tests.
826 * manual/pattern.texi (Calling Wordexp): Document additional use
827 for WRDE_SYNTAX.
828
59261ad3
AM
8292015-03-23 Alan Modra <amodra@gmail.com>
830
831 * config.h.in: Remove HAVE_ASM_PPC_REL16.
832 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
833 and false branch of conditional.
834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
835 Likewise.
836
d583531a
ST
8372015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
838
839 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
840 libc-modules.h
868df0f9
ST
841 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
842 unused declaration of _hurd_intr_rpc_msg_in_trap.
843 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
844 defined instead of whether it is non-zero.
845 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
846 input constraint instead of both input and output constraint. Use ecx
847 clobber instead of %ecx.
848 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
849 mutex_unlock): Use a statement expression instead of an expression list.
850 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
851 type to vm_size_t instead of vm_address_t.
852 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
853 defined instead of whether it is non-zero.
854 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
855 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
856 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
857 comparisons with mapaddr.
858 * nscd/nscd-client.h: Include <time.h>.
859 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
860 9th parameter to __vm_region instead of int.
661a7dba 861 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
9e70234c
ST
862 * scripts/check-local-headers.sh (exclude): Add device/,
863 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
864 cthreads.h.
d583531a 865
298e5d56
RM
8662015-03-19 Roland McGrath <roland@hack.frob.com>
867
868 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
869 to account for alignment padding.
870 * sysdeps/arm/memmove.S: Likewise.
871
becb26b8
CM
8722015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
873
874 * sysdeps/unix/sysv/linux/generic/README: New file.
875
c2f5813a
JM
8762015-03-18 Joseph Myers <joseph@codesourcery.com>
877
878 [BZ #18138]
879 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
880 (futex_abstimed_wait)
881 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
882 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
883 of lll_futex_timed_wait.
884
ed6b0fe7
BH
8852015-03-18 Brad Hubbard <bhubbard@redhat.com>
886
887 [BZ #17542]
888 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
889
f8aeae34
AO
8902015-03-17 Alexandre Oliva <aoliva@redhat.com>
891
892 [BZ #17090]
893 [BZ #17620]
894 [BZ #17621]
895 [BZ #17628]
896 * NEWS: Update.
897 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
898 entries with Static TLS too. Skip entries past the end of the
899 allocated DTV, from Alan Modra.
900 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
901 Static TLS DTV entry set up from...
902 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
903 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
904 * nptl/allocatestack.c (init_one_static_tls): ... and here...
905 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
906 for Static TLS.
907 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
908 that the slot we find is associated with the given map before
909 using its generation count.
910 * nptl_db/db_info.c: Include ldsodefs.h.
911 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
912 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
913 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
914 (link_map::l_tls_offset): New struct field.
915 (dtv_t::counter): Likewise.
916 (rtld_global): New struct.
917 (_rtld_global): New rtld variable.
918 (dl_tls_dtv_slotinfo_list): New rtld global field.
919 (dtv_slotinfo_list): New struct.
920 (dtv_slotinfo): Likewise.
921 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
922 (td_lookup): Rename to...
923 (td_mod_lookup): ... this. Use new mod parameter instead of
924 LIBPTHREAD_SO.
925 * nptl_db/td_thr_tlsbase.c: Include link.h.
926 (dtv_slotinfo_list, dtv_slotinfo): New functions.
927 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
928 addresses even if the DTV is out of date or missing them.
929 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
930 index zero-length arrays.
931 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
932 (td_lookup): Make it a macro implemented in terms of...
933 (td_mod_lookup): ... this declaration.
934 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
935 (DB_MAIN_VARIABLE): Likewise.
936
b97eb2bd
L
9372015-03-16 H.J. Lu <hongjiu.lu@intel.com>
938
939 [BZ #18134]
940 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
941
cb219290
PE
9422015-03-15 Paul Eggert <eggert@cs.ucla.edu>
943
944 * stdlib/setenv.c (__add_to_environ): Revert previous change.
945
a3905fd9
AS
9462015-03-14 Andreas Schwab <schwab@linux-m68k.org>
947
948 [BZ #18128]
949 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
950 (atomic_add, atomic_increment_and_test)
951 (atomic_decrement_and_test): Fix 64-bit arithmetic.
952
2ecccaed
PE
9532015-03-13 Paul Eggert <eggert@cs.ucla.edu>
954
955 * stdlib/setenv.c (__add_to_environ):
956 Dump core quickly if setenv (..., NULL, ...) is called.
957
cdaf79d0
RM
9582015-03-13 Roland McGrath <roland@hack.frob.com>
959
960 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
961 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
962 all the necessary asm magic in one place.
963 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
964 using those.
965
cf9313e7
CD
9662015-03-13 Carlos O'Donell <carlos@redhat.com>
967
968 [BZ #14906]
969 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
970 traced file mtime. Use consistent log message.
971 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
972 (register_traced_file): Call install_watches. Always set mtime.
973 (invalidate_cache): Iterate over all trace files. Call install_watches.
974 (inotify_check_files): Don't inline. Handle watching parent
975 directories and configuration file movement in and out.
976 (handle_inotify_events): New function.
977 (main_loop_poll): Call handle_inotify_events.
978 (main_loop_epoll): Likewise.
979 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
980 (struct traced_file): Use array of inotify fds. Add parent directory,
981 and basename.
982 (struct database_dyn): Remove unused file_mtime.
983 (init_traced_file): New inline function.
984 (define_traced_file): New macro.
985 * nss/nss_db/db-init.c: Use define_traced_file.
986 (_nss_db_init): Use init_traced_file.
987 * nss/nss_files/files-init.c: Use define_traced_file.
988 (_nss_files_init): Use init_traced_file.
989
7d67a196
JM
9902015-03-12 Joseph Myers <joseph@codesourcery.com>
991
992 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
993 [_LIBC]: Do not include <stdlib.h>.
994 [!_LIBC] (abort): Remove declaration.
995 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
996 _FP_STATIC_ASSERT instead of conditionally calling abort.
997 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
998 (_FP_EXTEND_CNAN): Likewise.
999 (FP_TRUNC): Likewise.
1000 (__FP_CLZ): Likewise.
1001 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
1002
af85ebcd
YS
10032015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
1004
1005 * manual/string.texi (XPG basename): Fix prototype.
1006
2e807f29
SL
10072015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
1008
1009 [BZ #18080]
1010 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
1011 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
1012 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
1013 (__setcontext): Likewise.
1014 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
1015 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
1016 Call rt_sigprocmask syscall one time to set new signal mask
1017 and retrieve the current signal mask instead of two calls.
1018 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
1019 (__swapcontext): Likewise.
1020 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
1021 * stdlib/tst-setcontext2.c: New file.
1022
1b2bebe6
SL
10232015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
1024
1025 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1026
6a1cf708
AJ
10272015-03-11 Aurelien Jarno <aurelien@aurel32.net>
1028
1029 [BZ #18093]
1030 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
1031 the wrong size.
1032
a2d4cf72
PP
10332015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
1034
1035 [BZ #18043]
1036 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
1037
5ca10a0c
AZ
10382015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
1039
1040 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
1041 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
1042 Remove define.
1043 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
1044 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
1045 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
1046 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
1047 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
1048 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
1049 define.
1050 * nptl_db/td_symbol_list.c (td_lookup): Remove
1051 HAVE_ASM_GLOBAL_DOT_NAME code.
1052 * sysdeps/powerpc/powerpc64/configure.ac: Remove
1053 HAVE_ASM_GLOBAL_DOT_NAME check.
1054 * sysdeps/powerpc/powerpc64/configure: Regenerate.
1055 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
1056 (DOT_LABEL): Remove define.
1057 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
1058 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
1059 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
1060 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
1061 (__TLS_GET_ADDR): Likewise.
1062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
1063 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
1064
e4363cfb
CD
10652015-03-11 Carlos O'Donell <carlos@redhat.com>
1066
1067 [BZ #18111]
1068 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
1069 (_FPU_SETCW): Initialize cw from fpsr before storing.
1070 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
1071 (fesetexceptflag): Rewrite using fpu_control.h.
1072 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
1073
fae1aa8d
JDA
10742015-03-11 John David Anglin <danglin@gcc.gnu.org>
1075
1076 [BZ #18110]
1077 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
1078 asms.
1079 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
1080
068a6274
JM
10812015-03-11 Joseph Myers <joseph@codesourcery.com>
1082
1083 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
1084 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
1085 abort.
1086 (_FP_FMA): Likewise.
1087 (_FP_DIV): Likewise.
1088
d3821ab0
RM
10892015-03-10 Roland McGrath <roland@hack.frob.com>
1090
44a6213c
RM
1091 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
1092 with 0 in that case.
1093 * Makefile (summarize-tests): New canned sequence, factored out of
1094 commands for targets tests and xtests. Display summary lines that
1095 don't start with PASS: or XFAIL: rather than ones that do start with
1096 ERROR: or FAIL:. Make the commands fail if any summary lines fail
1097 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
1098 do start with ERROR: or FAIL:.
1099 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
1100 (except for [$(build-shared) = yes]).
1101 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
1102 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
1103 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
1104 * nptl/Makefile: Revert 2015-03-04 changes.
1105 [$(CXX) empty] (tests-unsupported): New variable.
1106 * debug/Makefile: Likewise.
1107
d3821ab0
RM
1108 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
1109 gnulib file. Replace __attribute with __attribute__ throughout.
1110
85ca85ae
CD
11112015-03-10 Carlos O'Donell <carlos@redhat.com>
1112
1113 * sysdeps/hppa/fpu/libm-test-ulps: Update.
1114
6411f81d
JM
11152015-03-10 Joseph Myers <joseph@codesourcery.com>
1116
1117 [BZ #18104]
1118 * math/auto-libm-test-in: Add another test of pow.
1119 * math/auto-libm-test-out: Regenerated.
1120
d421868b
AZ
11212015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1122
1123 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
1124 $(config-cflags-nofma).
1125
a2f8be9c
JM
11262015-03-10 Joseph Myers <joseph@codesourcery.com>
1127
1128 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
1129 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
1130 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
1131 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
1132 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
1133 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
1134 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
1135 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
1136 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
1137 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
1138 Add comment on closing #endif.
1139
01d032e0
PP
11402015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
1141
1142 * posix/wordexp.c (CHAR_IN_SET): New macro.
1143 (parse_param): Use it.
1144
d439bc56
AZ
11452015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1146
1147 * sysdeps/powerpc/fpu/libm-test-ulps: update.
1148
5f85a4bf
PP
11492015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
1150
1151 [BZ #18043]
1152 * posix/wordexp.c (parse_param): Fix buffer overflow.
1153 * posix/wordexp-test.c (test_case): Add test case.
1154
f8ba70e9
PP
11552015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
1156
1157 [BZ #18042]
1158 * posix/wordexp.c (parse_backtick): Fix off-by-one.
1159 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
1160
36103ba2
PP
11612015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
1162
1163 [BZ #18043]
1164 * posix/wordexp-test.c (test_case): Add test for BZ #18043
1165 (do_bz18043): Delete.
1166 (at_page_end): New.
1167 (testit): Refactor to have words at the edge of unreadable page.
1168
18d26750
PP
11692015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
1170
1171 [BZ #16734]
1172 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
1173 Cleanup read-only streams as well.
1174 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
1175
9f95dc5d
ST
11762015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
1177
1178 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
1179 <bits/libc-lockP.h>
1180
b838844b
JM
11812015-03-07 Joseph Myers <joseph@codesourcery.com>
1182
1183 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
1184 on [__KERNEL__].
1185 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
1186 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
1187 * soft-fp/op-common.h (_FP_DECL): Likewise.
1188
e0ed2fb4
L
11892015-03-06 H.J. Lu <hongjiu.lu@intel.com>
1190
1191 * elf/ifuncdep2.c (global): Replace
1192 __attribute__((visibility("protected"))) with
1193 asm (".protected global").
1194 * elf/ifuncmod1.c (global): Likewise.
1195 * elf/ifuncmod5.c (global): Likewise.
1196
fa9dda64
JM
11972015-03-06 Joseph Myers <joseph@codesourcery.com>
1198
1199 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
1200 <asm/sfp-machine.h> instead of <sfp-machine.h>.
1201
4acc27ed
RM
12022015-03-06 Roland McGrath <roland@hack.frob.com>
1203
1204 * manual/install.texi (Configuring and compiling):
1205 Document test-wrapper-env-only.
1206 * INSTALL: Regenerated.
1207
895c30cb
PP
12082015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
1209
1210 [BZ #18043]
1211 * posix/wordexp.c (parse_param): Fix buffer overflow.
1212 * posix/wordexp-test.c (do_bz18043): Add test case.
1213
5df56c7e
VB
12142015-03-06 Vincent Bernat <vincent@bernat.im>
1215
1216 * time/tst-strptime2.c (do_test): Ensure failing tests are
1217 reported correctly.
1218 * time/tst-strptime3.c (do_test): Likewise.
1219
1cdf2ea1
ST
12202015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
1221
1222 Fix aio_error thread-safety.
1cdf2ea1
ST
1223 * sysdeps/pthread/aio_error.c: New file
1224 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
1225 synchronization.
1226
d176a41a
FW
12272015-03-06 Florian Weimer <fweimer@redhat.com>
1228
1229 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
1230 (group_number, vfprintf): Use it.
1597b744
FW
1231 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
1232 (JUMP, REF): Use it.
1233 (WORK_BUFFER_SIZE): New enum constant.
1234 (process_arg, vfprintf): Use it.
d176a41a 1235
7e7af349
RJ
12362015-03-06 Rical Jasan <ricaljasan@pacific.net>
1237
1238 * manual/errno.texi (Error Messages): Complete example function
1239 by adding missing #define.
1240 (program_invocation_name): Add statement indicating GNU
1241 extension and reference which header file declares the variable.
1242 (program_invocation_short_name): Likewise.
1243
4ca8ddfb
MF
12442015-03-06 Mike Frysinger <vapier@gentoo.org>
1245
1246 * manual/errno.texi (Error Messages): Delete strerror ISO C89
1247 compatibility note.
1248
9162c01d
RM
12492015-03-05 Roland McGrath <roland@hack.frob.com>
1250
1251 * Makeconfig (test-wrapper-env-only): New variable.
1252 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
1253 then use that with $(test-wrapper-env-only) rather than using
1254 $(test-wrapper-env) $(run-program-env) $($*-ENV).
1255
209826bc
L
12562015-03-05 H.J. Lu <hongjiu.lu@intel.com>
1257
1258 [BZ #18082]
1259 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
1260 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
1261 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
1262 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
1263 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
1264 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
1265 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
1266 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
1267 Likewise.
1268 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
1269 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
1270 Likewise.
1271 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
1272 Likewise.
1273 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
1274 Likewise.
1275 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
1276 Likewise.
1277 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
1278 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
1279 Likewise.
1280 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
1281 Likewise.
1282 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
1283 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
1284
2cfe32bc
RM
12852015-03-04 Roland McGrath <roland@hack.frob.com>
1286
8bff5aab
RM
1287 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
1288 (ETH_ALEN): New macro.
1289 (struct ether_addr): Use it for length of ether_addr_octet.
1290
2752f338
RM
1291 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
1292 (setdb): Don't call __nss_configure_lookup for "rpc".
1293 (do_test): Don't call test_rpc.
1294 (output_rpcent, test_rpc): Functions moved ...
1295 * sunrpc/test-rpcent.c: ... to this new file.
1296 * sunrpc/Makefile (tests): Add it.
1297
2cfe32bc
RM
1298 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
1299 __xpg_sigpause.
1300 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
1301 * nptl/tst-signal6.c: Likewise.
1302 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
1303 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
1304
e4693aa7
RM
1305 * configure.ac (libc_cv_cxx_link_ok): New check.
1306 Reset CXX to empty if it fails to link.
1307 * configure: Regenerated.
1308 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
1309 bug-atexit3-lib only if $(CXX) is nonempty.
1310 * nptl/Makefile (tests): Likewise for tst-cancel24.
1311 (tests, tests-static): Likewise for tst-cancel24-static.
1312 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
1313 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
e27176ee
RM
1314 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
1315 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
e4693aa7 1316
8e2e833a
AS
13172015-03-04 Andreas Schwab <schwab@suse.de>
1318
1319 [BZ #17631]
1320 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
1321 for non-GCC compilers.
1322 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
1323 Likewise.
1324
85b29045
AZ
13252015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
1326
1327 [BZ #17776]
1328 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
1329 integer before bitwise and assembly operations.
1330 (feclearexcept): Likewise.
1331 * math/test-fenvinline.c: New file.
1332 * math/Makefile: Add test-fenvinline test.
1333
a0af371c
AM
13342015-03-03 Alan Modra <amodra@gmail.com>
1335
1336 [BZ #16512]
1337 * scripts/localplt.awk: Strip off symbol version.
1338 * NEWS: Mention bug fix.
1339
47465629
RM
13402015-03-02 Roland McGrath <roland@hack.frob.com>
1341
1342 * sysdeps/pthread/timer_routines.c
1343 (timer_free_list, thread_free_list, thread_active_list): Make static.
1344
6d08b022
JM
13452015-03-02 Joseph Myers <joseph@codesourcery.com>
1346
1347 [BZ #17779]
1348 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1349 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
1350 Undefine.
1351 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1352 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
1353 Likewise.
1354 * sysdeps/unix/sysv/linux/sh/kernel-features.h
1355 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
1356 Likewise.
1357
c2c6d39f
PP
13582015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
1359
1360 [BZ #18036]
1361 * posix/fnmatch_loop.c (END): Detect invalid pattern.
1362 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
1363
e8b6be00
AS
13642015-03-02 Andreas Schwab <schwab@suse.de>
1365
1366 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
1367 variable name.
1368
1a2d98af
FW
13692015-03-02 Florian Weimer <fweimer@redhat.com>
1370
1371 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
1372 Return error status.
1373
e7f07af5
AO
13742015-02-27 Alexandre Oliva <aoliva@redhat.com>
1375
1376 [BZ #15969]
1377 * locale/findlocale.c (_nl_find_locale): Introduce const
1378 version of loc_name and drop unsafe type casts.
1379
c7b19ca9
RM
13802015-02-27 Roland McGrath <roland@hack.frob.com>
1381
1382 * dlfcn/tststatic2.c (main): Converted to ...
1383 (do_test): ... this.
1384 (TEST_FUNCTION): New macro.
1385 Include test-skeleton.c.
1386
ef4ad06f
L
13872015-02-27 H.J. Lu <hongjiu.lu@intel.com>
1388
1389 [BZ #17711]
1390 * elf/Makefile (tests): Add vismain only if PIE is enabled.
1391 (tests-pie): Add vismain.
1392 (CFLAGS-vismain.c): New.
1393 * elf/vismain.c: Add comments for PIE requirement.
1394
2ca725c5
JM
13952015-02-27 Joseph Myers <joseph@codesourcery.com>
1396
1397 [BZ #18046]
1398 [BZ #18047]
1399 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
1400 0x1p-56L as threshold for just returning the argument.
1401 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
1402 0x1p-32L as threshold for just returning the argument.
1403 * math/auto-libm-test-in: Add more tests of atanh.
1404 * math/auto-libm-test-out: Regenerated.
1405 * sysdeps/i386/fpu/libm-test-ulps: Update.
1406 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
1407
af96be34
WD
14082015-02-27 Wilco Dijkstra wdijkstr@arm.com
1409
1410 * string/bcopy.c (bcopy): Call memmove for performance.
1411
ddcf6798
WD
14122015-02-27 Wilco Dijkstra wdijkstr@arm.com
1413
1414 * string/bzero.c (__bzero): Call memset for performance.
1415
49f476f4
JDA
14162015-02-27 John David Anglin <dave.anglin@bell.net>
1417
b42e14ff 1418 [BZ #18068]
49f476f4
JDA
1419 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
1420 to 00100000.
1421
f8ab5d38
JM
14222015-02-27 Joseph Myers <joseph@codesourcery.com>
1423
1424 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
1425
380bd0fd
JM
14262015-02-26 Joseph Myers <joseph@codesourcery.com>
1427
31331a07
JM
1428 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
1429 (__kernel_standard): Use CSTR macro when setting exc.name.
1430 * sysdeps/ieee754/Makefile [$(subdir) = math]
1431 (CFLAGS-k_standard.c): Remove variable.
1432
09220e66
JM
1433 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
1434 setting p and q from "else if" to "else".
1435 (qzero): Likewise.
1436 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
1437 (qone): Likewise.
1438 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
1439 (qzerof): Likewise.
1440 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
1441 (qonef): Likewise.
1442 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
1443 (qzero): Likewise.
1444 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
1445 (qone): Likewise.
1446
1d9ab20c
JM
1447 [BZ #18038]
1448 [BZ #18039]
1449 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
1450 return pi/2 for arguments below 0x1p-113L.
1451 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
1452 return pi/2 for arguments below 0x1p-106L.
1453 * math/auto-libm-test-in: Add more tests of acos.
1454 * math/auto-libm-test-out: Regenerated.
1455
ec0ce0d3
JM
1456 [BZ #16351]
1457 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
1458 (MO): New macro.
1459 (__ieee754_asin): Force underflow exception for results with small
1460 absolute value.
1461 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
1462 (MO): New macro.
1463 (__ieee754_asinf): Force underflow exception for results with
1464 small absolute value.
1465 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
1466 (__ieee754_asin): Force underflow exception for results with small
1467 absolute value.
1468 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
1469 (__ieee754_asinf): Force underflow exception for results with
1470 small absolute value.
1471 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
1472 (__ieee754_asinl): Force underflow exception for results with
1473 small absolute value.
1474 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
1475 (__ieee754_asinl): Force underflow exception for results with
1476 small absolute value.
1477 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
1478 (__ieee754_asinl): Force underflow exception for results with
1479 small absolute value.
1480 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
1481 Include <math.h>.
1482 * math/auto-libm-test-in: Do not mark underflow exceptions as
1483 possibly missing for bug 16351.
1484 * math/auto-libm-test-out: Regenerated.
1485
380bd0fd
JM
1486 [BZ #18030]
1487 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
1488 of power of 2 down when low part has opposite sign.
1489 * math/libm-test.inc (logb_test_data): Add more tests.
1490
4a28f4d5
AS
14912015-02-26 Andreas Schwab <schwab@suse.de>
1492
1493 [BZ #18032]
1494 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
1495 over collating symbol inside a bracket expression. Minor cleanup.
1496 * posix/tst-fnmatch3.c (do_test): Add test case.
1497
524ae9ea
JM
14982015-02-26 Joseph Myers <joseph@codesourcery.com>
1499
1500 [BZ #18029]
1501 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
1502 Adjust exponent of power of 2 down when low part has opposite
1503 sign.
1504 * math/libm-test.inc (ilogb_test_data): Add more tests.
1505
23d43090
AO
15062015-02-26 Alexandre Oliva <aoliva@redhat.com>
1507
1508 [BZ #15969]
1509 * locale/findlocale.c (_nl_find_locale): Fix constness error in
1510 the previous change.
0d822a01
AO
1511
1512 [BZ #15969]
1513 * locale/findlocale.c (_nl_find_locale): Retry archive search
1514 after alias expansion.
1515
d19df6ac
RM
15162015-02-25 Roland McGrath <roland@hack.frob.com>
1517
ca681b7b
RM
1518 * iconv/tst-iconv3.c (main): Converted to ...
1519 (do_test): ... this.
1520 (TEST_FUNCTION): New macro.
1521 Include test-skeleton.c.
1522
fd1f2f1c
RM
1523 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
1524 (convert): Make function static.
1525 (test_unalign): Likewise. Add const to argument pointee types.
1526 (main): Replace with static function do_test.
1527 Print "Succeeded." only if RET is zero.
1528 (TEST_FUNCTION): New macro.
1529 Include test-skeleton.c.
1530
d19df6ac
RM
1531 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
1532 returns a null pointer.
1533
115e0de7
AZ
15342015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1535
1536 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
1537 to __memcpy_ppc only for static builds.
1538
137cef7d
JM
15392015-02-25 Joseph Myers <joseph@codesourcery.com>
1540
1541 [BZ #18020]
1542 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
1543 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
1544 * math/auto-libm-test-in: Add more tests of asinh.
1545 * math/auto-libm-test-out: Regenerated.
1546 * sysdeps/i386/fpu/libm-test-ulps: Update.
1547 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1548
cb43bb0d
CW
15492015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
1550
1551 [BZ #15850]
1552 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
1553 and ip6_mtuinfo definitions here.
1554 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
1555 in this define too. Update comment.
1556
9be1052b
BS
15572015-02-24 Benno Schulenberg <bensberg@justemail.net>
1558
1559 * elf/sprof.c (load_shobj): Tweak error message to match others.
1560
6807b1db
KE
15612015-02-24 Kevin Easton <kevin@guarana.org>
1562
1563 [BZ #16145] (partial fix)
1564 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
1565 to reduce lock contention.
1566
b433df00
ML
15672015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
1568
1569 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
1570 (struct timex): Update time comment.
1571 (ADJ_SETOFFSET): Define.
1572
440169d6
JM
15732015-02-24 Joseph Myers <joseph@codesourcery.com>
1574
1575 [BZ #18019]
1576 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
1577 2**56 not 2**28 as threshold for log (2x) formula.
1578 * math/auto-libm-test-in: Add more tests of acosh.
1579 * math/auto-libm-test-out: Regenerated.
1580 * sysdeps/i386/fpu/libm-test-ulps: Update.
1581 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1582
ba7d2c54
MF
15832015-02-24 Mike Frysinger <vapier@gentoo.org>
1584
1585 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
1586 parenthesis around the buf assignment.
1587 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
1588
9438b237
JM
15892015-02-24 Joseph Myers <joseph@codesourcery.com>
1590
1591 [BZ #16783]
1592 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
1593 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
1594 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
1595 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
1596 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
1597 * math/libm-test.inc (scalb_test_data): Add more tests.
1598
6909d276
PP
15992015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
1600
1601 [BZ #17916]
1602 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
1603 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
1604
65f6f938
ER
16052015-02-24 Eric Rannaud <e@nanocritical.com>
1606
1607 [BZ #17523]
1608 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
1609 * io/bits/fcntl2.h (open): Use it.
1610 (openat): Likewise.
1611 * io/open.c (__libc_open): Likewise.
1612 * io/open64.c (__libc_open64): Likewise.
1613 * io/open64_2.c (__open64_2): Likewise.
1614 * io/open_2.c (__open_2): Likewise.
1615 * io/openat.c (__openat): Likewise.
1616 * io/openat64.c (__openat64): Likewise.
1617 * io/openat64_2.c (__openat64_2): Likewise.
1618 * io/openat_2.c (__openat_2): Likewise.
1619 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
1620 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
1621 * sysdeps/posix/open64.c (__libc_open64): Likewise.
1622 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
1623 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
1624 (__open_nocancel): Likewise.
1625 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
1626 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
1627 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
1628
3e3002ff
SP
16292015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1630
1631 [BZ #14841]
1632 * resolv/gethnamaddr.c (getanswer): Skip logging if
1633 RES_USE_DNSSEC is set.
1634 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
1635
9813dd58
MF
16362015-02-24 Mike Frysinger <vapier@gentoo.org>
1637
1638 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
1639
7b1ec6a0
AO
16402015-02-23 Alexandre Oliva <aoliva@redhat.com>
1641
1642 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
1643 201304L, for Unicode 7.
1644
d49499c1
L
16452015-02-23 H.J. Lu <hongjiu.lu@intel.com>
1646
1647 [BZ #17836]
1648 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
1649 shared library. Add gmon-start.os otherwise.
1650 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
1651 $(objpfx)gmon-start.os if builing shared library.
1652 ($(objpfx)g$(static-start-installed-name)): Likewise.
1653
51225803
AS
16542015-02-23 Andreas Schwab <schwab@suse.de>
1655
1656 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
1657
bdf1ff05
PP
16582015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
1659
1660 [BZ #17269]
1661 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
1662 (enlarge_userbuf): Likewise.
1663
95296112
CLT
16642015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
1665
1666 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
1667 * math/atest-exp.c (TIMEOUT): Adjust to 200.
1668 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
1669 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
1670
e4a399dc
JM
16712015-02-20 Joseph Myers <joseph@codesourcery.com>
1672
1673 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
1674 expression inside statement expression.
1675
7133957f
SL
16762015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
1677
1678 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
1679 <sysdeps/nptl/lowlevellock.h> and remove macros and
1680 functions that are now defined there.
1681 (SYS_futex): Remove.
1682 (lll_compare_and_swap): Remove.
1683 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
1684
40176158
JM
16852015-02-19 Joseph Myers <joseph@codesourcery.com>
1686
1687 [BZ #17999]
1688 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
1689 instead of scandirat.
1690 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
1691 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
1692 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
1693 __scandirat.
1694 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
1695 (__scandirat): Declare. Use libc_hidden_proto.
1696 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
1697 Remove variable.
1698 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
1699
4629c866
JM
17002015-02-18 Joseph Myers <joseph@codesourcery.com>
1701
1702 [BZ #15319]
1703 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
1704 (MO): New macro.
1705 (__ieee754_atan2): For results with small absolute value, force
1706 underflow exception and remove excess range and precision from
1707 return value.
1708 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
1709 (MO): New macro.
1710 (__ieee754_atan2f): For results with small absolute value, force
1711 underflow exception and remove excess range and precision from
1712 return value.
1713 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
1714 (MO): New macro.
1715 (__atan): For results with small absolute value, force underflow
1716 exception and remove excess range and precision from return value.
1717 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
1718 (MO): New macro.
1719 (__atanf): For results with small absolute value, force underflow
1720 exception and remove excess range and precision from return value.
1721 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
1722 <math.h>.
1723 (__ieee754_atan2): Force underflow exception for results with
1724 small absolute value.
1725 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
1726 <math_private.h>.
1727 (atan): Force underflow exception for results with small absolute
1728 value.
1729 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
1730 (__atanf): Force underflow exception for results with small
1731 absolute value.
1732 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
1733 <math.h>.
1734 (__atanl): Force underflow exception for results with small
1735 absolute value.
1736 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
1737 (__atanl): Force underflow exception for results with small
1738 absolute value.
1739 * sysdeps/x86/fpu/bits/mathinline.h
1740 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
1741 (__ieee754_atan2): Only define inline for long double.
1742 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
1743 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
1744 * math/auto-libm-test-in: Do not mark underflow exceptions as
1745 possibly missing for bug 15319. Add more tests of atan2.
1746 * math/auto-libm-test-out: Regenerated.
1747 * math/libm-test.inc (casin_test_data): Do not mark underflow
1748 exceptions as possibly missing for bug 15319.
1749 (casinh_test_data): Likewise.
1750 * sysdeps/i386/fpu/libm-test-ulps: Update.
1751
9ee16d8b
SE
17522015-02-18 Steve Ellcey <sellcey@imgtec.com>
1753
1754 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
1755 * sysdeps/mips/bits/endian.h: Fix comments.
1756
4ffb1771
JM
17572015-02-18 Joseph Myers <joseph@codesourcery.com>
1758
1759 [BZ #17996]
1760 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
1761 (hdestroy_r): Likewise.
1762 (hsearch_r): Likewise.
1763 (__hcreate_r): Declare and use libc_hidden_proto.
1764 (__hdestroy_r): Likewise.
1765 (__hsearch_r): Likewise.
1766 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
1767 (hcreate): Call __hcreate_r instead of hcreate_r.
1768 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
1769 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
1770 as weak alias of __hcreate_r.
1771 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
1772 __hdestroy_r.
1773 (hsearch_r): Rename to __hsearch_r and define as weak alias of
1774 __hsearch_r.
1775 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
1776 Remove variable.
1777 (test-xfail-XPG4/search.h/linknamespace): Likewise.
1778 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
1779 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
1780 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
1781
94c5a52a
SP
17822015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1783
1784 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
1785 arena_lock into a single arena_get.
1786
8a35c3fe
CD
17872015-02-17 Carlos O'Donell <carlos@redhat.com>
1788
1789 * dl-reloc.c: Inlucde libc-internal.h.
1790 (_dl_try_allocate_static_tls): Call ALIGN_UP.
1791 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
1792 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
1793 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
1794 (grow_heap): Likewise.
1795 * malloc/malloc.c: Include libc-internal.h.
1796 (do_check_malloc): Call powerof2.
1797 (sysmalloc): Use pagesize. Call ALIGN_UP.
1798 (systrim): Use pagesize.
1799 (mremap_chunk): Use pagesize. Call ALIGN_UP.
1800 (__libc_valloc): Use pagesize.
1801 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
1802
1a2325c0
JM
18032015-02-17 Joseph Myers <joseph@codesourcery.com>
1804
1805 [BZ #17991]
1806 * include/sys/resource.h (__getrlimit64): Declare. Use
1807 libc_hidden_proto.
1808 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
1809 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
1810 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
1811 getrlimit64.
1812 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
1813 __getrlimit64.
1814 [!getrlimit64] (getrlimit64): Define as weak alias of
1815 __getrlimit64. Use libc_hidden_weak.
1816 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
1817 using __getrlimit64 not __new_getrlimit64.
1818 (__GI_getrlimit64): Likewise.
1819 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
1820 Likewise.
1821 (__GI_getrlimit64): Likewise.
1822 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
1823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
1824 (getrlimit): Add __getrlimit64 alias.
1825 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
1826 Likewise.
1827 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
1828 Remove variable.
1829 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
1830 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
1831
8ae4bb5a
PP
18322015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
1833
1834 * libio/fileops.c: Add missing sys/mman.h
1835 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
1836
18a218b7
JM
18372015-02-17 Joseph Myers <joseph@codesourcery.com>
1838
1839 * manual/math.texi (Errors in Math Functions): Clarify goals
1840 regarding inexact and underflow exceptions.
1841
e72ad0ef
SE
18422015-02-17 Steve Ellcey <sellcey@imgtec.com>
1843
1844 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
1845 * sysdeps/mips/memset.S: Ditto.
1846
2caa4099
SE
18472015-02-17 Steve Ellcey <sellcey@imgtec.com>
1848
1849 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
1850
f20bfc9b
SL
18512015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
1852
1853 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
1854 (__v1longjmp): Remove versioned symbol.
1855 (__v1siglongjmp): Remove alias and versioned symbol.
1856 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
1857 (__v2siglongjmp): Likewise.
1858
71c06b69
TR
18592015-02-16 Torvald Riegel <triegel@redhat.com>
1860
1861 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
1862
a9a05adb
MF
18632015-02-16 Mike Frysinger <vapier@gentoo.org>
1864
1865 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
1866
ce8fc784
JM
18672015-02-16 Joseph Myers <joseph@codesourcery.com>
1868
1869 [BZ #17987]
1870 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
1871 zero result does not depend on the sign resulting from
1872 subtraction.
1873 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
1874 Likewise.
1875 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
1876 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
1877 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
1878 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
1879 * math/libm-test.inc (remquo_test_data): Add more tests.
1880
0d7036bd
PE
18812015-02-16 Paul Eggert <eggert@cs.ucla.edu>
1882
1883 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
1884 Problem reported by J William Piggott.
1885
86c56b16
JM
18862015-02-16 Joseph Myers <joseph@codesourcery.com>
1887
a820f9b3
JM
1888 [BZ #17978]
1889 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
1890 products 4 * y and 2 * y where those would overflow.
1891 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
1892 Likewise.
1893 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
1894 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
1895 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
1896 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
1897 * math/libm-test.inc (remquo_test_data): Add more tests.
1898
be802953
JM
1899 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
1900
e5e72fe9
JM
1901 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
1902 [defined _COMPILING_NEWLIB].
1903 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
1904 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
1905
86c56b16
JM
1906 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
1907 [!defined __mips_isa_rev || __mips_isa_rev < 6].
1908
35264d14
TR
19092015-02-16 Torvald Riegel <triegel@redhat.com>
1910
1911 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
1912 acquired.
1913
6f49e32a
MF
19142015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
1915
1916 [BZ #17792]
1917 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
1918 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
1919 HOST_STACK_END_ADDR): Likewise.
1920
e525154e
SE
19212015-02-13 Steve Ellcey <sellcey@imgtec.com>
1922
1923 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
1924 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
1925 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
1926
4ab770b7
RM
19272015-02-13 Roland McGrath <roland@hack.frob.com>
1928
1929 * sysdeps/generic/c++-types.data: New file.
1930 * sysdeps/generic/ld.abilist: New file.
1931 * sysdeps/generic/libBrokenLocale.abilist: New file.
1932 * sysdeps/generic/libanl.abilist: New file.
1933 * sysdeps/generic/libc.abilist: New file.
1934 * sysdeps/generic/libcrypt.abilist: New file.
1935 * sysdeps/generic/libdl.abilist: New file.
1936 * sysdeps/generic/libm.abilist: New file.
1937 * sysdeps/generic/libpthread.abilist: New file.
1938 * sysdeps/generic/libresolv.abilist: New file.
1939 * sysdeps/generic/librt.abilist: New file.
1940
d9afe48d
JM
19412015-02-13 Joseph Myers <joseph@codesourcery.com>
1942
1943 [BZ #17569]
1944 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
1945 Compute absolute value of x as modified by fmod, not original
1946 value of x.
1947 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
1948 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
1949 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
1950 RUN_TEST_ffI_f1_mod8.
1951 (remquo_test_data): Add more tests.
1952
3846188b
RM
19532015-02-13 Roland McGrath <roland@hack.frob.com>
1954
1955 * sysdeps/init_array/pt-crti.S: New file.
1956
95c26233
JM
19572015-02-13 Joseph Myers <joseph@codesourcery.com>
1958
1959 [BZ #17967]
1960 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
1961 __builtin_fmaf instead of relying on contraction of a * b + c.
1962
3f293d61
WP
19632015-02-12 J William Piggott <elseifthen@gmx.com>
1964
1965 [BZ #17969]
1966 * manual/time.texi: correct the zoneinfo path in the TZ Variable
1967 node.
1968
e8bd5286
JM
19692015-02-12 Joseph Myers <joseph@codesourcery.com>
1970
1971 [BZ #17964]
1972 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
1973 __builtin_fma instead of relying on contraction of a * b + c.
1974
04f5a636
RM
19752015-02-12 Roland McGrath <roland@hack.frob.com>
1976
96a15749
RM
1977 * Makeconfig (ASFLAGS): Add -Werror=undef.
1978 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
1979 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
1980 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
1981
04f5a636
RM
1982 * Makeconfig (after-link): New variable.
1983 (+link-pie, +link-pie-tests): Use it.
1984 (+link-static, +link-static-tests): Likewise.
1985 (+link, +link-tests): Likewise.
1986 * Makerules (build-module, build-module-asneeded): Likewise.
1987 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
1988 Likewise.
1989 * elf/Makefile ($(objpfx)ld.so): Likewise.
1990
87a629c5
RS
19912015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
1992
1993 [BZ #17965]
1994 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
1995 both struct timeval and struct timespec.
1996
03d95bd4
JM
19972015-02-12 Joseph Myers <joseph@codesourcery.com>
1998
1999 [BZ #16560]
2000 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
2001 and redefine.
2002 (__ieee754_exp2l): Do not multiply small fractional parts by
2003 M_LN2l.
2004 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
2005 small argument.
2006 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
2007 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
2008 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
2009 * math/auto-libm-test-in: Add more tests of exp2.
2010 * math/auto-libm-test-out: Regenerated.
2011
98408b95
RS
20122015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2013
2014 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
2015 unaligned path.
2016
6f741503
AZ
20172015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2018
2019 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
2020 little endian.
2021
2868e070
AS
20222015-02-12 Andreas Schwab <schwab@suse.de>
2023
2024 [BZ #15790]
2025 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
2026 Filter out elision flags from value returned in kind.
2027 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
2028 * nptl/tst-pthread-mutexattr.c: New file.
2029
ebf27d12
ST
20302015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
2031
2032 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
2033 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
2034 into gnu-gnu, and update comment to refer to abi-tags.
2035
d435569c
JM
20362015-02-11 Joseph Myers <joseph@codesourcery.com>
2037
2038 [BZ #15467]
2039 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
2040 (__sincos): Set errno to EDOM for infinite argument.
2041 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
2042 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
2043 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
2044 (__sincosl): Set errno to EDOM for infinite argument.
2045 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
2046 (__sincosl): Set errno to EDOM for infinite argument.
2047 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
2048 (__sincosl): Set errno to EDOM for infinite argument.
2049 * math/libm-test.inc (sincos_test_data): Test errno setting.
2050
d35273f2
LH
20512015-02-11 Leonhard Holz <leonhard.holz@web.de>
2052
2053 * string/strxfrm_l.c: Remove #define STRCMP.
2054 * string/strcoll_l.c: Remove #define STRLEN.
2055 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
2056 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
2057
306bc0d1
JM
20582015-02-10 Joseph Myers <joseph@codesourcery.com>
2059
2060 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
2061 * sysdeps/mips/mips32/sfp-machine.h: ... here.
2062 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
2063 * sysdeps/mips/mips64/Makefile: ... here.
2064 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
2065 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
2066 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
2067 * sysdeps/mips/mips64/sfp-machine.h: ... here.
2068 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
2069 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
2070 * sysdeps/mips/mips64/n64/Implies: Likewise.
2071
92b67e8d
RM
20722015-02-10 Roland McGrath <roland@hack.frob.com>
2073
2074 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
2075 <sys/time.h>, <string.h>, and <errno.h>.
2076 (dest_offset, dest_address, value, zero): Remove unused variables.
2077 (ldouble): Remove typedef.
2078 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
2079 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
2080 1). Fix code style.
2081 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
2082 (check): Function removed.
2083 (CHECK): New macro.
2084 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
2085 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
2086 Don't call set_sigaction_FP and remove_sigaction_FP here.
2087 (ldouble_test): Just use 'long double' as macro argument, no need for
2088 the 'ldouble' typedef.
2089 (do_test): Set up SIGFPE handler at start, using plain signal rather
2090 than sigaction. Fix code style.
2091
132a1328
EF
20922015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
2093
2094 [BZ #17949]
2095 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
2096 jump label.
2097
3001e54c
AZ
20982015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
2099
bc0cdc49
AZ
2100 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
2101 * sysdeps/powerpc/powerpc32/configure: Regenerated.
2102
83658961
AZ
2103 * sysdeps/powerpc/configure.ac: Remove file.
2104 * sysdeps/powerpc/configure: Likewise.
2105
10169938
AZ
2106 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
2107 [sysdep_routines]: Remove wordcopy-power6 object.
2108 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
2109 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
2110 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
2111 (__memmove_ppc32): Likewise.
2112 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
2113 file.
2114 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
2115 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
2116 Remove preprocessor.
2117
8548a53d
AZ
2118 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
2119 [sysdep_routines]: Remove wide chars objects.
2120 [wcsmbs]: New rule for wide char objects.
2121
b2692114
AZ
2122 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2123 Remove wordcopy-power6 obejct.
2124 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
2125 Use local call for wordcopy and memcpy symbols.
2126 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
2127 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
2128 implementation for loader.
2129 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
2130
18e270aa
AZ
2131 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2132 Remove wordcopy-power7 object.
2133 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
2134 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
2135 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
2136 (_wordcopy_fwd_dest_aligned): Likewise.
2137 (_wordcopy_bwd_aligned): Likewise.
2138 (_wordcopy_bwd_dest_aligned): Likewise.
2139
6f0993a6
AZ
2140 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
2141 Rewrite to call __memmove_ppc instead of include default
2142 implementation.
2143
3001e54c
AZ
2144 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2145 Remove wide chars objects.
2146 [wcsmbs]: New rule for wide char objects.
2147
59b61c82
AS
21482015-02-09 Andreas Schwab <schwab@suse.de>
2149
2150 [BZ #17912]
2151 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
2152 in terms of __O_DIRECTORY.
2153
ebd7aede
ST
21542015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
2155
2156 * time/getdate.c: Include <stdbool.h>.
28b06757
ST
2157 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
2158 call PTR_MANGLE.
2159 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
2160 PTR_DEMANGLE.
ebd7aede 2161
3999d26e
PE
21622015-02-07 Paul Eggert <eggert@cs.ucla.edu>
2163
2164 Add ersatz _Static_assert on older C hosts
2165 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
2166 pre-C11 C platform that is not known to support _Static_assert.
2167
e9a5bc1c
ST
21682015-02-07 Richard Braun <rbraun@sceen.net>
2169
2170 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
2171 sigstate.
e86c5b64 2172 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
e9a5bc1c 2173
e2049d17
ST
21742015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
2175
2176 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
2177 priority against unexistent AIO_PRIO_DELTA_MAX.
5d2556c4
ST
2178 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
2179 instead of int.
2180 * misc/fchflags.c (fchflags): Likewise.
2181 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
2182 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
2183 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
2184 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
2185 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
2186 Declare macros.
2187 [__USE_MISC] (chflags, fchflags): Declare functions.
d5131d3c
ST
2188 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
2189 EINVAL when nfds is greater than FD_SETSIZE.
bd959902
ST
2190 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
2191 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
2192 45.
a9a002fb
ST
2193 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
2194 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
c187253f
ST
2195 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
2196 MACH_RCV_TIMED_OUT.
f96ec27a
ST
2197 * hurd/hurd/signal.h (_hurd_self_sigstate,
2198 _hurd_critical_section_lock, _hurd_critical_section_unlock):
2199 Explicit casts from void *.
4fc81a77 2200 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
ae20c9a1 2201 * abi-tags: Rename gnu-gnu os into gnu.
e2049d17 2202
f05826f0
ST
2203 [BZ #4719]
2204 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
2205 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
2206 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
2207 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
2208 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
2209 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
2210
a5eb23de
ST
2211 [BZ #17944]
2212 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
2213 duplicates ADDR->sun_path with sockaddr LEN limitation.
2214 * sysdeps/mach/hurd/connect.c: Include <string.h>
2215 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
2216 * sysdeps/mach/hurd/sendmsg.c: Likewise.
2217 * sysdeps/mach/hurd/sendto.c: Likewise.
2218 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
2219 implementing it by hand.
2220
ac9e0e5e
RM
22212015-02-06 Roland McGrath <roland@hack.frob.com>
2222
f8d1bb4c
RM
2223 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
2224 Use sfi_breg on ldr.
2225 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
2226 Likewise.
2227
022f4812
RM
2228 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
2229 it's defined.
2230 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
2231 Test SIGSETXID only if it's defined.
2232
1ac074e6
RM
2233 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
2234
f50ad78b
RM
2235 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
2236 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
2237
9e7265f4
RM
2238 * nptl/tst-align2.c: Moved ...
2239 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
2240 * nptl/Makefile (tests): Remove tst-align2.
2241 * sysdeps/unix/sysv/linux/Makefile
2242 [$(subdir) = nptl] (tests): Add tst-align-clone.
2243 * nptl/tst-getpid1.c: Moved ...
2244 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
2245 * nptl/tst-getpid2.c: Moved ...
2246 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
2247 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
2248 * sysdeps/unix/sysv/linux/Makefile
2249 [$(subdir) = nptl] (tests): ... here.
2250 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
2251 * sysdeps/unix/sysv/linux/Makefile
2252 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
2253
62ad2abc
RM
2254 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
2255 Drop trailing \n from perror argument. Use return rather than exit.
2256
cfa69b0b
RM
2257 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
2258 on [SA_SIGINFO].
2259 * nptl/tst-cancel21.c (do_test): Likewise.
2260 * debug/tst-backtrace6.c: Include <signal.h> first thing.
2261 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
2262 [!SA_SIGINFO]: Make it a stub test.
2263
82727806
RM
2264 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
2265 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
2266
da3a1594
RM
2267 * posix/tst-getlogin.c: Move to ...
2268 * login/tst-getlogin.c: ... here.
2269 * posix/Makefile (tests): Move tst-getlogin to ...
2270 * login/Makefile (tests): ... here.
2271
b65c0ff9
RM
2272 * libio/tst-atime.c (do_test): Move local variables SV and E
2273 inside [ST_NOATIME] conditional.
2274
56606ab3
RM
2275 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
2276
ebf7d6ee
RM
2277 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
2278
ca0e0675
RM
2279 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
2280 (wait_code): New function replaces macro.
2281 Call nanosleep rather than syscall.
2282
8c28bbc6
RM
2283 * nptl/pt-system.c: Rewritten. Put everything under
2284 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
2285 Use IFUNC to redirect when possible.
2286
ec2a88b3
RM
2287 * nptl/pt-longjmp.c: Rewritten. Put everything under
2288 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
2289 Use IFUNC to redirect when possible.
2290
beff1d13
RM
2291 * nptl/pt-fork.c: Rewritten. Put everything under
2292 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
2293 Use IFUNC to redirect when possible.
2294 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
2295
ea02c6b8
RM
2296 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
2297 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
2298 unconditionally nowadays. This included the only reference to
2299 __vdso_clock_gettime that appears outside libc proper.
2300 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
2301 Remove version set (containing only __vdso_clock_gettime).
2302 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
2303 Add attribute_hidden.
2304 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
2305 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
2306 libc_hidden_data_def.
2307 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
2308 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
2309
a1309c2b
RM
2310 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
2311 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
2312 setrpcent, and getrpcport to ...
2313 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
2314 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
2315 getrpcbynumber_r, and getrpcent_r to ...
2316 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
2317 * inet/getrpcbyname.c: Moved ...
2318 * sunrpc/getrpcbyname.c: ... here.
2319 * inet/getrpcbyname_r.c: Moved ...
2320 * sunrpc/getrpcbyname_r.c: ... here.
2321 * inet/getrpcbynumber.c: Moved ...
2322 * sunrpc/getrpcbynumber.c: ... here.
2323 * inet/getrpcbynumber_r.c: Moved ...
2324 * sunrpc/getrpcbynumber_r.c: ... here.
2325 * inet/getrpcent.c: Moved ...
2326 * sunrpc/getrpcent.c: ... here.
2327 * inet/getrpcent_r.c: Moved ...
2328 * sunrpc/getrpcent_r.c: ... here.
2329 * inet/Makefile (routines): Move those to ...
2330 * sunrpc/Makefile (routines): ... here.
2331 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
2332 the $(subdirs) list.
2333 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
2334 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
2335 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
2336 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
2337
ac9e0e5e
RM
2338 * elf/Makefile (routines): Include $(all-dl-routines), not just
2339 $(dl-routines).
2340 (rtld-routines): Likewise. Use = rather than :=.
2341 * sysdeps/aarch64/Makefile [$(subdir) = elf]
2342 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
2343 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
2344 * sysdeps/arm/Makefile: Likewise.
2345 * sysdeps/i386/Makefile: Likewise.
2346 * sysdeps/x86_64/Makefile: Likewise.
2347 * sysdeps/hppa/Makefile [$(subdir) = elf]
2348 (sysdep_routines, sysdep-rtld-routines): Don't add
2349 $(sysdep-dl-routines) to these.
2350 * sysdeps/ia64/Makefile: Likewise.
2351 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
2352 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
2353 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
2354 Don't add dl-static to these; sysdep-dl-routines alone is enough.
2355 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
2356 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
2357 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
2358 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
2359 * sysdeps/powerpc/Makefile [$(subdir) = elf]
2360 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
2361 these; sysdep-dl-routines alone is enough.
2362
639e42eb
JM
23632015-02-06 Joseph Myers <joseph@codesourcery.com>
2364
1c7a4a51
JM
2365 [BZ #17932]
2366 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
2367 where multiplication results in zero and third argument is finite
2368 and nonzero.
2369 * math/auto-libm-test-in: Add more tests of fma.
2370 * math/auto-libm-test-out: Regenerated.
2371
61f006c1
JM
2372 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
2373 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
2374 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
2375 (_FP_CMP_EQ): Likewise.
2376 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
2377
639e42eb
JM
2378 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
2379 extra argument CHECK_NAN. Redefine as wrapper around
2380 _FP_EXTEND_CNAN.
2381
3c0c543b
CD
23822015-02-06 Carlos O'Donell <carlos@systemhalted.org>
2383
4e42b5b8
CD
2384 * version.h (RELEASE): Set to "stable".
2385 (VERSION): Set to "2.21"
2386 * include/features.h (__GLIBC_MINOR__): Set to 21.
2387
3c0c543b
CD
2388 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
2389
5bd80bfe 23902015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
76c109f2 2391 Paul Eggert <eggert@cs.ucla.edu>
5bd80bfe
PP
2392
2393 [BZ #16618]
2394 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
2395 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
2396 size in bytes. Store needed elements in wpmax. Use needed size
2397 in bytes for extend_alloca.
2398
3f823f48
CD
23992015-02-05 Carlos O'Donell <carlos@systemhalted.org>
2400
04cb913d
CD
2401 * manual/install.texi: Latest tested versions are GCC 4.9.2,
2402 binutls 2.25, and texinfo 5.2.
2403 * INSTALL: Regenerate.
2404 * sysdeps/nios2/configure: Regenerate.
2405 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
2406 * manual/contrib.texi: Update.
2407 * po/be.po: Update.
2408 * po/bg.po: Update.
2409 * po/ca.po: Update.
2410 * po/cs.po: Update.
2411 * po/da.po: Update.
2412 * po/de.po: Update.
2413 * po/el.po: Update.
2414 * po/eo.po: Update.
2415 * po/es.po: Update.
2416 * po/fi.po: Update.
2417 * po/fr.po: Update.
2418 * po/gl.po: Update.
2419 * po/hr.po: Update.
2420 * po/hu.po: Update.
2421 * po/ia.po: Update.
2422 * po/id.po: Update.
2423 * po/it.po: Update.
2424 * po/ja.po: Update.
2425 * po/ko.po: Update.
2426 * po/lt.po: Update.
2427 * po/nb.po: Update.
2428 * po/nl.po: Update.
2429 * po/pl.po: Update.
2430 * po/pt_BR.po: Update.
2431 * po/ru.po: Update.
2432 * po/rw.po: Update.
2433 * po/sk.po: Update.
2434 * po/sl.po: Update.
2435 * po/sv.po: Update.
2436 * po/tr.po: Update.
2437 * po/uk.po: Update.
2438 * po/vi.po: Update.
2439 * po/zh_CN.po: Update.
2440 * po/zh_TW.po: Update.
2441
3f823f48
CD
2442 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
2443 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
2444 * sysdeps/hppa/dl-irel.h: Remove #warning.
2445 * sysdeps/hppa/entry.h: Provide prototype for
2446 __canonicalize_funcptr_for_compare and cast argument.
2447 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
2448 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
2449 * sysdeps/hppa/sotruss-lib.c: New file.
2450 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
2451 (atomic_compare_and_exchange_val_acq): Use __typeof__.
2452 (atomic_compare_and_exchange_bool_acq): Likewise.
2453 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
2454 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
2455
2456 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
2457 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
2458 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
2459
34c56048
CLT
24602015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
2461
2462 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
2463 called function in non-PIC case.
2464
d4abeca5
DM
24652015-01-31 David S. Miller <davem@davemloft.net>
2466
edac0a60
DM
2467 * sysdeps/sparc/sparc32/bits/atomic.h
2468 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
2469 unlock not after it.
2470 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
2471 volatile register usage warnings from the compiler.
2472
d4abeca5
DM
2473 * sysdeps/sparc/nptl/sem_init.c: Delete.
2474 * sysdeps/sparc/nptl/sem_post.c: Delete.
2475 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
2476 * sysdeps/sparc/nptl/sem_wait.c: Delete.
2477 * sysdeps/sparc/sparc32/sem_init.c: New file.
2478 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
2479 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
2480 padding explicitly initialized.
2481 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
2482 padding for in-semaphore spinlock.
2483 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
2484 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
2485 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
2486 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
2487 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
2488 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
2489 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
2490 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
2491 version.
2492 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
2493 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
2494
5f3d0b78
L
24952015-01-30 H.J. Lu <hongjiu.lu@intel.com>
2496
2497 [BZ #17801]
2498 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2499 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
2500 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
2501 New.
2502 (index_AVX_Fast_Unaligned_Load): Likewise.
2503 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
2504 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
2505 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
2506 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
2507 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
2508 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
2509 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
2510 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
2511 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
2512
b658fdd8
AS
25132015-01-29 Andreas Schwab <schwab@suse.de>
2514
2515 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
2516
3cb26316
SP
25172015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2518
2519 [BZ #17892]
2520 * nscd/nscd_stat.c (send_stats): Initialize DATA.
2521
527de9e4
MS
25222015-01-28 Martin Sebor <msebor@redhat.com>
2523
2524 * math/README.libm-test: Clarify. Add "How to read the test output."
2525
06991eb8
CM
25262015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
2527
2528 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
2529 Define to 0.
2530
df341342
JM
25312015-01-28 Joseph Myers <joseph@codesourcery.com>
2532
2533 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
2534 (__HAVE_64B_ATOMICS): Define to 0.
2535
08cee2a4
AZ
25362015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
2537
d4d0ecb2
AZ
2538 [BZ #17885]
2539 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
2540 value to set as new flag.
2541
08cee2a4
AZ
2542 [BZ #16576]
2543 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
2544 and use _ARCH_PPCSQ instead.
2545 (__ieee754_sqrt): Likewise.
2546 (__ieee754_sqrtf): Likewise.
2547 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
2548 _ARCH_PPCSQ is defined.
2549 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
2550 fsqrt instruction.
2551 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
2552 _ARCH_PPCSQ is defined.
2553 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
2554 fsqrts instruction.
2555 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
2556
5fe8e359
AK
25572015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2558
2559 * iconv/loop.c: Suppress array out of bound warning caused by GCC
2560 bug (GCC BZ #64739).
2561
24bb7432
AS
25622015-01-25 Andreas Schwab <schwab@linux-m68k.org>
2563
fa20da31
AS
2564 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
2565 Mark _retval as used.
2566 (lll_futex_wake_unlock): Likewise.
2567 (lll_futex_timed_wait_requeue_pi): Likewise.
2568
45819cbc
AS
2569 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
2570 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
2571 register variables.
2572
403cc231
AS
2573 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
2574 libm_hidden_def.
2575
24bb7432
AS
2576 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
2577 (__bswap_64): Mark as __always_inline.
2578
9317ea65
B
25792015-01-25 Bram <bug_rh@spam.wizbit.be>
2580
2581 [BZ #15378]
2582 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
2583 when none of the search directories exist.
2584
0e87343e
AZ
25852015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
2586
bea58013
AZ
2587 [BZ #17869]
2588 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
2589 power8 in .machine directive.
2590
0e87343e
AZ
2591 [BZ #17868]
2592 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
2593 set dependency from opd value.
2594
ede0236c
L
25952015-01-23 H.J. Lu <hongjiu.lu@intel.com>
2596
2597 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
972af9e8
L
2598 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
2599 architecture.
ede0236c 2600
22971c35
L
26012015-01-23 H.J. Lu <hongjiu.lu@intel.com>
2602
2603 [BZ #17870]
2604 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
2605 with uint64_t.
2606 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
2607 (uint64_t) 1.
e0da28a1 2608 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
22971c35
L
2609 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
2610 Replace 1UL with (uint64_t) 1.
2611 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
2612 int with uint64_t.
2613
da5bf245
RM
26142015-01-23 Roland McGrath <roland@hack.frob.com>
2615
2ec2d703
RM
2616 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
2617 (if_freenameindex): Likewise.
2618
da5bf245
RM
2619 * resource/getrlimit64.c: Add missing libc_hidden_def.
2620
d7423856
JM
26212015-01-22 Joseph Myers <joseph@codesourcery.com>
2622
2623 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
2624 __label__.
2625 (_FP_FMA): Likewise.
2626 (_FP_TO_INT_ROUND): Likewise.
2627 (_FP_FROM_INT): Likewise.
2628
6b2ba95b
AZ
26292015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2630
2631 [BZ #16418]
2632 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
2633 Make code racy and cancel safe.
2634
ccdb048d
CD
26352015-01-21 Carlos O'Donell <carlos@redhat.com>
2636
191220b3
CD
2637 * sysdeps/arm/unwind-resume.h: Fix copyright year.
2638 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
2639 attribution.
2640
0897c551
CD
2641 * pwd/tst-getpw.c: Rewrite.
2642
ccdb048d
CD
2643 [BZ #17702]
2644 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
2645 (modules-names): Add moddummy1 and moddummy2.
2646 ($(objpfx)tst-rec-dlopen): Define.
2647 * dlfcn/moddummy1.c: New file.
2648 * dlfcn/moddummy2.c: New file.
2649 * dlfcn/tst-rec-dlopen.c: New file.
2650 * elf/dl-cache.c (_dl_load_cache_lookup):
2651 Return char*. Copy result with alloca/strcpy/strdup.
2652 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
2653 returns char*. Free cached. If not saving realname
2654 free cached.
2655 * elf/dl-open.c (dl_open_worker): Do not assert that
2656 _r_debug->r_state is RT_CONSISTENT.
2657 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
2658 returns char*.
2659
042e1521
CD
26602015-01-21 Torvald Riegel <triegel@redhat.com>
2661 Carlos O'Donell <carlos@redhat.com>
2662
2663 [BZ #12674]
2664 * nptl/sem_waitcommon.c: New file.
2665 * nptl/sem_wait.c: Include sem_waitcommon.c.
2666 (__sem_wait_cleanup, do_futex_wait): Remove.
2667 (__new_sem_wait): Adapt.
2668 (__new_sem_trywait): New function.
2669 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
2670 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
2671 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
2672 (sem_timedwait): Adapt.
2673 * nptl/sem_post.c (__new_sem_post): Adapt.
2674 (futex_wake): New function.
2675 (__old_sem_post): Add release MO fence.
2676 * nptl/sem_open.c (sem_open): Adapt.
2677 * nptl/sem_init.c (__new_sem_init): Adapt.
2678 (futex_private_if_supported): New function.
2679 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
2680 (__old_sem_getvalue): Add using previous code.
2681 * sysdeps/nptl/internaltypes.h: Adapt.
2682 * nptl/tst-sem13.c (do_test): Adapt.
2683 * nptl/tst-sem11.c (main): Adapt.
2684 * nptl/sem_trywait.c: Remove.
2685 * nptl/DESIGN-sem.txt: Remove.
2686 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
2687 (gen-as-const-headers): Remove structsem.sym.
2688 * nptl/structsem.sym: Remove.
2689 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
2690 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
2691 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
2692 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
2693 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
2694 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
2695 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
2696 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
2697 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
2698 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
2699 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
2700 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
2701 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
2702 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
2703 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
2704 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
2705 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
2706 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
2707 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
2708 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
2709 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
2710 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
2711
fe0e85af
CD
27122015-01-20 Carlos O'Donell <carlos@redhat.com>
2713
a8db092e
CD
2714 * INSTALL: Regenerated.
2715
fe0e85af
CD
2716 * po/libc.pot: Regenerated.
2717
522e6ee3
CLT
27182015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
2719 Sandra Loosemore <sandra@codesourcery.com>
2720 Andrew Jenner <andrew@codesourcery.com>
2721 Joseph Myers <joseph@codesourcery.com>
2722 Nathan Sidwell <nathan@codesourcery.com>
2723
2724 * NEWS: Mention new Nios II port.
2725 * sysdeps/nios2/Implies: New file.
2726 * sysdeps/nios2/Makefile: New file.
2727 * sysdeps/nios2/Subdirs: New file.
2728 * sysdeps/nios2/Versions: New file.
2729 * sysdeps/nios2/__longjmp.S: New file.
2730 * sysdeps/nios2/abort-instr.h: New file.
2731 * sysdeps/nios2/backtrace.c: New file.
2732 * sysdeps/nios2/bits/endian.h: New file.
2733 * sysdeps/nios2/bits/fenv.h: New file.
2734 * sysdeps/nios2/bits/link.h: New file.
2735 * sysdeps/nios2/bits/setjmp.h: New file.
2736 * sysdeps/nios2/bsd-_setjmp.S: New file.
2737 * sysdeps/nios2/bsd-setjmp.S: New file.
2738 * sysdeps/nios2/configure: New generated file.
2739 * sysdeps/nios2/configure.ac: New file.
2740 * sysdeps/nios2/crti.S: New file.
2741 * sysdeps/nios2/crtn.S: New file.
2742 * sysdeps/nios2/dl-init.c: New file.
2743 * sysdeps/nios2/dl-machine.h: New file.
2744 * sysdeps/nios2/dl-sysdep.h: New file.
2745 * sysdeps/nios2/dl-tls.h: New file.
2746 * sysdeps/nios2/dl-trampoline.S: New file.
2747 * sysdeps/nios2/gccframe.h: New file.
2748 * sysdeps/nios2/gmp-mparam.h: New file.
2749 * sysdeps/nios2/jmpbuf-offsets.h: New file.
2750 * sysdeps/nios2/jmpbuf-unwind.h: New file.
2751 * sysdeps/nios2/ldsodefs.h: New file.
2752 * sysdeps/nios2/libc-tls.c: New file.
2753 * sysdeps/nios2/libm-test-ulps: New file.
2754 * sysdeps/nios2/machine-gmon.h: New file.
2755 * sysdeps/nios2/math-tests.h: New file.
2756 * sysdeps/nios2/math_private.h: New file.
2757 * sysdeps/nios2/memusage.h: New file.
2758 * sysdeps/nios2/nptl/Makefile: New file.
2759 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
2760 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
2761 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
2762 * sysdeps/nios2/nptl/pthreaddef.h: New file.
2763 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
2764 * sysdeps/nios2/nptl/tls.h: New file.
2765 * sysdeps/nios2/preconfigure: New file.
2766 * sysdeps/nios2/s_fma.c: New file.
2767 * sysdeps/nios2/s_fmaf.c: New file.
2768 * sysdeps/nios2/setjmp.S: New file.
2769 * sysdeps/nios2/sfp-machine.h: New file.
2770 * sysdeps/nios2/sotruss-lib.c: New file.
2771 * sysdeps/nios2/stackguard-macros.h: New file.
2772 * sysdeps/nios2/stackinfo.h: New file.
2773 * sysdeps/nios2/start.S: New file.
2774 * sysdeps/nios2/sysdep.h: New file.
2775 * sysdeps/nios2/tls-macros.h: New file.
2776 * sysdeps/nios2/tst-audit.h: New file.
2777 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
2778 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
2779 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
2780 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
2781 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
2782 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
2783 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
2784 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
2785 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
2786 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
2787 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
2788 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
2789 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
2790 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
2791 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
2792 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
2793 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
2794 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
2795 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
2796 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
2797 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
2798 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
2799 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
2800 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
2801 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
2802 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
2803 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
2804 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
2805 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
2806 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
2807 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
2808 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
2809 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
2810 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
2811 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
2812 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
2813 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
2814 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
2815 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
2816 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
2817 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
2818 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
2819 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
2820 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
2821
026eb207
SL
28222015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
2823
2824 [BZ #17844]
2825 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
2826 (getutent): Use weak_alias in non SHARED case
2827 and default_symbol_version in SHARED case.
2828 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
2829 (getutent_r, pututline): Likewise.
2830 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
2831 (getutid): Likewise.
2832 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
2833 (getutid_r): Likewise.
2834 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
2835 (getutline): Likewise.
2836 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
2837 (getutline_r): Likewise.
2838 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
2839 (updwtmp): Likewise.
2840
1d532483
SL
28412015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
2842
2843 [BZ #17848]
2844 * sysdeps/s390/s390-32/memcmp.S
2845 (memcmp_g5): Rename to __memcmp_g5.
2846 * sysdeps/s390/s390-32/memcpy.S
2847 (memcpy_g5): Rename to __memcpy_g5.
2848 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2849 (memcpy_mvcle) Rename to __memcpy_mvcle.
2850 * sysdeps/s390/s390-32/memset.S
2851 (memset_g5): Rename to __memset_g5.
2852 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
2853 (IFUNC_RESOLVE): Prefix ifunc-resolve function
2854 and use prefixed functions.
2855 * sysdeps/s390/s390-32/multiarch/memcmp.S
2856 (memcmp_z196): Rename to __memcmp_z196.
2857 (memcmp_z10): Rename to __memcmp_z10.
2858 (memcmp): Set alias to __memcmp_g5.
2859 (bcmp): Set alias to __memcmp_g5.
2860 * sysdeps/s390/s390-32/multiarch/memcpy.S
2861 (memcpy_z196): Rename to __memcpy_z196.
2862 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2863 (memcpy_z10): Rename to __memcpy_z10.
2864 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2865 (memcpy): Set alias to __memcpy_g5.
2866 * sysdeps/s390/s390-32/multiarch/memset.S
2867 (memset_z196): Rename to __memset_z196.
2868 Jump to __memset_mvcle instead of memset_mvcle.
2869 (memset_z10): Rename to __memset_z10.
2870 Jump to __memset_mvcle instead of memset_mvcle.
2871 (memset_mvcle) Rename to __memset_mvcle.
2872 (memset): Set alias to __memset_g5.
2873 * sysdeps/s390/s390-64/memcmp.S
2874 (memcmp_z900): Rename to __memcmp_z900.
2875 * sysdeps/s390/s390-64/memcpy.S
2876 (memcpy_z900): Rename to __memcpy_z900.
2877 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2878 (memcpy_mvcle) Rename to __memcpy_mvcle.
2879 * sysdeps/s390/s390-64/memset.S
2880 (memset_z900): Rename to __memset_z900.
2881 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
2882 (IFUNC_RESOLVE): Prefix ifunc-resolve function
2883 and use prefixed functions.
2884 * sysdeps/s390/s390-64/multiarch/memcmp.S
2885 (memcmp_z196): Rename to __memcmp_z196.
2886 (memcmp_z10): Rename to __memcmp_z10.
2887 (memcmp): Set alias to __memcmp_z900.
2888 (bcmp): Set alias to __memcmp_z900.
2889 * sysdeps/s390/s390-64/multiarch/memcpy.S
2890 (memcpy_z196): Rename to __memcpy_z196.
2891 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2892 (memcpy_z10): Rename to __memcpy_z10.
2893 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2894 (memcpy): Set alias to __memcpy_z900.
2895 * sysdeps/s390/s390-64/multiarch/memset.S
2896 (memset_z196): Rename to __memset_z196.
2897 Jump to __memset_mvcle instead of memset_mvcle.
2898 (memset_z10): Rename to __memset_z10.
2899 Jump to __memset_mvcle instead of memset_mvcle.
2900 (memset_mvcle) Rename to __memset_mvcle.
2901 (memset): Set alias to __memset_z900.
2902
53fbd169
JM
29032015-01-14 Joseph Myers <joseph@codesourcery.com>
2904
2905 [BZ #17748]
2906 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
2907 __fesetenv instead of fesetenv.
2908
d639a363
SP
29092015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2910
2911 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
2912 macro.
2913
d3b00f46
AZ
29142015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2915
ce6615c9
AZ
2916 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
2917 regression on LE.
2918
d3b00f46
AZ
2919 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
2920 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
2921 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
2922 strncmp-power8 object.
2923 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2924 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
2925 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
2926 * NEWS: Update.
2927
72607db0
RS
29282015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2929 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2930
2931 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
2932 trailing byte check.
2933
54dc5461
DM
29342015-01-13 David S. Miller <davem@davemloft.net>
2935
2936 * include/signal.h (__sigreturn): Guard with __USE_MISC.
2937
1c6e6f23
RM
29382015-01-13 Roland McGrath <roland@hack.frob.com>
2939
2940 * login/logout.c (logout): Use memset rather than bzero.
2941 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
2942 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
2943 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
2944 (_gethtbyaddr): Likewise.
2945 * locale/programs/simple-hash.c (bcopy): Macro removed.
2946
96d6fd6c
AZ
29472015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2948
8bedcb5f
AZ
2949 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2950 Add strcmp-power8 object.
2951 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2952 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
2953 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
2954 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
2955 __strcmp_power8 implementation.
2956 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
2957 * NEWS: Update.
2958
f06a4faf
AZ
2959 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2960 Add strncpy-power8 and stpncpy-power8 objects.
2961 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2962 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
2963 implementations.
2964 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
2965 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
2966 __stpncpy_power8 implementation.
2967 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
2968 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
2969 __strncpy_power8 implementation.
2970 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
2971 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
2972 * NEWS: Update.
2973
9f2f36e5
AZ
2974 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
2975 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
2976 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
2977
96d6fd6c 2978 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
94c96809
AZ
2979 strncat-power8 object.
2980 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
2981 __strcat_power8 implementation.
2982 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2983 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
2984 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
2985 optimized strcat for power8.
2986
2987 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
96d6fd6c
AZ
2988 strcpy-power8 and stpcpy-power8 objects.
2989 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2990 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
2991 implementations.
2992 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
2993 multiarch stpcpy implementation for POWER8.
2994 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
2995 multiarch strcpy implementation for POWER8.
2996 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
2997 __strcpy_power8 function.
2998 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
2999 stpcpy for POWER8.
3000 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
3001 strcpy for POWER8.
3002 * NEWS: Update.
3003
0f9e5854
LH
30042015-01-13 Leonhard Holz <leonhard.holz@web.de>
3005
3006 [BZ #16009]
3007 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
3008 weights and rules. Use do_xfrm_cached if data fits in cache,
3009 do_xfrm otherwise. Moved former main loop to...
3010 * (do_xfrm_cached): New function.
3011 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
3012 find_idx, find_position and stack_push.
3013 * (find_idx): New function.
3014 * (find_position): Likewise.
3015 * localedata/sort-test.sh: Added test run for do_xfrm.
3016 * localedata/xfrm-test.c (main): Added command line option
3017 -nocache to run the test with strings that are too large for
3018 the STRXFRM cache.
3019
c60ec0e0
TR
30202015-01-13 Torvald Riegel <triegel@redhat.com>
3021
3022 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
3023 variable to lll_futex_wake call, not the value itself.
3024
34e93d6c
JM
30252015-01-12 Joseph Myers <joseph@codesourcery.com>
3026
5a9e4c09
JM
3027 [BZ #17803]
3028 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
3029 twom64. Adjust value to 0x1p-64L.
3030 (__scalblnl): Only return standard underflowing result for K <=
3031 -64 not K <= -63; adjust exponent for underflowing result by 64
3032 not 63.
3033 * math/libm-test.inc (scalbn_test_data): Add more tests.
3034 (scalbln_test_data): Likewise.
3035
34e93d6c
JM
3036 [BZ #17834]
3037 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
3038 0x1p63L.
3039 (__scalblnl): Get new exponent of adjusted subnormal value from ES
3040 not HX.
3041 * math/libm-test.inc (scalbn_test_data): Add more tests.
3042 (scalbln_test_data): Likewise.
3043
ca677d3c
AZ
30442015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3045 Stefani Seibold <stefani@seibold.net>
3046
3047 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
3048 (sysdep_routines): Add dl-vdso here, ...
3049 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
3050 (sysdep_routines): ... not here.
3051 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
3052 fallback when vDSO is not presented.
3053 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
3054 Define with libc_hidden_proto/libc_hidden_data_def definitions.
3055 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
3056 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
3057 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
3058 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
3059 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
3060 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
3061 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
3062 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
3063 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
3064 fallback configurable symbol when vDSO is not available.
3065 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
3066 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
3067 be able to redefine fallback symbol when vDSO is not available.
3068 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
3069 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
3070
49a9f6ab 30712015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8d2c0a59 3072
56cf2763
AZ
3073 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
3074 (TLS_INIT_TP): Add tm_capable initialization.
3075 (TLS_DEFINE_INIT_TP): Likewise.
3076 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
3077 TCB.
3078 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
3079 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
3080 calculation.
3081 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
3082 transactoion is lock elision is built and TCB tm_capable is set.
3083 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
3084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3085 (INTERNAL_SYSCALL_NCS): Likewise.
3086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
3087 (INTERNAL_SYSCALL_NCS): Likewise.
3088 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
3089
4b45943a
AZ
3090 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
3091 for powerpc.
3092 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
3093 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
3094 and remove it for 32 bits case.
3095 [pthread_rwlock_t] (__rwelision): New field for lock elision.
3096 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
3097 initialization.
3098 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
3099 Disable lock elision with rdlocks if elision is not available.
3100
8d2c0a59
AZ
3101 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
3102 (sysdep_routines): Add lock elision objects.
3103 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
3104 [pthread_mutex_t] (__spins): Rework to add lock elision field.
3105 [pthread_mutex_t] (__elision): Add field.
3106 [__PTHREAD_SPINS]: Adjust to init lock elision field.
3107 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
3108 elision definitions for powerpc.
3109 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
3110 implementation of lock elision for powerpc.
3111 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
3112 implementation of timed lock elision for powerpc.
3113 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
3114 implementation of trylock with lock elision for powerpc.
3115 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
3116 implementaion of unlock for lock elision for powerpc.
3117 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
3118 automatic enable lock elision for mutexes.
3119 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
3120 transaction execution definitions for powerpc.
3121 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
3122 definitions.
3123 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
3124 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
3125 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
3126 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
3127 * NEWS: Update.
3128
bc0ed9f7
RM
31292015-01-09 Roland McGrath <roland@hack.frob.com>
3130
3131 * sysdeps/posix/shm-directory.c: Use <> rather than ""
3132 for #include of <shm-directory.h>.
3133
585d9c18
CLT
31342015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
3135
3136 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
3137 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
3138
aee6626c
MF
31392015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
3140
3141 [BZ #17791]
3142 * NEWS: Mention bug fix.
3143 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
3144 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
3145 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
3146
9e560f48
TR
31472015-01-09 Torvald Riegel <triegel@redhat.com>
3148
3149 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
3150
e1cfbd0c
TR
31512015-01-09 Torvald Riegel <triegel@redhat.com>
3152
3153 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
3154
cf71e44f
DH
31552015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
3156
3157 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
3158 pointer and cast to uintptr_t.
3159
b360ee62
DH
31602015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
3161
3162 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
3163 removed.
3164 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
3165
caff764e
DH
31662015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
3167
3168 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
3169 of 0.
3170
59ff172f
RM
31712015-01-08 Roland McGrath <roland@hack.frob.com>
3172
c97d27f1
RM
3173 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
3174 <nptl/pthreadP.h> instead.
3175 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
3176
08734ccd
RM
3177 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
3178 already defined.
3179 [__SIGRTMIN] (init): Function removed.
3180 [__SIGRTMIN] (initialized): Variable removed.
3181 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
3182 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
3183 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
3184 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
3185 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
3186 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
3187 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
3188 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
3189 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
3190 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
3191 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
3192 * sysdeps/nptl/allocrtsig.c: New file.
3193 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
3194 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
3195 * sysdeps/generic/testrtsig.h: File removed.
3196
7b052e33
RM
3197 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
3198 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
3199
cc40d25e
RM
3200 * nptl/nptl-init.c (pthread_functions): Conditionalize
3201 .ptr__nptl_setxid initialization on [SIGSETXID].
3202
9287adf0
RM
3203 * sysdeps/nptl/sys/procfs.h: New file.
3204 * nptl_db/Makefile (headers): Add it.
3205 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
3206
59ff172f
RM
3207 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
3208 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
3209 * nptl/pthread_attr_setaffinity.c: Include it.
3210 * nptl/pthread_setattr_default_np.c: Likewise.
3211 * nptl/check-cpuset.h: New file.
3212
b9205857
RH
32132015-01-08 Richard Henderson <rth@redhat.com>
3214
3215 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
3216 (CFLAGS-tst-execstack-prog.c): Likewise.
3217 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
3218
1a0a8d15
CLT
32192015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
3220 Sandra Loosemore <sandra@codesourcery.com>
3221 Andrew Jenner <andrew@codesourcery.com>
3222 Joseph Myers <joseph@codesourcery.com>
3223 Nathan Sidwell <nathan@codesourcery.com>
3224
3225 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
3226 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
3227 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
3228 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
3229 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
3230 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
3231 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
00b8b9ba
SP
3232 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
3233 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
3234 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
3235 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
3236 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
3237 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
1a0a8d15
CLT
3238 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
3239 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
3240 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
3241 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
3242
dd6e8af6
AZ
32432015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3244
3245 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
3246 timespec struct member in syscall macro.
3247 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
3248 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
3249 first timeval struct member in syscall macro.
3250 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
3251
8116321f
JM
32522015-01-07 Joseph Myers <joseph@codesourcery.com>
3253
3254 [BZ #17748]
3255 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
3256 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
3257 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
3258 __feupdateenv and define as weak alias of __feupdateenv. Use
3259 libm_hidden_weak.
3260 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
3261 libm_hidden_def.
3262 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
3263 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
3264 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
3265 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
3266 libm_hidden_def.
3267 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
3268 __feupdateenv and define as weak alias of __feupdateenv. Use
3269 libm_hidden_weak.
3270 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
3271 libm_hidden_def.
3272 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
3273 __feupdateenv and define as weak alias of __feupdateenv. Use
3274 libm_hidden_weak.
3275 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
3276 libm_hidden_def.
3277 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
3278 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
3279 (__feupdateenv): Likewise.
3280 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
3281 __feupdateenv and define as weak alias of __feupdateenv. Use
3282 libm_hidden_weak.
3283 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
3284 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
3285 libm_hidden_def.
3286 * sysdeps/tile/math_private.h (__feupdateenv): New inline
3287 function.
3288 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
3289 libm_hidden_def.
3290 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
3291 __feupdateenv instead of feupdateenv.
3292 (default_libc_feupdateenv_test): Likewise.
3293 (libc_feresetround_ctx): Likewise.
3294
882dfe18
AZ
32952015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3296
3297 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
3298 prototype.
3299
39a12f8d
CM
33002015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
3301
3302 * posix/regcomp.c (parse_bracket_exp): Initialize type to
3303 COLL_SYM in a couple of places to avoid uninitialized variable
3304 wanings on tilegx gcc 4.8.2.
3305
dc400d7b
RE
33062015-01-07 Richard Earnshaw <rearnsha@arm.com>
3307
3308 * sysdeps/aarch64/strcpy.S: New file.
3309 * sysdeps/aarch64/stpcpy.S: New file.
3310 * NEWS: Updated.
3311
ec582ca0
RE
33122015-01-07 Richard Earnshaw <rearnsha@arm.com>
3313
3314 * sysdeps/aarch64/strrchr.S: New file.
3315 * NEWS: Updated.
3316
d5b1c5ed
EB
33172015-01-07 Eric Biggers <ebiggers3@gmail.com>
3318
3319 [BZ #17658]
3320 * stdlib/setenv.c: Fix memory leak when setting large,
3321 duplicate string.
3322
fb87ee96
VN
33232015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
3324
60f046a8 3325 [BZ #17273]
fb87ee96
VN
3326 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
3327 and tabs from buffer before parsing fstab entry.
3328 * misc/tst-mntent.c (main): Add test for mount entry with
3329 trailing spaces and tabs.
3330
cd42798a
JM
33312015-01-06 Joseph Myers <joseph@codesourcery.com>
3332
01238691
JM
3333 [BZ #17748]
3334 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
3335 * math/fesetround.c (fesetround): Rename to __fesetround and
3336 define as weak alias of __fesetround. Use libm_hidden_weak.
3337 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
3338 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
3339 * sysdeps/arm/fesetround.c (fesetround): Likewise.
3340 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
3341 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
3342 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
3343 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
3344 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
3345 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
3346 __fesetround_inline.
3347 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
3348 __fesetround_inline instead of __fesetround.
3349 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
3350 __fesetround and define as weak alias of __fesetround. Use
3351 libm_hidden_weak. Call __fesetround_inline instead of
3352 __fesetround.
3353 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
3354 __fesetround and define as weak alias of __fesetround. Use
3355 libm_hidden_weak.
3356 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
3357 Likewise.
3358 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
3359 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
3360 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
3361 * sysdeps/tile/math_private.h (__fesetround): New inline function.
3362 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
3363 __fesetround and define as weak alias of __fesetround. Use
3364 libm_hidden_weak.
3365 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
3366 __fesetround instead of fesetround.
3367 (default_libc_feholdexcept_setround): Likewise.
3368 (libc_feholdsetround_ctx): Likewise.
3369 (libc_feholdsetround_noex_ctx): Likewise.
3370
cd42798a
JM
3371 [BZ #17748]
3372 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
3373 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
3374 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
3375 and define as weak alias of __fesetenv. Use libm_hidden_weak.
3376 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
3377 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
3378 define as weak alias of __fesetenv. Use libm_hidden_weak.
3379 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
3380 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
3381 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
3382 define as weak alias of __fesetenv. Use libm_hidden_weak.
3383 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
3384 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
3385 define as weak alias of __fesetenv. Use libm_hidden_weak.
3386 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
3387 libm_hidden_def.
3388 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
3389 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
3390 Likewise.
3391 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
3392 define as weak alias of __fesetenv. Use libm_hidden_weak.
3393 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
3394 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
3395 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
3396 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
3397 and define as weak alias of __fesetenv. Use libm_hidden_weak.
3398 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
3399 __fesetenv instead of fesetenv.
3400 (libc_feresetround_noex_ctx): Likewise.
3401 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
3402 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
3403 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
3404 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
3405 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
3406 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
3407 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
3408 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
3409 (__feupdateenv): Likewise.
3410 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
3411 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
3412 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
3413 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
3414
38949026
AJ
34152015-01-06 Aurelien Jarno <aurelien@aurel32.net>
3416
1cf98e27 3417 [BZ #17806]
38949026
AJ
3418 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
3419 addresses have been freed.
3420
5fe55e9c
AJ
34212015-01-06 Aurelien Jarno <aurelien@aurel32.net>
3422
3423 * resolv/res_init.c (__res_vinit): Improve comments about nserv
3424 and nservall.
3425
dc8ab018
OB
34262015-01-06 Ondřej Bílka <neleai@seznam.cz>
3427
3428 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
3429 Clean up check_pf allocation pattern. addresses
3430
14bb4e57
AZ
34312015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3432
3433 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
3434 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
3435 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
3436 * nptl/pthread_exit.c (__pthread_exit): Likewise.
3437 * nptl/pthread_join.c (pthread_join): Likewise.
3438 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
3439 * sysdeps/posix/waitid.c (__waitid): Likewise.
3440 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
3441 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
3442 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
3443 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
3444 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
3445 Likewise.
3446 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
3447 (__libc_pread64): Likewise.
3448 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
3449 (__libc_pwrite): Likewise.
3450 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
3451 (__libc_pwrite64): Likewsie.
3452 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
3453 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
3454 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
3455 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
3456 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
3457 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
3458 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
3459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
3460 Likewise.
3461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
3462 (__libc_pread64): Likewise.
3463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
3464 Likewise.
3465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
3466 (__libc_pwrite64): Likewise.
3467 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
3468 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
3469 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
3470 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
3471 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
3472 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
3473 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
3474 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
3475 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
3476 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
3477 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
3478 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
3479 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
3480 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
3481 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
3482 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
3483 Likewise.
3484
10a5e112
AS
34852015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
3486
3487 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
3488 (CFLAGS-test-double.c): Likewise.
3489 (CFLAGS-test-ldouble.c): Likewise.
3490 (CPPFLAGS-test-ifloat.c): Likewise.
3491 (CPPFLAGS-test-idouble.c): Likewise.
3492 (CPPFLAGS-test-ildoubl.c): Likewise.
3493 (CFLAGS-test-test-fenv.c): Remove variable.
3494 (CFLAGS-test-misc.c): Likewise.
3495
57ada0e7
L
34962015-01-06 H.J. Lu <hongjiu.lu@intel.com>
3497
3498 [BZ #17797]
3499 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
3500 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
3501 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
3502 CLOCKS_PER_SEC == 1000000.
3503 * time/clocktest.c (main): Replace %ld with %jd and cast to
3504 intmax_t.
3505
46abb64d
RM
35062015-01-05 Roland McGrath <roland@hack.frob.com>
3507
3508 * sysdeps/generic/unwind-resume.h: New file.
3509 * sysdeps/gnu/unwind-resume.c: Include it.
3510 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
3511 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
3512 argument list.
3513 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
3514 global rather than static.
3515 (_Unwind_Resume): Update user.
3516 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
3517 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
3518 rather than static. Add __attribute__ ((cold)).
3519 (_Unwind_Resume, __gcc_personality_v0): Update callers.
3520 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
3521 * sysdeps/arm/arm-unwind-resume.S: New file.
3522 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
3523 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
3524 * sysdeps/arm/Makefile [$(subdir) = csu]
3525 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
3526 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
3527 Add rt-arm-unwind-resume.
3528 [$(subdir) = nptl]
3529 (libpthread-sysdep_routines, libpthread-shared-only-routines):
3530 Add pt-arm-unwind-resume.
3531 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
3532 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
3533
ef9faf13
JM
35342015-01-05 Joseph Myers <joseph@codesourcery.com>
3535
3536 [BZ #17748]
3537 * include/fenv.h (__feholdexcept): Declare. Use
3538 libm_hidden_proto.
3539 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
3540 define as weak alias of __feholdexcept. Use libm_hidden_weak.
3541 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
3542 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
3543 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
3544 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
3545 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
3546 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
3547 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
3548 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
3549 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
3550 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
3551 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
3552 (feholdexcept): Likewise.
3553 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
3554 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
3555 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
3556 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
3557 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
3558 __feholdexcept instead of feholdexcept.
3559 (default_libc_feholdexcept_setround): Likewise.
3560
295a453e
SE
35612015-01-05 Steve Ellcey <sellcey@imgtec.com>
3562
3563 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
3564 to avoid using stl/str to align destination.
3565
882c4b9f
SE
35662015-01-05 Steve Ellcey <sellcey@imgtec.com>
3567
3568 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
3569
ac4c11f5
JM
35702015-01-05 Joseph Myers <joseph@codesourcery.com>
3571
3572 [BZ #17796]
3573 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
3574 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
3575 Define as weak alias not strong alias.
3576
03403e30
SE
35772015-01-05 Steve Ellcey <sellcey@imgtec.com>
3578
3579 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
3580 bltzal with addiupc.
3581 (RTLD_START): Ditto.
3582
1dca195e
CM
35832015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
3584
00b8b9ba
SP
3585 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
3586 for __vdso_* functions in declarations.
3587 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
3588 definitions.
3589 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
3590 INTERNAL_VSYSCALL): Use struct return types to check for error.
7ea793f3 3591
1dca195e
CM
3592 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
3593 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
3594 function with cast from llround().
3595 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
3596 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
3597 Define.
3598
a287953a
JM
35992015-01-05 Joseph Myers <joseph@codesourcery.com>
3600
ab70da77
JM
3601 [BZ #17793]
3602 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
3603 Define as weak alias not strong alias.
3604
b8986484
JM
3605 [BZ #17635]
3606 * ctype/ctype-c99.c: New file. isblank implementation moved from
3607 ...
3608 * ctype/ctype-extn.c: ... here.
3609 (__isblank_l): Move to ...
3610 * ctype/ctype-c99_l.c: ... here. New file.
3611 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
3612 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
3613 Remove variable.
3614 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
3615 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
3616 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
3617 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
3618 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
3619
a287953a
JM
3620 [BZ #17777]
3621 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
3622 (posix_fadvise64): Define as weak alias not strong alias.
3623 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3624 (posix_fallocate64): Likewise.
3625 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
3626 Remove variable.
3627 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
3628 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
3629 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
3630 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
3631 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
3632
b1efe3bb
MF
36332015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
3634
3635 [BZ #16191]
3636 * NEWS: Mention bug fix.
3637 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
3638 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
3639 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
3640 (HOST_STACK_END_ADDR): Likewise.
3641
9706dc5f
JM
36422015-01-02 Joseph Myers <joseph@codesourcery.com>
3643
b93c2205
JM
3644 [BZ #17748]
3645 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
3646 * math/fegetround.c (fegetround): Rename to __fegetround and
3647 define as weak alias of __fegetround. Use libm_hidden_weak.
3648 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
3649 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
3650 * sysdeps/arm/fegetround.c (fegetround): Likewise.
3651 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
3652 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
3653 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
3654 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
3655 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
3656 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
3657 Undefine after rather than before function definition; use
3658 parentheses around function name in definition.
3659 (__fegetround): Also undefine macro after function definition.
3660 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
3661 __fegetround and define as weak alias of __fegetround. Use
3662 libm_hidden_weak. Do not undefine as macro.
3663 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
3664 Likewise.
3665 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
3666 __fegetround and define as weak alias of __fegetround. Use
3667 libm_hidden_weak.
3668 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
3669 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
3670 * sysdeps/tile/math_private.h (__fegetround): New inline function.
3671 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
3672 __fegetround and define as weak alias of __fegetround. Use
3673 libm_hidden_weak.
3674 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
3675 __fegetround instead of fegetround.
3676
253a59cc
JM
3677 [BZ #17782]
3678 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
3679 Condition macro definition on [__USE_MISC].
3680
27dae011
JM
3681 [BZ #17781]
3682 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
3683 (struct sigaction): Change type of sa_flags field to int.
3684
172019c0
JM
3685 [BZ #17780]
3686 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
3687 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
3688 __glibc_reserved0.
3689
522ad1d6
JM
3690 * nptl/version.c (banner): Use single year in copyright notice.
3691
9706dc5f
JM
3692 * NEWS: Update copyright dates.
3693 * catgets/gencat.c (print_version): Likewise.
3694 * csu/version.c (banner): Likewise.
3695 * debug/catchsegv.sh: Likewise.
3696 * debug/pcprofiledump.c (print_version): Likewise.
3697 * debug/xtrace.sh (do_version): Likewise.
3698 * elf/ldconfig.c (print_version): Likewise.
3699 * elf/ldd.bash.in: Likewise.
3700 * elf/pldd.c (print_version): Likewise.
3701 * elf/sotruss.sh: Likewise.
3702 * elf/sprof.c (print_version): Likewise.
3703 * iconv/iconv_prog.c (print_version): Likewise.
3704 * iconv/iconvconfig.c (print_version): Likewise.
3705 * locale/programs/locale.c (print_version): Likewise.
3706 * locale/programs/localedef.c (print_version): Likewise.
3707 * login/programs/pt_chown.c (print_version): Likewise.
3708 * malloc/memusage.sh (do_version): Likewise.
3709 * malloc/memusagestat.c (print_version): Likewise.
3710 * malloc/mtrace.pl: Likewise.
3711 * manual/libc.texinfo: Likewise.
3712 * nptl/version.c (banner): Likewise.
3713 * nscd/nscd.c (print_version): Likewise.
3714 * nss/getent.c (print_version): Likewise.
3715 * nss/makedb.c (print_version): Likewise.
3716 * posix/getconf.c (main): Likewise.
3717 * scripts/test-installation.pl: Likewise.
3718 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
3719
b8607aac
WN
37202015-01-02 Will Newton <will.newton@linaro.org>
3721
3722 * sysdeps/arm/armv7/configure: Removed.
3723 * sysdeps/arm/armv7/configure.ac: Likewise.
3724
b168057a
JM
37252015-01-02 Joseph Myers <joseph@codesourcery.com>
3726
3727 * All files with FSF copyright notices: Update copyright dates
3728 using scripts/update-copyrights.
3729 * intl/plural.c: Regenerated.
3730 * locale/programs/charmap-kw.h: Likewise.
3731 * locale/programs/locfile-kw.h: Likewise.
3732
b217c15f
SP
37332015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3734
3735 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
3736
73a268c7
JM
37372014-12-31 Joseph Myers <joseph@codesourcery.com>
3738
3739 [BZ #17748]
3740 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
3741 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
3742 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
3743 and define as weak alias of __fegetenv. Use libm_hidden_weak.
3744 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3745 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
3746 define as weak alias of __fegetenv. Use libm_hidden_weak.
3747 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
3748 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3749 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
3750 define as weak alias of __fegetenv. Use libm_hidden_weak.
3751 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3752 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
3753 define as weak alias of __fegetenv. Use libm_hidden_weak.
3754 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
3755 libm_hidden_def.
3756 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
3757 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
3758 Likewise.
3759 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
3760 define as weak alias of __fegetenv. Use libm_hidden_weak.
3761 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
3762 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3763 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
3764 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
3765 and define as weak alias of __fegetenv. Use libm_hidden_weak.
3766 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
3767 __fegetenv instead of fegetenv.
3768 (libc_feholdsetround_noex_ctx): Likewise.
3769
0bd95672
MF
37702014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
3771
3772 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
3773 (Elf_MIPS_ABIFlags_v0): New structure.
3774 (EF_MIPS_FP64): Define.
3775 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
3776 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
3777 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
3778 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
3779 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
3780 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
3781 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
3782 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
3783 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
3784 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
3785 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
3786 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
3787 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
3788 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
3789 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
3790 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
3791 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
3792 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
3793 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
3794 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
3795 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
3796 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
3797 field.
3798 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
3799 EF_MIPS_FP64.
3800 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
3801 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
3802 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
3803 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
3804 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
3805 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
3806 * sysdeps/mips/tst-abi-interlink.c: Likewise.
3807 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
3808 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
3809 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
3810 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
3811 record the current FP ABI extension.
3812 (mips-mode-switch): Define to show if kernel headers support mode
3813 switching.
3814 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
3815 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
3816 supported SYSV ABI version to 3.
3817 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
3818 feature.
3819
f59ad976
RS
38202014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3821 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3822
3823 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
3824 path.
3825 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
3826
4a3d3999
JM
38272014-12-31 Joseph Myers <joseph@codesourcery.com>
3828
3829 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
3830 __fegetround and redefine to call __fegetround. Remove condition
3831 on [!__NO_MATH_INLINES].
3832 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
3833 function.
3834 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
3835 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
3836 Remove macro.
3837 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
3838 instead of <fenv_libc.h>.
3839 (__llrintl): Call fegetround instead of __fegetround.
3840 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
3841 instead of <fenv_libc.h>.
3842 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
3843 (__lrintl): Call fegetround instead of __fegetround.
3844 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
3845 instead of <fenv_libc.h>.
3846 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
3847 (__rintl): Call fegetround instead of __fegetround.
3848
195f3afc
SP
38492014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
3850
3851 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
3852 arrays.
3853
7062bd42
L
38542014-12-30 H.J. Lu <hongjiu.lu@intel.com>
3855
3856 [BZ #17775]
3857 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
3858 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
3859 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
3860
07256e18
AS
38612014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
3862
3863 * sysdeps/i386/tls-macros.h: Include <features.h>.
3864 (TLS_LE): Use non-PIC version for GCC >= 5.0.
3865 (TLS_IE): Likewise.
3866 (TLS_LD): Likewise.
3867 (TLS_GD): Likewise.
3868 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
3869 define for GCC >= 5.0.
3870
1ff950ad
CM
38712014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
3872
3873 * math/test-fenv.c (test_single_exception, set_single_exc,
3874 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
3875 feexcp_mask_test, feenable_test, fe_single_test): Add
3876 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
3877 case where they are not used.
3878 * math/libm-test.inc: Likewise.
3879 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
3880 unused in the absence of FP rounding/exception support.
3881 * stdio-common/tst-printf-round.c: Likewise.
3882 * stdlib/tst-strtod-round.c: Likewise.
3883 * stdlib/tst-strtod-underflow.c: Likewise.
3884
0747f818
JM
38852014-12-30 Joseph Myers <joseph@codesourcery.com>
3886
3887 [BZ #17723]
3888 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
3889 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
3890 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3891 __feraiseexcept and define as weak alias of __feraiseexcept. Use
3892 libm_hidden_weak.
3893 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
3894 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
3895 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
3896 libm_hidden_def.
3897 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3898 __feraiseexcept and define as weak alias of __feraiseexcept. Use
3899 libm_hidden_weak.
3900 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
3901 Likewise.
3902 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
3903 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3904 __feraiseexcept and define as weak alias of __feraiseexcept. Use
3905 libm_hidden_weak.
3906 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
3907 libm_hidden_def.
3908 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
3909 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
3910 (__feraiseexcept): Likewise.
3911 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3912 __feraiseexcept and define as weak alias of __feraiseexcept. Use
3913 libm_hidden_weak.
3914 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
3915 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
3916 libm_hidden_def.
3917 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
3918 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
3919 Use libm_hidden_def.
3920 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
3921 libm_hidden_def.
3922 (feraiseexcept): Define as weak not strong alias. Use
3923 libm_hidden_weak.
3924 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
3925 New inline function. Factored out of ...
3926 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
3927 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
3928 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
3929 feraiseexcept.
3930 * math/w_acos.c (__acos): Likewise.
3931 * math/w_asin.c (__asin): Likewise.
3932 * math/w_ilogb.c (__ilogb): Likewise.
3933 * math/w_j0.c (y0): Likewise.
3934 * math/w_j1.c (y1): Likewise.
3935 * math/w_jn.c (yn): Likewise.
3936 * math/w_log.c (__log): Likewise.
3937 * math/w_log10.c (__log10): Likewise.
3938 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
3939 * sysdeps/aarch64/fpu/math_private.h
3940 (libc_feupdateenv_test_aarch64): Likewise.
3941 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
3942 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
3943 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
3944 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
3945 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
3946 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
3947 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
3948 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
3949 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
3950 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
3951
8d2b2763
L
39522014-12-30 H.J. Lu <hongjiu.lu@intel.com>
3953
3954 [BZ #17732]
3955 * io/test-utime.c (main): Replace %ld with %jd and cast to
3956 intmax_t.
41fad830 3957 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
e401d5ca
L
3958 * nptl/tst-mutex5.c: Include <stdint.h>.
3959 (do_test): Replace %ld with %jd and cast to intmax_t.
6490d945
L
3960 * posix/tst-regex.c (run_test): Likewise.
3961 (run_test_backwards): Likewise.
5d619de4
L
3962 * rt/tst-clock.c: Include <stdint.h>.
3963 (clock_test): Replace %ld with %jd and cast to intmax_t.
3964 * rt/tst-cpuclock1.c: Include <stdint.h>.
3965 (do_test): Replace %lu with %ju and cast to uintmax_t.
3966 * rt/tst-cpuclock2.c: Include <stdint.h>.
3967 (do_test): Replace %lu with %ju and cast to uintmax_t.
3968 * rt/tst-mqueue1.c: Include <stdint.h>.
3969 (check_attrs): Replace %ld with %jd and cast to intmax_t.
3970 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
3971 intmax_t.
3972 * rt/tst-mqueue4.c (do_test): Likewise.
3973 * rt/tst-timer4.c: Include <stdint.h>.
3974 (check_ts): Replace %ld with %jd and cast to intmax_t.
3975 (do_test): Likewise.
ad86fbc3
L
3976 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
3977 and cast to intmax_t.
37f46900 3978 * sysdeps/pthread/tst-timer.c (main): Likewise.
fe342f50
L
3979 * time/clocktest.c (main): Likewise.
3980 * time/tst-posixtz.c (do_test): Likewise.
126f6c72 3981 * timezone/tst-timezone.c (main): Likewise.
8d2b2763 3982
8b4416d8
AS
39832014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
3984 H.J. Lu <hongjiu.lu@intel.com>
3985
3986 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
3987 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
3988 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
3989 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
3990 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
3991 version if bit_Fast_Unaligned_Load is set.
3992 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3993 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3994 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3995 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3996 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3997 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3998 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
3999 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
4000 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
4001 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
4002 to 4.
4003 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
4004 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
4005 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
4006 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
4007
e47b8d3b
CM
40082014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
4009
6d6d7fde
CM
4010 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
4011 instead of #if to avoid a Wundef warning.
4012 * stdlib/tst-limits.c (do_test): Likewise.
4013
cd2c37c9
CM
4014 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
4015 parallel other exception macros.
4016 (fegetenv): Convert from macro to extern inline so that it applies
4017 retroactively to inline functions already seen by the compiler.
4018 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
4019
e47b8d3b
CM
4020 * posix/Makefile (before-compile): Use $(objpfx) for
4021 posix-conf-vars-def.h.
4022
4a6aca7b
SP
40232014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4024
7910c2ae
SP
4025 * posix/getconf.c (main): Use size_t for type of I.
4026 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
4027 NSPEC.
4028
50cbbaa9
SP
4029 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
4030 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
4031 * posix/posix-envs.def: Likewise.
4032 * sysdeps/posix/sysconf.c: Likewise.
4033 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
4034 (specs): Remove array.
4035 * scripts/gen-posix-conf-vars.awk: Support generation of specs
4036 array.
4037
3b566046
SP
4038 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
4039 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
4040 (__sysconf): Use CONF_IS_* macros.
4041
4a6aca7b
SP
4042 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
4043 ($(objpfx)posix-conf-vars-def.h): New target.
4044 * posix/posix-conf-vars.list: New file.
4045 * posix/posix-conf-vars.h: New file.
4046 * posix/confstr.c: Include posix-conf-vars.h.
4047 (confstr): Use CONF_IS_* macros.
4048 * posix/posix-envs.def: Include posix-conf-vars.h. Use
4049 CONF_IS_* macros.
4050 * scripts/gen-posix-conf-vars.awk: New file.
4051
7c1395a7
CM
40522014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
4053
0025b4cc
CM
4054 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
4055 fegetround): Add no-op macros to avoid linknamespace issues.
4056
d8aaf74b
CM
4057 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
4058 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
4059
5d24aa60
CM
4060 * sysdeps/unix/sysv/linux/tile/sysdep.h
4061 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
4062 assembly-specific section to avoid a redefinition warning.
4063
7c1395a7
CM
4064 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
4065 long before casting to pointer to avoid a cast warning.
4066
3c87c616
CM
40672014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
4068
4069 * sysdeps/tile/tilegx/Implies: New file.
4070
f559d8cf
RE
40712014-12-23 Richard Earnshaw <rearnsha@arm.com>
4072
4073 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
4074
7d81e8d6
FW
40752014-12-23 Florian Weimer <fweimer@redhat.com>
4076
4077 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
4078
90aa3d09
JM
40792014-12-22 Joseph Myers <joseph@codesourcery.com>
4080
4081 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
4082 not define.
4083 * sysdeps/unix/sysv/linux/utimes.c: Do not include
4084 <kernel-features.h>.
4085 (__utimes) [__NR_utimes]: Make code unconditional.
4086 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
4087 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4088 (__ASSUME_UTIMES): Do not undefine.
4089 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4090 (__ASSUME_UTIMES): Likewise.
4091 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4092 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
4093 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
4094 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
4095
4c0c0e2a
SE
40962014-12-22 Steve Ellcey <sellcey@imgtec.com>
4097
4098 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
4099
0dacd7a3
CM
41002014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
4101
b638f96a
CM
4102 [BZ #17747]
4103 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
4104 alias to weak alias for j0l, y0l.
4105 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
4106 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
4107
0dacd7a3
CM
4108 [BZ #17746]
4109 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
4110 conversion.
4111
528479c4
SE
41122014-12-22 Steve Ellcey <sellcey@imgtec.com>
4113
4114 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
4115 to zero if not already defined.
4116
f56f9124
JM
41172014-12-22 Joseph Myers <joseph@codesourcery.com>
4118
4119 [BZ #17724]
4120 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
4121 (__kernel_standard_f): Remove. Moved to k_standardf.c.
4122 (__kernel_standard_l): Remove. Moved to k_standardl.c with
4123 (char *) casts added.
4124 * sysdeps/ieee754/k_standardf.c: New file.
4125 * sysdeps/ieee754/k_standardl.c: Likewise.
4126 * math/Makefile (libm-support): Remove k_standard.
4127 (libm-calls): Add k_standard.
4128
8622d556
WD
41292014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
4130
4131 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
4132 Optimize to avoid an unnecessary FPCR read.
4133
f3806bdb
WD
41342014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
4135
4136 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
4137 Optimize to reduce FPCR/FPSR accesses.
4138
9b47df58
WD
41392014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
4140
4141 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
4142 Call libc_fetestexcept_aarch64.
4143
97be3cac
WD
41442014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
4145
4146 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
4147 Call libc_fesetround_aarch64.
4148
935ab817
JM
41492014-12-22 Joseph Myers <joseph@codesourcery.com>
4150
4151 [BZ #17733]
4152 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
4153 (__bind): Do not define as weak alias.
4154 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
4155 define.
4156 (__getsockname): Do not define as weak alias.
4157
cc8623f1
WN
41582014-12-22 Will Newton <will.newton@linaro.org>
4159
4160 * manual/install.texi: Document that we require bison 2.7
4161 or above.
4162 * INSTALL: Regenerate.
4163 * configure.ac: Use AC_CHECK_PROG_VER instead of
4164 AC_PATH_PROG when checking for bison and check for
4165 version 2.7 or above.
4166 * configure: Regenerate.
4167
a19ca65a
CM
41682014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
4169
92901170 4170 [BZ #17745]
e969965a
CM
4171 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
4172 * sysdeps/tile/ffsll.c (ffsll): To here.
4173
a19ca65a
CM
4174 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
4175
050f7298
L
41762014-12-21 H.J. Lu <hongjiu.lu@intel.com>
4177
4178 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
4179 if not defined.
4180 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
4181 definition.
4182 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
4183 hidden ___tls_get_addr.
4184 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
4185 hidden __tls_get_addr.
4186 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
4187 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
4188 Likewise.
4189
6df5547e
AS
41902014-12-21 Andreas Schwab <schwab@linux-m68k.org>
4191
4192 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
4193 _dl_init call.
4194
7432d613
L
41952014-12-21 H.J. Lu <hongjiu.lu@intel.com>
4196
4197 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
4198 from "call _dl_init@PLT".
4199 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
7432d613 4200
98fe149e
AK
42012014-12-21 Anders Kaseorg <andersk@mit.edu>
4202
4203 * manual/search.texi: (Array Sort Function): Clarify stable sorting
4204 guarantees.
4205
d12455f5
CM
42062014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
4207
4208 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
4209
95dee05f
CM
42102014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
4211
92901170 4212 [BZ #17744]
95dee05f
CM
4213 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
4214 strnlen.
4215
2ef4b74a
SE
42162014-12-19 Steve Ellcey <sellcey@imgtec.com>
4217
4218 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
4219 of multu on MIPSr6.
4220 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
4221 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
4222 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
4223 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
4224 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
4225
42262014-12-19 Steve Ellcey <sellcey@imgtec.com>
4227
4228 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
4229 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
4230 (PTR_SUBU): Use subu for mips32r6/mips64r6.
4231 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
9d1fc928 4232 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
2ef4b74a
SE
4233 mips32r6/mips64r6.
4234 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
4235
3eb38795
OB
42362014-12-19 Ondřej Bílka <neleai@seznam.cz>
4237
4238 * string/strncat.c (STRNCAT): Simplify implementation.
4239
6d4188dd
DM
42402014-12-19 David S. Miller <davem@davemloft.net>
4241
0d4ba8be
DM
4242 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
4243 access the quad as both a long double and as a series of 4 words.
4244
6d4188dd
DM
4245 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
4246 link_map->l_info array access.
4247
4ef91cdc
CM
42482014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
4249
804c54f7
CM
4250 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
4251
4ef91cdc
CM
4252 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
4253 * math/atest-exp2.c (TIMEOUT): Likewise.
4254 * math/atest-sincos.c (TIMEOUT): Likewise.
4255
afd176d6
L
42562014-12-19 H.J. Lu <hongjiu.lu@intel.com>
4257
4258 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
4259 -Wno-error with -fno-builtin-lround.
4260
a4a43a90
TR
42612014-12-19 Torvald Riegel <triegel@redhat.com>
4262
4263 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
4264 Contains futex constants and functions moved over from ...
4265 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
4266 <lowlevellock-futex.h>.
4267 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
4268 (lll_timedwait_tid): Add comments and parentheses around macro
4269 arguments.
4270
76f71081
TR
42712014-12-19 Torvald Riegel <triegel@redhat.com>
4272
4273 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
4274 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
4275 (__lll_private_flag): Remove.
4276 (lll_futex_wait): Likewise.
4277 (lll_futex_timed_wait): Likewise.
4278 (lll_futex_wake): Likewise.
4279 (lll_futex_requeue): Likewise.
4280 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
4281 (__lll_timedwait_tid): Spell out argument names.
4282 (lll_timedwait_tid): Add comments and parentheses around macro
4283 arguments.
4284 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
4285 LLL_SHARED and LLL_PRIVATE usable from assembly code.
4286
6b814909
TR
42872014-12-19 Torvald Riegel <triegel@redhat.com>
4288
4289 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
4290 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
4291 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
4292 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
4293 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
4294 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
4295 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
4296 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
4297 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
4298 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
4299 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
4300 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
4301 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
4302 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
4303 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
4304 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
4305 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
4306 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
4307 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
4308
9cd4d4ab
L
43092014-12-19 H.J. Lu <hongjiu.lu@intel.com>
4310
4311 * sysdeps/x86_64/x32/Makefile: New file.
4312
c9c1a2d0
L
43132014-12-19 H.J. Lu <hongjiu.lu@intel.com>
4314
4315 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
4316 1L with (mp_limb_t) 1.
4317
af102d95
RM
43182014-12-17 Roland McGrath <roland@hack.frob.com>
4319
dd690454
RM
4320 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
4321 * nptl/libc_pthread_init.c: ... here.
4322 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
4323 * nptl/register-atfork.c: ... here.
4324
74eb826c
RM
4325 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
4326 Use pthread_sigmask rather than INTERNAL_SYSCALL.
4327 Use assert_perror to check its return value.
4328 (__gai_create_helper_thread): Likewise.
4329
c9ce306b
RM
4330 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
4331
af102d95
RM
4332 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
4333
8ac5a76a
JM
43342014-12-17 Joseph Myers <joseph@codesourcery.com>
4335
ea41469b
JM
4336 [BZ #17725]
4337 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
4338 __profil_counter.
4339 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
4340 Likewise.
4341 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
4342 Likewise.
4343 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
4344 Likewise.
4345 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
4346 (profil_counter): Likewise.
4347 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
4348 (profil_counter): Likewise.
4349 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
4350 Likewise.
4351 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
4352 Likewise.
4353 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
4354 (profil_counter): Likewise.
4355 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
4356 Likewise.
4357 [!__profil_counter] (profil_counter): Define as weak alias of
4358 __profil_counter.
4359 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
4360 (profil_counter): Rename to __profil_counter.
4361 [!__profil_counter] (profil_counter): Define as weak alias of
4362 __profil_counter.
4363 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
4364 (profil_counter): Rename to __profil_counter.
4365 [!__profil_counter] (profil_counter): Define as weak alias of
4366 __profil_counter.
4367 * sysdeps/posix/profil.c: Update comment referring to
4368 profil_counter.
4369 (__profil): Use __profil_counter instead of profil_counter.
4370 * sysdeps/posix/sprofil.c (profil_counter): Rename to
4371 __profil_counter. Use __profil_counter_ushort and
4372 __profil_counter_uint in definitions.
4373 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
4374 instead of profil_counter_uint and profil_counter_ushort.
4375
8ac5a76a
JM
4376 [BZ #17722]
4377 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
4378 define as weak alias of __inet_makeaddr.
4379 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
4380 as weak alias of __inet_addr.
4381 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
4382 as weak alias of __inet_pton. Use libc_hidden_weak.
4383 * include/arpa/inet.h (__inet_pton): Declare. Use
4384 libc_hidden_proto.
4385 (inet_makeaddr): Don't use libc_hidden_proto.
4386 (__inet_makeaddr): Declare. Use libc_hidden_proto.
4387 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
4388 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
4389 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
4390 Remove variable.
4391 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
4392 (test-xfail-POSIX/time.h/linknamespace): Likewise.
4393
66ce3cb1
SE
43942014-12-17 Steve Ellcey <sellcey@imgtec.com>
4395
4396 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
4397
d22ce01b
SL
43982014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
4399
4400 * stdio-common/bug-vfprintf-nargs.c (do_test):
4401 Cast value to intptr_t to avoid format warning
4402 for usage with PRIdPTR printing macro.
4403
eca2772b
SL
44042014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
4405
4406 * libio/tst-widetext.c (do_test):
4407 Use format type %td instead of %Zd for ptrdiff_t
4408 in order to avoid format warning.
4409
bdf079da
AS
44102014-12-17 Andreas Schwab <schwab@suse.de>
4411
4412 * nscd/mem.c (gc): Add size_t cast to match printf format.
4413
3eb5d2fc
RM
44142014-12-16 Roland McGrath <roland@hack.frob.com>
4415
4416 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
4417 (init): Apply PTR_MANGLE to pointers before storing them.
4418 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
4419 before using them.
4420
d003ada2
JM
44212014-12-16 Joseph Myers <joseph@codesourcery.com>
4422
380292ba
JM
4423 [BZ #17719]
4424 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
4425 define as weak alias of __memrchr.
4426 (__memrchr): Do not define as strong alias of memrchr.
4427 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
4428 Remove variable.
4429 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
4430 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
4431 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
4432
9a44d530
JM
4433 [BZ #17717]
4434 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
4435 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
4436 (if_indextoname): Rename to __if_indextoname and define as weak
4437 alias of __if_indextoname. Use libc_hidden_weak.
4438 (if_freenameindex): Rename to __if_freenameindex and define as
4439 weak alias of __if_freenameindex.
4440 (if_nameindex): Rename to __if_nameindex and define as weak alias
4441 of __if_nameindex.
4442 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
4443 __if_nametoindex and define as weak alias of __if_nametoindex.
4444 Use libc_hidden_weak.
4445 (if_freenameindex): Rename to __if_freenameindex and define as
4446 weak alias of __if_freenameindex.
4447 (if_nameindex): Rename to __if_nameindex and define as weak alias
4448 of __if_nameindex.
4449 (if_indextoname): Rename to __if_indextoname and define as weak
4450 alias of __if_indextoname. Use libc_hidden_weak.
4451 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
4452 __if_nametoindex and define as weak alias of __if_nametoindex.
4453 Use libc_hidden_weak.
4454 (if_freenameindex): Rename to __if_freenameindex and define as
4455 weak alias of __if_freenameindex. Use libc_hidden_weak.
4456 (if_nameindex_netlink): Use __if_freenameindex instead of
4457 if_freenameindex.
4458 (if_nameindex): Rename to __if_nameindex and define as weak alias
4459 of __if_nameindex. Use libc_hidden_weak.
4460 (if_indextoname): Rename to __if_indextoname and define as weak
4461 alias of __if_indextoname. Use libc_hidden_weak.
4462 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
4463 libc_hidden_proto.
4464 [!_ISOMAC] (__if_freenameindex): Likewise.
4465 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
4466 if_nametoindex.
4467 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
4468 variable.
4469 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
4470 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
4471 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
4472 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
4473 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
4474 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
4475 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
4476
d003ada2
JM
4477 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
4478 Remove variable.
4479 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
4480 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
4481
a0d424ef
SP
44822014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4483
0cd85520
SP
4484 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
4485 subscript above bounds'
4486
a0d424ef
SP
4487 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
4488 bounds.
4489
0e426475
AS
44902014-12-16 Arjun Shankar <arjun.is@lostca.se>
4491
8b460906
AS
4492 * libio/tst-fopenloc.c: Use test-skeleton.c.
4493
fa13e15b
AS
4494 * stdlib/tst-bsearch.c: Use test-skeleton.c.
4495 (entry): Rename to ITEM.
4496 (do_test, comp): Adjust.
4497
0e426475
AS
4498 * stdio-common/tst-fseek.c: Use test-skeleton.c.
4499
4f646bce
TR
45002014-12-16 Torvald Riegel <triegel@redhat.com>
4501
4502 * string/tester.c: Include <libc-internal.h>.
4503 (test_memset): Ignore -Wmemset-transposed-args.
4504
a07c4427
TR
45052014-12-16 Torvald Riegel <triegel@redhat.com>
4506
4507 * misc/tst-mntent2.c (do_test): Fix warning.
4508
1469f466
TR
45092014-12-16 Torvald Riegel <triegel@redhat.com>
4510
4511 * elf/tst-unique4lib.cc(a): Mark as used.
4512
11e3417a
FW
45132014-12-16 Florian Weimer <fweimer@redhat.com>
4514
4515 [BZ #17630]
4516 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
4517 names.
4518
ae61fc7b
AM
45192014-12-16 Allan McRae <allan@archlinux.org>
4520
4521 * stdio-common/Makefile (tests): Re-add bug26.
4522
363a9899
OB
45232014-12-15 Ondřej Bílka <neleai@seznam.cz>
4524
4525 [BZ #17657]
4526 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
4527 static array.
4528
d52c62df
TR
45292014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
4530
4531 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
4532 (__lll_lock_wait): Likewise.
4533 (__lll_timedlock_wait): Likewise.
4534 (__lll_timedwait_tid): Likewise.
4535 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
4536 (__lll_robust_timedlock_wait): Likewise.
4537 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
4538 (lll_cond_trylock): Likewise.
4539 (__lll_lock): Likewise.
4540 (__lll_robust_lock): Likewise.
4541 (__lll_cond_lock): Likewise.
4542 (lll_robust_cond_lock): Likewise.
4543 (__lll_timedlock): Likewise.
4544 (__lll_robust_timedlock): Likewise.
4545 (__lll_unlock): Likewise.
4546 (__lll_robust_unlock): Likewise.
4547 (lll_wait_tid): Likewise.
4548 (lll_timedwait_tid): Likewise.
4549
045a6bcd
TR
45502014-12-15 Torvald Riegel <triegel@redhat.com>
4551
4552 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
4553
7f786dc1
TR
45542014-12-15 Torvald Riegel <triegel@redhat.com>
4555
4556 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
4557
e7e21cba
AZ
45582014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
4559
4560 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
4561 * stdio-common/tst-sprintf.c: Likewise.
4562
bc89c0fc
TR
45632014-12-15 Torvald Riegel <triegel@redhat.com>
4564
4565 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
4566
a5357b7c
JL
45672014-12-15 Jeff Law <law@redhat.com>
4568
4569 [BZ #16617]
4570 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
4571 on the heap. (CVE-2012-3406)
4572 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
4573 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
4574 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
4575
3a12c70f
WN
45762014-12-15 Will Newton <will.newton@linaro.org>
4577
4578 * manual/install.texi: Bump required version of texinfo
4579 to 4.7 from 4.5.
4580 * INSTALL: Regenerated.
4581 * configure.ac: Check for makeinfo version 4.7 and above.
4582 * configure: Regenerated.
4583
e4f639e4
RM
45842014-12-12 Roland McGrath <roland@hack.frob.com>
4585
4586 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
4587 PREFIX, string constant to insert between directory and name.
4588 * sysdeps/posix/shm_open.c: Update caller.
4589 * sysdeps/posix/shm_unlink.c: Likewise.
4590 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
4591 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
4592 (SEM_SHM_PREFIX): New macro.
4593 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
4594 [$(have-thread-library) = no].
4595 * nptl/Makefile (libpthread-routines): Add shm-directory.
4596 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
4597 * sysdeps/nptl/shm-directory.h: New file.
4598 * sysdeps/posix/shm-directory.c
4599 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
4600 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
4601 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
4602 INTERNAL_SYSCALL.
4603 (__where_is_shmfs): Function removed.
4604 (mountpoint, defaultmount, defaultdir, __namedsem_once):
4605 Variables removed.
4606 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
4607 Use SHM_GET_NAME.
4608 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
4609
4610 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
4611 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
4612 unconditional for use inside libpthread.
4613 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
4614
439c43f6
RM
46152014-12-12 Roland McGrath <roland@hack.frob.com>
4616
c76d1ff5
RM
4617 * nptl/pthread_getaffinity.c: New file.
4618 * nptl/pthread_setaffinity.c: New file.
4619 * nptl/pthread_getname.c: New file.
4620 * nptl/pthread_setname.c: New file.
4621
439c43f6
RM
4622 * nptl/pthread_create.c (START_THREAD_DEFN)
4623 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
4624
48e435cd
SL
46252014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
4626 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4627
4628 * resolv/res_send.c (send_vc): Disable warning resplen may
4629 be used uninitialized.
4630
9d9c0019
SL
46312014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
4632
4633 * nptl/tst-mutex6.c
4634 (ATTR_NULL): New define checks ATTR against NULL.
4635 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
4636 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
4637
9173840b
JL
46382014-12-11 James Lemke <jwlemke@codesourcery.com>
4639
4640 [BZ #17581]
4641 * malloc/hooks.c
4642 (mem2mem_check): Revert my previous change.
4643 (malloc_check_get_size): Revert my previous change.
4644 (mem2chunk_check): Revert my previous change.
4645
78e21c5d
RM
46462014-12-11 Roland McGrath <roland@hack.frob.com>
4647
4648 * sysdeps/posix/shm-directory.c: New file.
4649 * sysdeps/posix/shm-directory.h: New file.
4650 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
4651 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
4652 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
4653 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
4654 Transmute EPERM to EACCES.
4655 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
4656 from ...
4657 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
4658 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
4659
f82c43af
KK
46602014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4661
4662 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
4663 pointer and cast to uintptr_t.
4664 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
4665 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
4666 Add cast to avoid warning.
4667 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
4668
fc00cf7b
JM
46692014-12-11 Joseph Myers <joseph@codesourcery.com>
4670
4671 * nptl/semaphore.h: Move to ...
4672 * sysdeps/pthread/semaphore.h: ... here.
4673 * Makefile (installed-headers): Change nptl/semaphore.h to
4674 sysdeps/pthread/semaphore.h.
4675
1c4053db
RM
46762014-12-11 Roland McGrath <roland@hack.frob.com>
4677
73b0c1a1
RM
4678 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
4679 generated error format strings.
4680
1c4053db
RM
4681 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
4682 -Wformat-extra-args warnings for scanf formats.
4683 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
4684 test of zero-length format (duh).
4685 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
4686 corner-case scanf format test.
4687 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
4688 generated fprintf format string.
4689 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
4690 corner-case sprintf format tests.
4691 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
4692 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
4693 -Wformat-extra-args warnings throughout.
4694 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
4695 (CFLAGS-scanf4.c): Likewise.
4696 (CFLAGS-scanf7.c): Likewise.
4697 (CFLAGS-tst-sprintf.c): Likewise.
4698 (CFLAGS-tst-printf.c): Likewise.
4699 (CFLAGS-tst-printfsz.c): Likewise.
4700
47d51f4f
JM
47012014-12-11 Joseph Myers <joseph@codesourcery.com>
4702
a1edbf3c
JM
4703 * include/cpio.h: New file.
4704 * include/fmtmsg.h: Likewise.
4705
47d51f4f
JM
4706 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
4707 corresponding format argument to size_t.
4708 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
4709 arguments.
4710 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
4711 corresponding format argument to size_t.
4712 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
4713 arguments.
4714 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
4715 corresponding format argument to size_t.
4716 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
4717 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
4718 (CFLAGS-tst-mbswcs2.c): Likewise.
4719 (CFLAGS-tst-mbswcs3.c): Likewise.
4720 (CFLAGS-tst-mbswcs4.c): Likewise.
4721 (CFLAGS-tst-mbswcs5.c): Likewise.
4722 (CFLAGS-tst-trans.c): Likewise
4723
e9813cfb
RM
47242014-12-11 Roland McGrath <roland@hack.frob.com>
4725
4726 * posix/regexbug1.c (main): Use "%s" format with regerror results,
4727 rather than assuming they won't contain any '%'s.
4728
f627ca82
CM
47292014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
4730
4731 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
4732 inhibit_loop_to_libcall to avoid recursive calls.
4733 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
4734 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
4735
7f296942
AZ
47362014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
4737
4738 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
4739 prototype.
4740
d0276e18
SE
47412014-12-11 Steve Ellcey <sellcey@imgtec.com>
4742
4743 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
4744 integer value instead of boolean.
4745
fc56e970
SE
47462014-12-11 Steve Ellcey <sellcey@imgtec.com>
4747
4748 * malloc/malloc.c: Fix powerof2 check.
4749
40e53917
SL
47502014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
4751
4752 * locale/programs/locfile.h (maybe_swap_uint32):
4753 Remove inline and add unused attribute.
4754
1ea166df
SL
47552014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
4756
9d9c0019 4757 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
1ea166df
SL
4758 Truncating assembler expression to a .long expression.
4759
acf869f4
AS
47602014-12-11 Andreas Schwab <schwab@suse.de>
4761
4762 * elf/rtld.c (struct map_args): Constify str member.
4763 (do_preload): Constify fname argument.
4764
9d969099
AZ
47652014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4766
4767 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
4768 constants definition.
4769
da5bcaa4
AS
47702014-12-11 Andreas Schwab <schwab@suse.de>
4771
b0a3c164
AS
4772 [BZ #16657]
4773 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
4774 FORCE_ELISION instead of DO_ELISION.
4775 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
4776 Remove.
4777 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
4778 Likewise.
4779
da5bcaa4
AS
4780 * iconvdata/gconv-modules: Remove duplicate entry.
4781
6d248857
WN
47822014-12-11 Will Newton <will.newton@linaro.org>
4783
4784 Merge gettext 0.19.3 into intl/.
4785
4786 This involves a number of cosmetic changes to comments
4787 and ANSI function definitions and prototypes throughout
4788 all the files. The gettext copyright header is used but
4789 with the date ranges taken from the glibc copy.
4790
4791 * NEWS: Add gettext merge to 2.21.
4792 * intl/bindtextdom.c: Switch to gettext copyright.
4793 Use ANSI definitions and prototypes.
4794 Use gl_* locking primitives rather than __libc_* ones.
4795 Use __builtin_expect rather than __glibc_likely/unlikely.
4796 * intl/dcgettext.c: Switch to gettext copyright.
4797 Use ANSI definitions and prototypes.
4798 * intl/dcigettext.c: Switch to gettext copyright.
4799 Use ANSI definitions and prototypes.
4800 (INTDIV0_RAISES_SIGFPE): New define.
4801 Use gl_* locking primitives rather than __libc_* ones.
4802 Include eval-plural.h instead of plural-eval.c.
4803 Use __builtin_expect rather than __glibc_likely/unlikely.
4804 * intl/dcngettext.c: Switch to gettext copyright.
4805 Use ANSI definitions and prototypes.
4806 * intl/dgettext.c: Likewise.
4807 * intl/dngettext.c: Likewise.
4808 * intl/plural-eval.c: Renamed to...
4809 * intl/eval-plural.h: ...this.
4810 * intl/explodename.c: Switch to gettext copyright.
4811 Use ANSI definitions and prototypes.
4812 (_nl_explode_name): Use strchr instead of __rawmemchr.
4813 * intl/finddomain.c: Switch to gettext copyright.
4814 Use ANSI definitions and prototypes.
4815 Use gl_* locking primitives rather than __libc_* ones.
4816 (_nl_find_domain): Use malloc rather than alloca for
4817 allocation of temporary locale name.
4818 * intl/gettext.c: Switch to gettext copyright.
4819 Use ANSI definitions and prototypes.
4820 * intl/gettextP.h: Switch to gettext copyright.
4821 Use ANSI definitions and prototypes.
4822 Use gl_* locking primitives rather than __libc_* ones.
4823 * intl/gmo.h: Switch to gettext copyright.
4824 (struct sysdep_string): Move struct segment_pair outside of
4825 struct definition.
4826 * intl/hash-string.c: Use ANSI definitions and prototypes.
4827 * intl/hash-string.h: Switch to gettext copyright.
4828 Use ANSI definitions and prototypes.
4829 * intl/l10nflist.c: Switch to gettext copyright.
4830 Use ANSI definitions and prototypes.
4831 (_nl_normalize_codeset): Avoid integer overflow.
4832 * intl/loadinfo.h: Switch to gettext copyright.
4833 Use ANSI definitions and prototypes.
4834 (LIBINTL_DLL_EXPORTED): New define.
4835 (PATH_SEPARATOR): New define.
4836 * intl/loadmsgcat.c: Switch to gettext copyright.
4837 * intl/localealias.c: Switch to gettext copyright.
4838 Use ANSI definitions and prototypes.
4839 (_nl_expand_alias): Use PATH_SEPARATOR.
4840 * intl/ngettext.c: Switch to gettext copyright.
4841 Use ANSI definitions and prototypes.
4842 * intl/plural-exp.c: Likewise.
4843 * intl/plural-exp.h: Switch to gettext copyright.
4844 Use ANSI definitions and prototypes.
4845 (struct expression): Move definition of enum operator outside
4846 of struct definition.
4847 * intl/plural.c: Regenerate.
4848 * intl/plural.y: Switch to gettext copyright.
4849 Use ANSI definitions and prototypes.
4850 Port to bison 3.0.
4851 * intl/textdomain.c: Switch to gettext copyright.
4852 Use ANSI definitions and prototypes.
4853 Use gl_* locking primitives rather than __libc_* ones.
4854
48c43298
SE
48552014-12-10 Steve Ellcey <sellcey@imgtec.com>
4856
4857 * debug/warning-nop.c: Add used atrribute.
4858
2b89bce9
JM
48592014-12-10 Joseph Myers <joseph@codesourcery.com>
4860
c153ac9f
JM
4861 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
4862
2b89bce9
JM
4863 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
4864 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
4865 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
4866
2cfbdb9a
JM
48672014-12-10 Joseph Myers <joseph@codesourcery.com>
4868 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4869
4870 [BZ #17634]
4871 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
4872 Undefine after defining function. Define as weak alias of
4873 __wcschr. Use libc_hidden_weak.
4874 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
4875 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
4876 (libc_hidden_def): Also define __GI___wcschr alias.
4877 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
4878 __wcschr and define as weak alias of __wcschr.
4879 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
4880 __wcschr.
4881 [!WCSCHR] (DEFAULT_WCSCHR): Define.
4882 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
4883 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
4884 libc_hidden_weak. Do not use libc_hidden_def.
4885 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
4886 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
4887 __GI___wcschr alias.
4888 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
4889 [IS_IN (libc)] (wcschr): Define as macro expanding to
4890 __redirect_wcschr.
4891 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
4892 [IS_IN (libc)] (__wcschr_power6): Likewise.
4893 [IS_IN (libc)] (__wcschr_power7): Likewise.
4894 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
4895 instead of wcschr.
4896 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
4897 __libc_wcschr.
4898 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
4899 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
4900 __wcschr and define as weak alias of __wcschr. Use
4901 libc_hidden_builtin_def.
4902 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
4903 as weak alias of __wcschr. Use libc_hidden_weak.
4904 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
4905 wcschr.
4906 * time/era.c (_nl_init_era_entries): Likewise.
4907 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
4908 variable.
4909 (test-xfail-XPG3/time.h/linknamespace): Likewise.
4910 (test-xfail-XPG4/time.h/linknamespace): Likewise.
4911
1b8bf351
JM
49122014-12-10 Joseph Myers <joseph@codesourcery.com>
4913
4914 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
4915 format for long int variable.
4916
f5f46d51
AK
49172014-12-10 Anders Kaseorg <andersk@MIT.EDU>
4918
4919 [BZ #10672]
07008f7d 4920 * manual/search.texi: (Array Sort Function): Remove claim how to make
f5f46d51
AK
4921 qsort stable.
4922
217a74a8
AS
49232014-12-10 Andreas Schwab <schwab@suse.de>
4924
4925 [BZ #12847]
4926 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
4927 user-controlled locks.
4928
aa76a5c7
RE
49292014-12-10 Richard Earnshaw <rearnsha@arm.com>
4930
4931 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
4932 register.
4933
2084e7ca
JM
49342014-12-10 Joseph Myers <joseph@codesourcery.com>
4935
a4ecc9eb
JM
4936 * configure.ac (--disable-werror): New configure option.
4937 (enable_werror): New AC_SUBST.
4938 * configure: Regenerated.
4939 * config.make.in (enable-werror): New variable.
4940 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
4941 -Wno-error=undef.
4942 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
4943 * manual/install.texi (Configuring and compiling): Document
4944 --disable-werror.
4945 * INSTALL: Regenerated.
4946 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
4947 (CFLAGS-tst-chk2.c): Likewise.
4948 (CFLAGS-tst-chk3.c): Likewise.
4949 (CFLAGS-tst-chk4.cc): Likewise.
4950 (CFLAGS-tst-chk5.cc): Likewise.
4951 (CFLAGS-tst-chk6.cc): Likewise.
4952 (CFLAGS-tst-lfschk1.c): Likewise.
4953 (CFLAGS-tst-lfschk2.c): Likewise.
4954 (CFLAGS-tst-lfschk3.c): Likewise.
4955 (CFLAGS-tst-lfschk4.cc): Likewise.
4956 (CFLAGS-tst-lfschk5.cc): Likewise.
4957 (CFLAGS-tst-lfschk6.cc): Likewise.
4958
0f88636c
JM
4959 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
4960 (main): Disable -Wdeprecated-declarations around calls to
4961 register_printf_function.
4962
c81e9deb
JM
4963 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
4964 (do_test): Disable -Wdiv-by-zero around some calls to
4965 fwrite_unlocked and fread_unlocked.
4966
2084e7ca
JM
4967 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
4968 (DIAG_POP_NEEDS_COMMENT): Likewise.
4969 (_DIAG_STR1): Likewise.
4970 (_DIAG_STR): Likewise.
4971 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
4972 * stdio-common/bug21.c: Include <libc-internal.h>.
4973 (do_test): Disable -Wformat around call to sscanf.
4974 * stdio-common/scanf14.c: Include <libc-internal.h>.
4975 (main): Disable -Wformat around some calls to scanf functions.
4976
df7ecc6b
TR
49772014-12-09 Torvald Riegel <triegel@redhat.com>
4978
4979 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
4980
2aa3862e
AZ
49812014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4982
4983 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
4984 stack variable alignment.
4985
c5c2b7c3
JM
49862014-12-06 Joseph Myers <joseph@codesourcery.com>
4987
4988 [BZ #17682]
4989 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
4990 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
4991 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
4992 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
4993 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
4994 __getrlimit instead of getrlimit.
4995 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
4996 __gettimeofday instead of gettimeofday.
4997 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
4998 Likewise.
4999 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
5000 Likewise.
5001 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
5002 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
5003 Remove variable.
5004 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
5005 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
5006
9752c3cd
AZ
50072014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5008
5009 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
5010 for wide-character tests.
5011
4bee4cd9
RM
50122014-12-04 Roland McGrath <roland@hack.frob.com>
5013
5014 * io/openat64.c: #include <libc-internal.h>
5015 (__openat64): Prototypify. Use ignore_value on MODE.
5016 * io/openat.c: Likewise.
5017 * misc/reboot.c: #include <libc-internal.h>
5018 (reboot): Prototypify. Use ignore_value on HOWTO.
5019 * misc/ptrace.c: #include <libc-internal.h>
5020 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
5021
84dbedb6
JM
50222014-12-04 Joseph Myers <joseph@codesourcery.com>
5023
5024 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
5025 XPG4, UNIX98 and XOPEN2K.
5026 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
5027 Remove variable.
5028 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
5029
b7a3e1c4 50302014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
be349d70 5031
af50dfc1 5032 * libio/fileops.c: Use ISO C style for function definitions.
24b97882
SP
5033 * libio/iofopen.c: Likewise.
5034 * libio/wfileops.c: Likewise.
5035
fe8b4d98
SP
5036 [BZ #17653]
5037 * libio/fileops.c (_IO_new_file_underflow): Unset cached
5038 offset on EOF.
5039 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
5040 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
5041 (fgets_func): Function pointer to fgets and fgetws.
5042 (do_ftell_test): Add test to verify ftell value after read
5043 EOF.
5044 (do_test): Set fgets_func.
5045
61b4f792
SP
5046 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
5047 O_TRUNC flag for w and w+ modes.
5048 (do_rewind_test): Likewise.
5049 (do_ftell_test): Likewise.
5050 (do_write_test): Likewise.
5051
be349d70
SP
5052 [BZ #17647]
5053 * libio/fileops.c (do_ftell): Seek only when there are
5054 unflushed writes.
5055 * libio/wfileops.c (do_ftell_wide): Likewise.
5056 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
5057 test case.
5058 (do_one_test): Call it.
5059
e3d6dba5
JM
50602014-12-03 Joseph Myers <joseph@codesourcery.com>
5061
5062 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
5063 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
5064 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
5065 Remove variable.
5066 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
5067 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
5068 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
5069
7f994279
JM
50702014-12-02 Joseph Myers <joseph@codesourcery.com>
5071
28a91e8f
JM
5072 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
5073 Remove variable.
5074 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
5075
7f994279
JM
5076 [BZ #17668]
5077 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
5078 as weak alias of __getifaddrs. Use libc_hidden_weak.
5079 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
5080 __freeifaddrs. Use libc_hidden_weak.
5081 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
5082 define as weak alias of __getifaddrs. Use libc_hidden_weak.
5083 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
5084 __freeifaddrs. Use libc_hidden_weak.
5085 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
5086 __getifaddrs and define as weak alias of __getifaddrs. Use
5087 libc_hidden_weak.
5088 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
5089 __freeifaddrs. Use libc_hidden_weak.
5090 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
5091 Remove variable.
5092 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
5093 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
5094
bbe4c142
PJ
50952014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
5096
5097 [BZ #17601]
5098 * sysdeps/mips/start.S (__start): Use indirect jump to call
5099 __libc_start_main.
5100
66cadc05
JM
51012014-12-02 Joseph Myers <joseph@codesourcery.com>
5102
909e16d9
JM
5103 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
5104
4e0b9016
JM
5105 * nptl/tst-mutex1.c: Include <stdbool.h>.
5106 [!ATTR] (ATTR_NULL): New macro.
5107 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
5108 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
5109 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
5110
b1aff6a4
JM
5111 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
5112 to char *.
5113
266865c0
JM
5114 [BZ #17665]
5115 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
5116 Change conditional to [__USE_MISC].
5117
84e5e756
JM
5118 [BZ #17664]
5119 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
5120 fgets_unlocked.
5121 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
5122 __fgets_unlocked.
5123 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
5124 fgets_unlocked.
5125 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
5126 Remove variable.
5127 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
5128 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
5129 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
5130 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
5131 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
5132 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
5133 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
5134 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
5135 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
5136
66cadc05
JM
5137 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
5138
2e8a2de2 51392014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
0f0a1c82
AZ
5140
5141 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5142 Remove strpbrk objects.
5143 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5144 (__libc_ifunc_impl_list): Remove strpbrk implementation.
5145 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
5146 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
5147 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
5148 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
5149
bb2542e0
AZ
5150 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5151 Remove strcspn objects.
5152 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5153 (__libc_ifunc_impl_list): Remove strcspn implementation.
5154 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
5155 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
5156 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
5157 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
2e8a2de2
AZ
5158
5159 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5160 Remove strspn objetcs.
5161 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5162 (__libc_ifunc_impl_list): Remove strspn implementation.
5163 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
5164 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
5165 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
5166 * sysdeps/powerpc/powerpc64/strspn.S: New file.
5167
08f1e1d2
JL
51682014-12-01 James Lemke <jwlemke@codesourcery.com>
5169
5170 [BZ #17581]
5171 * malloc/hooks.c
5172 (mem2mem_check): Add a terminator to the chain of checking blocks.
5173 (malloc_check_get_size): Use it here.
5174 (mem2chunk_check): Ditto.
5175
a8a7d7d2
RS
51762014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5177
5178 * sysdeps/powerpc/powerpc64/strtok.S: New file.
5179 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
5180
97114a38
CD
51812014-11-29 Carlos O'Donell <carlos@redhat.com>
5182
c8dc1727
CD
5183 * bits/ioctl-types.h: Indent preprocessor directives correctly.
5184
6d03458e
CD
5185 * nptl/nptl-init.c: Include libc-internal.h.
5186 (__pthread_initialize_minimal_internal): Use ROUND_UP.
5187
97114a38
CD
5188 * elf/ldconfig.c (search_dir): Expand comment.
5189
0e7e69ba
JM
51902014-11-29 Joseph Myers <joseph@codesourcery.com>
5191
5192 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
5193 variable.
5194 (linknamespace-symlist-stdlibs-tests): Likewise.
5195 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
5196 instead of $(objpfx)symlist-stdlibs.
5197 (linknamespace-libs-isoc): New variable.
5198 (linknamespace-libs): Use $(linknamespace-libs-isoc).
5199 (linknamespace-libs-ISO): New variable.
5200 (linknamespace-libs-ISO99): Likewise.
5201 (linknamespace-libs-ISO11): Likewise.
5202 (linknamespace-libs-XPG3): Likewise.
5203 (linknamespace-libs-XPG4): Likewise.
5204 (linknamespace-libs-POSIX): Likewise.
5205 (linknamespace-libs-UNIX98): Likewise.
5206 (linknamespace-libs-XOPEN2K): Likewise.
5207 (linknamespace-libs-POSIX2008): Likewise.
5208 (linknamespace-libs-XOPEN2K8): Likewise.
5209 ($(objpfx)symlist-stdlibs): Replace by
5210 $(linknamespace-symlist-stdlibs-tests). Use
5211 $(linknamespace-libs-$*) as set of libraries.
5212 ($(linknamespace-header-tests)): Update dependencies. Use
5213 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
5214 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
5215 * conform/linknamespace.pl: Remove comment about considering
5216 definitions of symbols from irrelevant libraries.
5217
d8dd0080
L
52182014-11-28 H.J. Lu <hongjiu.lu@intel.com>
5219
5220 [BZ #13862]
5221 * elf/dl-tls.c: Include <atomic.h>.
5222 (oom): Remove #ifdef SHARED/#endif.
5223 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
5224 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
5225 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
5226 big enough.
5227 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
5228 * nptl/Makefile (tests): Add tst-stack4.
5229 (modules-names): Add tst-stack4mod.
5230 ($(objpfx)tst-stack4): New.
5231 (tst-stack4mod.sos): Likewise.
5232 ($(objpfx)tst-stack4.out): Likewise.
5233 ($(tst-stack4mod.sos)): Likewise.
5234 (clean): Likewise.
5235 * nptl/tst-stack4.c: New file.
5236 * nptl/tst-stack4mod.c: Likewise.
5237
167da422
B
52382014-11-27 J. Brown <jb999@gmx.de>
5239
5240 * sysdeps/x86/bits/string.h: Add recent CPUs.
5241
9114625b
JM
52422014-11-27 Joseph Myers <joseph@codesourcery.com>
5243
6b5189eb
JM
5244 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
5245 sigblock.
5246
49051f8e
JM
5247 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
5248 feof.
5249
9114625b
JM
5250 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
5251 variable.
5252
e7300fef
SL
52532014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
5254
5255 * nscd/connections.c: Include libc-internal.h because of macro
5256 usage ignore_value.
5257
1721f0a4
SP
52582014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5259
5260 * string/bits/string3.h (__warn_memset_zero_len): Don't
5261 declare for gcc newer than 5.0.
5262 (memset): Don't test for zero-length __LEN for gcc newer than
5263 5.0.
5264
be970916
JM
52652014-11-27 Joseph Myers <joseph@codesourcery.com>
5266
d88548f4
JM
5267 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
5268 size_t for %zu format.
5269
be970916
JM
5270 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
5271 difference, not %ju.
5272
3b20fd5c
JM
52732014-11-26 Joseph Myers <joseph@codesourcery.com>
5274
8915eace
JM
5275 * include/libc-internal.h (ignore_value): New macro.
5276 * nscd/connections.c (restart): Wrap calls to setuid and setgid
5277 with ignore_value.
5278
f1a5a0e3
JM
5279 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
5280 definition.
5281
59ef1715
JM
5282 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
5283 pthread_cleanup_push to void *.
5284
a6f3079b
JM
5285 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
5286 Undefine.
5287
706688aa
JM
5288 [BZ #16619]
5289 [BZ #16740]
5290 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
5291 instead of 1L << 52.
5292
12da14a5
JM
5293 * libio/bug-rewind.c (do_test): Check fwscanf return values.
5294 * libio/bug-rewind2.c (do_test): Likewise.
5295
bd5dadac
JM
5296 * debug/test-stpcpy_chk-ifunc.c: Remove file.
5297 * debug/test-strcpy_chk-ifunc.c: Likewise.
5298 * wcsmbs/test-wcschr-ifunc.c: Likewise.
5299 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
5300 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
5301 * wcsmbs/test-wcslen-ifunc.c: Likewise.
5302 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
5303 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
5304 * Rules [$(multi-arch) = no] (tests): Do not filter out
5305 $(tests-ifunc).
5306 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
5307 * debug/Makefile (tests-ifunc): Remove variable.
5308 (tests): Do not add $(tests-ifunc).
5309 * wcsmbs/Makefile (tests-ifunc): Remove variable.
5310 (tests): Do not add $(tests-ifunc).
5311 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
5312 [TEST_IFUNC]: Remove conditionals.
5313 * string/test-string.h (TEST_IFUNC): Remove macro.
5314 [TEST_IFUNC]: Remove conditionals.
5315
3b20fd5c
JM
5316 * string/test-strchr.c [!WIDE] (L): New macro.
5317 [WIDE] (L): Likewise.
5318 (check1): Use CHAR instead of char. Use L on string and character
5319 constants.
5320
704f7947
AZ
53212014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
5322
5323 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
5324 tests.
5325 * sysdeps/powerpc/bits/atomic.h
5326 (__arch_atomic_exchange_and_add_32_acq): Add definition.
5327 (__arch_atomic_exchange_and_add_32_rel): Likewise.
5328 (atomic_exchange_and_add_acq): Likewise.
5329 (atomic_exchange_and_add_rel): Likewise.
5330 * sysdeps/powerpc/powerpc32/bits/atomic.h
5331 (__arch_atomic_exchange_and_add_64_acq): Add definition.
5332 (__arch_atomic_exchange_and_add_64_rel): Likewise.
5333 * sysdeps/powerpc/powerpc64/bits/atomic.h
5334 (__arch_atomic_exchange_and_add_64_acq): Add definition.
5335 (__arch_atomic_exchange_and_add_64_rel): Likewise.
5336
cdcb42d7
TR
53372014-11-26 Torvald Riegel <triegel@redhat.com>
5338
5339 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
5340 Change synchronization of __sched_fifo_min_prio and
5341 __sched_fifo_max_prio.
5342 * nptl/pthread_mutexattr_getprioceiling.c
5343 (pthread_mutexattr_getprioceiling): Likewise.
5344 * nptl/pthread_mutexattr_setprioceiling.c
5345 (pthread_mutexattr_setprioceiling): Likewise.
5346 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
5347 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
5348 Likewise.
5349
c82f5c0c
JM
53502014-11-26 Joseph Myers <joseph@codesourcery.com>
5351
5352 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
5353 void.
5354
439e1ad6
JM
53552014-11-25 Joseph Myers <joseph@codesourcery.com>
5356
5357 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
5358 third argument const.
5359
b1eda10e
PE
53602014-11-25 Paul Eggert <eggert@cs.ucla.edu>
5361
5362 fnmatch: work around GCC compiler warning bug with uninit var
5363 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
5364 This works around a bug with x86-64 GCC 4.9.2 and earlier
5365 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
5366 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
5367 used uninitialized in this function [-Wmaybe-uninitialized]".
5368
bde2667a
JM
53692014-11-25 Joseph Myers <joseph@codesourcery.com>
5370
5371 * posix/bug-regex31.c (main): Return RES not 0.
5372
5fbb5691
AB
53732014-11-25 Anton Blanchard <anton@samba.org>
5374
5375 * sysdeps/powerpc/bits/atomic.h
5376 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
5377
467fec0b
BM
53782014-11-24 Sterling Augustine <saugustine@google.com>
5379
5380 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
5381
e9ff8efb
RC
53822014-11-24 Ryan Cumming <etaoins@gmail.com>
5383
5384 [BZ #17608]
5385 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
5386
9744496f
JM
53872014-11-24 Joseph Myers <joseph@codesourcery.com>
5388
5389 [BZ #17633]
5390 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
5391 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
5392 variable.
5393 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
5394 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
5395
6423d475
WD
53962014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
5397
5398 * string/strncpy.c (strncpy): Improve performance by using memset.
5399
54002014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
b863d2bc
WD
5401
5402 * string/strcpy.c (strcpy):
5403 Improve performance by using strlen and memcpy.
5404
5d178c37
LH
54052014-11-24 Leonhard Holz <leonhard.holz@web.de>
5406
5407 * string/strcoll_l.c (get_next_seq): __always_inline.
5408 * string/strcoll_l.c (do_compare): __always_inline.
5409
279bc5b3
SP
54102014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5411
7a9ebfa1
SP
5412 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
5413 defined.
5414 * include/mqueue.h: Likewise.
5415 * include/stdlib.h: Likewise.
5416
4f41c682
SP
5417 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
5418 (get_null_defines): Adjust.
5419 * sunrpc/Makefile: Adjust comment.
5420 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
5421 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
5422 (CFLAGS-interp.c): Likewise.
5423 (CFLAGS-ldconfig.c): Likewise.
5424 (CPPFLAGS-.os): Likewise.
5425 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
5426 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
5427 * extra-modules.mk (extra-modules.mk): Likewise.
5428 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
5429 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
5430 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
5431 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
5432 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
5433 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
5434 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
5435 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
5436 * iconvdata/Makefile (CPPFLAGS): Likewise.
5437 (cpp-srcs-left): Add libof for all iconvdata routines.
5438 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
5439 * include/assert.h: Likewise.
5440 * include/ctype.h: Likewise.
5441 * include/errno.h: Likewise.
5442 * include/libc-symbols.h: Likewise.
5443 * include/math.h: Likewise.
5444 * include/netdb.h: Likewise.
5445 * include/resolv.h: Likewise.
5446 * include/stdio.h: Likewise.
5447 * include/stdlib.h: Likewise.
5448 * include/string.h: Likewise.
5449 * include/sys/stat.h: Likewise.
5450 * include/wctype.h: Likewise.
5451 * intl/l10nflist.c: Likewise.
5452 * libidn/idn-stub.c: Likewise.
5453 * libio/libioP.h: Likewise.
5454 * nptl/libc_multiple_threads.c: Likewise.
5455 * nptl/pthreadP.h: Likewise.
5456 * posix/regex_internal.h: Likewise.
5457 * resolv/res_hconf.c: Likewise.
5458 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
5459 * sysdeps/arm/memmove.S: Likewise.
5460 * sysdeps/arm/sysdep.h: Likewise.
5461 * sysdeps/generic/_itoa.h: Likewise.
5462 * sysdeps/generic/symbol-hacks.h: Likewise.
5463 * sysdeps/gnu/errlist.awk: Likewise.
5464 * sysdeps/gnu/errlist.c: Likewise.
5465 * sysdeps/i386/i586/memcpy.S: Likewise.
5466 * sysdeps/i386/i586/memset.S: Likewise.
5467 * sysdeps/i386/i686/memcpy.S: Likewise.
5468 * sysdeps/i386/i686/memmove.S: Likewise.
5469 * sysdeps/i386/i686/mempcpy.S: Likewise.
5470 * sysdeps/i386/i686/memset.S: Likewise.
5471 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
5472 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
5473 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
5474 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
5475 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
5476 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
5477 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
5478 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
5479 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
5480 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
5481 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
5482 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
5483 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
5484 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
5485 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
5486 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
5487 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
5488 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
5489 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
5490 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
5491 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
5492 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
5493 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
5494 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
5495 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
5496 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
5497 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
5498 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
5499 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
5500 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
5501 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
5502 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
5503 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
5504 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5505 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
5506 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
5507 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
5508 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
5509 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
5510 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
5511 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
5512 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
5513 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
5514 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
5515 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
5516 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
5517 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
5518 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
5519 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
5520 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
5521 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
5522 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
5523 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
5524 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
5525 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
5526 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
5527 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
5528 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
5529 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
5530 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
5531 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
5532 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
5533 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
5534 * sysdeps/nptl/bits/libc-lock.h: Likewise.
5535 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
5536 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
5537 * sysdeps/posix/closedir.c: Likewise.
5538 * sysdeps/posix/opendir.c: Likewise.
5539 * sysdeps/posix/readdir.c: Likewise.
5540 * sysdeps/posix/rewinddir.c: Likewise.
5541 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
5542 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
5543 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
5544 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
5545 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
5546 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
5547 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
5548 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
5549 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
5550 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
5551 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
5552 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
5553 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
5554 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
5555 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
5556 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
5557 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
5558 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
5559 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
5560 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
5561 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
5562 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
5563 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
5564 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
5565 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
5566 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
5567 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
5568 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
5569 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
5570 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
5571 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
5572 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
5573 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
5574 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
5575 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
5576 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
5577 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
5578 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
5579 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
5580 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
5581 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
5582 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
5583 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
5584 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
5585 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
5586 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
5587 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
5588 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
5589 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
5590 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
5591 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
5592 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
5593 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
5594 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
5595 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
5596 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
5597 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
5598 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
5599 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
5600 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
5601 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
5602 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
5603 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
5604 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
5605 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
5606 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
5607 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
5608 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
5609 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
5610 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
5611 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
5612 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
5613 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
5614 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
5615 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
5616 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
5617 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
5618 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
5619 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
5620 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
5621 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
5622 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
5623 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
5624 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
5625 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
5626 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
5627 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
5628 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
5629 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
5630 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
5631 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
5632 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
5633 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
5634 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
5635 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
5636 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
5637 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
5638 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5639 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
5640 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
5641 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5642 * sysdeps/unix/alpha/sysdep.S: Likewise.
5643 * sysdeps/unix/alpha/sysdep.h: Likewise.
5644 * sysdeps/unix/make-syscalls.sh: Likewise.
5645 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
5646 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5647 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
5648 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
5649 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
5650 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
5651 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
5652 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
5653 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
5654 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
5655 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5656 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
5657 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5658 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
5659 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
5660 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
5661 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5662 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
5663 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
5664 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
5665 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
5666 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
5667 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
5668 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
5669 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
5670 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
5671 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
5672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
5673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
5674 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
5675 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
5676 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
5677 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
5678 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5679 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
5680 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
5681 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
5682 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5683 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
5684 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
5685 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5686 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
5687 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5688 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
5689 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5690 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
5691 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5692 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5693 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
5694 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5695 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
5696 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
5697 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5698 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
5699 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
5700 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5701 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
5702 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5703 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
5704 * sysdeps/x86_64/memcpy.S: Likewise.
5705 * sysdeps/x86_64/memmove.c: Likewise.
5706 * sysdeps/x86_64/memset.S: Likewise.
5707 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
5708 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
5709 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
5710 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
5711 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
5712 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
5713 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
5714 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
5715 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
5716 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
5717 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
5718 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
5719 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
5720 * sysdeps/x86_64/multiarch/memset.S: Likewise.
5721 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5722 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
5723 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
5724 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
5725 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
5726 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
5727 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
5728 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
5729 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
5730 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
5731 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
5732 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
5733 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
5734 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
5735 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
5736 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
5737 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
5738 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
5739 * sysdeps/x86_64/strcmp.S: Likewise.
5740
76ca86a5
SP
5741 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
5742
a3848485
SP
5743 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
5744 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
5745 * elf/rtld-Rules: Likewise.
5746 * elf/setup-vdso.h: Likewise.
5747 * include/assert.h: Likewise.
5748 * include/bits/stdlib-float.h: Likewise.
5749 * include/errno.h: Likewise.
5750 * include/sys/stat.h: Likewise.
5751 * include/unistd.h: Likewise.
5752 * sysdeps/aarch64/setjmp.S: Likewise.
5753 * sysdeps/alpha/setjmp.S: Likewise.
5754 * sysdeps/arm/__longjmp.S: Likewise.
5755 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
5756 * sysdeps/arm/setjmp.S: Likewise.
5757 * sysdeps/arm/sysdep.h: Likewise.
5758 * sysdeps/generic/_itoa.h: Likewise.
5759 * sysdeps/generic/dl-sysdep.h: Likewise.
5760 * sysdeps/generic/ldsodefs.h: Likewise.
5761 * sysdeps/i386/dl-tls.h: Likewise.
5762 * sysdeps/i386/setjmp.S: Likewise.
5763 * sysdeps/m68k/setjmp.c: Likewise.
5764 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
5765 * sysdeps/mach/hurd/opendir.c: Likewise.
5766 * sysdeps/posix/getcwd.c: Likewise.
5767 * sysdeps/posix/opendir.c: Likewise.
5768 * sysdeps/posix/profil.c: Likewise.
5769 * sysdeps/powerpc/dl-procinfo.h: Likewise.
5770 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
5771 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
5772 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
5773 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
5774 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
5775 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
5776 * sysdeps/s390/dl-tls.h: Likewise.
5777 * sysdeps/s390/s390-32/setjmp.S: Likewise.
5778 * sysdeps/s390/s390-64/setjmp.S: Likewise.
5779 * sysdeps/sh/sh3/setjmp.S: Likewise.
5780 * sysdeps/sh/sh4/setjmp.S: Likewise.
5781 * sysdeps/unix/alpha/sysdep.h: Likewise.
5782 * sysdeps/unix/arm/sysdep.S: Likewise.
5783 * sysdeps/unix/i386/sysdep.S: Likewise.
5784 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5785 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
5786 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
5787 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5788 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5789 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
5790 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
5791 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5792 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
5793 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
5794 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
5795 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
5796 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
5797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
5798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5799 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
5800 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5801 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5802 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5803 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5804 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5805 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5806 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5807 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
5808 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5809 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5810 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5811 * sysdeps/unix/x86_64/sysdep.S: Likewise.
5812 * sysdeps/x86_64/setjmp.S: Likewise.
5813
a109996e
SP
5814 * include/math.h: Use IS_IN instead of IS_IN_libm.
5815 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
5816 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5817 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
5818 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
5819 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
5820 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
5821 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
5822 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
5823 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
5824 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
5825 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
5826 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
5827 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
5828 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
5829 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
5830 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
5831 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
5832 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
5833 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
5834 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
5835 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
5836 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
5837 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
5838 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
5839 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
5840 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
5841 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
5842 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
5843 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
5844 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
5845 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
5846 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
5847 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
5848 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
5849 Likewise.
5850 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
5851 Likewise.
5852 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
5853 Likewise.
5854 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
5855 Likewise.
5856 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
5857 Likewise.
5858 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
5859 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
5860 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
5861 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
5862 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
5863 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
5864 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
5865 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
5866 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
5867 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
5868 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
5869 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
5870 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
5871 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
5872 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
5873 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
5874 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
5875 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
5876 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
5877 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
5878 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
5879 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
5880 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
5881 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
5882 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
5883 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
5884 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
5885
ce9f10f7
SP
5886 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
5887 * nptl/pthreadP.h: Likewise.
5888 * nptl_db/structs.def: Likewise.
5889 * sysdeps/arm/sysdep.h: Likewise.
5890 * sysdeps/nptl/bits/libc-lock.h: Likewise.
5891 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
5892 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
5893 * sysdeps/unix/alpha/sysdep.h: Likewise.
5894 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
5895 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5896 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
5897 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
5898 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
5899 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
5900 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5901 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
5902 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5903 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
5904 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
5905 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
5906 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
5907 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
5908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
5909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
5910 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
5911 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
5912 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
5913 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
5914 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
5915 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
5916 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5917 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
5918 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
5919 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
5920
016afc75
SP
5921 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
5922 * nptl/pthreadP.h: Likewise.
5923 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
5924 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
5925 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
5926 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
5927 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
5928 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
5929 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5930 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
5931 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
5932 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
5933 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
5934 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
5935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
5936 Likewise.
5937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
5938 Likewise.
5939 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
5940 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
5941 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
5942 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
5943 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
5944 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
5945 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
5946 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
5947
9b42a0b3
SP
5948 * dlfcn/dladdr.c: Use IS_IN.
5949 * dlfcn/dladdr1.c: Likewise.
5950 * dlfcn/dlclose.c: Likewise.
5951 * dlfcn/dlerror.c: Likewise.
5952 * dlfcn/dlinfo.c: Likewise.
5953 * dlfcn/dlmopen.c: Likewise.
5954 * dlfcn/dlopen.c: Likewise.
5955 * dlfcn/dlsym.c: Likewise.
5956 * dlfcn/dlvsym.c: Likewise.
5957
85f36372
SP
5958 * include/ifaddrs.h: Use IS_IN.
5959 * inet/check_pf.c: Likewise.
5960 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
5961 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
5962
fb6784e3
SP
5963 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
5964 IS_IN_ldconfig.
5965 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
5966 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
5967
2886d2d1
SP
5968 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
5969 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
5970 IS_IN (libc).
5971
9a484857
SP
5972 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
5973
a10178bd
SP
5974 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
5975 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
5976 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
5977 * include/libc-symbols.h (IS_IN_LIB): New macro.
5978 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
5979 * include/netdb.h: Likewise.
5980 * include/stap-probe.h: Remove all uses of IN_LIB.
5981
279bc5b3
SP
5982 * Makeconfig (module-cppflags-real): Define MODULE_NAME
5983 instead of IN_MODULE.
5984 * include/libc-symbols.h (IN_MODULE): Define using
5985 MODULE_NAME.
5986 (PASTE_NAME, PASTE_NAME1): New macros.
5987 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
5988 of IN_LIB.
5989 (STAP_PROBE_ASM): Likewise.
5990
e0cfa510
ST
59912014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
5992
5993 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
5994 __mach_init in dlopened libc.
5995
34d97d87
MF
59962014-11-22 Mike Frysinger <vapier@gentoo.org>
5997
5998 * sysdeps/arm/preconfigure.ac: Delete EABI check.
5999 * sysdeps/arm/preconfigure: Regenerate.
6000
33cd1f74
RM
60012014-11-21 Roland McGrath <roland@hack.frob.com>
6002
6003 * nptl/pthread_create.c (__pthread_create_2_1): Set
6004 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
6005 when copying values from IATTR into PD.
6006
8c230039
WN
60072014-11-21 Will Newton <will.newton@linaro.org>
6008 Andrew Pinski <andrew.pinski@caviumnetworks.com>
6009
6d3db89b
AP
6010 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
6011 Refactor inline-asm. Also add comment.
6012
01194ba1
WN
6013 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
6014 ElfW macro instead of hardcoded Elf64 types.
6015 (la_aarch64_gnu_pltenter): Likewise.
6016 * sysdeps/aarch64/dl-machine.h
6017 (elf_machine_runtime_setup): Use ElfW(Addr).
6018
8c230039
WN
6019 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
6020 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
6021 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
6022 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
6023 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
6024 (R_AARCH64_TLS_DTPMOD64): Rename to ..
6025 (R_AARCH64_TLS_DTPMOD): This.
6026 (R_AARCH64_TLS_DTPREL64): Rename to ...
6027 (R_AARCH64_TLS_DTPREL): This.
6028 (R_AARCH64_TLS_TPREL64): Rename to ...
6029 (R_AARCH64_TLS_TPREL): This.
6030 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
6031 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
6032 R_AARCH64_TLS_TPREL64.
6033 (elf_machine_rela): Likewise.
6034
0d79fa53
TR
60352014-11-21 Torvald Riegel <triegel@redhat.com>
6036
6037 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
6038 by setting it to 0. 64b atomics are not supported currently.
6039
b59d114b
AO
60402014-11-21 Alexandre Oliva <aoliva@redhat.com>
6041
6042 [BZ #16469]
6043 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
6044 search domain names.
6045
f3d945d5
AO
60462014-11-21 Alexandre Oliva <aoliva@redhat.com>
6047
6048 [BZ #16469]
6049 * NEWS: Update.
6050 * resolv/res_query.c (__libc_res_nquerydomain): Retain
6051 trailing dot.
6052 * posix/tst-getaddrinfo5.c: New.
6053 * posix/Makefile (tests): Add it.
6054
49698902
AO
60552014-11-21 Alexandre Oliva <aoliva@redhat.com>
6056
6057 [BZ #14498]
6058 * NEWS: Fixed.
6059 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
6060 after parsing line but before break_if_match.
6061 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
6062 if there is a protocol mismatch.
6063
81959214
MS
60642014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
6065
6066 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
6067 because the potential race is on the user-supplied stream.
6068
7729e0e9
AO
60692014-11-21 Alexandre Oliva <aoliva@redhat.com>
6070
6071 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
6072 string literal if not passed a buffer.
6073 * manual/job.texi (ctermid): Update reasoning, note deviation
6074 from posix, suggest mtasurace when not passed a buffer, for
6075 future non-preliminary safety notes.
6076
a4ea5e28
AO
60772014-11-21 Alexandre Oliva <aoliva@redhat.com>
6078
6079 * manual/users.texi (cuserid): Fix MT-Safety note for the case
6080 of not passing it a buffer.
6081 Reported by Peng Haitao.
6082
a2b581cb
AO
60832014-11-21 Alexandre Oliva <aoliva@redhat.com>
6084
6085 * manual/Makefile ($(objpfx)stamp-summary): Require
6086 check-safety.sh to pass.
6087 * manual/check-safety.sh: Wish for verification that every
6088 @deftypefn and @deftypefun is followed by a @safety remark.
6089
f214ff74
RM
60902014-11-20 Roland McGrath <roland@hack.frob.com>
6091
7f0dfae0
RM
6092 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
6093
2f531bbb
RM
6094 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
6095 PTHREAD_CANCEL_ASYNCHRONOUS.
6096 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
6097 send SIGCANCEL.
6098
f214ff74
RM
6099 * nptl/default-sched.h: New file.
6100 * sysdeps/unix/sysv/linux/default-sched.h: New file.
6101 * nptl/pthread_create.c: Include it.
6102 (__pthread_create_2_1): Use collect_default_sched instead of making
6103 Linux syscalls here directly.
6104
e37c91d4
TR
61052014-11-20 Torvald Riegel <triegel@redhat.com>
6106
6107 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
6108 __pthread_once): Use C11 atomics.
6109
1eccfecd
TR
61102014-11-20 Torvald Riegel <triegel@redhat.com>
6111
6112 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
6113
ff871426
TR
61142014-11-20 Torvald Riegel <triegel@redhat.com>
6115
6116 * include/atomic.h (__atomic_link_error, __atomic_check_size,
6117 atomic_thread_fence_acquire, atomic_thread_fence_release,
6118 atomic_thread_fence_seq_cst, atomic_load_relaxed,
6119 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
6120 atomic_compare_exchange_weak_relaxed,
6121 atomic_compare_exchange_weak_acquire,
6122 atomic_compare_exchange_weak_release,
6123 atomic_exchange_acquire, atomic_exchange_release,
6124 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
6125 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
6126 atomic_fetch_and_acquire,
6127 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
6128
1ea339b6
TR
61292014-11-20 Torvald Riegel <triegel@redhat.com>
6130
6131 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
6132 USE_ATOMIC_COMPILER_BUILTINS): Define.
6133 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
6134 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6135 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
6136 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6137 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
6138 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6139 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
6140 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6141 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
6142 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6143 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
6144 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6145 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
6146 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6147 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
6148 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6149 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
6150 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6151 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
6152 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6153 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
6154 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6155 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
6156 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6157 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
6158 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6159 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
6160 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6161 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
6162 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6163 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
6164 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6165 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
6166 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6167 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
6168 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6169 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
6170 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6171 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
6172 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6173
cbd463e2
RM
61742014-11-19 Roland McGrath <roland@hack.frob.com>
6175
d960211f
RM
6176 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
6177 the sched_priority value here. It was already checked when the user
6178 called pthread_attr_setschedparam.
6179
cbd463e2
RM
6180 * nptl/tst-bad-schedattr.c: New file.
6181 * nptl/Makefile (tests): Add it.
6182
a39208bd
CD
61832014-11-19 Carlos O'Donell <carlos@redhat.com>
6184 Florian Weimer <fweimer@redhat.com>
6185 Joseph Myers <joseph@codesourcery.com>
6186 Adam Conrad <adconrad@0c3.net>
6187 Andreas Schwab <schwab@suse.de>
6188 Brooks <bmoses@google.com>
6189
6190 [BZ #17625]
6191 * wordexp-test.c (__dso_handle): Add prototype.
6192 (__register_atfork): Likewise.
6193 (__app_register_atfork): New function.
6194 (registered_forks): New global.
6195 (register_fork): New function.
6196 (test_case): Add 3 new tests for WRDE_CMDSUB.
6197 (main): Call __app_register_atfork.
6198 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
6199 fork count is non-zero fail the test.
6200 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
6201 is set.
6202 (parse_dollars): Remove check for WRDE_NOCMD.
6203 (parse_dquote): Likewise.
6204
9cd47470
SP
62052014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6206
130ac68c
SP
6207 * Makeconfig (built-modules): List non-library modules to be
6208 built.
6209 (module-cppflags): Include libc-modules.h for
6210 everything except shlib-versions.v.i.
6211 (CPPFLAGS): Use it.
6212 (before-compile): Add libc-modules.h.
6213 ($(common-objpfx)libc-modules.h,
6214 $(common-objpfx)libc-modules.stmp): New targets.
6215 (common-generated): Add libc-modules.h and libc-modules.stmp.
6216 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
6217 * include/libc-symbols.h: Don't include libc-modules.h.
6218 * include/libc-modules.h: Remove file.
6219 * scripts/gen-libc-modules.awk: New script to generate
6220 libc-modules.h.
6221 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
6222 Depend on libc-modules.stmp.
6223
286663c3
SP
6224 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
6225
9cd47470
SP
6226 * Makeconfig (in-module): Get value of libof set for the
6227 translation unit.
6228 (CPPFLAGS): Use $(in-module).
6229 * Makerules: Don't suffix routine names for nonlib.
6230 * include/libc-modules.h: New file.
6231 * include/libc-symbols.h: Include libc-modules.h
6232 (IS_IN): New macro to replace IS_IN_* macros.
6233 * elf/Makefile: Set libof-* for each routine.
6234 * elf/rtld-Rules: Likewise.
6235 * extra-modules.mk: Likewise.
6236 * iconv/Makefile: Likewise.
6237 * iconvdata/Makefile: Likewise.
6238 * locale/Makefile: Likewise.
6239 * malloc/Makefile: Likewise.
6240 * nss/Makefile: Likewise.
6241 * sysdeps/gnu/Makefile: Likewise.
6242 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
6243 * sysdeps/unix/sysv/linux/Makefile: Likewise.
6244 * sysdeps/s390/s390-64/Makefile: Likewise.
6245 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
6246 CPPFLAGS for nscd instead of nonlib.
6247
32fed10f
RM
62482014-11-18 Roland McGrath <roland@hack.frob.com>
6249
d71035bd
RM
6250 * nptl/createthread.c: New file.
6251
6540b991
RM
6252 * nptl/createthread.c: Moved ...
6253 * sysdeps/unix/sysv/linux/createthread.c: ... here.
6254
32fed10f
RM
6255 * nptl/createthread.c: Add proper top-line comment.
6256 (do_clone): Folded into ...
6257 (create_thread): ... here. Take new arguments STOPPED_START and
6258 THREAD_RAN. Always set PD->stopped_start to something here. Don't
6259 increment __nptl_threads, do event-reporting logic, do
6260 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
6261 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
6262 resource cleanup if sched_setaffinity or sched_setscheduler fails,
6263 just send SIGCANCEL.
6264 * nptl/pthread_create.c: Forward-declare create_thread before
6265 including createthread.c.
6266 (start_thread): Use new macro START_THREAD_DEFN to replace defining
6267 declaration, and new macro START_THREAD_SELF to replace argument.
6268 Remove return statement.
6269 (report_thread_creation): New function.
6270 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
6271 synchronization logic, and __nptl_nthreads increment here, around
6272 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
6273 PD->parent_cancelhandling here, before create_thread. When
6274 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
6275 __deallocate_stack, and ENOMEM translation here.
6276
107a5bf0
JM
62772014-11-18 Joseph Myers <joseph@codesourcery.com>
6278
6279 [BZ #17616]
6280 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
6281 (mptwo): Rename to __mptwo.
6282 (__inv): Use __mptwo instead of mptwo.
6283 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
6284 (mptwo): Rename to __mptwo.
6285 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
6286 of mpone and __mptwo instead of mptwo.
6287 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
6288 instead of mpone.
6289 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
6290 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
6291 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
6292 of mpone and __mptwo instead of mptwo.
6293 (__mpranred): Use __mpone instead of mpone.
6294 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
6295 variable.
6296 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
6297 (test-xfail-ISO99/math.h/linknamespace): Likewise.
6298 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
6299 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
6300 (test-xfail-ISO11/math.h/linknamespace): Likewise.
6301 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
6302 (test-xfail-XPG3/math.h/linknamespace): Likewise.
6303 (test-xfail-XPG4/math.h/linknamespace): Likewise.
6304 (test-xfail-POSIX/math.h/linknamespace): Likewise.
6305 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
6306 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
6307 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
6308 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
6309 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
6310 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
6311 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
6312 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
6313 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
6314 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
6315
3b679ab3
TV
63162014-11-18 Tom de Vries <tom@codesoucery.com>
6317
6318 * manual/signal.texi (Primitives Interrupted by Signals): In section,
6319 replace BSD Handler xref with BSD Signal Handling.
4886f341
RH
6320
63212014-11-17 Richard Henderson <rth@redhat.com>
6322
6323 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
6324 (_FP_PACK_RAW_2): Remove.
6325 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
6326 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
6327 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
6328 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
6329 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
6330 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
6331 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
6332 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
6333 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
6334 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
6335 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
6336 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
6337 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
6338 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
6339 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
6340 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
6341
0781a777
RM
63422014-11-14 Roland McGrath <roland@hack.frob.com>
6343
6344 * signal/signal.h [__USE_MISC]
6345 (struct sigvec): Remove type.
6346 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
6347 (sigvec): Remove declaration.
6348 * sysdeps/posix/sigvec.c: Moved ...
6349 * signal/sigvec.c: ... here, replacing old file.
6350 (struct sigvec): New type, copied from old signal.h definition.
6351 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
6352 (__sigvec): Convert definition to prototype.
6353 (sigvec): Replace weak_alias with compat_symbol.
6354 * signal/Versions (libc: GLIBC_2.21): New version set.
6355 * include/signal.h: Remove __sigvec declaration.
6356 * sysdeps/unix/bsd/sigvec.c: Remove file.
6357 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
6358 * manual/signal.texi (BSD Handler): Remove subsection.
6359 Move siginterrupt up to ...
6360 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
6361 (Blocking in BSD): Fold subsection into its parent.
6362 * NEWS: Mention sigvec removal.
6363
a4733812
JM
63642014-11-14 Joseph Myers <joseph@codesourcery.com>
6365
5ae4fe60
JM
6366 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
6367 (DLA_FMS): Make definition conditional only on [__FMA4__].
6368 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
6369 definition.
6370
6a0dd472
JM
6371 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
6372 Make definition conditional only on [PROF].
6373 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
6374 definition.
6375 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
6376 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
6377
a4733812
JM
6378 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
6379 !__GNUC__].
6380 * include/signal.h (__sigpause): Move declaration above call to
6381 libc_hidden_proto.
6382 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
6383 variable.
6384 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
6385 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
6386
cf7246dd
DM
63872014-11-14 David S. Miller <davem@davemloft.net>
6388
6389 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
6390 Define before including <string/memcpy.c> and <string/mempcpy.c>.
6391
c1b0aadc
JM
63922014-11-14 Joseph Myers <joseph@codesourcery.com>
6393
4863355a
JM
6394 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
6395 * configure: Regenerated.
6396 * manual/install.texi (Tools for Compilation): Document a
6397 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
6398 compiler verified to work.
6399 * INSTALL: Regenerated.
6400
c1b0aadc
JM
6401 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
6402 redeclare with asm name.
6403 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
6404 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
6405 including <string.h>.
6406 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
6407 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
6408 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
6409 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
6410 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
6411 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
6412 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
6413
2a1cfd94
JM
64142014-11-13 Joseph Myers <joseph@codesourcery.com>
6415
bf438382
JM
6416 * stdlib/strtol.c (__strtol): Use prototype definition.
6417
2a1cfd94
JM
6418 [BZ #17594]
6419 * stdlib/strtol.c (SYM__): New macro.
6420 (SYM__1): Likewise.
6421 (__strtol): Likewise.
6422 (strtol): Rename to __strtol and define as weak alias of
6423 __strtol. Use libc_hidden_weak.
6424
20ed0d26
SL
64252014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
6426
6427 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
6428 Use numbered labels in inline assembly.
6429
53244a4e
SL
64302014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
6431
6432 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
6433 Add setjmp LIBC_PROBE.
6434 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
6435 Likewise.
6436 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
6437 Add longjmp, longjmp_target LIBC_PROBE.
6438 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
6439 Likewise.
6440
47df8251
SL
64412014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
6442
6443 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
6444 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
6445 to get rid of unused variable warning.
6446
618cebef
SL
64472014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
6448
6449 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
6450 Check for unwind_backtrace == NULL only in SHARED case.
6451 (__backchain_backtrace): Compile only in SHARED case.
6452 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
6453 Likewise.
6454 (__backchain_backtrace): Declare as static.
6455
c6aab2cb
RM
64562014-11-12 Roland McGrath <roland@hack.frob.com>
6457
6458 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
6459 (__libc_multiple_threads_ptr): Variable moved ...
6460 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
6461
5a6fa4d7
JM
64622014-11-12 Joseph Myers <joseph@codesourcery.com>
6463
24f4f825
JM
6464 * conform/GlibcConform.pm: New file.
6465 * conform/conformtest.pl: Use GlibcConform module.
6466 * conform/linknamespace.pl: New file.
6467 * conform/list-header-symbols.pl: Likewise.
6468 * conform/Makefile (linknamespace-symlists-base): New variable.
6469 (linknamespace-symlists-tests): Likewise.
6470 (linknamespace-header-base): Likewise.
6471 (linknamespace-header-tests): Likewise.
6472 (tests-special): Add new tests.
6473 ($(linknamespace-symlists-tests)): New rule.
6474 (linknamespace-libs): New variable.
6475 ($(objpfx)symlist-stdlibs): New rule.
6476 ($(linknamespace-header-tests)): Likewise.
6477 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
6478 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
6479 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
6480 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
6481 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
6482 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
6483 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
6484 (test-xfail-ISO/math.h/linknamespace): Likewise.
6485 (test-xfail-ISO/signal.h/linknamespace): Likewise.
6486 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
6487 (test-xfail-ISO/time.h/linknamespace): Likewise.
6488 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
6489 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
6490 (test-xfail-ISO99/math.h/linknamespace): Likewise.
6491 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
6492 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
6493 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
6494 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
6495 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
6496 (test-xfail-ISO11/math.h/linknamespace): Likewise.
6497 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
6498 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
6499 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
6500 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
6501 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
6502 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
6503 (test-xfail-XPG3/math.h/linknamespace): Likewise.
6504 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
6505 (test-xfail-XPG3/search.h/linknamespace): Likewise.
6506 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
6507 (test-xfail-XPG3/time.h/linknamespace): Likewise.
6508 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
6509 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
6510 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
6511 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
6512 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
6513 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
6514 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
6515 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
6516 (test-xfail-XPG4/math.h/linknamespace): Likewise.
6517 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
6518 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
6519 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
6520 (test-xfail-XPG4/search.h/linknamespace): Likewise.
6521 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
6522 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
6523 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
6524 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
6525 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
6526 (test-xfail-XPG4/time.h/linknamespace): Likewise.
6527 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
6528 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
6529 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
6530 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
6531 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
6532 (test-xfail-POSIX/math.h/linknamespace): Likewise.
6533 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
6534 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
6535 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
6536 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
6537 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
6538 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
6539 (test-xfail-POSIX/time.h/linknamespace): Likewise.
6540 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
6541 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
6542 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
6543 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
6544 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
6545 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
6546 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
6547 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
6548 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
6549 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
6550 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
6551 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
6552 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
6553 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
6554 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
6555 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
6556 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
6557 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
6558 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
6559 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
6560 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
6561 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
6562 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
6563 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
6564 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
6565 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
6566 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
6567 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
6568 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
6569 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
6570 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
6571 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
6572 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
6573 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
6574 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
6575 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
6576 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
6577 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
6578 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
6579 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
6580 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
6581 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
6582 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
6583 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
6584 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
6585 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
6586 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
6587 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
6588 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
6589 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
6590 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
6591 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
6592 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
6593 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
6594 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
6595 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
6596 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
6597 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
6598 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
6599 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
6600 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
6601 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
6602 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
6603 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
6604 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
6605 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
6606 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
6607 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
6608 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
6609 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
6610 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
6611 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
6612 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
6613 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
6614 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
6615 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
6616 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
6617 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
6618 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
6619 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
6620 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
6621 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
6622 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
6623 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
6624 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
6625 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
6626 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
6627 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
6628 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
6629 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
6630 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
6631 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
6632 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
6633 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
6634 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
6635 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
6636 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
6637 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
6638
cc67478e
JM
6639 [BZ #17589]
6640 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
6641 of fgets_unlocked.
6642
9975e3d3
JM
6643 [BZ #17585]
6644 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
6645 (memmem): Rename to __memmem and define as weak alias of
6646 __memmem. Use libc_hidden_weak.
6647 (__memmem): Use libc_hidden_def.
6648 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
6649 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
6650 memmem.
6651
c4eae752
JM
6652 [BZ #17582]
6653 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
6654 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
6655 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
6656 and define as weak alias of __fgets_unlocked. Use
6657 libc_hidden_weak.
6658 (__fgets_unlocked): Use libc_hidden_def.
6659 * include/stdio.h (__fgets_unlocked): Declare. Use
6660 libc_hidden_proto.
6661 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
6662 __fgets_unlocked instead of fgets_unlocked.
6663 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
6664 (GET_NPROCS_CONF_PARSER): Likewise.
6665 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
6666 (GET_NPROCS_CONF_PARSER): Likewise.
6667
01cad84e
JM
6668 [BZ #17574]
6669 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
6670 weak alias of __wmemset. Use libc_hidden_weak.
6671 (__wmemset): Use libc_hidden_def.
6672 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
6673 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
6674 of wmemset.
6675
939da411
JM
6676 [BZ #17573]
6677 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
6678 with asm name __mempcpy.
6679 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
6680
293d9a41
JM
6681 [BZ #17572]
6682 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
6683 and define as weak alias of __rawmemchr.
6684 (__rawmemchr): Do not define as strong alias of rawmemchr.
6685
bef8fd60
JM
6686 [BZ #17571]
6687 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
6688 alias of __qsort_r.
6689 (qsort): Call __qsort_r instead of qsort_r.
6690 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
6691 (__qsort_r): Declare. Call libc_hidden_proto.
6692 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
6693 instead of qsort_r.
6694 * nscd/gai.c (__qsort_r): Define to qsort_r.
6695 * posix/tst-rfc3484.c (__qsort_r): Likewise.
6696 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
6697 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
6698
c52ff39e
JM
6699 [BZ #17570]
6700 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
6701 define as weak alias of __malloc_info.
6702
2f5c1b00
JM
6703 [BZ #17584]
6704 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
6705 as weak alias of __rewinddir. Don't use libc_hidden_def.
6706 (__rewinddir): Use libc_hidden_def.
6707 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
6708 as weak alias of __rewinddir. Don't use libc_hidden_def.
6709 (__rewinddir): Use libc_hidden_def.
6710 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
6711 weak alias of __rewinddir. Don't use libc_hidden_def.
6712 (__rewinddir): Use libc_hidden_def.
6713 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
6714 (__rewinddir): Use libc_hidden_proto.
6715 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
6716 rewinddir.
6717 (__getcwd): Use __rewinddir instead of rewinddir.
6718
5a6fa4d7
JM
6719 [BZ #17583]
6720 * libio/fileno.c (fileno): Rename to __fileno and define as weak
6721 alias of __fileno. Use libc_hidden_weak.
6722 (__fileno): Use libc_hidden_def.
6723 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
6724 * libio/ftello.c (ftello): Rename to __ftello and define as weak
6725 alias of __ftello.
6726 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
6727 __ftello.
6728 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
6729 (__fread_unlocked): Define as strong alias of _IO_fread. Use
6730 libc_hidden_def.
6731 (fread_unlocked): Don't use libc_hidden_ver.
6732 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
6733 and define as weak alias of __fread_unlocked. Don't use
6734 libc_hidden_def.
6735 (__fread_unlocked): Use libc_hidden_def.
6736 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
6737 (ftello): Don't use libc_hidden_proto.
6738 (__ftello): Declare. Use libc_hidden_proto.
6739 (fread_unlocked): Don't use libc_hidden_proto.
6740 (__fread_unlocked): Declare. Use libc_hidden_proto.
6741 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
6742 and __ftello instead of fileno, fread_unlocked and ftello.
6743
2581b98e
SP
67442012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6745
6746 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
6747 GOT12.
6748 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
6749 Likewise.
6750 (_dl_start_user): Likewise.
6751 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
6752
533bb7c2
SP
67532014-11-12 Carlos O'Donell <carlos@redhat.com>
6754 Siddhesh Poyarekar <siddhesh@redhat.com>
6755
6756 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
6757 Move argv and envp down instead of moving argc up.
6758 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
6759
fffa1cf8
LH
67602014-11-12 Leonhard Holz <leonhard.holz@web.de>
6761
6762 [BZ #17506]
6763 * test-skeleton.c (main): Return successful if one of
6764 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
6765 * string/tst-strcoll-overflow.c: Define expected status.
6766
fb89b46d
TU
67672014-11-12 Tatiana Udalova <t.udalova@samsung.com>
6768
6769 [BZ #17475]
6770 * locale/iso-639.def: Define Bhili and Tulu language codes.
6771
5c40c3ba
AH
67722014-11-11 Alan Hayward <alan.hayward@arm.com>
6773
6774 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
6775
b17fe01b 67762014-11-10 Renlin Li <Renlin.Li@arm.com>
80085def
RL
6777
6778 [BZ #17555]
6779 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
6780
bd805071
AS
67812014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
6782
6783 * configure.ac: Updated check of minimal required version to
6784 2.22.
6785 * manual/install.texi (Tools for Compilation): Updated version
6786 number.
6787 * configure: Regenerated.
6788 * INSTALL: Likewise.
6789
1400983e
AS
67902014-11-07 Andreas Schwab <schwab@linux-m68k.org>
6791
6792 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
6793 __tls_get_addr.
6794
2c46a66a
JM
67952014-11-07 Joseph Myers <joseph@codesourcery.com>
6796
6797 * include/sys/wait.h (__libc_waitpid): Remove declaration.
6798 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
6799 (__waitpid): Don't define as alias. Use libc_hidden_def not
6800 libc_hidden_weak.
6801 (waitpid): Define as alias of __waitpid.
6802 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
6803 __waitpid.
6804 (__waitpid): Don't define as alias. Use libc_hidden_def not
6805 libc_hidden_weak.
6806 (waitpid): Define as alias of __waitpid.
6807 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
6808 __libc_waitpid alias.
6809 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
6810 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
6811 Likewise.
6812 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
6813 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
6814 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
6815 alias.
6816 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
6817 __waitpid.
6818 (__waitpid): Don't define as alias. Use libc_hidden_def not
6819 libc_hidden_weak.
6820 (waitpid): Define as alias of __waitpid.
6821
da53d6db
CD
68222014-11-06 Carlos O'Donell <carlos@redhat.com>
6823
a2887bdb
CD
6824 * manual/llio.texi: Add comment that write safety has been
6825 fixed in Linux.
6826
da53d6db
CD
6827 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
6828 (localplt-build-dso): Add elf/ld.so.
6829 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
6830 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
6831 and free for ld.so.
6832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
6833 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
6834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
6835 Likewise.
6836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
6837 Likewise.
6838 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
6839 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
6840 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
6841 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
6842 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
6843 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
6844 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
6845 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
6846 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
6847 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
6848 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
6849
9cf27b8d
JM
68502014-11-05 Joseph Myers <joseph@codesourcery.com>
6851
6852 [BZ #14132]
6853 * include/libc-symbols.h (INTUSE): Remove macro.
6854 (INTDEF): Likewise.
6855 (INTVARDEF): Likewise.
6856 (_INTVARDEF): Likewise.
6857 (INTDEF2): Likewise.
6858 (INTVARDEF2): Likewise.
6859 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
6860 rtld_hidden_def instead of INTVARDEF.
6861 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
6862 (_dl_starting_up_internal): Remove declaration.
6863 (_dl_starting_up): Use rtld_hidden_proto.
6864 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
6865 declaration.
6866 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
6867 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
6868 _dl_starting_up.
6869 * elf/dl-writev.h (_dl_writev): Likewise.
6870 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
6871 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
6872 _dl_starting_up_internal.
6873
af83568d
AZ
68742014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6875
6876 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
6877 test-skeleton.c.
6878
b01ee67c
WN
68792014-11-05 Will Newton <will.newton@linaro.org>
6880
6881 * benchtests/Makefile: (bench-malloc): Add malloc thread
6882 scalability benchmark.
6883 * benchtests/bench-malloc-threads.c: New file.
6884
be9d4ccc
RE
68852014-11-05 Richard Earnshaw <rearnsha@arm.com>
6886
6887 * sysdeps/aarch64/strchrnul.S: New file.
6888
7110166d
AZ
68892014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6890
6891 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
6892 definition.
6893 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
6894 Likwise.
6895 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
6896 Likewise.
6897 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
6898 Likewise.
6899 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
6900 Likewise.
6901 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
6902 Likewise.
6903
69042014-11-05 Arjun Shankar <arjun.is@lostca.se>
29955b5d
AS
6905
6906 * catgets/test-gencat.c: Use test-skeleton.c.
6907 * catgets/tst-catgets.c: Likewise.
6908 * csu/tst-empty.c: Likewise.
6909 * elf/tst-audit2.c: Likewise.
6910 * elf/tst-global1.c: Likewise.
6911 * elf/tst-pathopt.c: Likewise.
6912 * elf/tst-piemod1.c: Likewise.
6913 * elf/tst-tls10.c: Likewise.
6914 * elf/tst-tls11.c: Likewise.
6915 * elf/tst-tls12.c: Likewise.
6916 * gnulib/tst-gcc.c: Likewise.
6917 * iconvdata/tst-e2big.c: Likewise.
6918 * iconvdata/tst-loading.c: Likewise.
6919 * iconv/tst-iconv1.c: Likewise.
6920 * iconv/tst-iconv2.c: Likewise.
6921 * inet/test-inet6_opt.c: Likewise.
6922 * inet/tst-gethnm.c: Likewise.
6923 * inet/tst-network.c: Likewise.
6924 * inet/tst-ntoa.c: Likewise.
6925 * intl/tst-codeset.c: Likewise.
6926 * intl/tst-gettext2.c: Likewise.
6927 * intl/tst-gettext3.c: Likewise.
6928 * intl/tst-ngettext.c: Likewise.
6929 * intl/tst-translit.c: Likewise.
6930 * io/test-stat.c: Likewise.
6931 * libio/test-fmemopen.c: Likewise.
6932 * libio/tst-freopen.c: Likewise.
6933 * libio/tst-sscanf.c: Likewise.
6934 * libio/tst-ungetwc1.c: Likewise.
6935 * libio/tst-ungetwc2.c: Likewise.
6936 * libio/tst-widetext.c: Likewise.
6937 * localedata/tst-ctype.c: Likewise.
6938 * localedata/tst-digits.c: Likewise.
6939 * localedata/tst-leaks.c: Likewise.
6940 * localedata/tst-mbswcs1.c: Likewise.
6941 * localedata/tst-mbswcs2.c: Likewise.
6942 * localedata/tst-mbswcs3.c: Likewise.
6943 * localedata/tst-mbswcs4.c: Likewise.
6944 * localedata/tst-mbswcs5.c: Likewise.
6945 * localedata/tst-setlocale.c: Likewise.
6946 * localedata/tst-trans.c: Likewise.
6947 * localedata/tst-wctype.c: Likewise.
6948 * localedata/tst-xlocale1.c: Likewise.
6949 * login/tst-grantpt.c: Likewise.
6950 * malloc/tst-calloc.c: Likewise.
6951 * malloc/tst-malloc.c: Likewise.
6952 * malloc/tst-mallocstate.c: Likewise.
6953 * malloc/tst-mcheck.c: Likewise.
6954 * malloc/tst-mtrace.c: Likewise.
6955 * malloc/tst-obstack.c: Likewise.
6956 * math/atest-exp2.c: Likewise.
6957 * math/atest-exp.c: Likewise.
6958 * math/atest-sincos.c: Likewise.
6959 * math/test-matherr.c: Likewise.
6960 * math/test-misc.c: Likewise.
6961 * math/test-powl.c: Likewise.
6962 * math/tst-definitions.c: Likewise.
6963 * misc/tst-dirname.c: Likewise.
6964 * misc/tst-efgcvt.c: Likewise.
6965 * misc/tst-fdset.c: Likewise.
6966 * misc/tst-hsearch.c: Likewise.
6967 * misc/tst-mntent2.c: Likewise.
6968 * nptl/tst-sem7.c: Likewise.
6969 * nptl/tst-sem8.c: Likewise.
6970 * nptl/tst-sem9.c: Likewise.
6971 * nss/test-netdb.c: Likewise.
6972 * posix/tst-fnmatch.c: Likewise.
6973 * posix/tst-getlogin.c: Likewise.
6974 * posix/tst-gnuglob.c: Likewise.
6975 * posix/tst-mmap.c: Likewise.
6976 * pwd/tst-getpw.c: Likewise.
6977 * resolv/tst-inet_ntop.c: Likewise.
6978 * rt/tst-timer.c: Likewise.
6979 * stdio-common/test-fseek.c: Likewise.
6980 * stdio-common/test-popen.c: Likewise.
6981 * stdio-common/test-vfprintf.c: Likewise.
6982 * stdio-common/tst-cookie.c: Likewise.
6983 * stdio-common/tst-fileno.c: Likewise.
6984 * stdio-common/tst-gets.c: Likewise.
6985 * stdio-common/tst-obprintf.c: Likewise.
6986 * stdio-common/tst-perror.c: Likewise.
6987 * stdio-common/tst-sprintf2.c: Likewise.
6988 * stdio-common/tst-sprintf3.c: Likewise.
6989 * stdio-common/tst-sprintf.c: Likewise.
6990 * stdio-common/tst-swprintf.c: Likewise.
6991 * stdio-common/tst-tmpnam.c: Likewise.
6992 * stdio-common/tst-unbputc.c: Likewise.
6993 * stdio-common/tst-wc-printf.c: Likewise.
6994 * stdlib/tst-environ.c: Likewise.
6995 * stdlib/tst-fmtmsg.c: Likewise.
6996 * stdlib/tst-limits.c: Likewise.
6997 * stdlib/tst-rand48-2.c: Likewise.
6998 * stdlib/tst-rand48.c: Likewise.
6999 * stdlib/tst-random2.c: Likewise.
7000 * stdlib/tst-random.c: Likewise.
7001 * stdlib/tst-strtol.c: Likewise.
7002 * stdlib/tst-strtoll.c: Likewise.
7003 * stdlib/tst-tls-atexit.c: Likewise.
7004 * stdlib/tst-xpg-basename.c: Likewise.
7005 * string/test-ffs.c: Likewise.
7006 * string/tst-bswap.c: Likewise.
7007 * string/tst-inlcall.c: Likewise.
7008 * string/tst-strtok.c: Likewise.
7009 * string/tst-strxfrm.c: Likewise.
7010 * sysdeps/x86_64/tst-audit10.c: Likewise.
7011 * sysdeps/x86_64/tst-audit3.c: Likewise.
7012 * sysdeps/x86_64/tst-audit4.c: Likewise.
7013 * sysdeps/x86_64/tst-audit5.c: Likewise.
7014 * time/tst-ftime_l.c: Likewise.
7015 * time/tst-getdate.c: Likewise.
7016 * time/tst-mktime3.c: Likewise.
7017 * time/tst-mktime.c: Likewise.
7018 * time/tst-posixtz.c: Likewise.
7019 * time/tst-strptime2.c: Likewise.
7020 * time/tst-strptime3.c: Likewise.
7021 * wcsmbs/tst-btowc.c: Likewise.
7022 * wcsmbs/tst-mbrtowc.c: Likewise.
7023 * wcsmbs/tst-mbsrtowcs.c: Likewise.
7024 * wcsmbs/tst-wchar-h.c: Likewise.
7025 * wcsmbs/tst-wcpncpy.c: Likewise.
7026 * wcsmbs/tst-wcrtomb.c: Likewise.
7027 * wcsmbs/tst-wcsnlen.c: Likewise.
7028 * wcsmbs/tst-wcstof.c: Likewise.
7029
2004e7fb
JM
70302014-11-04 Joseph Myers <joseph@codesourcery.com>
7031
ab97ee8f
JM
7032 [BZ #14132]
7033 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
7034 INTDEF.
7035 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
7036 declaration.
7037 (_dl_mcount): Use rtld_hidden_proto.
7038 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
7039 _dl_mcount.
7040 * elf/rtld.c (_rtld_global_ro): Likewise.
7041
c5684fdb
JM
7042 [BZ #14132]
7043 * elf/dl-init.c (_dl_init): Don't use INTDEF.
7044 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
7045 of _dl_init_internal.
7046 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
7047 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
7048 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
7049 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
7050 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
7051 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
7052 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
7053 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
7054 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
7055 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
7056 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
7057 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
7058 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
7059 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
7060 * sysdeps/tile/dl-start.S (_start): Likewise.
7061 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
7062 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
7063
4243cbea
JM
7064 [BZ #14132]
7065 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
7066 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
7067 (rtld_progname): Make macro definition unconditional.
7068 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
7069 INTDEF.
7070 (dlmopen_doit): Do not use INTUSE with _dl_argv.
7071 (dl_main): Likewise.
7072 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
7073 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
7074 instead of _dl_argv_internal.
7075 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
7076 __GI__dl_argv instead of INTUSE(_dl_argv).
7077 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
7078 __GI__dl_argv instead of _dl_argv_internal.
7079
2004e7fb
JM
7080 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
7081 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
7082 macro.
7083 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
7084 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
7085 New macro.
7086 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
7087 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
7088 macro.
7089 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
7090 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
7091
97827bfc
AS
70922014-11-04 Andreas Schwab <schwab@suse.de>
7093
7094 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
7095
5e4df284
AZ
70962014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7097
7098 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
7099 mtvsrd instruction in binary form.
7100
04b76b5a
AS
71012014-11-03 Andreas Schwab <schwab@suse.de>
7102
7103 [BZ #17522]
7104 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
7105 for less than MB_LEN_MAX use a local buffer of that size.
7106 * libio/tst-fputws.c: New file.
7107 * libio/Makefile (tests): Add tst-fputws.
7108
4c6da7da
JM
71092014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
7110
7111 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
7112 the size of the fpu_fr.fpu_dregs[] array.
7113
1679ba8e
JM
71142014-11-01 Joseph Myers <joseph@codesourcery.com>
7115
7116 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
7117 (__nanosleep): Do not define as alias.
7118 (nanosleep): Define as alias of __nanosleep.
7119 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
7120 __libc_nanosleep name.
7121
2626c183
JM
71222014-10-31 Joseph Myers <joseph@codesourcery.com>
7123
7124 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
7125 install.texi in comment.
7126
7f981fc2
TR
71272014-10-31 Torvald Riegel <triegel@redhat.com>
7128
7129 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
7130 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
7131 ... add here and use lwsync or sync ...
7132 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
7133 ... and add here using lwsync.
7134
d6f373d2
MF
71352014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
7136
7137 * elf/dl-machine-reject-phdr.h: New file.
7138 * elf/dl-load.c: #include that.
7139 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
7140 if that returned true.
7141
67c37987
RM
71422014-10-31 Roland McGrath <roland@hack.frob.com>
7143
7144 [BZ #17496]
7145 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
7146 gen-as-const-headers chunk. Add a big scare comment after the last
7147 safe place to touch before-compile.
7148
94a42455 71492014-10-31 Joseph Myers <joseph@codesourcery.com>
f62ff286 7150
f3f5d895
JM
7151 * manual/install.texi (Tools for Compilation): Update autoconf
7152 version requirements.
7153 * INSTALL: Regenerated.
7154
f62ff286
JM
7155 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
7156 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
7157 (__libc_pselect): Likewise.
94a42455
JM
7158
7159 [BZ #14138]
7160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
7161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
7162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
7163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
7164
ff9dbdc0
TR
71652014-10-31 Torvald Riegel <triegel@redhat.com>
7166
7167 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
7168 correct barrier instruction.
7169 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
7170 Likewise.
7171 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
7172 Likewise.
7173
b4f66884
RM
71742014-10-30 Roland McGrath <roland@hack.frob.com>
7175
7176 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
7177 after defining inlines. Instead, just use parens to defeat macro
7178 expansion of __isctype in its declaration.
7179
e19c95fd
JM
71802014-10-30 Joseph Myers <joseph@codesourcery.com>
7181
7182 * include/sys/uio.h (__libc_readv): Remove declaration.
7183 (__libc_writev): Likewise.
7184 * misc/readv.c (__libc_readv): Rename to __readv.
7185 (__readv): Do not define as alias.
7186 (readv): Define as alias of __readv.
7187 * misc/writev.c (__libc_writev): Rename to __writev.
7188 (__writev): Do not define as alias.
7189 (writev): Define as alias of __writev.
7190 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
7191 (__readv): Do not define as alias.
7192 (readv): Define unconditionally as alias of __readv.
7193 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
7194 (__writev): Do not define as alias.
7195 (writev): Define unconditionally as alias of __writev.
7196 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
7197 name.
7198 (writev): Do not define __libc_writev name.
7199
65b00b6c
RM
72002014-10-30 Roland McGrath <roland@hack.frob.com>
7201
7202 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
7203 (convert_charseq): New function, broken out of ...
7204 (use_from_charmap): ... here. Call it.
7205 (use_to_charmap): Use convert_charseq and free instead of duplicating
7206 its code with a variable-length stack struct.
7207
d4e157aa
JM
72082014-10-30 Joseph Myers <joseph@codesourcery.com>
7209
7210 * include/fcntl.h (__libc_creat): Remove declaration.
7211 * io/creat.c (__libc_creat): Rename to creat.
7212 (creat): Do not define as alias.
7213 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
7214 of creat instead of __libc_creat.
7215 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
7216 to creat.
7217 (creat): Do not define as alias.
7218 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
7219 __libc_creat.
7220 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
7221 __libc_creat name.
7222 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
7223 Likewise.
7224
0c6891a0
CD
72252014-10-29 Carlos O'Donell <carlos@redhat.com>
7226
7227 * manual/llio.texi: Add comments discussing why write() may be
7228 considered MT-unsafe on Linux.
7229
cc00cece
CD
72302014-10-28 Carlos O'Donell <carlos@redhat.com>
7231
7232 * dl-load.c (local_strdup): Remove.
7233 (expand_dynamic_string_token): Use __strdup.
7234 (decompose_rpath): Likewise.
7235 (_dl_map_object): Likewise.
7236
51e623f2
JM
72372014-10-28 Joseph Myers <joseph@codesourcery.com>
7238
7239 [BZ #14132]
7240 * sysdeps/generic/unwind-dw2-fde.c
7241 (__register_frame_info_bases_internal): Do not declare.
7242 (__register_frame_info_table_bases_internal): Likewise.
7243 (__deregister_frame_info_bases_internal): Likewise.
7244 (__register_frame_info_bases): Declare and use hidden_proto before
7245 definition. Use hidden_def instead of INTDEF.
7246 (__register_frame_info_table_bases): Likewise.
7247 (__deregister_frame_info_bases): Likewise.
7248 (__register_frame_info): Do not use INTUSE.
7249 (__register_frame): Likewise.
7250 (__register_frame_info_table): Likewise.
7251 (__register_frame_table): Likewise.
7252 (__deregister_frame_info): Likewise.
7253 (__deregister_frame): Likewise.
7254
03d41216
GC
72552014-10-27 Gratian Crisan <gratian.crisan@ni.com>
7256
7257 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7258 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
7259 not undefine.
7260 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
7261 Likewise.
7262 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
7263 Likewise.
7264
a4b3624d
JM
72652014-10-27 Joseph Myers <joseph@codesourcery.com>
7266
7267 [BZ #14138]
7268 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
7269 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
7270 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
7271 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
7272 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
7273 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
7274 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
7275 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
7276 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
7277 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
7278 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
7279 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
7280 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
7281 syscall.
7282 (setfsuid): Likewise.
7283 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
7284 (setfsuid): Likewise.
7285 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
7286 (setfsuid): Likewise.
7287 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
7288 Likewise.
7289 (setfsuid): Likewise.
7290 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
7291 (setfsuid): Likewise.
7292 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
7293 Likewise.
7294 (setfsuid): Likewise.
7295
3574f2fd
AS
72962014-10-27 Andreas Schwab <schwab@suse.de>
7297
7298 [BZ #17501]
7299 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
7300 check for Slow_SSE4_2 feature bit.
7301 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
7302 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
7303 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
7304 Likewise. Fix check for Fast_Unaligned_Load feature bit.
7305
70996a37
RM
73062014-10-24 Roland McGrath <roland@hack.frob.com>
7307
461a7b1e
RM
7308 * configure.ac: Validate compiler version with a empirical test of
7309 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
7310 $CC -v output.
7311 * configure: Regenerated.
7312
70996a37
RM
7313 * inet/htons.c (htons): Prototypify.
7314 * inet/htonl.c (htonl): Likewise.
7315
e80514b5
WD
73162014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
7317
7318 * string/strncat.c (strncat): Improve performance by using strlen.
7319
6e46de42
WD
73202014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
7321
7322 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
7323
6a9ad2fa
WD
73242014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
7325
7326 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
7327 Call libc_fetestexcept_aarch64.
7328
1c8810ed
WD
73292014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
7330
7331 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
7332 Call libc_feholdexcept_aarch64.
7333
8b1af712
WD
73342014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
7335
7336 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
7337 Call get_rounding_mode.
7338
a7b00c11
WD
73392014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
7340
7341 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
7342 Simplify logic.
7343
3a84f1a6
WD
73442014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
7345
7346 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
7347 Simplify logic.
7348
48eb7a94
JM
73492014-10-24 Joseph Myers <joseph@codesourcery.com>
7350
c8bc4038
JM
7351 [BZ #14138]
7352 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
7353 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
7354 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
7355 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
7356 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
7357 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
7358 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
7359 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
7360 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
7361 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
7362 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
7363 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
7364 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
7365 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
7366 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
7367 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
7368 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
7369 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
7370 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
7371 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
7372 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
7373 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
7374 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
7375 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
7376 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
7377 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
7378 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
7379 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
7380 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
7381 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
7382 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
7383 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
7384 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
7385 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
7386 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
7387 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
7388 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
7389 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
7390 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
7391 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
7392 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
7393 syscall.
7394 (geteuid): Likewise.
7395 (getgid): Likewise.
7396 (getuid): Likewise.
7397 (getresgid): Likewise.
7398 (getresuid): Likewise.
7399 (getgroups): Likewise.
7400 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
7401 (geteuid): Likewise.
7402 (getgid): Likewise.
7403 (getuid): Likewise.
7404 (getresgid): Likewise.
7405 (getresuid): Likewise.
7406 (getgroups): Likewise.
7407 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
7408 (geteuid): Likewise.
7409 (getgid): Likewise.
7410 (getuid): Likewise.
7411 (getresgid): Likewise.
7412 (getresuid): Likewise.
7413 (getgroups): Likewise.
7414 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
7415 Likewise.
7416 (geteuid): Likewise.
7417 (getgid): Likewise.
7418 (getuid): Likewise.
7419 (getresgid): Likewise.
7420 (getresuid): Likewise.
7421 (getgroups): Likewise.
7422 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
7423 (geteuid): Likewise.
7424 (getgid): Likewise.
7425 (getuid): Likewise.
7426 (getresgid): Likewise.
7427 (getresuid): Likewise.
7428 (getgroups): Likewise.
7429 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
7430 Likewise.
7431 (geteuid): Likewise.
7432 (getgid): Likewise.
7433 (getuid): Likewise.
7434 (getgroups): Likewise.
7435
48eb7a94
JM
7436 [BZ #14138]
7437 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
7438 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
7439 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
7440 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
7441 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
7442 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
7443 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
7444 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
7445 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
7446 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
7447 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
7448 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
7449 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
7450 __chown.
7451 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
7452 (lchown): Likewise.
7453 (fchown): Likewise.
7454 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
7455 Likewise.
7456 (lchown): Likewise.
7457 (fchown): Likewise.
7458 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
7459 (lchown): Likewise.
7460 (fchown): Likewise.
7461 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
7462 Likewise.
7463 (lchown): Likewise.
7464 (fchown): Likewise.
7465
ea9a7c8b
WD
74662014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
7467
7468 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
7469 Simplify logic.
7470
e226de33
WD
74712014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
7472
7473 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
7474 Cleanup logic.
7475
6e3d8ed3
WD
74762014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
7477
7478 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
7479 Remove unused include.
7480
eb04247d
WD
74812014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
7482
7483 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
7484 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
7485 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
7486 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
7487
13d84554
CD
74882014-10-23 Carlos O'Donell <carlos@systemhalted.org>
7489 Helge Deller <deller@gmx.de>
7490
7491 [BZ #17508]
7492 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
7493 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
7494 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
7495
15f9c5df
JM
74962014-10-23 Joseph Myers <joseph@codesourcery.com>
7497
7498 [BZ #14132]
7499 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
7500 Remove macro definition.
7501 (__ashrdi3_v_glibc20): Likewise.
7502 (__lshrdi3_v_glibc20): Likewise.
7503 (__cmpdi2_v_glibc20): Likewise.
7504 (__ucmpdi2_v_glibc20): Likewise.
7505 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
7506 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
7507 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
7508 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
7509 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
7510 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
7511
c6dfed24
RM
75122014-10-22 Roland McGrath <roland@hack.frob.com>
7513
7514 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
7515 old GNU extension [0] syntax.
7516 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
7517 alloca rather than an array member with variable length.
7518 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
7519 * nscd/nscd.c (invalidate_db): New function, broken out of ...
7520 (parse_opt): ... here. Likewise use alloca there.
7521 Validate the -i argument before checking for rootness.
7522 (send_shutdown): New function, broken out of ...
7523 (parse_opt): ... here.
7524
8c2b1ed8
RM
75252014-10-22 Roland McGrath <roland@hack.frob.com>
7526
7527 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
7528 macro to get at the _rt_local_ro field.
7529 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
7530 ([PIC] case) or _dl_hwcap ([!PIC] case).
7531 * sysdeps/arm/setjmp.S: Likewise.
7532
7533 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
7534 * sysdeps/arm/configure.ac: New check to define it.
7535 * sysdeps/arm/configure: Regenerated.
7536 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
7537 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
7538 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
7539 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
7540 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
7541 Use move/movt pair instead of a load.
7542 (LDST_GLOBAL): Macro removed.
7543 (LDR_GLOBAL): New macro replaces it.
7544 (LDR_HIDDEN): New macro.
7545 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
7546 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
7547
7548 * setjmp/tst-setjmp-static.c: New file.
7549 * setjmp/Makefile (tests): Add it.
7550 (tests-static): New variable.
7551
b5af9297
MR
75522014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
7553
7554 [BZ #17485]
7555 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
7556
a13d0d74
JM
75572014-10-21 Joseph Myers <joseph@codesourcery.com>
7558
7559 [BZ #14132]
7560 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
7561
f05e73f6
RM
75622014-10-21 Roland McGrath <roland@hack.frob.com>
7563
7564 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
7565
6ab1d1ea
RM
75662014-10-20 Roland McGrath <roland@hack.frob.com>
7567
7568 * io/fts.c (dirent_not_directory): New function.
7569 (fts_build): Call it.
7570
ab49e763
RM
75712014-10-20 Roland McGrath <roland@hack.frob.com>
7572
e436eb79
RM
7573 * nptl/version.c (__nptl_main): Use normal __write rather than
7574 INTERNAL_SYSCALL.
7575 (banner): Update copyright years.
7576
6af246cf
RM
7577 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
7578 gettimeofday.
7579 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
7580 * nptl/pthread_cond_timedwait.c: Likewise.
7581 * nptl/pthread_mutex_timedlock.c: Likewise.
7582 * nptl/sem_timedwait.c: Likewise.
7583
ab49e763
RM
7584 * sysdeps/nptl/bits/libc-lock.h
7585 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
7586 (__libc_lock_init_recursive): Return void, not 0.
7587 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
7588 (__libc_rwlock_init): Likewise.
7589 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
7590
f50277c1
TR
75912014-10-20 Torvald Riegel <triegel@redhat.com>
7592
7593 [BZ #15215]
7594 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
7595 (__pthread_once_slow): ... here.
7596 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
7597 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
7598
63668b70
TR
75992014-10-20 Torvald Riegel <triegel@redhat.com>
7600
7601 [BZ #15215]
7602 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
7603 __PTHREAD_ONCE_FORK_GEN_INCR): New.
7604 * sysdeps/nptl/fork.c (__libc_fork): Use them.
7605 * nptl/pthread_once.c (__pthread_once): Likewise.
7606 Update comments.
7607
42b7f5d4
JM
76082014-10-20 Joseph Myers <joseph@codesourcery.com>
7609
7610 [BZ #14138]
7611 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
7612 name.
7613 (writev): Use __libc_writev as strong name.
7614 * sysdeps/unix/sysv/linux/readv.c: Remove file.
7615 * sysdeps/unix/sysv/linux/writev.c: Likewise.
7616
b0643088
RM
76172014-10-17 Roland McGrath <roland@hack.frob.com>
7618
114c4e09
RM
7619 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
7620
674b8978
RM
7621 * sysdeps/i386/nptl/tls.h
7622 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
7623 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
7624 New macros.
7625 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
7626 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
7627 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
7628 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
7629 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
7630 Call CHECK_THREAD_SYSINFO instead of doing an assert.
7631
184ee940
RM
7632 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
7633 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
7634 on [__NR_futex].
7635 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
7636 broken out of ...
7637 (__pthread_mutex_init): ... here. Call it.
7638 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
7639 Conditionalize PI cases on [__NR_futex].
7640 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
7641 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
7642 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
7643
327ae257
RM
7644 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
7645 conditional on [SIGSETXID].
7646 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
7647 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
7648 is defined. Likewise for SIGSETXID.
7649 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
7650 Conditionalize definitions on [SIGSETXID].
7651 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
7652 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
7653 unblocking on [SIGCANCEL].
7654
b0643088
RM
7655 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
7656 [__NR_set_robust_list].
7657
33cc770b
SP
76582014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7659
7660 * string/strcoll_l.c (get_next_seq): Fix up formatting.
7661 (do_compare): Likewise.
7662
0742aef6
LH
76632014-10-17 Leonhard Holz <leonhard.holz@web.de>
7664
7665 [BZ #15884]
7666 * string/strcoll_l.c: Don't include stdio.h.
7667 (coll_seq): Remove members idxarr and rulearr.
7668 (get_next_seq_cached): Remove function.
7669 (get_next_seq): Likewise.
7670 (get_next_seq_nocache): Rename to get_next_seq.
7671 (do_compare): Remove function.
7672 (do_compare_nocache): Rename to do_compare.
7673 (STRCOLL): Remove weight and rules cache.
7674
ee54ce44
RM
76752014-10-16 Roland McGrath <roland@hack.frob.com>
7676
7677 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
7678 * sysdeps/arm/sfp-machine.h: ... to here.
7679 * sysdeps/arm/Implies: Remove arm/soft-fp.
7680
a75d3b02
JM
76812014-10-14 Joseph Myers <joseph@codesourcery.com>
7682
7683 * conform/data/sys/utsname.h-data (*_t): Allow.
7684 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
7685 [POSIX] (WEXITED): Do not expect constant.
7686 [POSIX] (WSTOPPED): Likewise.
7687 [POSIX] (WNOHANG): Likewise.
7688 [POSIX] (WNOWAIT): Likewise.
7689 [POSIX] (siginfo_t): Do not expect type or elements.
7690 [POSIX] (pid_t): Do not expect type.
7691 [POSIX] (signal.h): Do not allow header.
7692 [POSIX] (sys/resource.h): Likewise.
7693 [POSIX] (si_*): Do not allow pattern.
7694 [POSIX] (W*): Likewise.
7695 [POSIX] (P_*): Likewise.
7696 [POSIX] (BUS_*): Likewise.
7697 [POSIX] (CLD_*): Likewise.
7698 [POSIX] (FPE_*): Likewise.
7699 [POSIX] (ILL_*): Likewise.
7700 [POSIX] (POLL_*): Likewise.
7701 [POSIX] (SEGV_*): Likewise.
7702 [POSIX] (SI_*): Likewise.
7703 [POSIX] (TRAP_*): Likewise.
7704 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
7705 variable.
7706
fda389c8
SP
77072014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
7708
7709 [BZ #12926]
7710 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
7711 infinite loop when __recvmsg returns 0.
7712
6bc6bd3b
JM
77132014-10-10 Joseph Myers <joseph@codesourcery.com>
7714
fcb32af1
JM
7715 * CANCEL-FCT-WAIVE: Remove file.
7716 * CANCEL-FILE-WAIVE: Likewise.
7717
6bc6bd3b
JM
7718 [BZ #14132]
7719 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
7720 instead of INTVARDEF.
7721 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
7722 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
7723 rtld_hidden_data_def instead of INTVARDEF.
7724 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
7725 * elf/dl-deps.c (expand_dst): Likewise.
7726 * elf/dl-load.c (_dl_dst_count): Likewise.
7727 (_dl_dst_substitute): Likewise.
7728 (decompose_rpath): Likewise.
7729 (_dl_init_paths): Likewise.
7730 (open_path): Likewise.
7731 (_dl_map_object): Likewise.
7732 * elf/rtld.c (dl_main): Likewise.
7733 (process_dl_audit): Likewise.
7734 (process_envvars): Likewise.
7735 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
7736 Remove declaration.
7737 (__libc_enable_secure): Use rtld_hidden_proto.
7738
b8c80a7e
KS
77392014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7740
7741 * elf/dl-load.c
7742 (add_path): New function broken out of _dl_rtld_di_serinfo.
7743 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
7744
ff12c11f
JM
77452014-10-09 Joseph Myers <joseph@codesourcery.com>
7746
5c0508a3
JM
7747 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
7748 parentheses around macro arguments.
7749 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
7750 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
7751 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
7752 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
7753 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
7754 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
7755 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
7756 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
7757 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
7758 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
7759 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
7760 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
7761 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
7762 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
7763 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
7764 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
7765 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
7766 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
7767 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
7768 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
7769 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
7770 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
7771 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
7772 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
7773 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
7774 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
7775 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
7776 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
7777 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
7778 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
7779 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
7780 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
7781 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
7782 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
7783 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
7784 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
7785 Likewise.
7786 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
7787 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
7788 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
7789 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
7790 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
7791 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
7792 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
7793 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
7794 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
7795 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
7796 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
7797 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
7798 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
7799 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
7800 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
7801 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
7802 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
7803 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
7804 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
7805 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
7806 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
7807 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
7808 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
7809 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
7810 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
7811 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
7812 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
7813 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
7814 (_FP_FRAC_SRS_1): Likewise.
7815 (_FP_FRAC_CLZ_1): Likewise.
7816 (_FP_MUL_MEAT_1_imm): Likewise.
7817 (_FP_MUL_MEAT_1_wide): Likewise.
7818 (_FP_MUL_MEAT_1_hard): Likewise.
7819 (_FP_SQRT_MEAT_1): Likewise.
7820 (_FP_FRAC_ASSEMBLE_1): Likewise.
7821 (_FP_FRAC_DISASSEMBLE_1): Likewise.
7822 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
7823 (__FP_CLZ_2): Likewise.
7824 (_FP_MUL_MEAT_2_wide): Likewise.
7825 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
7826 (_FP_MUL_MEAT_2_gmp): Likewise.
7827 (_FP_MUL_MEAT_2_120_240_double): Likewise.
7828 (_FP_SQRT_MEAT_2): Likewise.
7829 (_FP_FRAC_ASSEMBLE_2): Likewise.
7830 (_FP_FRAC_DISASSEMBLE_2): Likewise.
7831 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
7832 (_FP_FRAC_CLZ_4): Likewise.
7833 (_FP_MUL_MEAT_4_wide): Likewise.
7834 (_FP_MUL_MEAT_4_gmp): Likewise.
7835 (_FP_SQRT_MEAT_4): Likewise.
7836 (_FP_FRAC_ASSEMBLE_4): Likewise.
7837 (_FP_FRAC_DISASSEMBLE_4): Likewise.
7838 * soft-fp/op-common.h (_FP_CMP): Likewise.
7839 (_FP_CMP_EQ): Likewise.
7840 (_FP_CMP_UNORD): Likewise.
7841 (_FP_TO_INT): Likewise.
7842 (_FP_FROM_INT): Likewise.
7843 [!__FP_CLZ] (__FP_CLZ): Likewise.
7844 (_FP_DIV_HELP_imm): Likewise.
7845 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
7846 Likewise.
7847 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
7848 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
7849 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
7850 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
7851 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
7852 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
7853 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
7854 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
7855 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
7856 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
7857 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
7858 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
7859 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
7860 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
7861 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
7862 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
7863 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
7864 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
7865 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
7866 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
7867 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
7868 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
7869 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
7870 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
7871 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
7872 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
7873 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
7874 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
7875 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
7876 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
7877 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
7878 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
7879 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
7880 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
7881 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
7882 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
7883 (FP_UNPACK_RAW_SP): Likewise.
7884 (FP_PACK_RAW_S): Likewise.
7885 (FP_PACK_RAW_SP): Likewise.
7886 (FP_UNPACK_S): Likewise.
7887 (FP_UNPACK_SP): Likewise.
7888 (FP_UNPACK_SEMIRAW_S): Likewise.
7889 (FP_UNPACK_SEMIRAW_SP): Likewise.
7890 (FP_PACK_S): Likewise.
7891 (FP_PACK_SP): Likewise.
7892 (FP_PACK_SEMIRAW_S): Likewise.
7893 (FP_PACK_SEMIRAW_SP): Likewise.
7894 (_FP_SQRT_MEAT_S): Likewise.
7895 (FP_CMP_S): Likewise.
7896 (FP_CMP_EQ_S): Likewise.
7897 (FP_CMP_UNORD_S): Likewise.
7898 (FP_TO_INT_S): Likewise.
7899 (FP_FROM_INT_S): Likewise.
7900
a736ec37
JM
7901 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
7902
ff12c11f
JM
7903 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
7904 (FP_EX_INVALID_IMZ): Likewise.
7905 (FP_EX_INVALID_IMZ_FMA): Likewise.
7906 (FP_EX_INVALID_ISI): Likewise.
7907 (FP_EX_INVALID_ZDZ): Likewise.
7908 (FP_EX_INVALID_IDI): Likewise.
7909 (FP_EX_INVALID_SQRT): Likewise.
7910 (FP_EX_INVALID_CVI): Likewise.
7911 (FP_EX_INVALID_VC): Likewise.
7912 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
7913 "invalid" exceptions.
7914 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
7915 (_FP_ADD_INTERNAL): Likewise.
7916 (_FP_MUL): Likewise.
7917 (_FP_FMA): Likewise.
7918 (_FP_DIV): Likewise.
7919 (_FP_CMP_CHECK_NAN): Likewise.
7920 (_FP_SQRT): Likewise.
7921 (_FP_TO_INT): Likewise.
7922 (FP_EXTEND): Likewise.
7923
b6dcfe8c
AM
79242014-10-09 Allan McRae <allan@archlinux.org>
7925
7926 * po/fr.po: Update French translation from translation project.
7927
2d6a47ba
JM
79282014-10-09 Joseph Myers <joseph@codesourcery.com>
7929
cb831245
JM
7930 [BZ #14132]
7931 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
7932 of INTDEF.
7933 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
7934 (__cxa_atexit): Use libc_hidden_proto.
7935 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
7936
5deeb190
JM
7937 [BZ #14132]
7938 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
7939 declaration.
7940 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
7941 [!_ISOMAC] (__iswspace_l_internal): Likewise.
7942 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
7943 [!_ISOMAC] (__iswctype_internal): Likewise.
7944 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
7945 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
7946 alias.
7947 (fcntl): Remove __fcntl_internal alias.
7948 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
7949 __connect_internal alias.
7950 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
7951 Likewise.
7952
454ac701
JM
7953 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
7954 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
7955 FP_DENORM_ZERO.
7956 (_FP_CHECK_FLUSH_ZERO): New macro.
7957 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
7958 (_FP_CMP): Likewise.
7959 (_FP_CMP_EQ): Likewise.
7960 (_FP_TO_INT): Do not set inexact for subnormal arguments if
7961 FP_DENORM_ZERO.
7962 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
7963 (FP_TRUNC): Likewise.
7964
0022e688
JM
7965 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
7966 treated as invalid conversion, not as normal exponent.
7967
73e28d9c
JM
7968 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
7969 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
7970 (_FP_CMP_EQ): Likewise.
7971 (_FP_CMP_UNORD): Likewise.
7972 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
7973 (FP_CMP_EQ_D): Likewise.
7974 (FP_CMP_UNORD_D): Likewise.
7975 * soft-fp/extended.h (FP_CMP_E): Likewise.
7976 (FP_CMP_EQ_E): Likewise.
7977 (FP_CMP_UNORD_E): Likewise.
7978 * soft-fp/quad.h (FP_CMP_Q): Likewise.
7979 (FP_CMP_EQ_Q): Likewise.
7980 (FP_CMP_UNORD_Q): Likewise.
7981 * soft-fp/single.h (FP_CMP_S): Likewise.
7982 (FP_CMP_EQ_S): Likewise.
7983 (FP_CMP_UNORD_S): Likewise.
7984 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
7985 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
7986 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
7987 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
7988 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
7989 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
7990 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
7991 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
7992 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
7993 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
7994 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
7995 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
7996 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
7997 to FP_CMP_Q.
7998 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
7999 FP_CMP_Q.
8000 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
8001 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
8002 FP_CMP_EQ_Q.
8003 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
8004 FP_CMP_Q.
8005 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
8006 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
8007 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
8008 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
8009 FP_CMP_EQ_Q.
8010 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
8011 FP_CMP_Q.
8012 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
8013 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
8014 FP_CMP_EQ_Q.
8015 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
8016 FP_CMP_Q.
8017 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
8018 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
8019 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
8020 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
8021 FP_CMP_EQ_Q.
8022
43059f42
JM
8023 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
8024 a subnormal result, set the underflow exception if trapping on
8025 underflow is enabled.
8026 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
8027 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
8028 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
8029 redefine to 0.
8030 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
8031 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
8032 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
8033 * soft-fp/extendxftf2.c (__extendxftf2): Use
8034 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
8035
2d6a47ba
JM
8036 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
8037 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
8038 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
8039 FP_HANDLE_EXCEPTIONS.
8040 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
8041 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
8042 FP_HANDLE_EXCEPTIONS.
8043 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
8044 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
8045 FP_HANDLE_EXCEPTIONS.
8046 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
8047 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
8048 FP_HANDLE_EXCEPTIONS.
8049
620f462e
JM
80502014-10-08 Joseph Myers <joseph@codesourcery.com>
8051
8052 [BZ #14132]
8053 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
8054 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
8055 use INTUSE.
8056 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
8057 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
8058 Remove alias.
8059 (__adjtimex): Define using libc_hidden_ver.
8060 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
8061 Remove declaration.
8062 (ntp_gettime): Call __adjtimex directly.
8063 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
8064 Remove declaration.
8065 (ntp_gettimex): Call __adjtimex directly.
8066 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
8067 __adjtimex_internal alias.
8068
c763c5d2
RM
80692014-10-08 Roland McGrath <roland@hack.frob.com>
8070
8071 [BZ #17460]
8072 * nscd/nscd.c (more_help): Rewrite list of tables collection
8073 using xstrdup and asprintf.
8074
8075 * nscd/nscd_conf.c: Remove local xstrdup declaration.
8076
7b8fb2b8
RM
80772014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
8078 Roland McGrath <roland@hack.frob.com>
8079
8080 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
8081 (do_lookup_unique): ... local function 'enter' here; update callers.
8082
abb280f7
JM
80832014-10-06 Joseph Myers <joseph@codesourcery.com>
8084
f7b42517
JM
8085 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
8086 compat_symbol calls on [SHARED].
8087 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
8088 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
8089 Remove.
8090 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
8091 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
8092 (oldsetrlimit): Remove.
8093 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
8094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
8095 (lchown): New syscall entry.
8096 (oldsetrlimit): Remove.
8097 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
8098 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
8099 (oldsetrlimit): Remove.
8100 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
8101
abb280f7
JM
8102 [BZ #14138]
8103 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
8104 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
8105 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
8106 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
8107 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
8108 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
8109 (fchown): Likewise.
8110 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
8111 (fchown): Likewise.
8112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
8113 Likewise.
8114
47d46237
AZ
81152014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8116
8117 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
8118 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
8119 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
8120 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
8121 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
8122 Likewise.
8123 (__old_sem_post): Likewise.
8124
81252014-10-06 Chris Metcalf <cmetcalf@tilera.com>
1c4c1a6f 8126
845a7343
CM
8127 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
8128 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
8129 HAVE_CLOCK_GETTIME_VSYSCALL macros.
8130 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
8131 Use INLINE_VSYSCALL macro.
8132 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
8133 __vdso_clock_gettime.
8134 * sysdeps/unix/sysv/linux/tile/init-first.c
8135 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
8136 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
8137 __vdso_clock_gettime.
8138
83d641ef
CM
8139 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
8140 to set up frame more cleanly.
8141
d9cd52e6
CM
8142 * sysdeps/tile/memcmp.c: New file.
8143
4b68ea11
CM
8144 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
8145
c86f7b80
CM
8146 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
8147 * sysdeps/tile/tilegx/strcasestr.c: New file.
8148 * sysdeps/tile/tilegx/strnlen.c: New file.
8149 * sysdeps/tile/tilegx/strstr.c: New file.
8150
1c4c1a6f
CM
8151 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
8152
99d86ea3
AS
81532014-10-06 Arjun Shankar <arjun.is@lostca.se>
8154
8155 * nptl/tst-setuid3.c: Write errors to stdout.
8156
06210a44
KS
81572014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
8158
8159 * elf/dl-deps.c
8160 (preload): New functions broken out of _dl_map_object_deps.
8161 (_dl_map_object_deps): Remove a nested function. Update call sites.
8162
6268f532
JM
81632014-10-01 Joseph Myers <joseph@codesourcery.com>
8164
8165 [BZ #14138]
8166 * sysdeps/unix/sysv/linux/execve.c: Remove file.
8167 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
8168
b925285f
SE
81692014-10-01 Steve Ellcey <sellcey@mips.com>
8170
8171 * sysdeps/mips/strcmp.S: New.
8172
754a15c6
JM
81732014-09-30 Joseph Myers <joseph@codesourcery.com>
8174
8175 [BZ #14138]
8176 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
8177 (linkat): Likewise.
8178 (mkdirat): Likewise.
8179 (readlinkat): Likewise.
8180 (renameat): Likewise.
8181 (symlinkat): Likewise.
8182 (unlinkat): Likewise.
8183 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
8184 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
8185 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
8186 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
8187 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
8188 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
8189 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
8190
85bb81c9
WN
81912014-09-30 Will Newton <will.newton@linaro.org>
8192
dc6fe23b
WN
8193 * math/math.h: Define long double math functions if
8194 _LIBC_TEST is defined.
8195 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
8196
85bb81c9
WN
8197 * localedata/Makefile: Move assignment to tests-special
8198 into an ifdef testing run-built-tests.
8199 * timezone/Makefile: Likewise.
8200
b7e02da4
JM
82012014-09-29 Joseph Myers <joseph@codesourcery.com>
8202
8203 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
8204 with $(BASH) not $(SHELL).
8205
62058ce6
CD
82062014-09-29 Carlos O'Donell <carlos@redhat.com>
8207 Matthew LeGendre <legendre1@llnl.gov>
8208
8209 [BZ #17411]
8210 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
8211 l_reloc_result.
8212
8e257a29
KS
82132014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
8214
8215 * stdio-common/printf_fp.c
8216 (hack_digit): New function, broken out of ...
8217 (__printf_fp): ... local function here. Update call sites.
8218 hack_digit now takes an additional parameter that is a pointer
8219 to a struct of the referenced locals. Those locals moved inside
8220 the struct and references updated.
8221
f4a58f0d
L
82222014-09-29 H.J. Lu <hongjiu.lu@intel.com>
8223
8224 * aclocal.m4: Require autoconf 2.69.
8225 * configure: Regenerated.
8226 * sysdeps/aarch64/configure: Likewise.
8227 * sysdeps/alpha/configure: Likewise.
8228 * sysdeps/arm/armv7/configure: Likewise.
8229 * sysdeps/arm/configure: Likewise.
8230 * sysdeps/ia64/configure: Likewise.
8231 * sysdeps/mach/configure: Likewise.
8232 * sysdeps/mips/configure: Likewise.
8233 * sysdeps/s390/configure: Likewise.
8234 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
8235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
8236
8237 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
8238 file.
8239 * sysdeps/ia64/configure.ac: Likewise.
8240
93ae1eba
JM
82412014-09-26 Joseph Myers <joseph@codesourcery.com>
8242
1810d3ab
JM
8243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
8244 specify symbol version for ld.so. Do not include entry for
8245 libpthread.
8246 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
8247 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
8248 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
8249
93ae1eba
JM
8250 [BZ #14171]
8251 * Makeconfig [$(build-shared) = yes]
8252 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
8253 makefiles.
8254 [$(build-shared) = yes && $(soversions.mk-done) = t]
8255 ($(common-objpfx)gnu/lib-names.h): Remove rule.
8256 [$(build-shared) = yes && $(soversions.mk-done) = t]
8257 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
8258 to Makerules.
8259 [$(build-shared) = yes && $(soversions.mk-done) = t]
8260 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
8261 here.
8262 [$(build-shared) = yes && $(soversions.mk-done) = t]
8263 (common-generated): Don't append gnu/lib-names.h and
8264 gnu/lib-names.stmp here.
8265 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
8266 (lib-names-h-abi): New variable.
8267 [$(build-shared) = yes && $(soversions.mk-done) = t]
8268 (lib-names-stmp-abi): Likewise.
8269 [$(build-shared) = yes && $(soversions.mk-done) = t &&
8270 abi-variants] (before-compile): Append
8271 $(common-objpfx)$(lib-names-h-abi).
8272 [$(build-shared) = yes && $(soversions.mk-done) = t &&
8273 abi-variants] (common-generated): Append gnu/lib-names.h.
8274 [$(build-shared) = yes && $(soversions.mk-done) = t &&
8275 abi-variants] (install-others-nosubdir): Depend on
8276 $(inst_includedir)/$(lib-names-h-abi).
8277 [$(build-shared) = yes && $(soversions.mk-done) = t &&
8278 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
8279 [$(build-shared) = yes && $(soversions.mk-done) = t]
8280 ($(common-objpfx)$(lib-names-h-abi)): New rule.
8281 [$(build-shared) = yes && $(soversions.mk-done) = t]
8282 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
8283 [$(build-shared) = yes && $(soversions.mk-done) = t]
8284 (common-generated): Append $(lib-names-h-abi) and
8285 $(lib-names-stmp-abi).
8286 * scripts/lib-names.awk: Do not handle multi being set.
8287 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
8288 Remove variable.
8289 (abi-lp64_be-ld-soname): Likewise.
8290 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
8291 Likewise.
8292 (abi-hard-ld-soname): Likewise.
8293 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
8294 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
8295 Remove variable.
8296 (abi-o32_hard-ld-soname): Likewise.
8297 (abi-o32_soft_2008-ld-soname): Likewise.
8298 (abi-o32_hard_2008-ld-soname): Likewise.
8299 (abi-n32_soft-ld-soname): Likewise.
8300 (abi-n32_hard-ld-soname): Likewise.
8301 (abi-n32_soft_2008-ld-soname): Likewise.
8302 (abi-n32_hard_2008-ld-soname): Likewise.
8303 (abi-n64_soft-ld-soname): Likewise.
8304 (abi-n64_hard-ld-soname): Likewise.
8305 (abi-n64_soft_2008-ld-soname): Likewise.
8306 (abi-n64_hard_2008-ld-soname): Likewise.
8307 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
8308 Likewise.
8309 (abi-64-v2-ld-soname): Likewise.
8310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
8311 ld.so entries.
8312 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
8313 variable.
8314 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
8315 entry.
8316 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
8317 variable.
8318 (abi-64-ld-soname): Likewise.
8319 (abi-x32-ld-soname): Likewise.
8320 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
8321 entry.
8322 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
8323
68870f12
JM
83242014-09-23 Joseph Myers <joseph@codesourcery.com>
8325
8326 [BZ #14138]
8327 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
8328 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
8329 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
8330 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
8331 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
8332 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
8333 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
8334 syscall entry for GLIBC_2.2 symbol version.
8335 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
8336 Likewise.
8337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
8338 (setrlimit): Likewise.
8339 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
8340 Likewise.
8341
ea58f202
WN
83422014-09-23 Will Newton <will.newton@linaro.org>
8343
8344 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
8345 _LINUX_ARM_SYSDEP_H include guard too.
8346 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
8347 define.
8348
69eb9a18
RV
83492014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
8350
8351 * sysdeps/unix/sysv/linux/eventfd.c:
8352 Make first argument unsigned.
8353 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
8354 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
8355
20e5a5f7
OB
83562014-09-20 Ondřej Bílka <neleai@seznam.cz>
8357
8358 * socket/recvmmsg.c (recvmmsg): Drop const argument.
8359 * socket/sys/socket.h: Likewise
8360 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
8361
d3c827e7
AK
83622014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8363
8364 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
8365
fe1cc35a
AS
83662014-09-17 Arjun Shankar <arjun.is@lostca.se>
8367
8368 * time/tst-ftime.c: New test.
8369 * time/Makefile (tests): Add tst-ftime.
8370
4e8afe69
JM
83712014-09-17 Joseph Myers <joseph@codesourcery.com>
8372
c4fe3ea7
JM
8373 * soft-fp/extended.h: Fix comment formatting.
8374 * soft-fp/op-1.h: Likewise.
8375 * soft-fp/op-2.h: Likewise.
8376 * soft-fp/op-4.h: Likewise.
8377 * soft-fp/op-8.h: Likewise.
8378 * soft-fp/op-common.h: Likewise.
8379 * soft-fp/soft-fp.h: Likewise.
8380
4e8afe69
JM
8381 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
8382
af296fcd
JM
83832014-09-16 Joseph Myers <joseph@codesourcery.com>
8384
8385 [BZ #6652]
8386 * Makeconfig (soversions-default-setname): Remove variable.
8387 ($(common-objpfx)soversions.i): Don't pass default_setname to
8388 soversions.awk.
8389 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
8390 oldest_abi to abi-versions.awk.
8391 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
8392 * config.make.in (oldest-abi): Remove variable.
8393 * configure.ac (--enable-oldest-abi): Remove configure option.
8394 * configure: Regenerated.
8395 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
8396 text.
8397 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
8398 * scripts/soversions.awk: Do not handle default_setname variable.
8399 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
8400 variable.
8401 * sysdeps/mach/hurd/configure: Regenerated.
8402 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
8403 variable.
8404 * sysdeps/unix/sysv/linux/configure: Regenerated.
8405
545583d6
SP
84062014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8407
d330b980
SP
8408 * elf/Makefile (CFLAGS-interp.c): Remove.
8409 ($(elf-objpfx)runtime-linker.h): Generate header with linker
8410 path string.
8411 * elf/interp.c: Include generated runtime-linker.h
8412
02657da2
SP
8413 * Makerules (lib%.so): Don't include $(+interp) in
8414 prerequisites.
8415 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
8416 * dlfcn/eval.c: Remove file.
8417
653b1080
SP
8418 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
8419 macros.
8420
602f80ec
SP
8421 [BZ #17266]
8422 * misc/sys/cdefs.h: Define __extern_always_inline for clang
8423 4.2 and newer.
8424
545583d6
SP
8425 [BZ #17370]
8426 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
8427
884ddc50
SP
84282014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8429 Jakub Jelinek <jakub@redhat.com>
8430
8431 [BZ #17266]
8432 * libio/stdio.h: Check definition of __fortify_function
8433 instead of __extern_always_inline to include bits/stdio2.h.
8434 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
8435 check if __extern_always_inline is defined.
8436 [__USE_MISC || __USE_XOPEN]: Likewise.
8437 [__USE_ISOC99] Likewise.
8438 * misc/sys/cdefs.h (__fortify_function): Define only if
8439 __extern_always_inline is defined.
8440 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
8441 __extern_always_inline and __extern_inline only for g++-4.3
8442 and newer or a compatible gcc.
8443
a7b87268
AS
84442014-09-15 Andreas Schwab <schwab@linux-m68k.org>
8445
8446 [BZ #17371]
8447 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
8448 last change to handle zero prefix length.
8449
3f41521d
SP
84502014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8451
61fe374a
SP
8452 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
8453 _SC_REGEX_VERSION.
8454
3f41521d
SP
8455 * posix/getconf.c (vars): Add _POSIX_IPV6 and
8456 _POSIX_RAW_SOCKETS.
8457
d8f879ee
AM
84582014-09-13 Allan McRae <allan@archlinux.org>
8459
8460 * po/ru.po: Update Russian translation from translation project.
8461
c079afb7
RM
84622014-09-12 Roland McGrath <roland@hack.frob.com>
8463
a62b3c15
RM
8464 * locale/programs/locale.c (show_locale_vars): Inline local function
8465 into its sole call site. Clean up some style nits.
8466 (print_item): New function, broken out of ...
8467 (show_info): ... local function here. Clean up style nits.
8468
d7e49b19
RM
8469 * locale/programs/ld-ctype.c (set_one_default): New function, broken
8470 out of ...
8471 (set_class_defaults): ... local function set_default here.
8472 Define set_default as a macro locally to pass constant parameters.
8473 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
8474 rather than a shared local.
8475
c079afb7
RM
8476 * stdlib/rpmatch.c (try): New function, broken out of ...
8477 (rpmatch): ... local function here. Also, prototypify definition.
8478
0bd72468
JM
84792014-09-12 Joseph Myers <joseph@codesourcery.com>
8480
ba90e050
JM
8481 * scripts/soversions.awk: Do not handle configuration names.
8482 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
8483 vendor and os variables to soversions.awk.
8484 * configure.ac: Do not modify gnu-* host_os.
8485 * configure: Regenerated
8486 * shlib-versions: Remove first column with configuration names.
8487 * nptl/shlib-versions: Likewise.
8488 * nptl_db/shlib-versions: Likewise.
8489 * sysdeps/hppa/shlib-versions: Likewise.
8490 * sysdeps/m68k/shlib-versions: Likewise.
8491 * sysdeps/mach/hurd/shlib-versions: Likewise.
8492 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
8493 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
8494 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
8495 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
8496 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
8497 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
8498 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
8499 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
8500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
8501 Likewise.
8502 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
8503 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
8504 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
8505 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
8506 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
8507 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
8508 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
8509 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
8510
73a39112
JM
8511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
8512 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
8513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
8514 Regenerated.
8515 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
8516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
8517 Condition symbol version definitions on [HAVE_ELFV2_ABI].
8518
c729e7c1
JM
8519 * shlib-versions: Remove OS-specific entries. Moved to files in
8520 sysdeps.
8521 * sysdeps/mach/hurd/shlib-versions: New file.
8522 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
8523
dc932a24
JM
8524 * nptl/shlib-versions: Remove architecture-specific entries.
8525 Moved to files in sysdeps.
8526 * shlib-versions: Likewise.
8527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
8528 file.
8529 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
8530 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
8531 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
8532 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
8533
0bd72468
JM
8534 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
8535 (UDP_NO_CHECK6_RX): Likewise.
8536
920238e0
SP
85372014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8538
8539 * sysdeps/posix/sysconf.c (__sysconf): Spell
8540 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
8541
ba7b4d29
FW
85422014-08-12 Florian Weimer <fweimer@redhat.com>
8543
8544 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
8545 loading.
8546 * iconv/Versions (__gconv_transliterate): Export for use from
8547 gconv modules.
8548 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
8549 (struct __gconv_trans_data, __gconv_trans_fct,
8550 __gconv_trans_context_fct, __gconv_trans_query_fct,
8551 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
8552 definitions.
8553 (struct __gconv_step_data): Remove __trans member.
8554 (__gconv_transliterate): Declaration moved from gconv_int.h. No
8555 longer hidden. Remove unused trans_data argument.
8556 * iconv/gconv_int.h (struct trans_struct): Remove definition.
8557 (__gconv_translit_find): Remove declaration.
8558 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
8559 prototype.
8560 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
8561 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
8562 trans_data argument. Add hidden definition.
8563 (__gconv_translit_find): Remove.
8564 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
8565 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
8566 * iconv/skeleton.c: Remove transliteration initialization.
8567 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
8568 __gconv_step_data initialization.
8569 * libio/iofwide.c (__libio_translit_): Remove.
8570 (_IO_fwide): Adjust struct __gconv_step_data initialization.
8571 * wcsmbs/btowc.c (__btowc): Likewise.
8572 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
8573 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
8574 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
8575 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
8576 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
8577 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
8578 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
8579 * wcsmbs/wctob.c (wctob): Likewise.
8580
5379aebd
SP
85812014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8582
8583 [BZ #16194]
8584 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
8585 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
8586 register usage.
8587 * sysdeps/x86/Makefile: Adjust.
8588
8c0ab919
RM
85892014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
8590 Roland McGrath <roland@hack.frob.com>
8591
8592 * locale/weight.h: Add include guard.
8593 (findidx): Make static rather than auto; take new parameters
8594 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
8595 * locale/weightwc.h: Likewise.
8596 * posix/fnmatch_loop.c
8597 (FCT): Change type of EXTRA from int32_t to wint_t.
8598 Don't include either header inside the function.
8599 Call FINDIDX rather than findidx, and pass new arguments.
8600 #undef FINDIDX at the end of the file.
8601 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
8602 FINDIDX before including fnmatch_loop.c for the non-wide version.
8603 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
8604 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
8605 for the wide version.
8606 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
8607 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
8608 Pass new arguments to findidx.
8609 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
8610 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
8611 Don't #include it inside the function. Pass new arguments to findidx.
8612 * posix/regex_internal.h
8613 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
8614 (re_string_elem_size_at): Don't #include it inside the function.
8615 Pass new arguments to findidx.
8616 * string/strcoll_l.c: #include WEIGHT_H at top level.
8617 (get_next_seq): Don't #include it inside the function.
8618 Pass new arguments to findidx.
8619 (get_next_seq_nocache): Likewise.
8620 * string/strxfrm_l.c: #include WEIGHT_H at top level.
8621 (STRXFRM): Don't #include it inside the function.
8622 Pass new arguments to findidx.
8623
52ffbdf2
FW
86242014-09-11 Florian Weimer <fweimer@redhat.com>
8625
8626 [BZ #17344]
8627 * malloc/malloc.c (unlink): Turn asserts into a call to
8628 malloc_printerr.
8629
984c0ea9
TL
86302014-09-11 Tim Lammens <tim.lammens@gmail.com>
8631
8632 [BZ #17370]
8633 * libio/wfileops (do_ftell_wide): Free OUT.
8634
3daee107
CM
86352014-09-10 Chris Metcalf <cmetcalf@tilera.com>
8636
8637 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
8638
58b930ae
SP
86392014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8640
8641 [BZ #17363]
8642 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
8643 group if the current group is empty.
8644
3b473fec
AZ
86452014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8646
71ae8647
AZ
8647 * benchtests/bench-memset.c (test_main): Add more test from size
8648 from 32 to 512 bytes.
8649 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8650 Add POWER8 memset object.
8651 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8652 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
8653 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
8654 implementation.
8655 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
8656 Likewise.
8657 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
8658 multiarch POWER8 memset optimization.
8659 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
8660 POWER8 memset optimization.
8661
3b473fec
AZ
8662 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8663 Remove bzero multiarch objects.
8664 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
8665 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
8666 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
8667 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
8668 Remove define.
8669 [__bzero]: Redefine to specific name.
8670 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
8671 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
8672 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
8673 define.
8674 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
8675 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
8676
e6fb9587
FW
86772014-09-10 Florian Weimer <fweimer@redhat.com>
8678
8679 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
8680 warnings into errors.
8681
8682 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
8683 __cxa_thread_atexit_impl prototype.
8684
9d3a350b
SE
86852014-09-09 Steve Ellcey <sellcey@mips.com>
8686
8687 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
8688 Fix capitalization of error message.
8689
0febba23
SE
86902014-09-09 Steve Ellcey <sellcey@mips.com>
8691
8692 * sysdeps/mips/preconfigure: Modify ABI tests.
8693
645a0e9c
CD
86942014-09-07 Carlos O'Donell <carlos@systemhalted.org>
8695
8696 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
8697
d83f0734
CD
86982014-09-07 Roland McGrath <roland@hack.frob.com>
8699 Carlos O'Donell <carlos@systemhalted.org>
8700
8701 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
8702 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
8703 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
8704 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
8705 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
8706 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
8707 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
8708 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
8709 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
8710 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
8711 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
8712 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
8713 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
8714 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
8715 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
8716 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
8717 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
8718 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
8719 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
8720 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
8721 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
8722 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
8723 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
8724 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
8725 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
8726 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
8727 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
8728 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
8729 Deconditionalize the code that was previously under [RESET_PID].
8730 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
8731 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
8732 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
8733 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
8734 include sysdep.h.
8735
21c83793
AM
87362014-09-08 Allan McRae <allan@archlinux.org>
8737
8738 * version.h (RELEASE): Set to "development".
8739 (VERSION): Set to "2.20.90"
8740
1cd9b65c
AM
87412014-09-07 Allan McRae <allan@archlinux.org
8742
b8079dd0
AM
8743 * version.h (RELEASE): Set to "stable".
8744 (VERSION): Set to "2.20"
8745 * include/features.h (__GLIBC_MINOR__): Set to 20.
8746
c46303ef
AM
8747 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
8748 Liebler.
8749
1cd9b65c
AM
8750 * po/ko.po: Update Korean translation from translation project.
8751
8622092d
CM
87522014-09-06 Chris Metcalf <cmetcalf@tilera.com>
8753
8754 [BZ #17354]
8755 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
8756 macro for handling signed relocations.
8757
41488498
FW
87582014-09-03 Florian Weimer <fweimer@redhat.com>
8759
8760 [BZ #17325]
8761 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
8762 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
8763 assert.
8764 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
8765 * iconvdata/ibm935.c (BODY): Likewise.
8766 * iconvdata/ibm937.c (BODY): Likewise.
8767 * iconvdata/ibm939.c (BODY): Likewise.
8768 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
8769 assert.
8770 * iconvdata/Makefile (iconv-test.out): Pass module list to test
8771 script.
8772 * iconvdata/run-iconv-test.sh: New test loop for checking for
8773 decoder crashers.
8774
a78b712d
KR
87752014-09-02 Khem Raj <raj.khem@gmail.com>
8776
8777 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
8778 libm_hidden_ver.
8779
cb08abc6
AM
87802014-09-01 Allan McRae <allan@archlinux.org>
8781
2c31e102
AM
8782 * po/eo.po: Update Esperanto translation from translation project.
8783
cb08abc6
AM
8784 * po/ca.po: Update Catalan translation from translation project.
8785
17a62de1
ST
87862014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
8787
8788 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
8789 __proc_dostop call.
8790
9570bc53
MW
87912014-08-27 Mark Wielaard <mjw@redhat.com>
8792
8793 [BZ #17319]
8794 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
8795 to call set_thread_area instead of hand written asm.
8796 (__NR_set_thread_area): Removed define.
8797 (TLS_FLAG_WRITABLE): Likewise.
8798 (__ASSUME_SET_THREAD_AREA): Remove check.
8799 (TLS_EBX_ARG): Remove define.
8800 (TLS_LOAD_EBX): Likewise.
8801
b0f955c9
ST
88022014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
8803
8804 Simplify atomicity of socket creation in bind.
8805
8806 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
8807 looking up the name after linking the file.
8808
529bf515
AM
88092014-08-27 Allan McRae <allan@archlinux.org>
8810
8811 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
8812
a1a6a401
FW
88132014-08-26 Florian Weimer <fweimer@redhat.com>
8814
8815 [BZ #17187]
8816 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
8817 trans_compare, open_translit, __gconv_translit_find):
8818 Remove module loading code.
8819
686ab290
AM
88202014-08-26 Allan McRae <allan@archlinux.org>
8821
e4e7cfd2
AM
8822 * po/vi.po: Update Vietnamese translation from translation project.
8823
6aa09f71
AM
8824 * po/uk.po: Update Ukrainian translation from translation project.
8825
edc0660e
AM
8826 * po/fr.po: Update French translation from translation project.
8827
7eea72ac
AM
8828 * po/ru.po: Update Russian translation from translation project.
8829
93c49eff
AM
8830 * po/pl.po: Update Polish translation from translation project.
8831
46acaf63
AM
8832 * po/cs.po: Update Czech translation from translation project.
8833
a9f5ce98
AM
8834 * po/de.po: Update German translation from translation project.
8835
373f2b78
AM
8836 * po/bg.po: Update Bulgarian translation from translation project.
8837
e7548bd8
AM
8838 * po/sv.po: Update Sweedish translation from translation project.
8839
c526bf4d
AM
8840 * po/nl.po: Update Dutch translation from translation project.
8841
686ab290
AM
8842 * po/es.po: Update Spanish translation from translation project.
8843
eb72478a
SP
88442014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8845
dd763fdb
SP
8846 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
8847
318c7a58
SP
8848 * catgets/Makefile (CPPFLAGS-gencat): Remove.
8849 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
8850 (CPPFLAGS-iconvconfig): Likewise.
8851 * timezone/Makefile (CPPFLAGS-zic): Likewise.
8852
eb72478a
SP
8853 * include/libc-symbols.h: Remove unnecessary check for
8854 NOT_IN_libc.
8855 * nptl/pthreadP.h: Likewise.
8856 * sysdeps/aarch64/setjmp.S: Likewise.
8857 * sysdeps/alpha/setjmp.S: Likewise.
8858 * sysdeps/arm/sysdep.h: Likewise.
8859 * sysdeps/i386/setjmp.S: Likewise.
8860 * sysdeps/m68k/setjmp.c: Likewise.
8861 * sysdeps/posix/getcwd.c: Likewise.
8862 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
8863 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
8864 * sysdeps/s390/s390-32/setjmp.S: Likewise.
8865 * sysdeps/s390/s390-64/setjmp.S: Likewise.
8866 * sysdeps/sh/sh3/setjmp.S: Likewise.
8867 * sysdeps/sh/sh4/setjmp.S: Likewise.
8868 * sysdeps/unix/alpha/sysdep.h: Likewise.
8869 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
8870 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8871 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
8872 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
8874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8875 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8876 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8877 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
8878 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8879 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8880 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
8881 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8882 * sysdeps/x86_64/setjmp.S: Likewise.
8883
d44a052c
JM
88842014-08-13 Joseph Myers <joseph@codesourcery.com>
8885
8886 [BZ #17263]
8887 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
8888 <stdint.h>.
8889 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
8890 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
8891
508ce3ac
SP
88922014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
8893
e44c8b0e
SP
8894 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
8895
508ce3ac
SP
8896 [BZ #17262]
8897 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
8898 and __x86_64__ when disabling x87 inline functions.
8899
b4acef1f
L
89002014-08-12 H.J. Lu <hongjiu.lu@intel.com>
8901
8902 [BZ #17259]
8903 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
8904 asm statement with __cpuid_count.
8905
61b1ef6e
MF
89062014-08-12 Mike Frysinger <vapier@gentoo.org>
8907
8908 * configure.ac: Change __ehdr_start code to dereference the struct.
8909 Run readelf on the output to look for relocations.
8910 * configure: Regenerated.
8911
898c62f4
JM
89122014-08-12 Joseph Myers <joseph@codesourcery.com>
8913
8914 [BZ #17261]
8915 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
8916 value to 0.
8917 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
8918
9a8a5720
RM
89192014-08-12 Roland McGrath <roland@hack.frob.com>
8920
8921 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
8922
4e75751c
BO
89232014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
8924
8925 [BZ #16892]
8926 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
8927 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
8928
bb2ce416
SA
89292014-08-12 Sean Anderson <seanga2@gmail.com>
8930
8931 * malloc/malloc.c: Fix typo in comment.
8932
7950a4ee
AM
89332014-08-09 Allan McRae <allan@archlinux.org>
8934
8935 * Regenerate libc.po.
8936
f469c49f
MF
89372014-08-08 Mike Frysinger <vapier@gentoo.org>
8938
8939 * intl/tst-gettext2.sh: Check every lang file for creation.
8940
656b84c2
WD
89412014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
8942
8943 * sysdeps/aarch64/fpu/math_private.h
8944 (libc_feholdsetround_noex_aarch64_ctx): New function.
8945
538e9e45
W
89462014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
8947
8948 * sysdeps/arm/armv6/strcpy.S (strcpy):
8949 Fix performance issue in misaligned cases.
8950
d4795e4a
AZ
89512014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8952
8953 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
8954 Move definition from termios.h.
8955 (struct termio): Likewise.
8956 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
8957 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
8958 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
8959 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
8960 Likewise.
8961 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
8962 Move definition to ioctl-types.h
8963 (struct termio): Likewise.
8964 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
8965 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
8966 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
8967 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
8968 Likewise.
8969
64accb62
RH
89702014-08-05 Richard Henderson <rth@redhat.com>
8971
27bb6dc0
RH
8972 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
8973 exceptions.
8974 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
8975 Add fraiseexcpt.
8976 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
8977 Use __feraiseexcept.
8978 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
8979 Protect libm symbols with IS_IN_libm.
8980
64accb62
RH
8981 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
8982
e5292691
BO
89832014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
8984
8985 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
8986
5b4bd2d4
WN
89872014-08-04 Will Newton <will.newton@linaro.org>
8988
8989 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
8990 file.
8991
fcadaeef
MF
89922014-08-04 Mike Frysinger <vapier@gentoo.org>
8993
8994 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
8995 variants for each function.
8996
43a94c64
RM
89972014-08-04 Roland McGrath <roland@hack.frob.com>
8998
8999 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
9000 appended ...
9001 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
9002 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
9003 appended ...
9004 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
9005 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
9006 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
9007 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
9008 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
9009 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
9010 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
9011 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
9012 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
9013 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
9014 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
9015 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
9016 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
9017 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
9018 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
9019 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
9020 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
9021 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
9022 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
9023 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
9024 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
9025 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
9026 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
9027 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
9028 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
9029 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
9030 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
9031 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
9032 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
9033 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
9034 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
9035 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
9036 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
9037 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
9038 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
9039 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
9040 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
9041 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
9042 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
9043 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
9044 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
9045 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
9046 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
9047 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
9048 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
9049 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
9050 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
9051 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
9052 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
9053 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
9054 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
9055 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
9056 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
9057 Update #include.
9058 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
9059 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
9060
8f3c1fa4
RM
90612014-08-04 Roland McGrath <roland@hack.frob.com>
9062
9063 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
9064 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
9065 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
9066 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
9067 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
9068 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
9069
ca08746f
RM
90702014-08-04 Roland McGrath <roland@hack.frob.com>
9071
9072 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
9073 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
9074 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9075 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
9076
9c925ff9
RM
90772014-08-04 Roland McGrath <roland@hack.frob.com>
9078
9079 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
9080 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
9081 (__libc_vfork): Define function under this name.
9082 (__vfork): Define as an alias.
9083 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
9084 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
9085
e641054c
RM
90862014-08-04 Roland McGrath <roland@hack.frob.com>
9087
9088 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
9089 that was previously under [RESET_PID].
9090 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
9091
dacdc867
AS
90922014-08-04 Andreas Schwab <schwab@suse.de>
9093
9094 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
9095
41f725ff
MF
90962014-08-03 Mike Frysinger <vapier@gentoo.org>
9097
9098 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
9099 (main): Likewise.
9100
277cfb31
RM
91012014-08-01 Roland McGrath <roland@hack.frob.com>
9102
9103 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
9104
4896f049
RH
91052014-08-01 Richard Henderon <rth@redhat.com>
9106
9107 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
9108 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
9109 typo in exact zero test.
9110 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9111 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
9112 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9113
6f64e7d7
RM
91142014-08-01 Roland McGrath <roland@hack.frob.com>
9115
9116 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
9117 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
9118 * sysdeps/arm/sysdep.h: ... here.
9119 [!__ASSEMBLER__]: Include <stdint.h>.
9120
3f3dd810
SP
91212014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
9122
a476ac4b
SP
9123 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
9124 (HAVE_WCTYPE_H): Likewise.
9125 (HAVE_ISWCTYPE): Likewise.
9126 (ENABLE_NLS): Likewise.
9127 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
9128 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
9129
78dd658a
SP
9130 * posix/regex_internal.c: Check if DEBUG is defined and is
9131 set.
9132
3f3dd810
SP
9133 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
9134 (HAVE_MBSRTOWCS): Likewise.
9135 * posix/fnmatch.c: Include string.h unconditionally.
9136
95ee7fb1
SL
91372014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
9138
9139 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
9140 reversal.
9141
23fe486b
RM
91422014-07-31 Roland McGrath <roland@hack.frob.com>
9143
f61a113f
RM
9144 * sysdeps/generic/safe-fatal.h: New file.
9145 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
9146 * nptl/forward.c: Include it.
9147 (__pthread_unwind): Use __safe_fatal as default action, rather
9148 than a bogus use of INTERNAL_SYSCALL that could never work.
9149
9fe7e787
RM
9150 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
9151 * configure.ac (libc_cv_builtin_trap): New test.
9152 * configure: Regenerated.
9153 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
9154 (ABORT_INSTRUCTION): Define using __builtin_trap.
9155
23fe486b
RM
9156 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
9157 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
9158 * sysdeps/nptl/nptl-signals.h: New file.
9159 * nptl/pthreadP.h: Include <nptl-signals.h>.
9160
f349489e
SL
91612014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
9162
9163 * sysdeps/s390/s390-64/utf16-utf32-z9.c
9164 (ONE_DIRECTION): Define.
9165 * sysdeps/s390/s390-64/utf8-utf16-z9.c
9166 (ONE_DIRECTION): Define.
9167 * sysdeps/s390/s390-64/utf8-utf32-z9.c
9168 (ONE_DIRECTION): Define.
9169
2f438e20
SL
91702014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
9171
9172 * sysdeps/s390/Makefile: Delete file.
9173 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
9174 * sysdeps/s390/__longjmp.c: Delete file.
9175 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
9176 Remove fields __flags and __reserved.
9177 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
9178 and add versioning.
9179 * sysdeps/s390/rtld-__longjmp.c: Delete file.
9180 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
9181 * sysdeps/s390/rtld-setjmp.S: Likewise.
9182 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
9183 * sysdeps/s390/s390-32/__longjmp.c: ... here.
9184 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
9185 * sysdeps/s390/s390-32/setjmp.S: ... here.
9186 Add versioning.
9187 (__sigsetjmp): Remove setting __flags field.
9188 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
9189 * sysdeps/s390/s390-64/__longjmp.c: ... here.
9190 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
9191 * sysdeps/s390/s390-64/setjmp.S: ... here.
9192 Add versioning.
9193 (__sigsetjmp): Remove setting __flags field.
9194 * sysdeps/s390/setjmp.S: Delete file.
9195 * sysdeps/s390/sigjmp.c: Likewise.
9196 * sysdeps/s390/v1-longjmp.c: Likewise.
9197 * sysdeps/s390/v1-setjmp.h: Likewise.
9198 * sysdeps/s390/v1-sigjmp.c: Likewise.
9199 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
9200 Remove v1-longjmp_chk.
9201 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
9202 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
9203 Include debug/longjmp_chk.c and add versioning.
9204 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
9205 Include nptl/pt-longjmp.c and add versioning.
9206 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
9207 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
9208 Include __longjmp.c.
9209 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
9210 Move to ...
9211 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
9212 (__getcontext): Remove setting __flags field.
9213 Add versioning.
9214 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
9215 Don't restore upper high grps.
9216 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
9217 Likewise.
9218 (__swapcontext): Remove setting uc_flags field.
9219 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
9220 Delete file.
9221 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
9222 Include __longjmp.c.
9223 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
9224 Move to ...
9225 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
9226 (__getcontext): Remove setting __flags field.
9227 Add versioning.
9228 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
9229 (__swapcontext): Remove setting uc_flags field.
9230 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
9231 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
9232 Remove fields uc_high_gprs and __reserved.
9233 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
9234 New file with reverted content.
9235 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
9236 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
9237 Regenerated.
9238 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
9239 Regenerated.
9240
6c9578a2
AS
92412014-07-31 Andreas Schwab <schwab@suse.de>
9242
9243 * config.h.in (HAVE_IFUNC): Define to 0.
9244 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
9245 definedness.
9246
05f3633d
LM
92472014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
9248
9249 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9250 memmove-avx-unaligned, memcpy-avx-unaligned and
9251 mempcpy-avx-unaligned.
9252 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9253 Add tests for AVX memcpy functions.
9254 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
9255 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
9256 memcpy_chk.
9257 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
9258 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
9259 memmove_chk.
9260 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
9261 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
9262 mempcpy_chk.
9263 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
9264 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
9265 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
9266
a53fbd8e
AZ
92672013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9268
9269 [BZ #17213]
9270 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
9271 powerpc64le.
9272
0961f7e1
JL
92732014-07-29 Jeff Layton <jlayton@poochiereds.net>
9274
9275 [BZ #16839]
9276 * manual/llio.texi: Add section about open file description locks.
9277 * manual/examples/ofdlocks.c: Example of open file description
9278 lock usage.
9279 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
9280 F_OFD_SETLK, and F_OFD_SETLKW.
9281
cc5fb300
AM
92822014-07-23 Allan McRae <allan@archlinux.org>
9283
9284 * po/es.po: Update Spanish translation from translation project.
9285
23329dca
AS
92862014-07-18 Andreas Schwab <schwab@linux-m68k.org>
9287
9288 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
9289
9c82da17
MR
92902014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
9291
9292 [BZ #17078]
9293 * sysdeps/arm/dl-machine.h (elf_machine_rela)
9294 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
9295 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
9296
29c4f53e
JM
92972014-07-17 Joseph Myers <joseph@codesourcery.com>
9298
831b9896
JM
9299 [BZ #17088]
9300 * math/fesetenv.c (__fesetenv)
9301 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
9302 * math/feupdateenv.c (__feupdateenv)
9303 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
9304
b21c2d50
JM
9305 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
9306 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
9307 (__ASSUME_SOCKETCALL): Do not define.
9308
067764ef
JM
9309 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
9310 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
9311 (__ASSUME_SOCKETCALL): Do not define.
9312 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
9313 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
9314 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
9315 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
9316 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9317 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
9318 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9319 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9320
642530c1
JM
9321 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
9322 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
9323 (__ASSUME_SOCKETCALL): Do not define.
9324 (__ASSUME_IPC64): Define unconditionally.
9325 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
9326 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
9327 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
9328 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9329 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
9330 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9331 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
9332 Likewise.
9333
03f77315
JM
9334 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
9335 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
9336 (__ASSUME_SOCKETCALL): Do not define.
9337 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
9338 (__ASSUME_FUTEX_LOCK_PI): Likewise.
9339 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
9340 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
9341 (__ASSUME_REQUEUE_PI): Define unconditionally.
9342 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
9343 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
9344 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9345 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
9346 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9347 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9348
083b1f7c
JM
9349 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
9350 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
9351 (__ASSUME_SOCKETCALL): Do not define.
9352 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
9353 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9354 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9355 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
9356 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9357 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9358
5be44ea6
JM
9359 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
9360 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
9361 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
9362 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
9363 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9364 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
9365 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9366 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
9367 (__ASSUME_GETCPU_SYSCALL): Likewise.
9368
d95ffd4c
JM
9369 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
9370 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
9371 cases for individual architectures.
9372 * sysdeps/gnu/configure: Regenerated.
9373 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
9374 LIBC_SLIBDIR_RTLDDIR.
9375 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
9376 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
9377 LIBC_SLIBDIR_RTLDDIR.
9378 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
9379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
9380 LIBC_SLIBDIR_RTLDDIR.
9381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
9382 Regenerated.
9383 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
9384 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
9385 file.
9386 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
9387 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
9388 file.
9389 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
9390 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
9391 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
9392 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
9393
29c4f53e
JM
9394 * sysdeps/aarch64/shlib-versions: Move to ...
9395 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
9396 * sysdeps/alpha/shlib-versions: Move to ...
9397 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
9398 * sysdeps/arm/shlib-versions: Move to ...
9399 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
9400 * sysdeps/hppa/shlib-versions: Move all contents except for
9401 libgcc_s entry to ...
9402 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
9403 entry from ...
9404 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
9405 * sysdeps/ia64/shlib-versions: Move to ...
9406 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
9407 entry from ...
9408 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
9409 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
9410 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
9411 * sysdeps/microblaze/shlib-versions: Move to ...
9412 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
9413 * sysdeps/mips/shlib-versions: Move to ...
9414 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
9415 entry from ...
9416 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
9417 * sysdeps/tile/shlib-versions: Move to ...
9418 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
9419 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
9420 from ...
9421 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
9422 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
9423 entry from ...
9424 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
9425
32bead5b
WN
94262014-07-17 Will Newton <will.newton@linaro.org>
9427
57977c4b
WN
9428 * sysdeps/arm/bits/atomic.h
9429 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
9430 (__arch_compare_and_exchange_bool_16_int): Likewise.
9431 (__arch_compare_and_exchange_bool_64_int): Likewise.
9432
32bead5b
WN
9433 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
9434 into an #else block.
9435
37fccd41
RM
94362014-07-16 Roland McGrath <roland@hack.frob.com>
9437
9438 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
9439 just Linux configurations. Test empirically that the compiler sets
9440 __ARM_EABI__, rather than using the tuple to decide.
9441 * sysdeps/arm/preconfigure: Regenerated.
9442 * sysdeps/unix/sysv/linux/arm/configure: File removed.
9443 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
9444 contents appended ...
9445 * sysdeps/arm/configure.ac: ... here.
9446 * sysdeps/arm/configure: Regenerated.
9447
b365f3ec
RM
94482014-07-15 Roland McGrath <roland@hack.frob.com>
9449
8badf496
RM
9450 * nptl/pthread_kill.c: New file.
9451 * nptl/pthread_sigmask.c: New file.
9452 * nptl/pthread_sigqueue.c: New file.
9453
3df6f22e
RM
9454 * sysdeps/nptl/lowlevellock.h: New file.
9455 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
9456 * sysdeps/nptl/lowlevellock-futex.h: New file.
9457
b365f3ec
RM
9458 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
9459 Remove dead declarations.
9460
f2fef657
L
94612014-07-14 H.J. Lu <hongjiu.lu@intel.com>
9462
9463 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
9464 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
9465 config-cflags-avx2.
9466 * sysdeps/x86_64/configure.ac: Likewise.
9467 * sysdeps/i386/configure: Regenerated.
9468 * sysdeps/x86_64/configure: Likewise.
9469 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9470 memset-avx2 only if config-cflags-avx2 is yes.
9471 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9472 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
9473 defined.
9474 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
9475 only if HAVE_AVX2_SUPPORT is defined.
9476 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9477
f6c44d47
AM
94782014-07-14 Alan Modra <amodra@gmail.com>
9479
9480 [BZ #17153]
9481 * elf/elf.h (DT_PPC64_NUM): Correct value.
9482 * NEWS: Add to fixed bug list.
9483
7ee03f00
JM
94842014-07-13 Jim Meyering <meyering@fb.com>
9485
9486 [BZ 17150]
9487 regex: don't deref NULL upon heap allocation failure
9488 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
9489 failure in one more place.
9490 To trigger the segfault, configure grep -with-included-regex,
9491 build it, and run these commands:
9492 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
9493
9d39d517
AS
94942014-07-13 Andreas Schwab <schwab@linux-m68k.org>
9495
9496 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
9497
a75b89b7
RH
94982014-07-11 Richard Henderson <rth@redhat.com>
9499
9500 * sysdeps/aarch64/libm-test-ulps: Update.
9501
771eb141
FW
95022014-07-10 Florian Weimer <fweimer@redhat.com>
9503
9504 [BZ #17135]
9505 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
9506 * nptl/allocatestack.c (__nptl_setxid_error): New function.
9507 (__nptl_setxid): Initialize error member. Call
9508 __nptl_setxid_error.
9509 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
9510 * nptl/descr.h (struct xid_command): Add error member.
9511 * nptl/tst-setuid3.c: New file.
9512 * nptl/Makefile (tests): Add it.
9513
bc1da176
AZ
95142014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9515
9516 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
9517 New define.
9518 (__lll_trylock): Use __lll_base_trylock.
9519 (__lll_cond_trylock): Likewise.
9520
887865fc
RM
95212014-07-10 Roland McGrath <roland@hack.frob.com>
9522
c0c6bac9
RM
9523 * nptl/pthread_create.c (start_thread): Use atomic_or and
9524 lll_futex_wake directly rather than lll_robust_dead.
9525 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
9526 (lll_robust_dead): Macro removed.
6a42be57 9527 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
c0c6bac9
RM
9528 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
9529 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
9530 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
9531 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
9532 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
9533 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
9534 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
9535 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
9536 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
9537 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
9538 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
9539 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
9540 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
9541 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
9542
887865fc
RM
9543 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
9544 Use atomic_compare_and_exchange_val_acq directly rather than
9545 lll_robust_trylock.
9546 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
9547 (__lll_robust_trylock, lll_robust_trylock): Removed.
9548 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
9549 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
9550 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
9551 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
9552 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
9553 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
9554 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
9555 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
9556 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
9557 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
9558 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
9559 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
9560 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
9561 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
9562
58536726
FW
95632014-07-02 Florian Weimer <fweimer@redhat.com>
9564
9565 * manual/locale.texi (Locale Names): New section documenting
9566 locale name syntax. Adjust menu and node chaining accordingly.
9567 (Choosing Locale): Reference Locale Names, Locale Categories.
9568 Mention setting LC_ALL=C. Reflect that name syntax is now
9569 documented.
9570 (Locale Categories): New section title. Reference Locale Names.
9571 LC_ALL is an environment variable, but not a category.
9572 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
9573 description, now in Locale Name. Reference that section. Locale
9574 name syntax is now documented.
9575
4e8f95a0
FW
95762014-07-02 Florian Weimer <fweimer@redhat.com>
9577
9578 [BZ #17137]
9579 * locale/findlocale.c (name_present, valid_locale_name): New
9580 functions.
9581 (_nl_find_locale): Use the loc_name variable to store name
9582 candidates. Call name_present and valid_locale_name to check and
9583 validate locale names. Return an error if the locale is invalid.
9584
d1836456
FW
95852014-07-02 Florian Weimer <fweimer@redhat.com>
9586
9587 * locale/setlocale.c (setlocale): Use strdup for allocating
9588 composite name copy.
9589
d69b7f5a
SP
95902014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9591
888c679b
SP
9592 Sync up with gnulib.
9593 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
9594 [!_LIBC && ENABLE_NLS]: Include gettext.h.
9595 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
9596 and _GL_ARG_NONNULL.
9597 [USE_UNLOCKED_IO]: Include unlocked-io.h.
9598 [!_LIBC]: Include code for Windows and Cygwin.
9599 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
9600 Include prototype for int strerror_r.
9601 [!_LIBC] (is_open): New function.
9602 (flush_stdout): New function.
9603 (print_errno_message): Use it.
9604 (error): Likewise.
9605 (error_at_line): Likewise.
9606 (error_tail) Add function attribute macros. Use
9607 __builtin_expect.
9608
180e0e4b
SP
9609 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
9610
d22f1fe2
SP
9611 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
9612
12f2254b
SP
9613 * io/ftw.c: Include sys/param.h unconditionally.
9614
c3c7c360
SP
9615 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
9616
d62aa75a
SP
9617 [BZ #17125]
9618 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
9619 libc_freeres_ptr.
9620 (freecache): New function to free CACHE on exit.
9621
d69b7f5a
SP
9622 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
9623 initialization.
9624
5efe06a1
DM
96252014-07-09 David S. Miller <davem@davemloft.net>
9626
9627 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9628
7000d82e
DM
9629 * sysdeps/sparc/nptl/internaltypes.h: Delete.
9630 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
9631 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
9632 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
9633 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
9634 * sysdeps/sparc/nptl/sem_init.c: Likewise.
9635 * sysdeps/sparc/nptl/sem_post.c: Likewise.
9636 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
9637 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
9638 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
9639 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
9640 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
9641 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
9642
c213442d
AS
96432014-07-09 Andreas Schwab <schwab@suse.de>
9644
4a2552c3
AS
9645 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
9646 output.
9647 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
9648 (do_test): Likewise.
9649
c213442d
AS
9650 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
9651
82374e65
WN
96522014-07-09 Will Newton <will.newton@linaro.org>
9653
9654 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
9655 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
9656 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
9657 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
9658 * sysdeps/hppa/start.S (_start): Likewise.
9659
6680738a
SP
96602014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
9661
6ee3eab4
SP
9662 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
9663
6680738a
SP
9664 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
9665 defined.
9666
80b5c505
SP
96672014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9668
e35c53e3
SP
9669 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
9670 after checking that it is non-NULL.
9671
80b5c505
SP
9672 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
9673
91f4b564
AZ
96742014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9675
27b75f56
AZ
9676 * sysdeps/powerpc/memmove.c: Remove file.
9677 * sysdeps/powerpc/powerpc32/power4/memcopy.h
9678 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
9679 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
9680 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
9681 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
9682 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
9683 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
9684 string memmove instead of removed powerpc one.
9685
e7f95bb5
AZ
9686 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
9687 [weak_alias]: Fix compiler warning due trailing data.
9688 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
9689 [weak_alias]: Likewise.
9690 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
9691 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
9692
91f4b564
AZ
9693 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9694 (__libc_ifunc_impl_list): Add memmove functions.
9695
7c33f1e5
SP
96962014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9697
9698 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
9699 Remove code.
9700 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
9701 Likewise
9702 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
9703 Likewise
9704 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
9705 Likewise
9706 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
9707 Likewise
9708 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
9709 Likewise
9710 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
9711 Likewise
9712 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
9713 Likewise
9714 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
9715 Likewise
9716 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
9717 Likewise
9718 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
9719 Likewise
9720 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
9721 Likewise
9722 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
9723 Likewise
9724 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
9725 Likewise
9726 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
9727 Likewise
9728 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
9729 Likewise
9730 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
9731 Likewise
9732
3f17b03b
AZ
97332014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9734
87868c24
AZ
9735 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
9736 to avoid alignment traps in non-cacheable memory.
9737 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
9738
07aedd78
AZ
9739 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
9740 multiarch objects.
9741 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
9742 file: multiarch power7 memmove.
9743 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
9744 multiarch default memmove.
9745 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
9746 multiarch memove for powerpc32/power4.
9747
17762f66
AZ
9748 * string/bcopy.c: Use full path to include memmove.c.
9749 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
9750 multiarch objects.
9751 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
9752 bcopy for powerpc64.
9753 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
9754 bcopy for powerpc64.
9755 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
9756 and memmove implementations.
9757 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
9758 optimized multiarch memmove for POWER7/powerpc64.
9759 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
9760 default multiarch memmove for powerpc64.
9761 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
9762 multiarch for powerpc64.
9763 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
9764 for POWER7/powerpc64.
9765 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
9766 memmove for POWER7/powerpc64.
9767
d6f68bbe
AZ
9768 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
9769 glibc default one.
9770
3f17b03b
AZ
9771 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
9772 __ELF_NATIVE_CLASS equal to 64.
9773
08192659
RM
97742014-07-07 Roland McGrath <roland@hack.frob.com>
9775
f4c4021b
RM
9776 * sysdeps/nptl/lowlevellock.h: File removed.
9777
f083450f
RM
9778 * NEWS: NPTL is no longer an add-on!
9779 * nptl/internaltypes.h: Moved ...
9780 * sysdeps/nptl/internaltypes.h: ... here.
9781 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
9782 * sysdeps/nptl/fork.c: Likewise.
9783 * sysdeps/nptl/gai_misc.h: Likewise.
9784 * sysdeps/nptl/librt-cancellation.c: Likewise.
9785 * sysdeps/nptl/jmp-unwind.c: Likewise.
9786 * sysdeps/nptl/setxid.h: Likewise.
9787 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
9788 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
9789 * sysdeps/unix/sysv/linux/arm/Implies: New file.
9790 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
9791 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
9792 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
9793 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
9794 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
9795 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
9796 * sysdeps/unix/sysv/linux/mips/Implies: New file.
9797 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
9798 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
9799 * sysdeps/unix/sysv/linux/sh/Implies: New file.
9800 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
9801 * sysdeps/unix/sysv/linux/tile/Implies: New file.
9802 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
9803 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
9804 * nptl/Makeconfig: Moved ...
9805 * sysdeps/nptl/Makeconfig: ... here.
9806 * nptl/configure: File removed.
9807 * nptl/ANNOUNCE: File removed.
9808 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
9809 * sysdeps/unix/sysv/linux/configure: Regenerated.
9810
08192659
RM
9811 * nptl/Makefile (routines): Add libc_pthread_init,
9812 libc_multiple_threads, register-atfork and unregister-atfork.
9813 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
9814 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
9815 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
9816 pthread-pi-defines.sym, structsem.sym.
9817 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
9818 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
9819 [$(subdir) = nptl] (tests): Add tst-setgetname.
9820 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
9821 * sysdeps/unix/sysv/linux/sigaction.c: Just include
9822 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
9823 [!LIBC_SIGACTION]: Remove aliases.
9824 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
9825 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
9826 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
9827 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
9828 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
9829 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
9830 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
9831 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
9832 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
9833 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
9834 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
9835 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
9836 __libc_allocate_rtsig_private.
9837 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
9838 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
9839 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
9840 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
9841 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
9842 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
9843 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
9844 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
9845 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
9846 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
9847 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
9848 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
9849 * nptl/internaltypes.h: ... here.
9850 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
9851 * sysdeps/nptl/jmp-unwind.c: ... here.
9852 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
9853 * nptl/libc-lowlevellock.c: ... here.
9854 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
9855 * nptl/libc_multiple_threads.c: ... here.
9856 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
9857 * nptl/libc_pthread_init.c: ... here.
9858 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
9859 * nptl/lowlevelbarrier.sym: ... here.
9860 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
9861 * nptl/lowlevelcond.sym: ... here.
9862 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
9863 * nptl/lowlevellock.c: ... here.
9864 * nptl/lowlevellock.h: Moved ...
9865 * sysdeps/nptl/lowlevellock.h: ... here.
9866 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
9867 * nptl/lowlevelrobustlock.c: ... here.
9868 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
9869 * nptl/lowlevelrobustlock.sym: ... here.
9870 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
9871 * nptl/lowlevelrwlock.sym: ... here.
9872 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
9873 * nptl/pt-fork.c: ... here.
9874 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
9875 * nptl/pthread-pi-defines.sym: ... here.
9876 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
9877 * nptl/pthread_attr_getaffinity.c: ... here.
9878 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
9879 * nptl/pthread_attr_setaffinity.c: ... here.
9880 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
9881 * nptl/pthread_mutex_cond_lock.c: ... here.
9882 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
9883 Update #include.
9884 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
9885 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
9886 * nptl/pthread_once.c: ... here, replacing old file.
9887 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
9888 * nptl/pthread_yield.c: ... here.
9889 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
9890 * nptl/register-atfork.c: ... here.
9891 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
9892 * nptl/sem_post.c: ... here.
9893 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
9894 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
9895 * nptl/sem_timedwait.c: ... here.
9896 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
9897 * nptl/sem_trywait.c: ... here.
9898 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
9899 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
9900 * nptl/sem_wait.c: ... here.
9901 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
9902 * nptl/structsem.sym: ... here.
9903 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
9904 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
9905 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
9906 * nptl/unregister-atfork.c: ... here.
9907 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
9908 * nptl/unwindbuf.sym: ... here.
9909 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
9910 * sysdeps/nptl/fork.c: ... here.
9911 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
9912 * sysdeps/nptl/fork.h: ... here.
9913 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
9914 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
9915 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
9916 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
9917 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
9918 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
9919 * sysdeps/unix/sysv/linux/getpid.c: ... here.
9920 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
9921 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
9922 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
9923 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
9924 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
9925 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
9926 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
9927 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
9928 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
9929 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
9930 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
9931 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
9932 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
9933 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
9934 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
9935 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
9936 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
9937 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
9938 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
9939 * sysdeps/unix/sysv/linux/raise.c: ... here.
9940 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
9941 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
9942 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
9943 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
9944 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
9945 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
9946 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
9947 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
9948 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
9949 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
9950 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
9951 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
9952 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
9953 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
9954 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
9955
96baf6ff
SP
99562014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9957
9958 * sysdeps/generic/memcopy.h: Add comment for
9959 MEMCPY_OK_FOR_FWD_MEMMOVE.
9960
6b7b14b2
WN
99612014-07-04 Will Newton <will.newton@linaro.org>
9962
1570a72b
WN
9963 * string/memchr.c: Merge from gnulib.
9964 [_LIBC]: Remove conditionals.
9965 (__ptr_t): Remove define.
9966 (LONG_MAX_32_BITS): Likewise.
9967 (LONG_MAX): Likewise.
9968 (MEMCHR): Use ANSI prototype and optimize algorithm.
9969
6b7b14b2
WN
9970 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
9971
38851324
SP
99722014-07-03 Roland McGrath <roland@hack.frob.com>
9973
3d9eb57c
RM
9974 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
9975 (lll_futex_timed_wait_bitset): Fix syscall argument count.
9976
78b984ae
RM
9977 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
9978 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
9979 in a bare environment with no <stdlib.h> installed.
9980 * sysdeps/nptl/configure: Regenerated.
9981
2d5976a5
RM
9982 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
9983
c1f5acd4
RM
9984 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
9985 AC_EGREP_CPP for kernel header checks, so they only succeed if
9986 including <linux/version.h> actually works right.
9987 * sysdeps/unix/sysv/linux/configure: Regenerated.
9988
4d614fe5
RM
9989 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
9990 value so it's not diagnosed as unused.
9991
38851324
SP
9992 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
9993 thing) with "ifeq ($(subdir),rt)".
9994
b3ec00e5
RH
99952014-07-03 Richard Henderson <rth@redhat.com>
9996
69862e25
RH
9997 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
9998 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
9999 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
10000
d5e16ade
RH
10001 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
10002 (math_force_eval): New.
10003
ca7b945c
RH
10004 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
10005 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
10006
cd1175a3
RH
10007 * sysdeps/alpha/fpu/s_round.c: Remove file.
10008 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
10009
b3ec00e5
RH
10010 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
10011 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
10012 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
10013 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
10014 (_dl_start, print_statistics): Likewise.
10015 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
10016 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
10017
10018 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
10019 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
10020 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
10021 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
10022 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
10023 (HP_SMALL_TIMING_AVAIL): Define.
10024 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
10025 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
10026 (HP_SMALL_TIMING_AVAIL): Define.
10027 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
10028 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
10029
10030 * sysdeps/aarch64/hp-timing.h: New file.
10031
10032 * sysdeps/generic/hp-timing.h: Remove dead comment.
10033 * sysdeps/generic/hp-timing-common.h: New file.
10034 * sysdeps/alpha/hp-timing.h: Include it.
10035 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
10036 * sysdeps/i386/i686/hp-timing.h: Likewise.
10037 * sysdeps/ia64/hp-timing.h: Likewise.
10038 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
10039 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
10040 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
10041 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
10042 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
10043 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
10044 (hp_timing_t): New.
10045
10046 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
10047 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
10048 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
10049 * elf/rtld.c (_dl_start_final): Likewise.
10050 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
10051 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
10052 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
10053 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
10054 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
10055 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
10056 (HP_TIMING_DIFF_INIT): Remove.
10057 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
10058 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
10059 (HP_TIMING_DIFF_INIT): Remove.
10060 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
10061 * sysdeps/i386/i686/hp-timing.c: Remove file.
10062 * sysdeps/x86_64/hp-timing.c: Remove file.
10063 * sysdeps/ia64/hp-timing.c: Remove file.
10064 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
10065 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
10066 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
10067 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
10068
10069 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
10070 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
10071 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
10072 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
10073 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
10074 (HP_TIMING_ACCUM): Remove.
10075 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
10076 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
10077 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
10078
10079 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
10080 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
10081 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
10082 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
10083 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
10084 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
10085 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
10086 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
10087
10088 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
10089
225f410f
MR
100902014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
10091
10092 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
10093
3247f285
SP
100942014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10095
10096 Sync up with gettext.
10097 * intl/loadmsgcat.c: Define O_BINARY if not defined.
10098 [_MSC_VER]: Include malloc.h
10099 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
10100 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
10101 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
10102 TEMP_FAILURE_RETRY. Cast return of alloca.
10103 [!_LIBC] Call gl_rwlock_init.
10104 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
10105
d12704c7
SP
101062014-07-02 Roland McGrath <roland@hack.frob.com>
10107
10108 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
10109 before checking its value.
10110
99f8dc92
SP
101112014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10112
05fdac77
SP
10113 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
10114
99f8dc92
SP
10115 * debug/memcpy_chk.c: Don't include pagecopy.h.
10116 * debug/mempcpy_chk.c: Likewise.
10117 * string/memcpy.c: Likewise.
10118 * string/memmove.c: Likewise.
10119 * sysdeps/powerpc/memmove.c: Likewise.
10120 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
10121 definition of PAGE_COPY_FWD_MAYBE here...
10122 * sysdeps/generic/pagecopy.h: ... from here.
10123 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
10124
bc8ea385
VR
101252014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
10126 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10127
10128 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
10129 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
10130 optimizations.
10131 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10132 (__libc_ifunc_impl_list): Likewise.
10133 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
10134 multiarch strcat for PPC64.
10135 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
10136 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
10137
fe5f34e4
RM
101382014-07-02 Roland McGrath <roland@hack.frob.com>
10139
10140 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
10141
256aa665
SP
101422014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10143
d4eb8195
SP
10144 * intl/loadmsgcat.c: Remove declaration of
10145 get_sysdep_segment_value.
10146 (get_sysdep_segment_value): Use ISO C style.
10147 (_nl_load_domain): Use ISO C style. Get rid of redundant
10148 semicolon. Fix typo and formatting in comment.
10149 (_nl_unload_domain): Use ISO C style.
10150
256aa665
SP
10151 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
10152
b100f9aa
WN
101532014-07-02 Will Newton <will.newton@linaro.org>
10154
10155 * malloc/obstack.c: Merge from gnulib master.
10156 [HAVE_CONFIG_H]: Remove conditional code.
10157 [!_LIBC]: Include config.h.
10158 [!ELIDE_CODE]: Don't include inttypes.h, include
10159 stdint.h unconditionally.
10160 (print_and_abort): Mark as _Noreturn.
10161 (_obstack_allocated_p): Mark as __attribute_pure__.
10162 (obstack_free): Rename to __obstack_free.
10163 [!__attribute__]: Remove conditional code.
10164 * malloc/obstack.h: Merge from gnulib master.
10165 [__cplusplus]: Move conditional down.
10166 [!__attribute_pure__]: Define __attribute_pure__ here
10167 if it is not already defined.
10168 (_obstack_memory_used): Mark as __attribute_pure__.
10169 [!__obstack_free]: Define as obstack_free.
10170 [__GNUC__]: Remove check for ancient NeXT gcc.
10171
c4c41244
PE
101722014-07-02 Will Newton <will.newton@linaro.org>
10173 Paul Eggert <eggert@cs.ucla.edu>
10174
10175 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
10176
e1e041c4
SP
101772014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10178
10179 * resolv/gethnamaddr.c: Add comment warning that the file is
10180 not maintained.
10181
ccf431ff
CD
101822014-07-01 Carlos O'Donell <carlos@redhat.com>
10183
d34570a6
CD
10184 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
10185 entries.
10186
ccf431ff
CD
10187 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
10188 entry for aio_cancel and aio_cancel64.
10189 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
10190 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
10191 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
10192 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
10193 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
10194 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
10195 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
10196 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
10197 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
10198 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
10199 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
10200 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
10201 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
10202
ca06321d
RM
102032014-07-01 Roland McGrath <roland@hack.frob.com>
10204
10205 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
10206 * nptl/pthread_mutex_lock.c: Likewise.
10207 * nptl/pthread_mutex_timedlock.c: Likewise.
10208 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
10209
a1ac3184
RH
102102014-07-01 Richard henderson <rth@redhat.com>
10211
631021e0
RH
10212 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
10213 (__isnan, __isnanl): Remove.
10214 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
10215
a1ac3184
RH
10216 * sysdeps/alpha/fpu/libm-test-ulps: Update.
10217
0c1d731f
SL
102182014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
10219
10220 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10221
76985d3e
SP
102222014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
10223
10224 * resolv/nss_dns/dns-host.c (getanswer_r)
10225 [MULTI_PTRS_ARE_ALIASES]: Remove code.
10226
b0cb3096
JM
102272014-07-01 Joseph Myers <joseph@codesourcery.com>
10228
10229 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10230 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
10231 undefine.
10232 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
10233 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
10234
4d76cb39
RM
102352014-07-01 Roland McGrath <roland@hack.frob.com>
10236
10237 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
10238 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
10239
10240 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
10241 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
10242
10243 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
10244 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
10245 ... here.
10246 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
10247 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
10248
10249 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
10250 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
10251 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
10252 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
10253
10254 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
10255 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
10256 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
10257 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
10258 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
10259 Moved ...
10260 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
10261 ... here.
10262 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
10263 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
10264 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
10265 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
10266 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
10267 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
10268 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
10269 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
10270 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
10271 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
10272 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
10273 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
10274 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
10275 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
10276 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
10277 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
10278 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
10279 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
10280 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
10281 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
10282 ... here.
10283 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
10284 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
10285 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
10286 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
10287 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
10288 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
10289 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
10290 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
10291
0cdcad17
DH
102922014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
10293
10294 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
10295 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
10296 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
10297 Add sysdep.
10298
9b71d0e3
AZ
102992014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10300
10301 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10302
665390c2
JM
103032014-06-30 Joseph Myers <joseph@codesourcery.com>
10304
ae05a9d7
JM
10305 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
10306 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10307
a7672a2f
JM
10308 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10309
665390c2
JM
10310 * sysdeps/arm/libm-test-ulps: Regenerated.
10311
d7a05d07
MR
103122014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
10313 Roland McGrath <roland@hack.frob.com>
10314
10315 * test-skeleton.c (signal_handler): Kill the whole process group
10316 before killing the child individually.
10317 (main): Report any failure on `setpgid'.
10318
46f1d8a6
RM
103192014-06-30 Roland McGrath <roland@hack.frob.com>
10320
10321 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
10322 from _TLS_H to _ARM_NPTL_TLS_H.
10323 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
10324 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
10325
9c37ec0b
JM
103262014-06-30 Joseph Myers <joseph@codesourcery.com>
10327
ce9c5b3e
JM
10328 [BZ #16539]
10329 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
10330 (__expm1l): Return argument unchanged when small but not
10331 subnormal.
10332
3a6e9887
JM
10333 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
10334 include macro name.
10335 (_FP_UNPACK_RAW_1_P): Likewise.
10336 (_FP_PACK_RAW_1): Likewise.
10337 (_FP_PACK_RAW_1_P): Likewise.
10338 (_FP_MUL_MEAT_1_wide): Likewise.
10339 (_FP_MUL_MEAT_DW_1_hard): Likewise.
10340 (_FP_MUL_MEAT_1_hard): Likewise.
10341 (_FP_DIV_MEAT_1_imm): Likewise.
10342 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
10343 (_FP_DIV_MEAT_1_udiv): Likewise.
10344 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
10345 (_FP_UNPACK_RAW_2): Likewise.
10346 (_FP_UNPACK_RAW_2_P): Likewise.
10347 (_FP_PACK_RAW_2): Likewise.
10348 (_FP_PACK_RAW_2_P): Likewise.
10349 (_FP_MUL_MEAT_DW_2_wide): Likewise.
10350 (_FP_MUL_MEAT_2_wide): Likewise.
10351 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
10352 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
10353 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
10354 (_FP_MUL_MEAT_2_gmp): Likewise.
10355 (_FP_DIV_MEAT_2_udiv): Likewise.
10356 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
10357 (_FP_FRAC_SRL_4): Likewise.
10358 (_FP_FRAC_SRST_4): Likewise.
10359 (_FP_FRAC_SRS_4): Likewise.
10360 (_FP_UNPACK_RAW_4): Likewise.
10361 (_FP_UNPACK_RAW_4_P): Likewise.
10362 (_FP_PACK_RAW_4): Likewise.
10363 (_FP_PACK_RAW_4_P): Likewise.
10364 (_FP_MUL_MEAT_DW_4_wide): Likewise.
10365 (_FP_MUL_MEAT_4_wide): Likewise.
10366 (_FP_MUL_MEAT_4_gmp): Likewise.
10367 (umul_ppppmnnn): Likewise.
10368 (_FP_DIV_MEAT_4_udiv): Likewise.
10369 (__FP_FRAC_ADD_4): Likewise.
10370 (__FP_FRAC_SUB_3): Likewise.
10371 (__FP_FRAC_SUB_4): Likewise.
10372 (__FP_FRAC_DEC_3): Likewise.
10373 (__FP_FRAC_DEC_4): Likewise.
10374 (__FP_FRAC_ADDI_4): Likewise.
10375 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
10376 (_FP_FRAC_SRL_8): Likewise.
10377 (_FP_FRAC_SRS_8): Likewise.
10378
9c37ec0b
JM
10379 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
10380 include macro name.
10381 (FP_UNPACK_RAW_EP): Likewise.
10382 (FP_PACK_RAW_E): Likewise.
10383 (FP_PACK_RAW_EP): Likewise.
10384 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
10385 (_FP_ISSIGNAN): Likewise.
10386 (_FP_ADD_INTERNAL): Likewise.
10387 (_FP_FMA): Likewise.
10388 (_FP_CMP): Likewise.
10389 (_FP_SQRT): Likewise.
10390 (_FP_TO_INT): Likewise.
10391 (_FP_FROM_INT): Likewise.
10392 (FP_EXTEND): Likewise.
10393 (_FP_DIV_MEAT_N_loop): Likewise.
10394
2125f674
MR
103952014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
10396
10397 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
10398 throughout.
10399
edea4028
JM
104002014-06-29 Joseph Myers <joseph@codesourcery.com>
10401
10402 [BZ #17097]
10403 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
10404 result with correct sign in case of exponents that produce
10405 overflow except for X very close to 1.
10406
dd0ba018
PE
104072014-06-28 Paul Eggert <eggert@cs.ucla.edu>
10408
10409 mktime: merge #if/#ifdef usage from glibc
10410 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
10411 as that works with both Glibc's and Gnulib's style.
10412 See thread starting at Siddhesh Poyarekar's bug report at:
10413 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
10414
64df73c2
SP
104152014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10416
10417 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
10418 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
10419 * sysdeps/tile/tilegx/memmove.c: Remove file.
10420
f1eafb41
JM
104212014-06-27 Joseph Myers <joseph@codesourcery.com>
10422
10423 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
10424 abi-name definition.
10425 * scripts/soversions.awk: Do not handle or generate ABI lines.
10426 * shlib-versions: Remove ABI entries.
10427 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
10428 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
10429
58eb0862
RM
104302014-06-27 Roland McGrath <roland@hack.frob.com>
10431
37caf178
RM
10432 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
10433 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
10434 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
10435 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
10436 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
10437 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
10438 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
10439 Moved ...
10440 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
10441 ... here.
10442 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
10443 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
10444 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
10445 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
10446 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
10447 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
10448 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
10449 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
10450 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
10451 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
10452 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
10453 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
10454 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
10455 Moved ...
10456 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
10457 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
10458 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
10459 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
10460 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
10461 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
10462 Moved ...
10463 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
10464 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
10465 Moved ...
10466 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
10467 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
10468 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
10469 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
10470 Moved ...
10471 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
10472 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
10473 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
10474 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
10475 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
10476 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
10477 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
10478 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
10479 Moved ...
10480 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
10481 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
10482 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
10483 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
10484 Moved ...
10485 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
10486 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
10487 Moved ...
10488 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
10489 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
10490 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
10491 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
10492 Moved ...
10493 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
10494 ... here.
10495 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
10496 Identical file removed.
10497 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
10498 Moved ...
10499 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
10500 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
10501 Identical file removed.
10502 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
10503 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
10504 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
10505 Moved ...
10506 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
10507 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
10508 Identical file removed.
10509 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
10510 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
10511 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
10512 Identical file removed.
10513 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
10514 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
10515 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
10516 Identical file removed.
10517 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
10518 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
10519 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
10520 Identical file removed.
10521 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
10522 Moved ...
10523 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
10524 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
10525 Identical file removed.
10526 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
10527 Moved ...
10528 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
10529 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
10530 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
10531 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
10532 Identical file removed.
10533 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
10534 Moved ...
10535 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
10536 ... here.
10537 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
10538 Identical file removed.
10539 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
10540 Moved ...
10541 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
10542 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
10543 Identical file removed.
10544 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
10545 Moved ...
10546 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
10547 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
10548 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
10549 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
10550 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
10551 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
10552 Moved ...
10553 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
10554 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
10555 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
10556
58eb0862
RM
10557 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
10558 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
10559 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
10560 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
10561 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
10562
6f12d062
AS
105632014-06-27 Arjun Shankar <arjun.is@lostca.se>
10564
10565 [BZ #17092]
10566 * nscd/nscd.c (monitor_child): Return exit status of child
10567 instead of return value from wait syscall.
10568
be254932
JM
105692014-06-27 Joseph Myers <joseph@codesourcery.com>
10570
cb403c34
JM
10571 * configure.ac (libc_commonpagesize): Remove variable.
10572 (libc_relro_required): Likewise.
10573 (libc_cv_z_relro): Remove configure test.
10574 * configure: Regenerated.
10575 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
10576 variable.
10577 (libc_relro_required): Likewise.
10578 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
10579 (libc_relro_required): Likewise.
10580 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
10581 (libc_relro_required): Likewise.
10582 * sysdeps/arm/preconfigure: Regenerated.
10583 * sysdeps/ia64/preconfigure: Remove file.
10584 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
10585 variable.
10586 (libc_relro_required): Likewise.
10587
be254932
JM
10588 [BZ #16561]
10589 [BZ #16562]
10590 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
10591 (__ieee754_yn): Set FE_TONEAREST mode internally and then
10592 recompute overflowing results in original rounding mode.
10593 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
10594 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
10595 recompute overflowing results in original rounding mode.
10596 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
10597 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
10598 recompute overflowing results in original rounding mode.
10599 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
10600 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
10601 recompute overflowing results in original rounding mode.
10602 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
10603 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
10604 recompute overflowing results in original rounding mode.
10605 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
10606 (libc_feholdsetround_ctx): New macro.
10607 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
10608 * sysdeps/i386/fpu/libm-test-ulps: Update.
10609 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
10610
b351d85a
JM
106112014-06-26 Joseph Myers <joseph@codesourcery.com>
10612
10613 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
10614 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
10615 corresponding .cpsetup call.
10616
3cb4de47
RM
106172014-06-26 Roland McGrath <roland@hack.frob.com>
10618
10619 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
10620 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
10621 * sysdeps/arm/Makefile [$(subdir) = csu]
10622 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
10623 (static-only-routines): Add aeabi_read_tp here.
10624 (shared-only-routines): Add libc-aeabi_read_tp here.
10625 (CFLAGS-libc-start.c): Add -fexceptions here.
10626 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
10627 (sysdep_routines, static-only-routines, shared-only-routines):
10628 Don't add to these here.
10629 (CFLAGS-libc-start.c): Likewise.
10630
10631 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
10632 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
10633 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
10634 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
10635 * sysdeps/arm/Makefile [$(subdir) = rt]
10636 (librt-sysdep_routines, librt-shared-only-routines):
10637 Append rt-aeabi_unwind_cpp_pr1 here.
10638 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
10639 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
10640 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
10641 (libpthread-sysdep_routines, libpthread-shared-only-routines):
10642 Append nptl-aeabi_unwind_cpp_pr1 here.
10643 (tests): Filter out tst-cleanupx4 here.
10644 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
10645 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
10646 Don't do those here.
10647
354426bb
JM
106482014-06-26 Joseph Myers <joseph@codesourcery.com>
10649
10650 * scripts/list-sources.sh: Do not handle ports specially.
10651
28b0a8c9
RM
106522014-06-26 Roland McGrath <roland@hack.frob.com>
10653
a3dd035d
RM
10654 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
10655 * sysdeps/arm/feupdateenv.c: Likewise.
10656
28b0a8c9
RM
10657 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
10658
e66a8203
JM
106592014-06-26 Joseph Myers <joseph@codesourcery.com>
10660
10661 * manual/texinfo.tex: Update to version 2014-05-05.10 with
10662 trailing whitespace removed.
10663 * scripts/config.guess: Update to version 2014-03-23.
10664 * scripts/config.sub: Update to version 2014-05-01
10665 * scripts/install-sh: Update to version 2013-12-25.23.
10666 * scripts/move-if-change: Update from gnulib.
10667
74171115
SP
106682014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10669
b97c9ce5
SP
10670 * debug/memmove_chk.c: Remove pagecopy.h include.
10671
4000f892
SP
106722014-06-26 Paul Eggert <eggert@cs.ucla.edu>
10673
74171115
SP
10674 * time/mktime.c (leapyear): Remove inline keyword. The code is now
10675 identical to gnulib mktime.
10676
a8779c28
JM
106772014-06-26 Joseph Myers <joseph@codesourcery.com>
10678
e64708de
JM
10679 * configure.ac: Do not test for machine being rs6000. Do not test
10680 for powerpc*-*soft.
10681 * configure: Regenerated.
10682
6a9350c8 10683 [BZ #11505]
a8779c28
JM
10684 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
10685 test.
10686 * configure: Regenerated.
10687 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
10688 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
10689 Remove configure test.
10690 * sysdeps/arm/configure: Regenerated.
10691 * sysdeps/nptl/configure.ac: Do not check
10692 libc_cv_asm_cfi_directives.
10693 * sysdeps/nptl/configure: Regenerated.
10694 * sysdeps/x86_64/nptl/configure.ac: Remove file.
10695 * sysdeps/x86_64/nptl/configure: Remove generated file.
10696 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
10697 unconditional.
10698 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
10699
2aac0a86
SP
107002014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10701
059bf913
SP
10702 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
10703 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
10704 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
10705 it is defined.
10706
4cf5b6d0
SP
10707 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
10708 instead of whether it is defined.
10709 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
10710 * sysdeps/hppa/dl-machine.h: Likewise.
10711 * sysdeps/ia64/dl-machine.h: Likewise.
10712 * sysdeps/m68k/dl-machine.h: Likewise.
10713 * sysdeps/microblaze/dl-machine.h: Likewise.
10714 * sysdeps/mips/dl-machine.: Likewise.
10715 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
10716 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
10717 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
10718 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
10719 * sysdeps/sh/dl-machine.h: Likewise.
10720 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10721 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10722 * sysdeps/tile/dl-machine.h: Likewise.
10723 * sysdeps/x86_64/dl-machine.h: Likewise.
10724
2aac0a86
SP
10725 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
10726 code.
10727 (verify_persistent_db): Likewise.
10728
6ad2df0b
RM
107292014-06-26 Roland McGrath <roland@hack.frob.com>
10730
d8a483f3
RM
10731 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
10732 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
10733 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
10734 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
10735 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
10736 Moved ...
10737 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
10738 ... here.
10739 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
10740 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
10741 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
10742 Identical file removed.
10743 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
10744 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
10745 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
10746 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
10747 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
10748 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
10749 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
10750 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
10751 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
10752 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
10753 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10754 Moved ...
10755 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
10756 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
10757 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
10758 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
10759 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
10760 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
10761 Moved ...
10762 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
10763 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
10764 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
10765 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
10766 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
10767 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
10768 Identical file removed.
10769 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
10770 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
10771 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
10772 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
10773 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
10774 Moved ...
10775 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
10776 ... here.
10777 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
10778 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
10779 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
10780 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
10781 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
10782 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
10783 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
10784 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
10785 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
10786 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
10787 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10788 Moved ...
10789 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
10790 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
10791 Moved ...
10792 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
10793 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
10794 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
10795 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
10796 Moved ...
10797 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
10798 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
10799 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
10800
52ae23b4
RM
10801 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
10802 folded into ...
10803 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
10804 * sysdeps/unix/sysv/linux/s390/Versions
10805 (libpthread: GLIBC_2.19): New version set.
10806 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
10807 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
10808 (librt: GLIBC_2.3.3): New version set.
10809 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
10810 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
10811 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
10812 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
10813 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
10814 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
10815 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
10816 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
10817 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
10818 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
10819 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
10820 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
10821 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
10822 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
10823 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
10824 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
10825 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
10826 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
10827 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
10828 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
10829 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
10830 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
10831 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
10832 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
10833 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
10834 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
10835 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
10836 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
10837 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
10838 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
10839 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
10840 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
10841 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
10842 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
10843 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
10844 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
10845 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
10846 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
10847 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
10848 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
10849 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
10850 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
10851 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
10852 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
10853 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
10854
39507e4a
RM
10855 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
10856 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
10857 (__libc_vfork): Define the function under this name.
10858 [!NOT_IN_libc] (__vfork): Make this an alias.
10859 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
10860 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
10861 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
10862 (__libc_vfork): Define the function under this name.
10863 [!NOT_IN_libc] (__vfork): Make this an alias.
10864 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
10865 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
10866 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
10867 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
10868 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
10869 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
10870
e549ee56
RM
10871 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
10872 code that was previously under [RESET_PID].
10873 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
10874 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
10875 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
10876
6ad2df0b
RM
10877 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
10878 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
10879 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
10880 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
10881 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
10882 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
10883 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
10884 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
10885 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
10886 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
10887 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
10888 Moved ...
10889 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
10890 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
10891 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
10892 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
10893 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
10894 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
10895 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
10896 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
10897 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
10898 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
10899 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
10900 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
10901 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
10902 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
10903 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
10904 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
10905 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
10906 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
10907 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
10908 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
10909 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
10910 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
10911 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
10912 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
10913 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
10914 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
10915 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
10916 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
10917 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
10918
7c1c1d8e
RM
109192014-06-25 Roland McGrath <roland@hack.frob.com>
10920
10921 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
10922 that was previously under [RESET_PID].
10923 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
10924
3e239be6
JM
109252014-06-25 Joseph Myers <joseph@codesourcery.com>
10926
74385da5
JM
10927 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
10928 not undefine and redefine.
10929 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
10930 [O_CLOEXEC]: Make code unconditional.
10931 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
10932 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
10933 <kernel-features.h>.
10934 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
10935 conditional variable definition.
10936 (shm_open) [O_CLOEXEC]: Make code unconditional.
10937 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
10938 code.
10939
c2570a0b
JM
10940 * configure.ac (USE_REGPARMS): Don't define here.
10941 * configure: Regenerated.
10942 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
10943 * sysdeps/i386/configure: Regenerated.
10944
11b076bb
JM
10945 * nptl/createthread.c: Don't include kernel-features.h.
10946 * nptl/pthread_cancel.c: Likewise.
10947 * nptl/pthread_condattr_setclock.c: Likewise.
10948 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
10949 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
10950 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
10951 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
10952 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
10953 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
10954 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
10955 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
10956 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
10957 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
10958 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
10959 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
10960 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
10961 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
10962 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
10963 * nscd/gai.c: Likewise.
10964 * nss/nss_db/db-open.c: Likewise.
10965 * sysdeps/generic/ldsodefs.h: Likewise.
10966 * sysdeps/sh/nptl/tls.h: Likewise.
10967 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
10968 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
10969 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
10970 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
10971 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
10972 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
10973 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
10974 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
10975 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
10976 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
10977 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
10978 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
10979 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
10980 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
10981 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
10982 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
10983 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
10984 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
10985 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
10986 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
10987 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
10988 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
10989 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
10990 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
10991 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
10992 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
10993 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
10994 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
10995 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
10996 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
10997 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
10998 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
10999 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
11000 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
11001 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
11002 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
11003 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
11004 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
11005 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
11006 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
11007 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
11008 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
11009 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
11010 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
11011 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
11012 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
11013 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
11014 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
11015 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
11016 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
11017 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
11018 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
11019 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
11020 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
11021 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
11022 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
11023 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
11024 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
11025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
11026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
11027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
11028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
11029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
11030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
11031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
11032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
11033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
11034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
11035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
11036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
11037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
11038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
11039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
11040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
11041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
11042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
11043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
11044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
11045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
11046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
11047 * sysdeps/unix/sysv/linux/pread.c: Likewise.
11048 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
11049 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
11050 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
11051 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
11052 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
11053 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
11054 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
11055 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
11056 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
11057 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
11058 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
11059 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
11060 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
11061 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
11062 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
11063 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
11064 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
11065 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
11066 * sysdeps/unix/sysv/linux/system.c: Likewise.
11067 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
11068 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
11069 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
11070 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
11071 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
11072 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
11073 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
11074
92072d57
JM
11075 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
11076 * configure: Regenerated.
11077 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
11078
3e239be6
JM
11079 * configure.ac (base_machine): Do not set specially for particular
11080 machines here.
11081 * configure: Regenerated.
11082 * sysdeps/powerpc/preconfigure: Move machine and base_machine
11083 settings from configure.ac.
11084 * sysdeps/i386/preconfigure: New file.
11085 * sysdeps/s390/preconfigure: Likewise.
11086 * sysdeps/sh/preconfigure: Likewise.
11087 * sysdeps/sparc/preconfigure: Likewise.
11088
06d50baa
RM
110892014-06-25 Roland McGrath <roland@hack.frob.com>
11090
74836003
RM
11091 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
11092 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
11093 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
11094 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
11095 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
11096 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
11097 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
11098 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
11099 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
11100 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
11101 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
11102 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
11103 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
11104 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
11105 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
11106 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
11107 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
11108 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
11109 * sysdeps/sparc/sparc64/Makefile: ... appended here.
11110
11111 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
11112 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
11113 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
11114 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
11115 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
11116 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
11117 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
11118 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
11119 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
11120 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
11121 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
11122 * sysdeps/sparc/sparc32/sem_post.c: ... here.
11123 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
11124 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
11125 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
11126 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
11127 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
11128 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
11129 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
11130 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
11131 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
11132 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
11133 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
11134 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
11135 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
11136 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
11137 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
11138 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
11139 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
11140 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
11141 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
11142 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
11143 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
11144 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
11145 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
11146 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
11147 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
11148 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
11149
06d50baa
RM
11150 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
11151 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
11152 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
11153 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
11154 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
11155 Moved ...
11156 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
11157 ... here.
11158 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
11159 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
11160 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
11161 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
11162 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
11163 Moved ...
11164 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
11165 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
11166 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
11167 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
11168 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
11169 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
11170 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
11171 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
11172 Moved ...
11173 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
11174 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
11175 Moved ...
11176 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
11177 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
11178 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
11179 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
11180 Moved ...
11181 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
11182 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
11183 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
11184 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
11185 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
11186 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
11187 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
11188 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
11189 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
11190 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
11191 Moved ...
11192 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
11193 ... here.
11194 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
11195 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
11196 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
11197 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
11198 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
11199 Moved ...
11200 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
11201 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
11202 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
11203 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
11204 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
11205 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
11206 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
11207 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
11208 Moved ...
11209 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
11210 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
11211 Moved ...
11212 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
11213 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
11214 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
11215 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
11216 Moved ...
11217 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
11218 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
11219 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
11220 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
11221 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
11222
a4ccbc9b
JM
112232014-06-25 Joseph Myers <joseph@codesourcery.com>
11224
0828edbf
JM
11225 * timezone/checktab.awk: Update from tzcode 2014e.
11226 * timezone/private.h: Likewise.
11227 * timezone/tzfile.h: Likewise.
11228 * timezone/zdump.c: Likewise.
11229 * timezone/zic.c: Likewise.
11230
a4ccbc9b
JM
11231 * sysdeps/unix/sysv/linux/kernel-features.h
11232 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
11233 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
11234 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
11235 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
11236 Remove conditional code.
11237
9aea0cb8
WN
112382014-06-25 Will Newton <will.newton@linaro.org>
11239
11240 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
11241 (_dl_arm_cap_flags): Add HWCAP2 values.
11242 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
11243 (_DL_HWCAP_COUNT): Increase to 37.
11244 (_DL_HWCAP_LAST): New define.
11245 (_DL_HWCAP2_LAST): New define.
11246 (_dl_procinfo): Add support for printing
11247 AT_HWCAP2 entries.
11248 (_dl_string_hwcap): Use _dl_hwcap_string.
11249
6eaa65ce
AZ
112502014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11251
11252 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11253
0f5b7185
JM
112542014-06-25 Joseph Myers <joseph@codesourcery.com>
11255
cfd2ea50
JM
11256 * README: Do not mention ports directory.
11257
cecf2ed4
JM
11258 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
11259 Remove macro.
11260 * sysdeps/unix/sysv/linux/futimes.c: Do not include
11261 <kernel-features.h>.
11262 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
11263 conditional variable definition.
11264 (__futimes): Update comment.
11265 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
11266 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
11267
a638de82
JM
11268 [BZ #16560]
11269 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
11270 arguments close to 0.
11271 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
11272 Likewise.
11273 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
11274 Likewise.
11275 * math/auto-libm-test-in: Add more tests of exp10.
11276 * math/auto-libm-test-out: Regenerated.
11277 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11278
0f5b7185
JM
11279 * sysdeps/unix/sysv/linux/kernel-features.h
11280 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
11281 * sysdeps/unix/sysv/linux/readv.c: Do not include
11282 <kernel-features.h>.
11283 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
11284 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
11285 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
11286 unconditional.
11287 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
11288 conditional code.
11289 * sysdeps/unix/sysv/linux/writev.c: Do not include
11290 <kernel-features.h>.
11291 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
11292 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
11293 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
11294 unconditional.
11295 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
11296 conditional code.
11297
c7aec4be
WN
112982014-06-25 Will Newton <will.newton@linaro.org>
11299
11300 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
11301 comment changes throughout the file. Remove checks
11302 for HAVE_*_H definitions that are not required.
11303 (__gen_tempname): Call abort if an unknown kind value is
11304 passed.
11305
c5241f95
AS
113062014-06-25 Andreas Schwab <schwab@suse.de>
11307
11308 [BZ #17086]
11309 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
11310 scalbln, scalblnf, scalblnl in libc.
11311
911422da
SP
113122014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11313
11314 [BZ #17086]
11315 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
11316 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
11317 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
11318
0d749bbe
RM
113192014-06-24 Roland McGrath <roland@hack.frob.com>
11320
11321 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
11322 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
11323 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
11324 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
11325 Update #include.
11326 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
11327 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
11328 Update #include.
11329 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
11330 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
11331 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
11332 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
11333 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
11334 * sysdeps/x86/bits/pthreadtypes.h: ... here.
11335 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
11336 * sysdeps/x86/bits/semaphore.h: ... here.
11337 * sysdeps/x86/nptl/elide.h: Moved ...
11338 * sysdeps/x86/elide.h: ... here.
11339 * sysdeps/x86_64/nptl/Implies: File removed.
11340 * sysdeps/i386/nptl/Implies: File removed.
11341
0ea5d373
JM
113422014-06-24 Joseph Myers <joseph@codesourcery.com>
11343
4060283d
JM
11344 [BZ #16539]
11345 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
11346 return the argument for normal arguments with exponent below -64.
11347 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
11348 Likewise.
11349 * math/auto-libm-test-in: Add another test of expm1.
11350 * math/auto-libm-test-out: Regenerated.
11351
e7dd3c8c
JM
11352 [BZ #16287]
11353 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
11354 calling __erfcl for arguments at least 16.
11355 * math/auto-libm-test-in: Add more tests of erf.
11356 * math/auto-libm-test-out: Regenerated.
11357
0ea5d373
JM
11358 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
11359 individual architectures.
11360 * sysdeps/unix/sysv/linux/configure: Regenerated.
11361 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
11362 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
11363 * sysdeps/unix/sysv/linux/powerpc/configure.ac
11364 (ldd_rewrite_script): Define variable.
11365 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
11366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
11367 file.
11368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
11369 generated file.
11370 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
11371 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
11372 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
11373 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
11374 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
11375 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
11376 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
11377 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
11378
2307e126
SP
113792014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11380
11381 [BZ #17084]
11382 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
11383 Rename member __data.d to __data.__elision_data.
11384
c0a4ed77
W
113852014-06-24 Wilco <wdijkstr@arm.com>
11386
11387 * NEWS: Add 16918 to fixed bug list.
11388
b8c00573
W
113892014-06-24 Wilco <wdijkstr@arm.com>
11390
11391 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
11392
b5570d92
W
113932014-06-24 Wilco <wdijkstr@arm.com>
11394
11395 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
11396 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
11397 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
11398 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
11399 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
11400 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
11401 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
11402 Use _FPU_MASK_RM.
11403
947bdca2
W
114042014-06-24 Wilco <wdijkstr@arm.com>
11405
11406 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
11407
00f669ed
W
114082014-06-24 Wilco <wdijkstr@arm.com>
11409
11410 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
11411 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
11412 * sysdeps/arm/fesetround.c (fesetround): Remove space.
11413 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
11414
db59bad3
W
114152014-06-24 Wilco <wdijkstr@arm.com>
11416
11417 [BZ #16918]
11418 * sysdeps/arm/feupdateenv.c (feupdateenv):
11419 Rewrite to reduce FPSCR accesses and fix return value.
11420
001f7b77
W
114212014-06-24 Wilco <wdijkstr@arm.com>
11422
11423 * sysdeps/arm/fclrexcpt.c (feclearexcept):
11424 Optimize to avoid unnecessary FPSCR writes.
11425 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
11426 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
11427 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
11428 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
11429
4841e6a6
W
114302014-06-24 Wilco <wdijkstr@arm.com>
11431
11432 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
11433 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
11434 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
11435 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
11436 Call libc_fetestexcept_vfp.
11437 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
11438 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
11439 __SOFTFP__ ifdef so that they can be built for softfp.
11440
0813022c
SP
114412014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11442
08e5862f
SP
11443 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
11444 argument type signed char.
11445
0813022c
SP
11446 * Makerules (check-abi): Dump diff of symlist if the test
11447 fails.
11448
3fc7236a
RM
114492014-06-23 Roland McGrath <roland@hack.frob.com>
11450
aba8ef95
RM
11451 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
11452 using abort.
11453
3fc7236a
RM
11454 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
11455 Remove unused variable ST.
11456
4da6db51
JM
114572014-06-23 Joseph Myers <joseph@codesourcery.com>
11458
4648909d
JM
11459 [BZ #16354]
11460 [BZ #17061]
11461 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
11462 small arguments before calling __expm1.
11463 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
11464 small arguments before calling __expm1f.
11465 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
11466 small arguments before calling __expm1l.
11467 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
11468 Likewise.
11469 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
11470 * math/auto-libm-test-in: Add more cosh tests. Do not allow
11471 spurious underflow for some cosh tests.
11472 * math/auto-libm-test-out: Regenerated.
11473 * sysdeps/i386/fpu/libm-test-ulps: Update.
11474
46a3d3c7
JM
11475 [BZ #17050]
11476 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
11477 (__ieee754_y1): Set errno if return value overflows.
11478 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
11479 (__ieee754_y1f): Set errno if return value overflows.
11480 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
11481 (__ieee754_y1l): Set errno if return value overflows.
11482 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
11483 (__ieee754_y1l): Set errno if return value overflows.
11484 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
11485 * math/auto-libm-test-out: Regenerated.
11486
863893ec
JM
11487 * math/gen-auto-libm-tests.c: Document use of
11488 ignore-zero-inf-sign.
11489 (input_flag_type): Add value flag_ignore_zero_inf_sign.
11490 (input_flags): Add ignore-zero-inf-sign.
11491 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
11492 * math/gen-libm-test.pl (generate_testfile): Handle
11493 ignore-zero-inf-sign.
11494 * math/auto-libm-test-in: Mark some cpow tests with
11495 ignore-zero-inf-sign and some with xfail-rounding.
11496 * math/auto-libm-test-out: Regenerated.
11497 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
11498 * sysdeps/i386/fpu/libm-test-ulps: Update.
11499 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11500
4da6db51
JM
11501 [BZ #16315]
11502 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
11503 overflowing or underflowing operations take place with sign of
11504 result.
11505 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
11506 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
11507 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
11508 (__ieee754_pow): Recompute overflowing and underflowing results in
11509 original rounding mode.
11510 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
11511 (__powl_helper): Allow negative argument X and scale negated value
11512 as needed. Avoid passing value outside [-1, 1] to f2xm1.
11513 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
11514 overflowing or underflowing operations take place with sign of
11515 result.
11516 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
11517 Include <math.h>.
11518 * math/auto-libm-test-in: Add more tests of pow.
11519 * math/auto-libm-test-out: Regenerated.
11520 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
11521 (pow_tonearest_test_data): Remove.
11522 (pow_test_tonearest): Likewise.
11523 (pow_towardzero_test_data): Likewise.
11524 (pow_test_towardzero): Likewise.
11525 (pow_downward_test_data): Likewise.
11526 (pow_test_downward): Likewise.
11527 (pow_upward_test_data): Likewise.
11528 (pow_test_upward): Likewise.
11529 (main): Don't call removed functions.
11530 * sysdeps/i386/fpu/libm-test-ulps: Update.
11531 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11532
5686b236
RM
115332014-06-23 Roland McGrath <roland@hack.frob.com>
11534
11535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
11536 Moved ...
11537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
11538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11539 Moved ...
11540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
11541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
11542 Moved ...
11543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
11544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
11545 Moved ...
11546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
11547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
11548 File removed.
11549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
11550 File removed.
11551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
11552 File removed.
11553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
11554 File removed.
11555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
11556 File removed.
11557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
11558 File removed.
11559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
11560 File removed.
11561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
11562 File removed.
11563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
11564 File removed.
11565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
11566 File removed.
11567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
11568 File removed.
11569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
11570 File removed.
11571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
11572 Moved ...
11573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
11574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
11575 Moved ...
11576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
11577 ... here.
11578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
11579 Moved ...
11580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
11581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
11582 Moved ...
11583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
11584 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
11585 Moved ...
11586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
11587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
11588 Moved ...
11589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
11590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
11591 Moved ...
11592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
11593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
11594 Moved ...
11595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
11596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
11597 Moved ...
11598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
11599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
11600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
11601 ... here.
11602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
11603 Moved ...
11604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
11605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
11606 Moved ...
11607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
11608 ... here.
11609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
11610 Moved ...
11611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11612 ... here.
11613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
11614 Moved ...
11615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
11616 ... here.
11617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
11618 Moved ...
11619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
11620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
11621 Moved ...
11622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
11623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
11624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
11625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
11626 Moved ...
11627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
11628 ... here.
11629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
11630 Moved ...
11631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
11632 ... here.
11633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
11634 Moved ...
11635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
11636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
11637 Moved ...
11638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
11639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
11640 Moved ...
11641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
11642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11643 Moved ...
11644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
11645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
11646 Moved ...
11647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
11648 ... here.
11649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
11650 Moved ...
11651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
11652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
11653 Moved ...
11654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
11655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
11656 Moved ...
11657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
11658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
11659 Moved ...
11660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
11661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
11662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
11663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
11664 Moved ...
11665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
11666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
11667 Moved ...
11668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
11669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
11670 Moved ...
11671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
11672 ... here.
11673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11674 Moved ...
11675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
11676 ... here.
11677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
11678 Moved ...
11679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
11680 ... here.
11681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
11682 Moved ...
11683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
11684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
11685 Moved ...
11686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
11687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
11688 Moved ...
11689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
11690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
11691 Moved ...
11692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
11693 ... here.
11694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
11695 Moved ...
11696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
11697 ... here.
11698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
11699 Moved ...
11700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
11701 ... here.
11702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
11703 Moved ...
11704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
11705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
11706 Moved ...
11707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
11708
e6d90d67
WD
117092014-06-23 Will Newton <will.newton@linaro.org>
11710 Wilco <wdijkstr@arm.com>
11711
11712 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
11713 implementation. Include get-rounding-mode.h.
11714 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
11715 [!libc_feholdsetround_noex_ctx]: Define
11716 libc_feholdsetround_noex_ctx.
11717 [!libc_feholdsetround_noexf_ctx]: Define
11718 libc_feholdsetround_noexf_ctx.
11719 [!libc_feholdsetround_noexl_ctx]: Define
11720 libc_feholdsetround_noexl_ctx.
11721 (libc_feholdsetround_ctx): New function.
11722 (libc_feresetround_ctx): New function.
11723 (libc_feholdsetround_noex_ctx): New function.
11724 (libc_feresetround_noex_ctx): New function.
11725
d42df555
RM
117262014-06-23 Roland McGrath <roland@hack.frob.com>
11727
88a46474
RM
11728 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
11729 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
11730 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
11731 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
11732 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
11733 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
11734
15bed472
RM
11735 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
11736 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
11737 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
11738 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
11739 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
11740 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
11741 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
11742 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
11743 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
11744 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
11745 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
11746 Moved ...
11747 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
11748 ... here.
11749 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
11750 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
11751 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
11752 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
11753 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
11754 Moved ...
11755 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
11756 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
11757 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
11758 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
11759 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
11760 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
11761 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
11762 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
11763 Moved ...
11764 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
11765 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
11766 Moved ...
11767 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
11768 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
11769 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
11770 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
11771 Moved ...
11772 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
11773 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
11774 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
11775 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
11776 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
11777 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
11778 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
11779 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
11780 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
11781 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
11782 Moved ...
11783 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
11784 ... here.
11785 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
11786 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
11787 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
11788 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
11789 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
11790 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
11791 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
11792 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
11793 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
11794 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
11795 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
11796 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
11797 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
11798 Moved ...
11799 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
11800 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
11801 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
11802 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
11803 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
11804 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
11805 Moved ...
11806 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
11807 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
11808 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
11809 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
11810 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
11811
d42df555
RM
11812 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
11813 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
11814 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
11815 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
11816 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
11817 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
11818 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
11819 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
11820 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
11821 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
11822 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
11823 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
11824 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
11825 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
11826 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
11827 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
11828 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
11829 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
11830 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
11831 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
11832 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
11833 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
11834 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
11835 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
11836 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
11837 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
11838 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
11839 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
11840
76e5216e
JM
118412014-06-23 Joseph Myers <joseph@codesourcery.com>
11842
11843 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
11844 (FALLOC_FL_COLLAPSE_RANGE): New macro.
11845 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
11846 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
11847 (IPV6_PMTUDISC_INTERFACE): Likewise.
11848 (IPV6_PMTUDISC_OMIT): Likewise.
11849
7a81cbcc
AS
118502014-06-23 Andreas Schwab <schwab@suse.de>
11851
11852 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
11853 Remove unused errout label.
11854
db224009
AZ
118552014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11856
11857 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
11858 macro: hardware supports Vector Crypto instructions.
11859
f393b4aa
WN
118602014-06-23 Will Newton <will.newton@linaro.org>
11861
cc7d0447
WN
11862 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
11863 rather than __builtin_expect.
11864
d6d06225
WN
11865 * elf/dl-lookup.c (undefined_msg): Remove variable.
11866 (_dl_lookup_symbol_x): Replace undefined_msg with string
11867 literal.
11868
f393b4aa
WN
11869 * elf/dl-lookup.c (do_lookup_unique): New function.
11870 (do_lookup_x): Move STB_GNU_UNIQUE handling code
11871 to a separate function.
11872
ac60763e
AS
118732014-06-23 Andreas Schwab <schwab@suse.de>
11874
11875 [BZ #17079]
11876 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
11877 before reading the next line.
11878
c5c13355
WN
118792014-06-23 Will Newton <will.newton@linaro.org>
11880
11881 * test-skeleton.c (signal_handler): Use printf and %m
11882 rather than perror. Use printf rather than fprintf to
11883 stderr. Use puts rather than fputs to stderr.
11884 (main): Likewise.
11885
bd3675f9
LC
118862014-06-22 Ludovic Courtès <ludo@gnu.org>
11887
11888 * nscd/nscd.c (thread_info_t): Remove typedef.
11889 (thread_info): Remove variable.
11890
d03efb2f
AM
118912014-06-21 Allan McRae <allan@archlinux.org>
11892
11893 * NEWS: Mention CVE-2014-4043.
11894
bc4a86fa
RM
118952014-06-20 Roland McGrath <roland@hack.frob.com>
11896
dc9a54f8
RM
11897 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
11898 * nptl/smp.h: ... here.
11899
bd7022c4
RM
11900 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
11901
26ffd5e6
RM
11902 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
11903 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
11904 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
11905 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
11906
93a6d082
RM
11907 * nptl/allocatestack.c: Include <stack-aliasing.h>.
11908 * nptl/stack-aliasing.h: New file.
11909 * sysdeps/i386/i686/stack-aliasing.h: New file.
11910 * sysdeps/i386/i686/nptl/Makefile: File removed.
11911 * sysdeps/x86_64/stack-aliasing.h: New file.
11912 * sysdeps/x86_64/nptl/Makefile
11913 (CFLAGS-pthread_create.c): Variable removed.
11914
bc4a86fa
RM
11915 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
11916 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
11917 old file.
11918 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
11919 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
11920 old file.
11921
2272ffc1
JM
119222014-06-21 Joseph Myers <joseph@codesourcery.com>
11923
11924 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11925 (__ASSUME_SIGFRAME_V2): Remove macro.
11926 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
11927 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
11928 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
11929 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
11930 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
11931 Declare as function. Remove conditional macro definitions.
11932 (__default_rt_sa_restorer): Likewise.
11933 (__default_sa_restorer_v1): Remove declaration.
11934 (__default_sa_restorer_v2): Likewise.
11935 (__default_rt_sa_restorer_v1): Likewise.
11936 (__default_rt_sa_restorer_v2): Likewise.
11937 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
11938 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
11939 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
11940
4b88139b
RM
119412014-06-20 Roland McGrath <roland@hack.frob.com>
11942
11943 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
11944 (libpthread-routines): Add sysdep.
11945 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
11946 * sysdeps/unix/sysv/linux/sparc/Versions
11947 (libpthread: GLIBC_2.3.3): New version set.
11948 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
11949 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
11950 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
11951 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
11952 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
11953 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
11954 Moved ...
11955 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
11956 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
11957 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
11958 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
11959 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
11960 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
11961 * sysdeps/sparc/nptl/sem_init.c: ... here.
11962 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
11963 * sysdeps/sparc/nptl/sem_post.c: ... here.
11964 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
11965 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
11966 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
11967 * sysdeps/sparc/nptl/sem_wait.c: ... here.
11968 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
11969 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
11970 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
11971 (libpthread-routines): Add cpu_relax.
11972 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
11973 File removed.
11974 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
11975 (librt: GLIBC_2.3.3): New version set.
11976 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
11977 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
11978 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
11979 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
11980 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
11981 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
11982 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
11983 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
11984 Moved ...
11985 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
11986 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
11987 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
11988 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
11989 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
11990 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
11991 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
11992 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
11993 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
11994 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
11995 Moved ...
11996 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
11997 Update #include.
11998 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
11999 Moved ...
12000 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
12001 Update #include.
12002 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
12003 Moved ...
12004 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
12005 Update #include.
12006 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
12007 Moved ...
12008 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
12009 Update #include.
12010 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
12011 Moved ...
12012 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
12013 Update #include.
12014 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
12015 Moved ...
12016 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
12017 Update #include.
12018 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
12019 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
12020 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
12021 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
12022 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
12023 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
12024 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
12025 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
12026 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
12027 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
12028 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
12029 Moved ...
12030 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
12031 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
12032 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
12033 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
12034 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
12035
d7109027
JM
120362014-06-20 Joseph Myers <joseph@codesourcery.com>
12037
9bc6103d
JM
12038 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
12039 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
12040 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
12041 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
12042 * nscd/nscd.c: Likewise.
12043 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
12044 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
12045 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
12046 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
12047
d7109027
JM
12048 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
12049 <kernel-features.h>.
12050 (init_mq_netlink): Remove conditional have_sock_cloexec
12051 definitions. Remove code conditional on have_sock_cloexec < 0.
12052 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
12053 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
12054 * sysdeps/unix/sysv/linux/opensock.c: Do not include
12055 <kernel-features.h>.
12056 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
12057 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
12058
d92d8f8a
L
120592014-06-20 H.J. Lu <hongjiu.lu@intel.com>
12060
12061 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12062 Add tests for memset_chk and memset.
12063
12064 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
12065 with AVX2_Usable.
12066
4e6d2347
MR
120672014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
12068
257ce712
MR
12069 [BZ #16046]
12070 * elf/tst-dl-iter-static.c: New file.
12071 * elf/Makefile (tests-static): Add tst-dl-iter-static.
12072
4e6d2347
MR
12073 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
12074 error.
12075
a2a76afe
JM
120762014-06-20 Joseph Myers <joseph@codesourcery.com>
12077
7fd00f99
JM
12078 * sysdeps/unix/sysv/linux/kernel-features.h
12079 (__ASSUME_F_GETOWN_EX): Remove macro.
12080 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
12081 <kernel-features.h>.
12082 (miss_F_GETOWN_EX): Remove variable or macro.
12083 (do_fcntl): Do not check miss_F_GETOWN_EX.
12084 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
12085
4a103975
JM
12086 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
12087 Remove macro.
12088 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
12089 [!__ASSUME_AT_RANDOM]: Remove conditional code.
12090 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
12091
a2a76afe
JM
12092 * sysdeps/unix/sysv/linux/kernel-features.h
12093 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
12094 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
12095 [ADJ_OFFSET_SS_READ]: Make code unconditional.
12096 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
12097
90e5dd48
MR
120982014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
12099
12100 [BZ #17075]
12101 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
12102 Fix calculation of the symbol's value.
12103 * sysdeps/arm/tst-armtlsdescloc.c: New file.
12104 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
12105 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
12106 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
12107 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
12108 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
12109 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
12110 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
12111 (modules-names): Add `tst-armtlsdescmod',
12112 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
12113 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
12114 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
12115 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
12116 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
12117 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
12118 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
12119 ($(objpfx)tst-armtlsdescloc): New dependency.
12120 ($(objpfx)tst-armtlsdescextnow): Likewise.
12121 ($(objpfx)tst-armtlsdescextlazy): Likewise.
12122 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
12123 TLS scheme support.
12124 * sysdeps/arm/configure: Regenerate.
12125
809fdf0d
JM
121262014-06-20 Joseph Myers <joseph@codesourcery.com>
12127
12128 * include/fcntl.h (__atfct_seterrno): Remove prototype.
12129 (__atfct_seterrno_2): Likewise.
12130 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
12131 <kernel-features.h>.
12132 (__ASSUME_ATFCTS): Do not undefine and redefine.
12133 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
12134 (__have_atfcts): Remove conditional definition.
12135 (__fxstatat([__NR_fstatat64]: Make code unconditional.
12136 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
12137 unreachable if [__ASSUME_ATFCTS].
12138 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
12139 not undefine and redefine.
12140 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
12141 <kernel-features.h>.
12142 (faccessat) [__NR_faccessat]: Make code unconditional.
12143 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
12144 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
12145 <kernel-features.h>.
12146 (fchmodat) [__NR_fchmodat]: Make code unconditional.
12147 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
12148 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
12149 <kernel-features.h>.
12150 (fchownat) [__NR_fchownat]: Make code unconditional.
12151 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
12152 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
12153 <kernel-features.h>.
12154 (futimesat) [__NR_futimesat]: Make code unconditional.
12155 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
12156 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
12157 <kernel-features.h>.
12158 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
12159 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
12160 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
12161 <kernel-features.h>.
12162 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
12163 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
12164 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
12165 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
12166 <kernel-features.h>.
12167 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
12168 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
12169 * sysdeps/unix/sysv/linux/linkat.c: Do not include
12170 <kernel-features.h>.
12171 (linkat) [__NR_linkat]: Make code unconditional.
12172 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
12173 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
12174 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
12175 <kernel-features.h>.
12176 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
12177 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
12178 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
12179 <kernel-features.h>.
12180 (mkdirat) [__NR_mkdirat]: Make code unconditional.
12181 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
12182 * sysdeps/unix/sysv/linux/openat.c: Do not include
12183 <kernel-features.h>.
12184 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
12185 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
12186 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
12187 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
12188 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
12189 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
12190 <kernel-features.h>.
12191 (readlinkat) [__NR_readlinkat]: Make code unconditional.
12192 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
12193 result of INLINE_SYSCALL directly, not via int variable.
12194 * sysdeps/unix/sysv/linux/renameat.c: Do not include
12195 <kernel-features.h>.
12196 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
12197 (renameat) [__NR_renameat]: Make code unconditional.
12198 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
12199 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
12200 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
12201 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
12202 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
12203 (__ASSUME_ATFCTS): Do not undefine and redefine.
12204 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
12205 <kernel-features.h>.
12206 (symlinkat) [__NR_symlinkat]: Make code unconditional.
12207 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
12208 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
12209 <kernel-features.h>.
12210 (unlinkat) [__NR_unlinkat]: Make code unconditional.
12211 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
12212 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
12213 (__ASSUME_ATFCTS): Do not undefine and redefine.
12214 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
12215 <kernel-features.h>.
12216 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
12217 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
12218 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
12219 <kernel-features.h>.
12220 (__xmknodat) [__NR_mknodat]: Make code unconditional.
12221 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
12222
224c6c51
L
122232014-06-20 H.J. Lu <hongjiu.lu@intel.com>
12224
12225 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
12226
aa6ec754
AS
122272014-06-20 Andreas Schwab <schwab@linux-m68k.org>
12228
12229 [BZ #17069]
12230 * posix/regcomp.c (parse_reg_exp): Deallocate partially
12231 constructed tree before returning error.
12232 * posix/bug-regexp36.c: Expand test case.
12233
d8c2869d
SL
122342014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
12235
3ef6b850
SL
12236 [BZ #6803]
12237 * math/libm-test.inc (scalbln_test_date):
12238 Add errno expectations.
12239 * math/w_scalblnf.c: New File.
12240 Add wrapper which checks for setting errno to ERANGE.
12241 Add weak_alias for corresponding scalbln function.
12242 * math/w_scalbln.c: Likewise.
12243 * math/w_scalblnl.c: Likewise.
12244 * math/Makefile (libm-calls): Add w_scalbln.
12245 * sysdeps/ieee754/flt-32/s_scalblnf.c:
12246 Remove weak_alias for corresponding scalbln function.
12247 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
12248 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
12249 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
12250 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12251 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
12252 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
12253 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
12254 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
12255 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
12256 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
12257 Remove long_double_symbol for scalblnl function in libm, libc.
12258 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
12259 Add wrapper which checks for setting errno to ERANGE.
12260 Add long_double_symbol for scalblnl function in libm, libc.
12261 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
12262 Remove long_double_symbol for scalblnl in libm.
12263 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
12264 Add wrapper which checks for setting errno to ERANGE.
12265 Add long_double_symbol for scalblnl function in libm.
12266 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
12267 Do not use wrapper because of own implementation.
12268
c8daec5c
L
122692014-06-19 H.J. Lu <hongjiu.lu@intel.com>
12270
12271 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
12272 3 bytes for __pad1 for x32.
12273 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
12274
5c74e47c
LM
122752014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
12276 H.J. Lu <hongjiu.lu@intel.com>
12277
12278 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
12279 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
12280 * sysdeps/x86_64/multiarch/memset.S: Likewise.
12281 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12282 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
12283
4d43ef1e
AS
122842014-06-19 Andreas Schwab <schwab@linux-m68k.org>
12285
12286 [BZ #17069]
12287 * posix/regcomp.c (parse_expression): Deallocate partially
12288 constructed tree before returning error.
12289 * posix/Makefile.c (tests): Add bug-regex36.
12290 (generated): Add bug-regex36.mtrace.
12291 (tests-special): Add $(objpfx)bug-regex36-mem.out
12292 (bug-regex36-ENV): New variable.
12293 ($(objpfx)bug-regex36-mem.out): New rule.
12294 * posix/bug-regex36.c: New file.
12295
51a7380b
WN
122962014-06-19 Will Newton <will.newton@linaro.org>
12297
12298 * malloc/malloc.c (systrim): If extra is zero then return
12299 early.
12300
91b84fe5
SP
123012014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12302
12303 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
12304
f940b965
RE
123052014-06-19 Richard Earnshaw <rearnsha@arm.com>
12306
12307 * sysdeps/aarch64/strchr.S: New file.
12308
4ba7a00f
JM
123092014-06-18 Joseph Myers <joseph@codesourcery.com>
12310
12311 [BZ #17022]
12312 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
12313 from arguments -2 or below.
12314 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
12315 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
12316
b3a9f56b
AS
123172014-06-18 Andreas Schwab <schwab@suse.de>
12318
12319 [BZ #17062]
12320 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
12321 of a bracket expr not to run off the end of the string.
12322 * posix/Makefile (tests): Add tst-fnmatch3.
12323 * posix/tst-fnmatch3.c: New file.
12324
85d89278
JM
123252014-06-18 Joseph Myers <joseph@codesourcery.com>
12326
12327 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
12328 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
12329 [$(cross-compiling) = no]: Likewise.
12330 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
12331 [$(cross-compiling) = no]: Likewise.
12332
754c5a08
RS
123332014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12334
12335 [BZ #17031]
12336 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
12337 double, adjusted for any remainder from the high double.
12338 * math/libm-test.inc (nearbyint): Add tests.
12339 (rint): Likewise.
12340
556f529d
AZ
123412014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12342
12343 * nptl/sysdeps/powerpc/Makefile: Moved ...
12344 * sysdeps/powerpc/nptl/Makefile: ... here.
12345 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
12346 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
12347 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
12348 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
12349 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
12350 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
12351 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
12352 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
12353 * nptl/sysdeps/powerpc/tls.h: Moved ...
12354 * sysdeps/powerpc/nptl/tls.h: ... here.
12355
91c03c53
JM
123562014-06-16 Joseph Myers <joseph@codesourcery.com>
12357
12358 [BZ #16681]
12359 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
12360 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
12361 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
12362 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
12363 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
12364 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
12365 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
12366 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
12367 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
12368
a76e63c5
AS
123692014-06-17 Andreas Schwab <schwab@linux-m68k.org>
12370
12371 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
12372
f2f6d82f
AS
123732014-06-16 Andreas Schwab <schwab@linux-m68k.org>
12374
ea8a15f6
AS
12375 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
12376 defined operator.
12377
f2f6d82f
AS
12378 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
12379 $TIMEOUTFACTOR.
12380
a7291117
FW
123812014-06-16 Florian Weimer <fweimer@redhat.com>
12382
12383 [BZ #17058]
12384 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
12385 non-executed part of the test.
12386
3d7c00e3
AS
123872014-06-16 Andreas Schwab <schwab@suse.de>
12388
12389 * string/bits/string2.h (strdup, strndup): Update feature guard.
12390
6957fb31
DM
123912014-06-14 David S. Miller <davem@davemloft.net>
12392
12393 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12394
11b9e55b
AS
123952014-06-14 Andreas Schwab <schwab@linux-m68k.org>
12396
1d2a0492
AS
12397 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
12398 that was previously under [RESET_PID].
12399 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
12400
11b9e55b
AS
12401 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
12402 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
12403 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
12404 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12405 (__libc_vfork): New strong alias.
12406 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
12407
0f6901d0
AK
124082014-06-14 Andi Kleen <ak@linux.intel.com>
12409
12410 * sysdeps/generic/elide.h: New file.
12411
38bbbb9f
SL
124122014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
12413
12414 * Makefile (installed-headers): Adjust path of pthread.h header.
12415
45193bb8
RM
124162014-06-13 Roland McGrath <roland@hack.frob.com>
12417
9a25fd1e
RM
12418 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
12419 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
12420 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
12421 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
12422
4004f7e4
RM
12423 * nptl/sysdeps/s390/Makefile: Moved ...
12424 * sysdeps/s390/nptl/Makefile: ... here.
12425 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
12426 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
12427 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
12428 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
12429 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
12430 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
12431 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
12432 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
12433 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
12434 * sysdeps/s390/nptl/pthreaddef.h: ... here.
12435 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
12436 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
12437 * nptl/sysdeps/s390/tls.h: Moved ...
12438 * sysdeps/s390/nptl/tls.h: ... here.
12439
45193bb8
RM
12440 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
12441 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
12442
f6fdf533
DM
124432014-06-13 David S. Miller <davem@davemloft.net>
12444
12445 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
12446 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
12447 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
12448 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
12449 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
12450 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
12451 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
12452 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
12453 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
12454 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
12455 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
12456 Remove RESET_PID cpp guards.
12457 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
12458 Remove RESET_PID cpp guards.
12459 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
12460
f5d71e14
AS
124612014-06-13 Andreas Schwab <schwab@linux-m68k.org>
12462
12463 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
12464 __sp to uintptr_t.
12465
b7aa8caa
AK
124662014-06-13 Andi Kleen <ak@linux.intel.com>
12467
4b266200
AZ
12468 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
12469 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
12470 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
12471 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
12472 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
12473 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
12474 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
12475 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
12476 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
12477 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
12478 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
12479 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
12480 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
12481 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
12482 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
12483 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
12484 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
12485 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
12486 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
12487 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
12488
12489 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
12490 (pthread_rwlock_rdlock): Add elision.
12491 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
12492 (pthread_rwlock_wrlock): Add elision.
12493 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
12494 (pthread_rwlock_trywrlock): Add elision.
12495 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
12496 (pthread_rwlock_tryrdlock): Add elision.
12497 * nptl/pthread_rwlock_unlock.c: Include elide.h.
12498 (pthread_rwlock_tryrdlock): Add elision unlock.
12499 * nptl/sysdeps/pthread/pthread.h:
12500 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
12501 (PTHREAD_RWLOCK_INITIALIZER,
12502 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
12503 Handle new elision field.
12504 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
12505 * sysdeps/arm/nptl/bits/pthreadtypes.h
12506 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12507 * sysdeps/sh/nptl/bits/pthreadtypes.h
12508 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12509 * sysdeps/tile/nptl/bits/pthreadtypes.h
12510 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12511 * sysdeps/a/nptl/bits/pthreadtypes.h
12512 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12513 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
12514 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12515 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
12516 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12517 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
12518 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12519 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
12520 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12521 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
12522 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12523 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
12524 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12525 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
12526 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12527 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
12528 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12529 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
12530 (elision_init): Set try_xbegin to zero when no RTM.
12531 * sysdeps/x86/nptl/bits/pthreadtypes.h
12532 (pthread_rwlock_t): Change __pad1 to __rwelision.
12533 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 12534
a832bdd3
AK
125352014-06-13 Andi Kleen <ak@linux.intel.com>
12536
12537 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
12538 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
12539 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
12540 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
12541
995a46bb
MI
125422014-06-13 Meador Inge <meadori@codesourcery.com>
12543
12544 [BZ #16996]
03ed7738 12545 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
12546 that the cached result has been set before returning it.
12547
45262aee
RM
125482014-06-12 Roland McGrath <roland@hack.frob.com>
12549
febf6cc5
RM
12550 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
12551 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
12552 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
12553 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
12554 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
12555 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
12556
e2682246
RM
12557 * nptl/sysdeps/sparc/Makefile: Moved ...
12558 * sysdeps/sparc/nptl/Makefile: ... here.
12559 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
12560 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
12561 * nptl/sysdeps/sparc/tls.h: Moved ...
12562 * sysdeps/sparc/nptl/tls.h: ... here.
12563 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
12564 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
12565 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
12566 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
12567 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
12568 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
12569 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
12570 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
12571 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
12572 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
12573 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
12574 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
12575 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
12576 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
12577 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
12578 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
12579 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
12580 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
12581 Update #include.
12582 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
12583 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
12584 Update #include.
12585 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
12586 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
12587 Update #include.
12588 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
12589 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
12590 Update #include.
12591
b0725f43
RM
12592 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
12593
b14368b8
RM
12594 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
12595 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
12596
c5620eb3
RM
12597 * sysdeps/pthread/posix-timer.h: Include <list.h>.
12598 (struct list_links): Type removed.
12599 (struct thread_node, struct timer_node): Replace struct list_links
12600 with struct list_head.
12601 (list_unlink_ip): Likewise.
12602 * sysdeps/pthread/timer_routines.c
12603 (timer_free_list, thread_free_list, thread_active_list): Likewise.
12604 (list_append, list_insbefore): Likewise.
12605 (list_init): Function removed.
12606 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
12607 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
12608 * sysdeps/pthread/Makefile: ... here, new file.
12609
12610 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
12611 * sysdeps/nptl/Implies: ... here.
12612 * sysdeps/unix/sysv/linux/Implies: Add nptl.
12613 * nptl/sysdeps/pthread/list.h: Moved ...
12614 * include/list.h: ... here.
12615 * nptl/sysdeps/pthread/createthread.c: Moved ...
12616 * nptl/createthread.c: ... here.
12617 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
12618 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
12619 * nptl/pt-longjmp.c: ... here.
12620 * nptl/sysdeps/pthread/Makefile: Moved ...
12621 * sysdeps/nptl/Makefile: ... here.
12622 * nptl/sysdeps/pthread/Subdirs: Moved ...
12623 * sysdeps/nptl/Subdirs: ... here.
12624 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
12625 * sysdeps/nptl/aio_misc.h: ... here.
12626 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
12627 * sysdeps/nptl/bits/libc-lock.h: ... here.
12628 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
12629 * sysdeps/nptl/bits/libc-lockP.h: ... here.
12630 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
12631 * sysdeps/nptl/bits/stdio-lock.h: ... here.
12632 * nptl/sysdeps/pthread/configure: Moved ...
12633 * sysdeps/nptl/configure: ... here.
12634 * nptl/sysdeps/pthread/configure.ac: Moved ...
12635 * sysdeps/nptl/configure.ac: ... here.
12636 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
12637 * sysdeps/nptl/gai_misc.h: ... here.
12638 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
12639 * sysdeps/nptl/librt-cancellation.c: ... here.
12640 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
12641 * sysdeps/nptl/malloc-machine.h: ... here.
12642 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
12643 * sysdeps/nptl/pthread-functions.h: ... here.
12644 * nptl/sysdeps/pthread/pthread.h: Moved ...
12645 * sysdeps/nptl/pthread.h: ... here.
12646 * nptl/sysdeps/pthread/setxid.h: Moved ...
12647 * sysdeps/nptl/setxid.h: ... here.
12648 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
12649 * sysdeps/nptl/sigfillset.c: ... here.
12650 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
12651 * sysdeps/nptl/tcb-offsets.h: ... here.
12652 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
12653 * sysdeps/nptl/tst-mqueue8x.c: ... here.
12654 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
12655 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
12656 * nptl/sysdeps/pthread/allocalim.h: Moved ...
12657 * sysdeps/pthread/allocalim.h: ... here.
12658 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
12659 * sysdeps/pthread/bits/sigthread.h: ... here.
12660 * nptl/sysdeps/pthread/flockfile.c: Moved ...
12661 * sysdeps/pthread/flockfile.c: ... here.
12662 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
12663 * sysdeps/pthread/ftrylockfile.c: ... here.
12664 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
12665 * sysdeps/pthread/funlockfile.c: ... here.
12666 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
12667 * sysdeps/pthread/posix-timer.h: ... here.
12668 * nptl/sysdeps/pthread/timer_create.c: Moved ...
12669 * sysdeps/pthread/timer_create.c: ... here.
12670 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
12671 * sysdeps/pthread/timer_delete.c: ... here.
12672 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
12673 * sysdeps/pthread/timer_getoverr.c: ... here.
12674 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
12675 * sysdeps/pthread/timer_gettime.c: ... here.
12676 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
12677 * sysdeps/pthread/timer_routines.c: ... here.
12678 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
12679 * sysdeps/pthread/timer_settime.c: ... here.
12680 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
12681 * sysdeps/pthread/tst-timer.c: ... here.
12682 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
12683 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
12684
e876b090
RM
12685 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
12686 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
12687
f6b07b3d
RM
12688 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
12689 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
12690 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
12691 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
12692 Update #include target.
12693 * nptl/sysdeps/i386/i686/Makefile: Moved ...
12694 * sysdeps/i386/i686/nptl/Makefile: ... here.
12695 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
12696 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
12697 Update #include target.
12698 * nptl/sysdeps/i386/i686/tls.h: Moved ...
12699 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
12700 * nptl/sysdeps/i386/Makefile: Moved ...
12701 * sysdeps/i386/nptl/Makefile: ... here.
12702 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
12703 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
12704 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
12705 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
12706 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
12707 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
12708 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
12709 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
12710 * sysdeps/i386/nptl/pthreaddef.h: ... here.
12711 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
12712 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
12713 * nptl/sysdeps/i386/tls.h: Moved ...
12714 * sysdeps/i386/nptl/tls.h: ... here.
12715
45262aee
RM
12716 * sysdeps/sh/Makefile [$(subdir) = csu]
12717 (gen-as-const-headers): Add tcb-offsets.sym.
12718 * nptl/sysdeps/sh/Makefile: File removed.
12719 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
12720 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
12721 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
12722 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
12723 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
12724 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
12725 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
12726 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
12727 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
12728 * sysdeps/sh/nptl/pthreaddef.h: ... here.
12729 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
12730 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
12731 * nptl/sysdeps/sh/tls.h: Moved ...
12732 * sysdeps/sh/nptl/tls.h: ... here.
12733 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
12734 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
12735 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
12736 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
12737 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
12738 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
12739 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
12740 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
12741 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
12742 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
12743 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
12744 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
12745 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
12746 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
12747 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
12748 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
12749 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
12750 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
12751 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
12752 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
12753 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
12754 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
12755 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
12756 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
12757 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
12758 Moved ...
12759 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
12760 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
12761 Moved ...
12762 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
12763 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
12764 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
12765 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
12766 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
12767 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
12768 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
12769 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
12770 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
12771 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
12772 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
12773 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
12774 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
12775 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
12776 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
12777 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
12778 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
12779 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
12780 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
12781
35a5e3e3
SL
127822014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
12783
12784 * posix/spawn_faction_addopen.c: Include string.h.
12785
14642b85
RM
127862014-06-11 Roland McGrath <roland@hack.frob.com>
12787
12788 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
12789 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
12790 * nptl/sysdeps/x86_64/Makefile: Moved ...
12791 * sysdeps/x86_64/nptl/Makefile: ... here.
12792 * nptl/sysdeps/x86_64/configure: Moved ...
12793 * sysdeps/x86_64/nptl/configure: ... here.
12794 * nptl/sysdeps/x86_64/configure.ac: Moved ...
12795 * sysdeps/x86_64/nptl/configure.ac: ... here.
12796 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
12797 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
12798 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
12799 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
12800 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
12801 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
12802 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
12803 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
12804 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
12805 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
12806 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
12807 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
12808 * nptl/sysdeps/x86_64/tls.h: Moved ...
12809 * sysdeps/x86_64/nptl/tls.h: ... here.
12810 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
12811 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
12812 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
12813 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
12814
12815 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
12816
31c44fea
AZ
128172014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12818
12819 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12820
e81a4f9a
JM
128212014-06-11 Joseph Myers <joseph@codesourcery.com>
12822
12823 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
12824 type.
12825 [POSIX] (off_t): Likewise.
12826 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
12827 [POSIX] (S_ISBLK): Require macro.
12828 [POSIX] (S_ISCHR): Likewise.
12829 [POSIX] (S_ISDIR): Likewise.
12830 [POSIX] (S_ISFIFO): Likewise.
12831 [POSIX] (S_ISREG): Likewise.
12832 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
12833 optional-macro.
12834 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
12835 type.
12836 [POSIX] (time_t): Likewise.
12837 [POSIX] (timer_t): Likewise.
12838
89e435f3
FW
128392014-06-11 Florian Weimer <fweimer@redhat.com>
12840
12841 [BZ #17048]
12842 * posix/spawn_int.h (struct __spawn_action): Make the path string
12843 non-const to support deallocation.
12844 * posix/spawn_faction_addopen.c
12845 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
12846 * posix/spawn_faction_destroy.c
12847 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
12848 path in all spawn_do_open actions.
12849 * posix/tst-spawn.c (do_test): Exercise the copy operation in
12850 posix_spawn_file_actions_addopen.
12851
c3a2ebe1
CM
128522014-06-11 Chris Metcalf <cmetcalf@tilera.com>
12853
12854 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
12855 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
12856 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
12857 conditional code always true.
12858 (__libc_vfork): New alias.
12859
9503784a
RM
128602014-06-11 Roland McGrath <roland@hack.frob.com>
12861
c9cab3d2
RM
12862 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12863 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
12864
d3996c79
RM
12865 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
12866
ba5ec611
RM
12867 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12868 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
12869
f12b4814
RM
12870 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
12871 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
12872
9503784a
RM
12873 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12874 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
12875
e23d3d26
VR
128762014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
12877
12878 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
12879 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
12880 multiarch strcmp for PPC64.
12881 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
12882 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
12883 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
12884 multiarch optimizations.
12885 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12886 (__libc_ifunc_impl_list): Likewise.
12887
42b1161e
SP
128882014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12889
12890 * benchtests/scripts/validate_benchout.py: New script.
12891 * benchtests/Makefile (bench-func): Call it.
12892 * benchtests/scripts/benchout.schema.json: New file.
12893
2d0fc4dc
CM
128942014-06-10 Chris Metcalf <cmetcalf@tilera.com>
12895
4a594c34
AZ
12896 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
12897 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
12898 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
12899 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
12900 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
12901 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
12902 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
12903 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
12904 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
12905 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
12906 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
12907 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
12908 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
12909 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
12910 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
12911 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
12912 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 12913 Moved ...
4a594c34 12914 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 12915 ... here.
4a594c34 12916 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 12917 Moved ...
4a594c34
AZ
12918 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
12919 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 12920 Moved ...
4a594c34 12921 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 12922 ... here.
4a594c34 12923 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 12924 Moved ...
4a594c34 12925 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 12926 ... here.
4a594c34 12927 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 12928 Moved ...
4a594c34
AZ
12929 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
12930 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 12931 Moved ...
4a594c34 12932 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 12933 ... here.
4a594c34 12934 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 12935 Moved ...
4a594c34 12936 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 12937 ... here.
4a594c34 12938 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 12939 Moved ...
4a594c34
AZ
12940 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
12941 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 12942 Moved ...
4a594c34 12943 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 12944 ... here.
4a594c34 12945 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 12946 Moved ...
4a594c34 12947 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 12948 ... here.
4a594c34 12949 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 12950 Moved ...
4a594c34 12951 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 12952 ... here.
4a594c34 12953 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 12954 Moved ...
4a594c34
AZ
12955 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
12956 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 12957 Moved ...
4a594c34 12958 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 12959 ... here.
4a594c34 12960 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 12961 Moved ...
4a594c34 12962 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 12963 ... here.
4a594c34 12964 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 12965 Moved ...
4a594c34 12966 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 12967 ... here.
4a594c34 12968 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 12969 Moved ...
4a594c34
AZ
12970 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
12971 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 12972 Moved ...
4a594c34 12973 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 12974 ... here.
4a594c34 12975 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 12976 Moved ...
4a594c34 12977 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 12978 ... here.
4a594c34 12979 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 12980 Moved ...
4a594c34
AZ
12981 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
12982 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 12983 Moved ...
4a594c34 12984 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 12985 ... here.
4a594c34 12986 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 12987 Moved ...
4a594c34
AZ
12988 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
12989 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 12990 Moved ...
4a594c34
AZ
12991 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
12992 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 12993 Moved ...
4a594c34 12994 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 12995 ... here.
4a594c34 12996 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 12997 Moved ...
4a594c34 12998 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 12999 ... here.
4a594c34 13000 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 13001 Moved ...
4a594c34 13002 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 13003 ... here.
4a594c34 13004 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 13005 Moved ...
4a594c34
AZ
13006 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
13007 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 13008 Moved ...
4a594c34 13009 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 13010 ... here.
4a594c34 13011 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 13012 Moved ...
4a594c34 13013 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 13014 ... here.
4a594c34
AZ
13015 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
13016 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
13017 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
13018 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
13019 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 13020 Moved ...
4a594c34 13021 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 13022 ... here.
4a594c34
AZ
13023 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
13024 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
13025 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
13026 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
13027 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
13028 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
13029 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
13030 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
13031 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
13032 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
13033 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
13034 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
13035 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 13036 Moved ...
4a594c34
AZ
13037 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
13038 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 13039 Moved ...
4a594c34
AZ
13040 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
13041 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
13042 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
13043 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 13044 Moved ...
4a594c34
AZ
13045 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
13046 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
13047 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
13048 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
13049 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
13050 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
13051 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 13052
0570cfed
W
130532014-06-10 Wilco <wdijkstr@arm.com>
13054
13055 * math/test-fenv-return.c: New file.
13056 * math/Makefile: Add new test test-fenv-return.
13057
f8ba1b56
JM
130582014-06-10 Joseph Myers <joseph@codesourcery.com>
13059
13060 [BZ #17042]
13061 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
13062 when x - 1 is zero.
13063 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
13064 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
13065 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
13066 0.0L for an argument of 1.0L.
13067 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
13068 Likewise.
13069 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
13070 value when x - 1 is zero.
13071 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
13072 * sysdeps/i386/fpu/libm-test-ulps: Update.
13073 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13074
2c3520d9
BO
130752014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
13076
13077 [BZ #15119]
13078 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
13079
acaa4d24
RM
130802014-06-09 Roland McGrath <roland@hack.frob.com>
13081
13082 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
13083 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
13084
962b744d
RM
130852014-06-09 Roland McGrath <roland@hack.frob.com>
13086
d752f0cc
RM
13087 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
13088 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
13089
34eda6d1
RM
13090 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
13091 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
13092
50f0a637
RM
13093 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
13094 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
13095
08f41f04
RM
13096 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
13097 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
13098
962b744d
RM
13099 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
13100 if not already defined.
13101 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
13102 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
13103 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
13104 (TLS_INIT_TP): Use it.
13105 (TLS_DEFINE_INIT_TP): New macro.
13106 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
13107
09f19b05
JM
131082014-06-09 Joseph Myers <joseph@codesourcery.com>
13109
13110 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
13111 constant.
13112 [POSIX] (IXANY): Likewise.
13113 [POSIX] (OLCUC): Likewise.
13114 [POSIX || POSIX2008] (CBAUD): Do not allow.
13115 [POSIX || POSIX2008] (DEFECHO): Likewise.
13116 [POSIX || POSIX2008] (ECHOCTL): Likewise.
13117 [POSIX || POSIX2008] (ECHOKE): Likewise.
13118 [POSIX || POSIX2008] (ECHOPRT): Likewise.
13119 [POSIX || POSIX2008] (EXTA): Likewise.
13120 [POSIX || POSIX2008] (EXTB): Likewise.
13121 [POSIX || POSIX2008] (FLUSHO): Likewise.
13122 [POSIX || POSIX2008] (LOBLK): Likewise.
13123 [POSIX || POSIX2008] (PENDIN): Likewise.
13124 [POSIX || POSIX2008] (SWTCH): Likewise.
13125 [POSIX || POSIX2008] (VDISCARD): Likewise.
13126 [POSIX || POSIX2008] (VDSUSP): Likewise.
13127 [POSIX || POSIX2008] (VLNEXT): Likewise.
13128 [POSIX || POSIX2008] (VREPRINT): Likewise.
13129 [POSIX || POSIX2008] (VSTATUS): Likewise.
13130 [POSIX || POSIX2008] (VWERASE): Likewise.
13131 (B*): Change to B[0123456789]*.
13132 * conform/data/time.h-data [POSIX || UNIX98]
13133 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
13134 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
13135 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
13136 [POSIX] (tm_*): Do not allow.
13137
686554bf
JM
131382014-06-07 Joseph Myers <joseph@codesourcery.com>
13139
13140 * Makefile (install): Don't set LANGUAGE.
13141 * Makefile.in (install): Likewise.
13142 * assert/Makefile (test-assert-ENV): Remove variable.
13143 (test-assert-perr-ENV): Likewise.
13144 * elf/Makefile (neededtest4-ENV): Likewise.
13145 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
13146 [$(cross-compiling) = no]: Don't set LANGUAGE.
13147 * io/ftwtest-sh (LANG): Remove variable.
13148 * libio/Makefile (tst-widetext-ENV): Likewise.
13149 * manual/install.texi (Running make install): Don't refer to
13150 environment settings for make install.
13151 * INSTALL: Regenerated.
13152 * nptl/tst-tls6.sh: Don't set LANG.
13153 * posix/globtest.sh (LANG): Remove variable.
13154 * string/Makefile (tester-ENV): Likewise.
13155 (inl-tester-ENV): Likewise.
13156 (noinl-tester-ENV): Likewise.
13157 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
13158 [$(cross-compiling) = no]: Don't set LANGUAGE.
13159 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
13160 without explicit environment settings.
13161
68e6b6b1
RM
131622014-06-06 Roland McGrath <roland@hack.frob.com>
13163
13164 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
13165 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
13166 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
13167 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
13168
4d3ae034
CM
131692014-06-06 Chris Metcalf <cmetcalf@tilera.com>
13170
13171 * crypt/crypt-private.h [DOS]: Add some includes taken from the
13172 other files in the crypt directory.
13173 * crypt/crypt.c: Remove duplicate includes.
13174 * crypt/crypt-entry.c: Likewise.
13175 * crypt/crypt_util.c: Likewise.
13176
8540f6d2
JM
131772014-06-06 Joseph Myers <joseph@codesourcery.com>
13178
13179 * Makeconfig (run-program-env): New variable.
13180 (run-program-prefix-before-env): Likewise.
13181 (run-program-prefix-after-env): Likewise.
13182 (run-program-prefix): Define in terms of new variables.
13183 (built-program-cmd-before-env): New variable.
13184 (built-program-cmd-after-env): Likewise.
13185 (built-program-cmd): Define in terms of new variables.
13186 (test-program-prefix-before-env): New variable.
13187 (test-program-prefix-after-env): Likewise.
13188 (test-program-prefix): Define in terms of new variables.
13189 (test-program-cmd-before-env): New variable.
13190 (test-program-cmd-after-env): Likewise.
13191 (test-program-cmd): Define in terms of new variables.
13192 * Rules (make-test-out): Use $(run-program-env).
13193 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
13194 (help): Do not mention environment variables. Mention
13195 --timeoutfactor option.
13196 (timeoutfactor): New variable.
13197 (blacklist_exports): Remove function.
13198 (exports): Remove variable.
13199 (command): Do not include ${exports}.
13200 * manual/install.texi (Configuring and compiling): Do not mention
13201 test wrappers preserving environment variables. Mention that last
13202 assignment to a variable must take precedence.
13203 * INSTALL: Regenerated.
13204 * benchtests/Makefile (run-bench): Use $(run-program-env).
13205 * catgets/Makefile ($(objpfx)test1.cat): Use
13206 $(built-program-cmd-before-env), $(run-program-env) and
13207 $(built-program-cmd-after-env).
13208 ($(objpfx)test2.cat): Do not specify environment variables
13209 explicitly.
13210 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
13211 $(run-program-env) and $(built-program-cmd-after-env).
13212 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
13213 $(run-program-env) and $(test-program-cmd-after-env).
13214 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
13215 explicitly.
13216 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
13217 run_program_env and test_program_cmd_after_env arguments.
13218 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
13219 * elf/tst-pathopt.sh: Use run_program_env argument.
13220 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
13221 $(test-wrapper-env) and $(run-program-env).
13222 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
13223 run_program_env arguments.
13224 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
13225 * intl/Makefile ($(objpfx)tst-gettext.out): Use
13226 $(test-program-prefix-before-env), $(run-program-env) and
13227 $(test-program-prefix-after-env).
13228 ($(objpfx)tst-gettext2.out): Likewise.
13229 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
13230 run_program_env and test_program_prefix_after_env arguments.
13231 * intl/tst-gettext2.sh: Likewise.
13232 * intl/tst-gettext4.sh: Do not set environment variables
13233 explicitly.
13234 * intl/tst-gettext6.sh: Likewise.
13235 * intl/tst-translit.sh: Likewise.
13236 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
13237 $(test-program-prefix-before-env), $(run-program-env) and
13238 $(test-program-prefix-after-env).
13239 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
13240 run_program_env and test_program_prefix_after_env arguments.
13241 * math/Makefile (run-regen-ulps): Use $(run-program-env).
13242 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
13243 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
13244 explicitly with each use of ${test_wrapper_env}.
13245 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
13246 $(test-program-prefix-before-env), $(run-program-env) and
13247 $(test-program-prefix-after-env).
13248 * posix/tst-getconf.sh: Do not set environment variables
13249 explicitly.
13250 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
13251 run_program_env and test_program_prefix_after_env arguments.
13252 * stdio-common/tst-printf.sh: Do not set environment variables
13253 explicitly.
13254 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
13255 $(test-program-prefix-before-env), $(run-program-env) and
13256 $(test-program-prefix-after-env).
13257 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
13258 run_program_env and test_program_prefix_after_env arguments.
13259 Split $test calls into $test_pre and $test.
13260 * timezone/Makefile (build-testdata): Use
13261 $(built-program-cmd-before-env), $(run-program-env) and
13262 $(built-program-cmd-after-env).
13263
ed36bfa1
AZ
132642014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13265
13266 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
13267 strlen for non SHARED builds.
13268
fc75bf46
SP
132692014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13270
13271 * nptl/allocatestack.c (check_list): Inlined function...
13272 (__reclaim_stacks): ... here.
13273
d89b3d80
OB
132742014-06-05 Ondřej Bílka <neleai@seznam.cz>
13275
13276 [BZ #15698]
13277 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
13278 memory overrun.
13279
2bf18041
JM
132802014-06-05 Joseph Myers <joseph@codesourcery.com>
13281
13282 * Rules (make-test-out): Include
13283 LOCPATH=$(common-objpfx)localedata in default environment.
13284 * debug/Makefile (tst-chk1-ENV): Remove variable.
13285 (tst-chk2-ENV): Likewise.
13286 (tst-chk3-ENV): Likewise.
13287 (tst-chk4-ENV): Likewise.
13288 (tst-chk5-ENV): Likewise.
13289 (tst-chk6-ENV): Likewise.
13290 (tst-lfschk1-ENV): Likewise.
13291 (tst-lfschk2-ENV): Likewise.
13292 (tst-lfschk3-ENV): Likewise.
13293 (tst-lfschk4-ENV): Likewise.
13294 (tst-lfschk5-ENV): Likewise.
13295 (tst-lfschk6-ENV): Likewise.
13296 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
13297 (tst-iconv7-ENV): Likewise.
13298 * intl/Makefile (LOCPATH-ENV): Likewise.
13299 (tst-codeset-ENV): Likewise.
13300 (tst-gettext3-ENV): Likewise.
13301 (tst-gettext5-ENV): Likewise.
13302 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
13303 (tst-fopenloc-ENV): Likewise.
13304 (tst-fgetws-ENV): Remove variable.
13305 (tst-ungetwc1-ENV): Likewise.
13306 (tst-ungetwc2-ENV): Likewise.
13307 (bug-ungetwc2-ENV): Likewise.
13308 (tst-swscanf-ENV): Likewise.
13309 (bug-ftell-ENV): Likewise.
13310 (tst-fgetwc-ENV): Likewise.
13311 (tst-fseek-ENV): Likewise.
13312 (tst-ftell-partial-wide-ENV): Likewise.
13313 (tst-ftell-active-handler-ENV): Likewise.
13314 (tst-ftell-append-ENV): Likewise.
13315 * posix/Makefile (tst-fnmatch-ENV): Likewise.
13316 (tst-regexloc-ENV): Likewise.
13317 (bug-regex1-ENV): Likewise.
13318 (tst-regex-ENV): Likewise.
13319 (tst-regex2-ENV): Likewise.
13320 (bug-regex5-ENV): Likewise.
13321 (bug-regex6-ENV): Likewise.
13322 (bug-regex17-ENV): Likewise.
13323 (bug-regex18-ENV): Likewise.
13324 (bug-regex19-ENV): Likewise.
13325 (bug-regex20-ENV): Likewise.
13326 (bug-regex22-ENV): Likewise.
13327 (bug-regex23-ENV): Likewise.
13328 (bug-regex25-ENV): Likewise.
13329 (bug-regex26-ENV): Likewise.
13330 (bug-regex30-ENV): Likewise.
13331 (bug-regex32-ENV): Likewise.
13332 (bug-regex33-ENV): Likewise.
13333 (bug-regex34-ENV): Likewise.
13334 (bug-regex35-ENV): Likewise.
13335 (tst-rxspencer-ENV): Likewise.
13336 (tst-rxspencer-no-utf8-ENV): Likewise.
13337 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
13338 (tst-sscanf-ENV): Likewise.
13339 (tst-swprintf-ENV): Likewise.
13340 (tst-swscanf-ENV): Likewise.
13341 (test-vfprintf-ENV): Likewise.
13342 (scanf13-ENV): Likewise.
13343 (bug14-ENV): Likewise.
13344 (tst-grouping-ENV): Likewise.
13345 * stdlib/Makefile (tst-strtod-ENV): Likewise.
13346 (tst-strtod3-ENV): Likewise.
13347 (tst-strtod4-ENV): Likewise.
13348 (tst-strtod5-ENV): Likewise.
13349 (testmb2-ENV): Likewise./
13350 * string/Makefile (tst-strxfrm-ENV): Likewise.
13351 (tst-strxfrm2-ENV): Likewise.
13352 (bug-strcoll1-ENV): Likewise.
13353 (test-strcasecmp-ENV): Likewise.
13354 (test-strncasecmp-ENV): Likewise.
13355 * time/Makefile (tst-strptime-ENV): Likewise.
13356 (tst-ftime_l-ENV): Likewise.
13357 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
13358 (tst-mbrtowc-ENV): Likewise.
13359 (tst-wcrtomb-ENV): Likewise.
13360 (tst-mbrtowc2-ENV): Likewise.
13361 (tst-c16c32-1-ENV): Likewise.
13362 (tst-mbsnrtowcs-ENV): Likewise.
13363
cd1fb604
OB
133642014-06-05 Ondřej Bílka <neleai@seznam.cz>
13365
13366 * manual/resource.texi (How to get information about the memory
13367 subsystem?): Fix typo.
13368 Reported by Peon de la Parra Ivan <peon@keba.com>
13369
b42eca7d
GY
133702014-06-03 Guo Yixuan <culu.gyx@gmail.com>
13371
13372 [BZ #16882]
13373 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
13374 (pthread_spin_lock): Branch out of spin loop to proper location.
13375 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
13376 (pthread_spin_lock): Likewise.
13377
902b71f9
DM
13378 * nptl/tst-spin4.c: New test.
13379 * nptl/Makefile (tests): Add tst-spin4.
13380
f9d2d032
AS
133812014-06-03 Andreas Schwab <schwab@suse.de>
13382
13383 [BZ #15946]
13384 * resolv/res_send.c (send_dg): Reload file descriptor after
13385 calling reopen.
13386
cf7bfd28
SL
133872014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
13388
13389 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13390
111cc714
RH
133912014-06-03 Richard Henderson <rth@redhat.com>
13392
89b4bd6b
RH
13393 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
13394 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
13395 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
13396 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
13397 in the SAVE_PID block.
13398 (__libc_vfork): New alias.
71840409 13399 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 13400
111cc714
RH
13401 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
13402 child in registers, not on the stack. Remove RESET_PID conditionals.
13403 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
13404
ccc39911
MS
134052014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
13406
13407 * sysdeps/aarch64/libm-test-ulps: Regenerate.
13408
693096cc
W
134092014-06-03 Wilco <wdijkstr@arm.com>
13410
13411 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
13412 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
13413 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
13414 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
13415 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
13416 Likewise.
13417
0b4366bc
W
134182014-06-03 Wilco <wdijkstr@arm.com>
13419
13420 * sysdeps/aarch64/fpu/math_private.h
13421 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
13422 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
13423 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
13424 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
13425 Fix declarations.
13426
8747cd03
KS
134272014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
13428
13429 * crypt/crypt-private.h: Include ufc-crypt.h.
13430 (__b64_from_24bit): Declare extern.
13431 * crypt/crypt_util.c(__b64_from_24bit): New function.
13432 (b64t): New static const variable.
13433 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
13434 (b64t): Remove variable.
13435 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
13436 * crypt/sha256-crypt.c: Include crypt-private.h.
13437 (b64t): Remove variable.
13438 (__sha256_crypt_r): Remove b64_from_24bit and replace
13439 with __b64_from_24bit.
13440 * crypt/sha512-crypt.c: Likewise.
13441
d936d379
RM
134422014-06-02 Roland McGrath <roland@hack.frob.com>
13443
13444 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
13445 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
13446 Label the code __libc_vfork rather than __vfork.
13447 [!NOT_IN_libc] (vfork): Define as weak alias.
13448 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
13449 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
13450 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
13451
9fa76613
SP
134522014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13453
13454 * malloc/malloc.c (malloc_info): Fix format specifier for
13455 n_mmaps.
13456
a88dadbe
W
134572014-06-02 Wilco <wdijkstr@arm.com>
13458
13459 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
13460 FPCR write.
13461
c95b3011
W
134622014-06-02 Wilco <wdijkstr@arm.com>
13463
13464 [BZ #17009]
13465 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
13466 Rewrite to reduce FPCR/FPSR accesses.
13467
6b4d7a90
DM
134682014-06-01 David S. Miller <davem@davemloft.net>
13469
13470 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13471
30f3d07c
DM
134722014-05-31 David S. Miller <davem@davemloft.net>
13473
13474 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
13475 to occur in round to nearest mode when |x| >= 2.0
13476
74f31c18
RH
134772014-05-30 Richard Henderson <rth@twiddle.net>
13478
f0712b54
RH
13479 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
13480 (PSEUDO_RET_NOERRNO): Remove.
13481 (ret): Don't redefine.
13482 (ret_NOERRNO): Define in terms of ret.
13483 (ret_ERRVAL): Likewise.
13484
74f31c18
RH
13485 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
13486 use of PSEUDO_RET; perform the error check directly.
13487
30477995
MM
134882014-05-30 Marko Myllynen <myllynen@redhat.com>
13489
13490 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
13491 with __int128_t.
13492
62a58816
SP
134932014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13494
13495 * malloc/malloc (malloc_info): Fix formatting.
13496
4d653a59
SP
134972014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13498 Roland McGrath <roland@hack.frob.com>
13499
13500 * malloc/malloc (malloc_info): Also print mmapped statistics.
13501
5190c17f
RM
135022014-05-30 Roland McGrath <roland@hack.frob.com>
13503
13504 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
13505 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
13506
987c0269
OB
135072014-05-30 Ondřej Bílka <neleai@seznam.cz>
13508
13509 * malloc/malloc.c (malloc_info): Inline mi_arena.
13510
af4e8ef9
RH
135112014-05-29 Richard Henderson <rth@twiddle.net>
13512
1670e207
RH
13513 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
13514 Remove comma before expanding ASM_ARGS_##nr.
13515 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
13516 Make _x0 a strict output; make _x8 a strict input; adjust expansion
13517 of ASM_ARGS_##nr.
13518 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
13519 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
13520 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
13521 (ASM_ARGS_1): Add leading comma.
13522
11a28aee
RH
13523 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
13524 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
13525 to __errno_location.
13526 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
13527 Remove the expected plt for __errno_location.
13528
a17e5ffb 13529 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 13530 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
13531 call to __read_tp.
13532
b5be4597
RH
13533 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
13534 Always allocate 64 bytes of stack frame. Use ldp/stp to create
13535 it and break it down.
13536 (DOCARGS_0, DOCARGS_1): Do nothing.
13537 (DOCARGS_2): Update to store into the new stack frame.
13538 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
13539 (UNDOCARGS_1): Update to restore from the new stack frame.
13540 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
13541 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
13542
645d44ab
RH
13543 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
13544 (SINGLE_THREAD_P): New parameter for result regno.
13545 (PSEUDO): Update to match; use cbz instead of beq.
13546
a8b4f04a
RH
13547 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
13548 Use ENTRY to define the _nocancel entry point. Share the syscall
13549 and syscall error check paths with the cancel path.
13550 (PSEUDO_END): New.
13551
af4e8ef9
RH
13552 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
13553 whitespace; tabs before and after asm mnemonics.
13554
26b0d2e1
EW
135552014-05-29 Eric Wong <normalperson@yhbt.net>
13556
13557 [BZ #15132]
13558 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13559 Call fstat64 or stat64 internally, depending on arguments passed.
13560 Replace stat buffer argument with file descriptor argument.
13561 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
13562 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
13563 Pass fd to __internal_statvfs instead of calling fstat64.
13564 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
13565 Pass fd to __internal_statvfs64 instead of calling fstat64.
13566 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
13567 Pass -1 to __internal_statvfs instead of calling stat64.
13568 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
13569 Pass -1 to __internal_statvfs64 instead of calling stat64.
13570
1efe2bd9
RM
135712014-05-28 Roland McGrath <roland@hack.frob.com>
13572
0d3b7a19
RM
13573 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
13574 that was previously under [RESET_PID].
13575 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
13576
1efe2bd9
RM
13577 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
13578 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
13579
a6bea3ca
RM
135802014-05-27 Roland McGrath <roland@hack.frob.com>
13581
30b6629e
RM
13582 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
13583
a6bea3ca
RM
13584 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
13585 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
13586
3dfb9a5c
OB
135872014-05-27 Ondřej Bílka <neleai@seznam.cz>
13588
13589 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
13590
774f9285
AS
135912014-05-27 Andreas Schwab <schwab@suse.de>
13592
13593 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
13594 TLS_INIT_TP macro.
13595 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
13596 * elf/rtld.c (init_tls, dl_main): Likewise.
13597 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
13598 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
13599 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
13600 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
13601 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
13602 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
13603 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
13604 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
13605 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
13606 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
13607 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
13608 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
13609 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
13610 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
13611 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
13612 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
13613 * sysdeps/generic/tls.h: Update description.
13614
36ffe739
WN
136152014-05-27 Will Newton <will.newton@linaro.org>
13616
13617 [BZ #16990]
13618 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
13619 and restore r2 rather than just restoring.
13620
2482ae43
SP
136212014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13622
13623 [BZ #16724]
13624 * libio/tst-ftell-append.c: New test case.
13625 * libio/Makefile (tests): Add test case.
13626 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
13627 append mode.
13628 * libio/wfileops.c (do_ftell_wide): Likewise.
13629
3d1024e8
AZ
136302014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13631
bab90016
AZ
13632 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13633
c7a8d667
AZ
13634 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
13635 ...
13636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
13637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
13638 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
13639 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
13640 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
13641 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
13642 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
13643 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
13644 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
13645 Moved ...
13646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
13647 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
13648 Moved ...
13649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
13650 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
13651 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
13652 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
13653 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
13654 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
13655 ...
13656 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
13657 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
13658 Moved ...
13659 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
13660 here.
13661 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
13662 ...
13663 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
13664 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
13665 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
13666
daee7851
AZ
13667 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
13668 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
13669 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
13670 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
13671
50a40819
AZ
13672 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
13673 merge into ...
13674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
13675 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
13676 ...
13677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
13678 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
13679 ...
13680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
13681 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
13682 Moved ...
13683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
13684 here.
13685 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
13686 Moved ...
13687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
13688 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
13689 Moved ...
13690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
13691
8464c2a1
AZ
13692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
13693 conditional [RESET_PID].
13694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
13695 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
13696 removed.
13697 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
13698 removed.
13699
3d1024e8
AZ
13700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
13701 <tcb-offsets.h>.
13702 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13703 (__libc_vfork): New strong alias.
13704 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
13705 removed.
13706 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
13707 Removed.
13708
13709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
13710 <tcb-offsets.h>.
13711 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
13712 (__libc_vfork): New strong alias.
13713 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
13714 removed.
13715 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
13716 removed.
13717
fdfd175d
CD
137182014-05-26 Carlos O'Donell <carlos@redhat.com>
13719
13720 * malloc/malloc.c (mi_arena): New function.
13721 (malloc_info): Remove nested function mi_arena. Call non-nosted
13722 function mi_arena.
13723
d298c416
AZ
137242014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13725
13726 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
13727 by insrwi.
13728 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
13729 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
13730 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
13731 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
13732 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
13733 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
13734 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
13735
b60ea6ff
AS
137362014-05-26 Andreas Schwab <schwab@suse.de>
13737
13738 [BZ #16984]
13739 * locale/programs/repertoire.c (repertoire_read): Add slash
13740 between I18NPATH element and file name.
13741 * locale/programs/locfile.c (locfile_read): Likewise.
13742
67365926
SL
137432014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
13744
13745 * nptl/pthread_mutexattr_settype.c
13746 (__pthread_mutexattr_settype):
13747 Disable lock elision for PTHREAD_MUTEX_NORMAL.
13748
f8bdf1f0
SL
137492014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
13750
13751 * nptl/tst-mutex5 (do_test):
13752 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
13753
15eaf6ff
SP
137542014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13755
13756 * benchtests/README: Document 'init' directive.
13757 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
13758 BENCH_INIT.
13759 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
13760 (parse_file): Recognize 'init' directive.
13761
75f11331
KM
137622014-05-26 Kyle McMartin <kyle@redhat.com>
13763
13764 [BZ #16796]
13765 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
13766 alignment of struct pthread.
13767
c3ec475c
SP
137682014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13769
13770 [BZ #16878]
13771 * nscd/netgroupcache.c (addgetnetgrentX): Look for
13772 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
13773 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
13774 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
13775
82aab97c
RH
137762014-05-25 Richard Henderson <rth@twiddle.net>
13777
aa2f176d
RH
13778 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
13779 (SINGLE_THREAD_P_PIC): Remove.
13780 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
13781 (SINGLE_THREAD_P_PIC): Remove.
13782
ca3cfa40
RH
13783 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
13784 branch to syscall error ...
13785 (PSEUDO): ... here.
13786 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
13787 from __local_syscall_error to .Lsyscall_error.
13788 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
13789 (SYSCALL_ERROR): Update label name.
13790
6e6c2d01
RH
13791 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
13792 Do not use DOARGS/UNDOARGS.
13793 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
13794 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
13795 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
13796 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
13797 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
13798
c69abcee
RH
13799 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
13800 block comment.
13801
82aab97c
RH
13802 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
13803 define if !NOT_IN_libc.
13804 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
13805 define with non-default symbol versions.
13806
8820e3ac
RH
138072014-05-23 Richard Henderson <rth@twiddle.net>
13808
900e445f
RH
13809 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
13810 (vfork, __vfork): Define via compat_symbol.
13811
8820e3ac
RH
13812 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
13813 [!HAVE_IFUNC] (vfork_compat): Remove.
13814 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
13815
e59252a5
JM
138162014-05-23 Joseph Myers <joseph@codesourcery.com>
13817
13818 [BZ #16978]
13819 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
13820 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
13821 variable.
13822
132c7f5f
RH
138232014-05-23 Richard Henderson <rth@twiddle.net>
13824
bc89e962
RH
13825 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
13826 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
13827 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
13828 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
13829
13830 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
13831 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
13832 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
13833 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
13834 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
13835 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
13836 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
13837 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
13838 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
13839 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
13840 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
13841 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
13842 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
13843 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
13844 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
13845 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
13846 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
13847 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
13848 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
13849 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
13850 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
13851 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
13852 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
13853 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
13854 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
13855 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
13856 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
13857 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
13858 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
13859 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
13860 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
13861 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
13862 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
13863 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
13864 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
13865 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
13866 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
13867 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
13868 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
13869 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
13870 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
13871 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
13872 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
13873 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
13874 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
13875 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
13876 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
13877 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
13878 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
13879 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
13880 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
13881 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
13882 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
13883 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
13884 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
13885 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
13886
e2fa4bc2
RH
13887 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
13888 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
13889 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
13890 before exiting on error.
13891 (__libc_vfork): New strong alias.
13892 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
13893 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
13894
279b24e2
RH
13895 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
13896 that was previously under [RESET_PID].
13897 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
13898
132c7f5f
RH
13899 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
13900
b72592e7
JM
139012014-05-23 Joseph Myers <joseph@codesourcery.com>
13902
13903 [BZ #16977]
13904 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
13905 value when x - 1 is zero.
13906 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
13907 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
13908 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
13909 0.0L for an argument of 1.0L.
13910 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
13911 Likewise.
13912 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
13913 value when x - 1 is zero.
13914 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
13915 * sysdeps/i386/fpu/libm-test-ulps: Update.
13916 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13917
2302d679
RV
139182014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
13919
13920 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
13921 alphasort and versionsort.
13922
32999d63
AZ
139232014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13924
13925 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
13926 macro.
13927 [copysignf]: Likewise.
13928
019324d0
SP
139292014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13930
13931 * crypt/md5-crypt.c: Fix formatting.
13932
34fff5c2
KS
139332014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
13934
13935 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
13936 (b64_from_24bit): New function.
13937
3d2badac
AZ
139382014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13939
13940 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
13941 libc_hidden_builtin_def to ifunc.
13942 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
13943 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
13944
f7bb179f 139452014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
13946
13947 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
13948 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
13949
4134b50d
JM
139502014-05-21 Joseph Myers <joseph@codesourcery.com>
13951
bb7d0337
JM
13952 * nscd/Depend (linuxthreads): Remove.
13953 (nptl): Add.
13954 * resolv/Depend (linuxthreads): Remove.
13955 * rt/Depend (linuxthreads): Remove.
13956
4134b50d
JM
13957 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
13958 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
13959 $(common-objpfx)elf/.
13960 (link-libc-before-gnulib): Likewise.
13961 (elfobjdir): Remove variable.
13962 * Makefile (install): Use $(elf-objpfx) instead of
13963 $(common-objpfx)elf/.
13964 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
13965 $(elfobjdir)/.
13966 (link-libc-deps): Likewise.
13967 ($(common-objpfx)libc.so): Likewise.
13968 ($(common-objpfx)linkobj/libc.so): Likewise.
13969 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
13970 instead of $(common-objpfx)elf/.
13971 (symbolic-link-list): Likewise.
13972 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
13973 [$(cross-compiling) = no]: Likewise.
13974 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
13975 $(elfobjdir)/.
13976 (static-gnulib-arch): Likewise.
13977 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
13978 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
13979 $(common-objpfx)elf/.
13980
3612eb8f
RH
139812014-05-21 Richard Henderson <rth@redhat.com>
13982
a6b3657b
RH
13983 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
13984 (SINGLE_THREAD_P): Use the correct width load. Fold
13985 into the ldr offset.
13986
3612eb8f
RH
13987 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
13988 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
13989
175cef41
JM
139902014-05-20 Joseph Myers <joseph@codesourcery.com>
13991
13992 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
13993 (libgcc_s_resume): Use __attribute_used__.
13994 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
13995 Likewise.
13996
e13bccd3
AZ
139972014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13998
13999 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
14000 optimization when used with float constants.
14001
7c112a38
AZ
14002 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14003
ae75a883
AJ
140042014-05-20 Aurelien Jarno <aurelien@aurel32.net>
14005
14006 [BZ #16915]
14007 * locale/nl_langinfo_l.c: Make direct reference to every
14008 _nl_current_CATEGORY symbol.
14009 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
14010 (tests-static): Add tst-langinfo-static.
14011 (tests-special): Add tst-langinfo-static.out.
14012 ($(objpfx)tst-langinfo.out): Redirect output.
14013 ($(objpfx)tst-langinfo-static.out): New.
14014 * localedata/tst-langinfo.sh: Send output to stdout.
14015 * localedata/tst-langinfo-static.c: New file.
14016
4406c41c
AJ
14017 [BZ #16965]
14018 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
14019 when the shift amount is modulo the limb size.
14020
4c0a1e63
RH
140212014-05-20 Richard Henderson <rth@redhat.com>
14022
de9d8f20
RH
14023 [BZ #16967]
14024 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
14025 Change type of sa_flags from unsigned int to int.
14026
4c0a1e63
RH
14027 [BZ #16966]
14028 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
14029
14030 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
14031
a60339aa
WN
140322014-05-20 Will Newton <will.newton@linaro.org>
14033
14034 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
14035 Test the return value of the system call in the nocancel case.
14036
7d05a816
YR
140372014-05-20 Will Newton <will.newton@linaro.org>
14038 Yvan Roux <yvan.roux@linaro.org>
14039
14040 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
14041 #include of asm/ptrace.h.
14042 (PTRACE_GET_THREAD_AREA): Remove #undef.
14043 (PTRACE_GETHBPREGS): Likewise.
14044 (PTRACE_SETHBPREGS): Likewise.
14045 (struct user_regs_struct): New structure.
14046 (struct user_fpsimd_struct): New structure.
14047 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
14048 #include of asm/ptrace.h and second #include of sys/user.h.
14049 (PTRACE_GET_THREAD_AREA): Remove #undef.
14050 (PTRACE_GETHBPREGS): Likewise.
14051 (PTRACE_SETHBPREGS): Likewise.
14052 (ELF_NGREG): Use new struct user_regs_struct.
14053 (elf_fpregset_t): Use new struct user_fpsimd_struct.
14054
af121e37
AZ
140552014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14056
14057 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
14058 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
14059
834caf06
JM
140602014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
14061
14062 [BZ #16958]
14063 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
14064 membar to avoid block loads/stores to overlap previous stores.
14065
e184a918
RH
140662014-05-17 Richard Henderson <rth@redhat.com>
14067
14068 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
14069 Create the __##syscall_name##_nocancel entry point.
14070 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
14071 Remove; let the sysdep-cancel.h code create it.
14072
f56c7a6a
DM
140732014-05-17 David S. Miller <davem@davemloft.net>
14074
14075 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
14076 Protect with __USE_GNU.
14077 (TIOCSET_TEMPT): Likewise.
14078 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
14079 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
14080 these are already provided in bits/ioctl-types.h
14081
f75616b2
RM
140822014-05-16 Roland McGrath <roland@hack.frob.com>
14083
3edeca86
RM
14084 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
14085 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
14086
f75616b2
RM
14087 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
14088 Use wait4 regardless of [__NR_waitpid].
14089
deb0f7f6
MR
140902014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
14091
14092 PR libgcc/60166
14093 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
14094 (_FP_NANSIGN_Q): Set the quiet bit.
14095
79520f4b
JM
140962014-05-16 Joseph Myers <joseph@codesourcery.com>
14097
14098 * benchtests/Makefile
14099 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
14100 not $(common-objpfx)math/libm.so.
14101 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
14102 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
14103 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
14104 $(common-objpfx)dlfcn/libdl.so.
14105 ($(objpfx)tst-audit8): Depend on $(libm), not
14106 $(common-objpfx)math/libm.so.
14107 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
14108 not $(common-objpfx)dlfcn/libdl.so.
14109 * math/Makefile
14110 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
14111 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
14112 [$(build-shared) = yes].
14113 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
14114 $(common-objpfx)nptl/libpthread.so.
14115 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
14116 $(common-objpfx)math/libm.so$(libm.so-version) or
14117 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
14118 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
14119 $(common-objpfx)dlfcn/libdl.so.
14120 * setjmp/Makefile (link-libm): Remove variable.
14121 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
14122 * stdio-common/Makefile (link-libm): Remove variable.
14123 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
14124 * stdlib/Makefile (link-libm): Remove variable.
14125 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
14126 ($(objpfx)tst-strtod-round): Likewise.
14127 ($(objpfx)tst-tininess): Likewise.
14128 ($(objpfx)tst-strtod-underflow): Likewise.
14129 ($(objpfx)tst-strtod6): Likewise.
14130 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
14131 $(libdl), not $(common-objpfx)nptl/libpthread.so and
14132 $(common-objpfx)dlfcn/libdl.so.
14133
026b0fe4
AZ
141342014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14135
14136 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
14137 BSD terminal modes definitions.
14138
def4bcb2
RM
141392014-05-16 Roland McGrath <roland@hack.frob.com>
14140
fe39b021
RM
14141 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
14142 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
14143
1d1fc46e 14144 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
14145 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
14146 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
14147 Don't do #include_next.
14148 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
14149 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
14150 Don't do #include_next.
14151 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
14152 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
14153 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
14154 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
14155
c72399fb
AM
141562014-05-16 Allan McRae <allan@archlinux.org>
14157
d51d659d
AM
14158 * po/sv.po: Update Swedish translation from translation project.
14159
c72399fb
AM
14160 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
14161 in sed expression.
14162
d0583c40
AJ
141632014-05-16 Aurelien Jarno <aurelien@aurel32.net>
14164
14165 [BZ #16917]
14166 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
14167 errno if the TIOCGPTN ioctl fails with an error different than
14168 EINVAL.
14169 * login/tst-ptsname.c: New file.
14170 * login/Makefile (tests): Add tst-ptsname.
14171
d16e6ec7
AJ
14172 [BZ #16943]
14173 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
14174 and prlimit64.
14175
cf26a0cb
SP
141762014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14177
14178 [BZ #16849]
14179 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
14180 herrno to return EAI_AGAIN.
14181
5675da1e
RM
141822014-05-14 Roland McGrath <roland@hack.frob.com>
14183
a5d87b3d
RM
14184 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
14185 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
14186 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
14187 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
14188 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
14189 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
14190 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
14191 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
14192 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
14193 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
14194 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
14195 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
14196 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
14197 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
14198 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
14199 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
14200 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
14201 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
14202 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
14203 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
14204 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
14205 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
14206 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
14207 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
14208 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
14209 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
14210 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
14211 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
14212 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
14213 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
14214 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
14215 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
14216 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
14217 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
14218 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
14219 Moved ...
14220 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
14221 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
14222 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
14223 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
14224 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
14225 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
14226 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
14227 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
14228 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
14229 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
14230 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
14231 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
14232 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
14233 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
14234 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
14235 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
14236 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
14237 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
14238 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
14239 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
14240 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
14241 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
14242 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
14243 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
14244 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
14245 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
14246 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
14247 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
14248 Moved ...
14249 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
14250 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
14251 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
14252 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
14253 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
14254 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
14255 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
14256 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
14257 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
14258 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
14259 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
14260 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
14261 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
14262 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
14263 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
14264 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
14265 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
14266 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
14267 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
14268 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
14269 Moved ...
14270 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
14271 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
14272 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
14273
039890a6
RM
14274 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
14275 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
14276 (libpthread-sysdep_routines): Add elision-related stuff here instead.
14277 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
14278 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
14279 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
14280 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
14281 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
14282 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
14283 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
14284 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
14285 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
14286 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
14287 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
14288 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
14289 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
14290 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
14291 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
14292 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
14293 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
14294 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
14295 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
14296 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
14297 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
14298 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
14299 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
14300 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
14301 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
14302 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
14303 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
14304 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
14305
65c89320
RM
14306 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
14307 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
14308
348f8e8c
RM
14309 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
14310 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
14311 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
14312 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
14313 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
14314 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
14315 Moved ...
14316 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
14317 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
14318 Moved ...
14319 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
14320 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
14321 Moved ...
14322 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
14323 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
14324 Moved ...
14325 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
14326 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
14327 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
14328 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
14329 Moved ...
14330 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
14331 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
14332 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
14333 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
14334 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
14335 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
14336 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
14337 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
14338 Moved ...
14339 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
14340 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
14341 Moved ...
14342 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
14343 ... here.
14344 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
14345 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
14346 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
14347 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
14348 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
14349 Moved ...
14350 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
14351 ... here.
14352 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
14353 Moved ...
14354 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
14355 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
14356 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
14357 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
14358 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
14359 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
14360 Moved ...
14361 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
14362 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
14363 Moved ...
14364 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
14365 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
14366 Moved ...
14367 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
14368 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
14369 Moved ...
14370 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
14371 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
14372 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
14373 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
14374 Moved ...
14375 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
14376 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
14377 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
14378 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
14379 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
14380 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
14381 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
14382 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
14383 Moved ...
14384 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
14385 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
14386 Moved ...
14387 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
14388 ... here.
14389 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
14390 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
14391 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
14392 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
14393 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
14394 Moved ...
14395 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
14396 ... here.
14397 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
14398 Moved ...
14399 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
14400 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
14401 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
14402 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
14403 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
14404 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
14405 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
14406 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
14407 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
14408 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
14409 Moved ...
14410 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
14411 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
14412 Moved ...
14413 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
14414 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
14415 Moved ...
14416 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
14417 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
14418 Moved ...
14419 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
14420 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
14421 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
14422 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
14423 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
14424 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
14425 Moved ...
14426 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
14427 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
14428 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
14429 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
14430 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
14431 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
14432 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
14433 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
14434 Moved ...
14435 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
14436 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
14437 Moved ...
14438 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
14439 ... here.
14440 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
14441 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
14442 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
14443 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
14444 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
14445 Moved ...
14446 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
14447 ... here.
14448 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
14449 Moved ...
14450 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
14451 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
14452 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
14453 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
14454 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
14455 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
14456 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
14457 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
14458 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
14459 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
14460 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
14461
5085af05
RM
14462 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
14463 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
14464
708f0813
RM
14465 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
14466 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
14467
c96067bc
RM
14468 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
14469 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
14470 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
14471 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
14472 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
14473 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
14474 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
14475 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
14476 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
14477 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
14478 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
14479 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
14480 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
14481 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
14482 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
14483 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
14484 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
14485 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
14486 Moved ...
14487 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
14488 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
14489 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
14490 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
14491 Moved ...
14492 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
14493 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
14494 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
14495 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
14496 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
14497 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
14498 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
14499 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
14500 Moved ...
14501 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
14502 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
14503 Moved ...
14504 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
14505 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
14506 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
14507 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
14508 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
14509 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
14510 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
14511 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
14512 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
14513 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
14514 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
14515 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
14516 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
14517 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
14518 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
14519 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
14520 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
14521
ec136444
RM
14522 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
14523 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
14524 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
14525 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
14526 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
14527
2fbdf533
RM
14528 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
14529 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
14530 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
14531 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
14532 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
14533 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
14534 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
14535 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
14536 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
14537 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
14538
4c68138b
RM
14539 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
14540 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
14541
4eaae765
RM
14542 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
14543 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
14544 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
14545 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
14546 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
14547 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
14548 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
14549 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
14550 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
14551 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
14552 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
14553 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
14554 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
14555 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
14556 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
14557 Update #include.
14558 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
14559 Likewise.
14560 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
14561 Likewise.
14562 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
14563 Likewise.
14564 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
14565 Likewise.
14566 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
14567 Likewise.
14568 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
14569 Likewise.
14570 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
14571 Likewise.
14572 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
14573 Likewise.
14574 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
14575 Likewise.
4ef6befa
RM
14576 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
14577 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
14578 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
14579 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
14580 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
14581 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
14582 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
14583 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
14584 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
14585 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
14586 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
14587 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
14588 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
14589 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
14590 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 14591
941d7dfd
RM
14592 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
14593 that was previously under [RESET_PID].
14594 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
14595 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
14596 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
14597
1b731c35
RM
14598 * sysdeps/i386/nptl/Implies: New file.
14599 * sysdeps/x86_64/nptl/Implies: New file.
14600 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
14601 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
14602 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
14603 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
14604
e2787137
RM
14605 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
14606 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
14607 (__libc_vfork): New strong alias.
14608 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
14609 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
14610
14611 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
14612 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
14613 (__libc_vfork): New strong alias.
14614 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
14615 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
14616
5675da1e
RM
14617 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
14618 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
14619 (__libc_vfork): New strong alias.
14620 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
14621 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
14622 * nptl/pt-vfork.c: New file.
14623 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
14624 (libpthread: GLIBC_2.20): New version set (empty).
14625
4f02e2b8
WN
146262014-05-14 Will Newton <will.newton@linaro.org>
14627
14628 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
14629 rather than #if.
14630
0bf061d3
JM
146312014-05-14 Joseph Myers <joseph@codesourcery.com>
14632
1a84c3d6
JM
14633 [BZ #16564]
14634 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
14635 arguments with exponent 65 or above.
14636 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
14637 arguments 0x1p113L or above.
14638 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
14639 to arguments 0x1p107L or above.
14640 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
14641 positive arguments with exponent 65 or above.
14642 * math/auto-libm-test-in: Add more tests of log1p.
14643 * math/auto-libm-test-out: Regenerated.
14644
01dbacd2
JM
14645 [BZ #16928]
14646 * math/s_cacos.c (__cacos): Ensure zero real part of result from
14647 non-finite arguments is +0.
14648 * math/s_cacosf.c (__cacosf): Likewise.
14649 * math/s_cacosl.c (__cacosl): Likewise.
14650 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
14651 * sysdeps/i386/fpu/libm-test-ulps: Update.
14652 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14653
913d03c8
JM
14654 [BZ #16927]
14655 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
14656 value.
14657 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
14658 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
14659 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
14660 for explicit high bit of mantissa when testing for argument equal
14661 to 1.
14662 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
14663 * sysdeps/i386/fpu/libm-test-ulps: Update.
14664 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14665
0bf061d3
JM
14666 [BZ #16516]
14667 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
14668 (__erf): Scale by 16 instead of 8 in potentially underflowing
14669 case. Ensure exception if result actually underflows.
14670 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
14671 (__erff): Scale by 16 instead of 8 in potentially underflowing
14672 case. Ensure exception if result actually underflows.
14673 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
14674 (efx8): Remove variable.
14675 (__erfl): Scale by 16 instead of 8 in potentially underflowing
14676 case. Ensure exception if result actually underflows.
14677 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
14678 (efx8): Remove variable.
14679 (__erfl): Scale by 16 instead of 8 in potentially underflowing
14680 case. Ensure exception if result actually underflows.
14681 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
14682 (efx8): Remove variable.
14683 (__erfl): Scale by 16 instead of 8 in potentially underflowing
14684 case. Ensure exception if result actually underflows.
14685 * math/auto-libm-test-in: Add more tests of erf.
14686 * math/auto-libm-test-out: Regenerated.
14687
73ba67cb
AS
146882014-05-14 Andreas Schwab <schwab@suse.de>
14689
3d8c8bff
AS
14690 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
14691 Remove code conditionalized on USE___THREAD.
14692
73ba67cb
AS
14693 * config.h.in (HAVE_PT_CHOWN): Define as 0.
14694 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
14695 not definedness.
14696
5c521ecd
JM
146972014-05-14 Joseph Myers <joseph@codesourcery.com>
14698
5e7698c6
JM
14699 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
14700 Define unconditionally.
14701 (__ASSUME_O_CLOEXEC): Likewise.
14702 (__ASSUME_SOCK_CLOEXEC): Likewise.
14703 (__ASSUME_IN_NONBLOCK): Likewise.
14704 (__ASSUME_PIPE2): Likewise.
14705 (__ASSUME_EVENTFD2): Likewise.
14706 (__ASSUME_SIGNALFD4): Likewise.
14707 (__ASSUME_DUP3): Likewise.
14708 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14709 (__ASSUME_DUP3): Do not define.
14710 (__ASSUME_EVENTFD2): Likewise.
14711 (__ASSUME_IN_NONBLOCK): Likewise.
14712 (__ASSUME_O_CLOEXEC): Likewise.
14713 (__ASSUME_PIPE2): Likewise.
14714 (__ASSUME_SIGNALFD4): Likewise.
14715 (__ASSUME_SOCK_CLOEXEC): Likewise.
14716 (__ASSUME_UTIMES): Undefine.
14717 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14718 (__ASSUME_UTIMES): Do not define.
14719 (__ASSUME_O_CLOEXEC): Likewise.
14720 (__ASSUME_SOCK_CLOEXEC): Likewise.
14721 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
14722 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
14723 0x020621].
14724 (__ASSUME_PIPE2): Likewise.
14725 (__ASSUME_EVENTFD2): Likewise.
14726 (__ASSUME_SIGNALFD4): Likewise.
14727 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
14728 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
14729 Do not define.
14730 (__ASSUME_EVENTFD2): Likewise.
14731 (__ASSUME_SIGNALFD4): Likewise.
14732 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
14733 (__ASSUME_32BITUIDS): Likewise.
14734 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
14735 (__ASSUME_IPC64): Likewise.
14736 (__ASSUME_ST_INO_64_BIT): Likewise.
14737 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
14738 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
14739 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14740 (__ASSUME_UTIMES): Do not define.
14741 (__ASSUME_PSELECT): Likewise.
14742 (__ASSUME_PPOLL): Likewise.
14743 (__ASSUME_O_CLOEXEC): Likewise.
14744 (__ASSUME_SOCK_CLOEXEC): Likewise.
14745 (__ASSUME_IN_NONBLOCK): Likewise.
14746 (__ASSUME_PIPE2): Likewise.
14747 (__ASSUME_EVENTFD2): Likewise.
14748 (__ASSUME_SIGNALFD4): Likewise.
14749 (__ASSUME_DUP3): Likewise.
14750 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14751 (__ASSUME_UTIMES): Likewise.
14752 (__ASSUME_O_CLOEXEC): Likewise.
14753 (__ASSUME_SOCK_CLOEXEC): Likewise.
14754 (__ASSUME_IN_NONBLOCK): Likewise.
14755 (__ASSUME_PIPE2): Likewise.
14756 (__ASSUME_EVENTFD2): Likewise.
14757 (__ASSUME_SIGNALFD4): Likewise.
14758 (__ASSUME_DUP3): Likewise.
14759 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14760 (__ASSUME_UTIMES): Likewise.
14761 (__ASSUME_O_CLOEXEC): Likewise.
14762 (__ASSUME_SOCK_CLOEXEC): Likewise.
14763 (__ASSUME_IN_NONBLOCK): Likewise.
14764 (__ASSUME_PIPE2): Likewise.
14765 (__ASSUME_EVENTFD2): Likewise.
14766 (__ASSUME_SIGNALFD4): Likewise.
14767 (__ASSUME_DUP3): Likewise.
14768 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
14769 Likewise.
14770 (__ASSUME_UTIMES): Likewise.
14771 (__ASSUME_EVENTFD2): Likewise.
14772 (__ASSUME_SIGNALFD4): Likewise.
14773 * sysdeps/unix/sysv/linux/tile/kernel-features.h
14774 (__ASSUME_O_CLOEXEC): Likewise.
14775 (__ASSUME_SOCK_CLOEXEC): Likewise.
14776 (__ASSUME_IN_NONBLOCK): Likewise.
14777 (__ASSUME_PIPE2): Likewise.
14778 (__ASSUME_EVENTFD2): Likewise.
14779 (__ASSUME_SIGNALFD4): Likewise.
14780 (__ASSUME_DUP3): Likewise.
14781 (__ASSUME_UTIMES): Undefine.
14782
5c521ecd
JM
14783 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
14784 feclearexcept. Remove symbol versioning code.
14785 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
14786 symbol versioning code.
14787 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
14788 symbol versioning code.
14789 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
14790 feupdateenv. Remove symbol versioning code.
14791 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
14792 fegetexceptflag. Remove symbol versioning code.
14793 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
14794 fesetexceptflag. Remove symbol versioning code.
14795 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
14796 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
14797 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
14798 (__posix_fadvise64_l32): Remove prototype.
14799 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
14800 code.
14801
5da9dfad
RM
148022014-05-13 Roland McGrath <roland@hack.frob.com>
14803
14804 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
14805 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
14806 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
14807 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
14808
893b4f37
SK
148092014-05-13 Sami Kerola <kerolasa@iki.fi>
14810
14811 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
14812 current working directory
14813
e0db6517
RM
148142014-05-13 Roland McGrath <roland@hack.frob.com>
14815
58aa195d
RM
14816 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
14817 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
14818 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
14819 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
14820 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
14821 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
14822 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
14823 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
14824 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
14825 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
14826 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
14827 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
14828 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
14829 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
14830 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
14831 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
14832 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
14833 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
14834 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
14835 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
14836 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
14837 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
14838 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
14839 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
14840 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
14841 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
14842 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
14843 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
14844 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
14845 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
14846 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
14847 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
14848 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
14849 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
14850 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
14851 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
14852 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
14853 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
14854 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
14855 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
14856 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
14857 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
14858
8c6d01f0
RM
14859 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
14860 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
14861
14862 * sysdeps/unix/sysv/linux/arm/Makefile
14863 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
14864 Add rt-aeabi_unwind_cpp_pr1.
14865 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
14866 Add nptl-aeabi_unwind_cpp_pr1.
14867 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
14868 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
14869 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
14870 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
14871 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
14872 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
14873
14874 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
14875 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
14876 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
14877 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
14878
bba6da4e
RM
14879 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
14880 Deconditionalize the code that was previously under [RESET_PID].
14881 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
14882
e0db6517
RM
14883 * sysdeps/generic/exit-thread.h: New file.
14884 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
14885 * include/unistd.h (__exit_thread): Remove declaration.
14886 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
14887 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
14888 * csu/libc-start.c: Include <exit-thread.h>.
14889 (LIBC_START_MAIN): Pass no argument to __exit_thread.
14890 * nptl/pthread_create.c: Include <exit-thread.h>.
14891 (start_thread): Call __exit_thread in place of __exit_thread_inline.
14892 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
14893 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
14894 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
14895 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
14896 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
14897 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
14898 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
14899 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
14900 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
14901 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
14902 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
14903 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
14904 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
14905 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
14906 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
14907 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
14908
01eb16fd
AS
149092014-05-13 Andreas Schwab <schwab@suse.de>
14910
14911 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
14912
637461d9
JM
149132014-05-12 Joseph Myers <joseph@codesourcery.com>
14914
14915 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
14916 (__ASSUME_UTIMES): Do not condition on kernel version.
14917 (__ASSUME_PSELECT): Define unconditionally.
14918 (__ASSUME_PPOLL): Likewise.
14919 (__ASSUME_ATFCTS): Likewise.
14920 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
14921 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
14922 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
14923 (__ASSUME_UTIMENSAT): Define unconditionally.
14924 (__ASSUME_PRIVATE_FUTEX): Likewise.
14925 (__ASSUME_FALLOCATE): Likewise.
14926 (__ASSUME_O_CLOEXEC): Likewise.
14927 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
14928 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
14929 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
14930 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
14931 (__ASSUME_IN_NONBLOCK): Likewise.
14932 (__ASSUME_PIPE2): Likewise.
14933 (__ASSUME_EVENTFD2): Likewise.
14934 (__ASSUME_SIGNALFD4): Likewise.
14935 (__ASSUME_DUP3): Likewise.
14936 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14937 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
14938 (__ASSUME_AT_RANDOM): Likewise.
14939 (__ASSUME_PREADV): Likewise.
14940 (__ASSUME_PWRITEV): Likewise.
14941 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
14942 (__ASSUME_F_GETOWN_EX): Define unconditionally.
14943 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
14944 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
14945 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
14946 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14947 (__ASSUME_O_CLOEXEC): Define unconditionally.
14948 (__ASSUME_PSELECT): Do not undefine conditionally.
14949 (__ASSUME_PPOLL): Likewise.
14950 (__ASSUME_ATFCTS): Likewise.
14951 (__ASSUME_SET_ROBUST_LIST): Likewise.
14952 (__ASSUME_UTIMENSAT): Likewise.
14953 (__ASSUME_FDATASYNC): Define unconditionally.
14954 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14955 (__ASSUME_SIGFRAME_V2): Likewise.
14956 )__ASSUME_EVENTFD2): Likewise.
14957 (__ASSUME_SIGNALFD4): Likewise.
14958 (__ASSUME_PSELECT): Do not undefine conditionally.
14959 (__ASSUME_PPOLL): Likewise.
14960 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14961 (__ASSUME_PSELECT): Define unconditionally.
14962 (__ASSUME_PPOLL): Likewise.
14963 (__ASSUME_O_CLOEXEC): Likewise.
14964 (__ASSUME_SOCK_CLOEXEC): Likewise.
14965 (__ASSUME_IN_NONBLOCK): Likewise.
14966 (__ASSUME_PIPE2): Likewise.
14967 (__ASSUME_EVENTFD2): Likewise.
14968 (__ASSUME_SIGNALFD4): Likewise.
14969 (__ASSUME_DUP3): Likewise.
14970 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14971 (__ASSUME_O_CLOEXEC): Likewise.
14972 (__ASSUME_SOCK_CLOEXEC): Likewise.
14973 (__ASSUME_IN_NONBLOCK): Likewise.
14974 (__ASSUME_PIPE2): Likewise.
14975 (__ASSUME_EVENTFD2): Likewise.
14976 (__ASSUME_SIGNALFD4): Likewise.
14977 (__ASSUME_DUP3): Likewise.
14978 * sysdeps/unix/sysv/linux/mips/kernel-features.h
14979 (__ASSUME_EVENTFD2): Likewise.
14980 (__ASSUME_SIGNALFD4): Likewise.
14981 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14982
315eb1d8
AS
149832014-05-12 Andreas Schwab <schwab@suse.de>
14984
14985 [BZ #16932]
14986 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
14987 (_nss_nis_gethostbyname4_r): Return error if item length is larger
14988 than maximum RPC packet size.
14989 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
14990 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
14991 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
14992 (_nss_nis_getservbyport_r): Likewise.
14993
91df99f7
WN
149942014-05-12 Will Newton <will.newton@linaro.org>
14995
14996 * malloc/Makefile (tests): Add tst-mallopt.
14997 * malloc/tst-mallopt.c: New file.
14998
0a982a29
RM
149992014-05-09 Roland McGrath <roland@hack.frob.com>
15000
15001 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
15002 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
15003
0ded08a5
AZ
150042014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15005
15006 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
15007 (tst-tlsmod6.so): Likewise.
15008
55d4d550
RM
150092014-05-09 Roland McGrath <roland@hack.frob.com>
15010
15011 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
15012
77d08aca
JM
150132014-05-09 Joseph Myers <joseph@codesourcery.com>
15014
15015 [BZ #16064]
15016 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
15017 and <dl-procinfo.h>.
15018 (__fegetenv): Save SSE state in envp->__eip if supported.
15019 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
15020 envp->__eip if supported.
15021 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
15022 and <dl-procinfo.h>.
15023 (__fesetenv): Always set __eip, __cs_selector, __opcode,
15024 __data_offset and __data_selector in environment to 0. Set SSE
15025 state if supported.
15026 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
15027 test-fenv-sse.
15028 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
15029 -mfpmath=sse.
15030 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
15031
28162f4d
WN
150322014-05-09 Will Newton <will.newton@linaro.org>
15033
15034 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
15035 and libc_relro_required for ARM.
15036 * sysdeps/arm/preconfigure: Regenerate.
15037
5a414ff7
DV
150382014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
15039 Stefan Liebler <stli@linux.vnet.ibm.com>
15040
15041 * config.make.in (enable-lock-elision): New Makefile variable.
15042 * configure.ac: Likewise.
15043 * configure: Regenerate.
15044 * sysdeps/s390/configure.ac:
15045 Add check for gcc transactions support.
15046 * sysdeps/s390/configure: Regenerate.
15047 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
15048 Build elision files if enabled.
15049 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
15050 Add lock elision support for s390.
15051 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
15052 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
15053 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
15054 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
15055 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
15056 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
15057 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
15058 Likewise.
15059 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
15060 Likewise.
15061 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
15062 Likewise.
15063 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
15064 Likewise.
15065 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
15066 (__lll_timedlock_elision, __lll_lock_elision)
15067 (__lll_unlock_elision, __lll_trylock_elision)
15068 (lll_timedlock_elision, lll_lock_elision)
15069 (lll_unlock_elision, lll_trylock_elision): Add.
15070 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
15071 (pthread_mutex_t): Add lock elision support for s390.
15072
1a2f40e5
W
150732014-05-14 Wilco <wdijkstr@arm.com>
15074
15075 * sysdeps/arm/fclrexcpt.c: Cleanup.
15076 * sysdeps/arm/fedisblxcpt.c: Cleanup.
15077 * sysdeps/arm/feenablxcpt.c: Cleanup.
15078 * sysdeps/arm/fegetenv.c: Cleanup.
15079 * sysdeps/arm/fegetexcept.c: Cleanup.
15080 * sysdeps/arm/fegetround.c: Cleanup.
15081 * sysdeps/arm/feholdexcpt.c: Cleanup.
15082 * sysdeps/arm/fesetenv.c: Cleanup.
15083 * sysdeps/arm/fesetround.c: Cleanup.
15084 * sysdeps/arm/feupdateenv.c: Cleanup.
15085 * sysdeps/arm/fgetexcptflg.c: Cleanup.
15086 * sysdeps/arm/fraiseexcpt.c: Cleanup.
15087 * sysdeps/arm/fsetexcptflg.c: Cleanup.
15088 * sysdeps/arm/ftestexcept.c: Cleanup.
15089 * sysdeps/arm/get-rounding-mode.h: Cleanup.
15090 * sysdeps/arm/setfpucw.c: Cleanup.
15091
f63c86fe
WN
150922014-05-09 Will Newton <will.newton@linaro.org>
15093
15094 * sysdeps/arm/armv7/strcmp.S: New file.
15095 * NEWS: Mention addition of ARMv7 optimized strcmp.
15096
7a1a51b5
RM
150972014-05-08 Roland McGrath <roland@hack.frob.com>
15098
95afbbe5
RM
15099 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
15100 look for %.ac rather than %.in.
15101
15102 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
15103 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
15104 * sysdeps/mach/hurd/configure: Regenerated.
15105 * sysdeps/unix/sysv/linux/configure: Regenerated.
15106
7a1a51b5
RM
15107 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
15108
5057ad3b
SE
151092014-05-07 Steve Ellcey <sellcey@mips.com>
15110
15111 [BZ# 16922]
15112 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
15113 (LONG_SUB): Ditto.
15114 (PTR_SUB): Ditto.
15115
8dc97517
AS
151162014-05-07 Andreas Schwab <schwab@suse.de>
15117
15118 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
15119 when skipping over non-matching result from nscd.
15120
ce0c5b8f
OB
151212014-05-07 Ondřej Bílka <neleai@seznam.cz>
15122
15123 [BZ #16876]
15124 * nptl/sockperf.c (client): Check socket return value.
8dc97517 15125
a1189263
OB
15126 [BZ #16877]
15127 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
15128 nscd security class.
ce0c5b8f 15129
0f58d252
RM
151302014-05-06 Roland McGrath <roland@hack.frob.com>
15131
15132 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
15133 * sysdeps/arm/unwind.h: ... here.
15134
83df9ad0
AJ
151352014-05-06 Aurelien Jarno <aurelien@aurel32.net>
15136
ce0c5b8f
OB
15137 [BZ# 16916]
15138 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
15139 Define.
83df9ad0 15140
f360f94a
VR
151412014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
15142
15143 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
15144 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
15145 multiarch strncpy for PPC64.
15146 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
15147 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
15148 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
15149 multiarch optimizations.
15150 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15151 (__libc_ifunc_impl_list): Likewise.
15152 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
15153 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
15154 multiarch stpncpy for PPC64.
15155 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
15156 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
15157
978a41c3
AS
151582014-05-06 Andreas Schwab <schwab@suse.de>
15159
15160 [BZ #16912]
15161 * gmon/mcount.c (_MCOUNT_DECL): Use
15162 atomic_compare_and_exchange_bool_acq instead of
15163 catomic_compare_and_exchange_bool_acq.
15164
eb1ed03d
RM
151652014-05-05 Roland McGrath <roland@hack.frob.com>
15166
fe658845
RM
15167 * elf/Makefile (others, install-bin): Remove pldd.
15168 (pldd-modules): Variable removed.
15169 ($(objpfx)pldd): Target removed.
15170 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
15171 (others, install-bin): Append pldd here.
15172 ($(objpfx)pldd): New target.
15173
eb1ed03d
RM
15174 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
15175 to 0, so the first #if test emitted later doesn't see it undefined.
15176 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
15177 * sysdeps/gnu/errlist.c: Regenerated.
15178
19c4bec0
AZ
151792014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15180
15181 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
15182 [libc_hidden_builtin_def]: Define to empty value.
15183 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
15184 [libc_hidden_builtin_def]: Likewise.
15185 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
15186 [libc_hidden_builtin_def]: Likewise.
15187 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
15188 [libc_hidden_builtin_def]: Likewise.
15189 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
15190 __redirect_memcpy and define ifunc as default hidden symbol.
15191 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
15192 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
15193
7776e669
AC
151942014-05-04 Adam Conrad <adconrad@0c3.net>
15195
15196 * locale/iso-4217.def: Reintroduce XDR currency.
15197
d69aeb12
AM
151982014-05-04 Allan McRae <allan@archlinux.org>
15199
15200 * po/eo.po: Update Esperanto translation from translation project.
15201
8f1df5cf
CD
152022014-05-02 Carlos O'Donell <carlos@redhat.com>
15203
15204 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
15205 and FEATURE_INDEX_MAX to 1.
15206 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
15207
13e402e7
SE
152082014-05-01 Steve Ellcey <sellcey@mips.com>
15209
15210 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
15211 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
15212 * iconvdata/big5.c (ONE_DIRECTION): Define.
15213 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
15214 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
15215 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
15216 * iconvdata/cp932.c (ONE_DIRECTION): Define.
15217 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
15218 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
15219 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
15220 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
15221 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
15222 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
15223 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
15224 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
15225 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
15226 * iconvdata/gbk.c (ONE_DIRECTION): Define.
15227 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
15228 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
15229 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
15230 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
15231 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
15232 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
15233 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
15234 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
15235 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
15236 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
15237 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
15238 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
15239 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
15240 * iconvdata/iso646.c (ONE_DIRECTION): Define.
15241 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
15242 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
15243 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
15244 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
15245 * iconvdata/johab.c (ONE_DIRECTION): Define.
15246 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
15247 * iconvdata/sjis.c (ONE_DIRECTION): Define.
15248 * iconvdata/t.61.c (ONE_DIRECTION): Define.
15249 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
15250 * iconvdata/tscii.c (ONE_DIRECTION): Define.
15251 * iconvdata/uhc.c (ONE_DIRECTION): Define.
15252 * iconvdata/unicode.c (ONE_DIRECTION): Define.
15253 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
15254 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
15255 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
15256
c727f032
RM
152572014-05-01 Roland McGrath <roland@hack.frob.com>
15258
8f2f08d0
RM
15259 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
15260 (_IO_JUMPS_OFFSET): Define to 0.
15261
c727f032
RM
15262 * nptl/sysdeps/pthread/bits/libc-lock.h
15263 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
15264 (__libc_lock_define_initialized_recursive): Always define using
15265 initializer. Modern compilers treat uninitialized (implicit zero) and
15266 explicit zero initializers the same (i.e. put the datum in bss).
15267
a849e800
AS
152682014-05-01 Andreas Schwab <schwab@linux-m68k.org>
15269
15270 * nscd/nscd-client.h: Include <string.h>.
15271
5331255b
DM
152722014-05-01 David S. Miller <davem@davemloft.net>
15273
15274 [BZ #16885]
15275 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
15276 multiple zero bytes exist at the end of a string.
15277 Reported by Aurelien Jarno <aurelien@aurel32.net>
15278
15279 * string/test-strcmp.c (check): Add explicit test for situations where
15280 there are multiple zero bytes after the first.
15281
4fdfe821
AS
152822014-05-01 Andreas Schwab <schwab@linux-m68k.org>
15283
15284 [BZ #16890]
15285 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
15286 when compiling wprintf.
15287 * stdio-common/tstdiomisc.c (t3): New function.
15288 (main): Call it.
15289
0cdddc25
SE
152902014-05-01 Steve Ellcey <sellcey@mips.com>
15291
15292 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
15293 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
15294 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
15295 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
15296
6426d77e
SE
152972014-05-01 Steve Ellcey <sellcey@mips.com>
15298
15299 * stdlib/longlong.h: Updated from GCC.
15300
6d96f5e4
WN
153012014-05-01 Will Newton <will.newton@linaro.org>
15302 Bernard Ogden <bernie.ogden@linaro.org>
15303
7470db0c
WN
15304 * NEWS: Update fixed bug list.
15305
6d96f5e4
WN
15306 [BZ #15119]
15307 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
15308
211d653c
DM
153092014-04-30 David S. Miller <davem@davemloft.net>
15310
4fa262fa
DM
15311 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
15312 (libc_feholdexcept_setround_sparc_ctx): New function.
15313 (libc_fesetenv_sparc_ctx): Likewise.
15314 (libc_feupdateenv_sparc_ctx): Likewise.
15315 (libc_feholdsetround_sparc_ctx): Likewise.
15316 (libc_feholdexcept_setround_ctx): Define.
15317 (libc_feholdexcept_setroundf_ctx): Likewise.
15318 (libc_feholdexcept_setroundl_ctx): Likewise.
15319 (libc_fesetenv_ctx): Likewise.
15320 (libc_fesetenvf_ctx): Likewise.
15321 (libc_fesetenvl_ctx): Likewise.
15322 (libc_feupdateenv_ctx): Likewise.
15323 (libc_feupdateenvf_ctx): Likewise.
15324 (libc_feupdateenvl_ctx): Likewise.
15325 (libc_feresetround_ctx): Likewise.
15326 (libc_feresetroundf_ctx): Likewise.
15327 (libc_feresetroundl_ctx): Likewise.
15328 (libc_feholdsetround_ctx): Likewise.
15329 (libc_feholdsetroundf_ctx): Likewise.
15330 (libc_feholdsetroundl_ctx): Likewise.
15331
1d3d93ef
DM
15332 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
15333 with __USE_GNU instead of XOPEN cpp guards.
15334
8aa583c3
DM
15335 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
15336 0.
15337
211d653c
DM
15338 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
15339 with XOPEN cpp guards.
15340
60c8f1f6
JB
153412014-04-30 Julian Brown <julian@codesourcery.com>
15342
15343 [BZ #16888]
15344 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
15345 handling.
15346
9a461d46
JM
153472014-04-30 Joseph Myers <joseph@codesourcery.com>
15348
d0f5b3f8
JM
15349 [BZ #9894]
15350 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
15351 Change to 2.6.32.
15352 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
15353 * sysdeps/unix/sysv/linux/configure: Regenerated.
15354 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
15355 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
15356 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
15357 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
15358 * README: Update reference to required Linux kernel version.
15359 * manual/install.texi (Linux): Update reference to required Linux
15360 kernel headers version.
15361 * INSTALL: Regenerated.
15362
9a461d46
JM
15363 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
15364 header inclusion.
15365 [POSIX] (limits.h): Likewise.
15366 [POSIX] (math.h): Likewise.
15367 [POSIX] (sys/wait.h): Likewise.
15368 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
15369 function.
15370 [POSIX] (stddef.h): Do not allow header inclusion.
15371
1775babf
AZ
153722014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15373
57f41c40 15374 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 15375
8f630cca
YY
153762014-04-30 Yang Yingliang <yangyingliang@huawei.com>
15377
15378 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
15379 Return immediately after lll_futex_wake.
15380
1cdeb237
SP
153812014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15382
bc8f194c
SP
15383 [BZ #16791]
15384 * nscd/nscd-client.h (datahead_init_common): Initialize entire
15385 structure.
15386 (datahead_init_pos): Call datahead_init_common early.
15387 (datahead_init_neg): Likewise.
15388
1cdeb237
SP
15389 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
15390 datahead_init_neg): New functions.
15391 * nscd/aicache.c (addhstaiX): Use them.
15392 * nscd/grpcache.c (cache_addgr): Likewise.
15393 * nscd/hstcache.c (cache_addhst): Likewise.
15394 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15395 * nscd/netgroupcache.c (do_notfound): Likewise.
15396 (addgetnetgrentX): Likewise.
15397 (addinnetgrX): Likewise.
15398 * nscd/pwdcache.c (cache_addpw): Likewise.
15399 * nscd/servicescache.c (cache_addserv): Likewise.
15400
16b293a7
SP
154012014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15402 Atsushi Onoe <atsushi@onoe.org>
15403
15404 [BZ #14308]
15405 [BZ #12994]
15406 [BZ #13651]
15407 * resolv/res_query.c (__libc_res_nsearch): Return if at least
15408 one response is valid.
15409 * resolv/res_send.c (send_dg): Check for validity of other
15410 response if the current response is a referral.
15411
a28a9b94
SE
154122014-04-29 Steve Ellcey <sellcey@mips.com>
15413
15414 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
15415
2ca180e9
SL
154162014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
15417
15418 [BZ #16823]
15419 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
15420 Always divide by positive zero when computing -Inf result.
15421 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
15422 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
15423
18f2945a
AZ
154242014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15425
15426 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
15427 FPSCR if value do not change.
15428 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
15429 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
15430 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
15431 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
15432 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
15433 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
15434 function.
15435
5abebba4
CD
154362014-05-29 Carlos O'Donell <carlos@systemhalted.org>
15437
15438 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
15439 * sysdeps/unix/sysv/linux/hppa: Move directory from
15440 ports/systeps/unix/sysv/linux/hppa.
15441 * README: Update listing for hppa-*-linux-gnu.
15442
f7ed60c2
OB
154432014-04-28 Ondřej Bílka <neleai@seznam.cz>
15444
fff763a5
OB
15445 [BZ #16754]
15446 * manual/stdio.texi (Hook functions): Fix types of stream hook
15447 functions.
f7ed60c2
OB
15448 [BZ #16854]
15449 * socket/sys/socket.h: Fix typo in comment.
15450
df639d73
WD
154512014-04-28 Wilco <wdijkstr@arm.com>
15452
f7ed60c2 15453 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
15454 * sysdeps/arm/math_private.h: New file.
15455 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
15456
48332d82
L
154572014-04-25 H.J. Lu <hongjiu.lu@intel.com>
15458
15459 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
15460 with __int128_t.
15461 (La_x86_64_retval): Likewise.
15462
e5e0d9a4
IB
154632014-04-24 Ian Bolton <ian.bolton@arm.com>
15464
15465 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
15466 fpsr if value didn't change.
15467 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
15468 to fpcr if value didn't change.
15469 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
15470 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
15471 fpsr or fpcr if value didn't change.
15472 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
15473 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
15474 fpcr if value didn't change.
15475 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
15476 to fpsr if value didn't change.
15477
bacc75f7
SP
154782014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
15479
15480 * nptl/tst-sem3.c: Use test-skeleton.c
15481 (main): Rename to do_test. Use return instead of
15482 exit.
15483 * nptl/tst-sem4.c: Use test-skeleton.c
15484 (main): Rename to do_test.
15485
a059d359
DM
154862014-04-22 David S. Miller <davem@davemloft.net>
15487
15488 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
15489 (struct sigaction): New struct member __glibc_reserved0, change
15490 type of sa_flags to int.
15491
ea6c92f3
YZ
154922014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
15493
15494 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
15495 (COUNT_LEADING_ZEROS_0): Define for AArch64.
15496
766c4a36
SP
154972014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15498
15499 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
15500 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
15501
140cc7ab
VK
155022014-04-22 Will Newton <will.newton@linaro.org>
15503 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
15504
15505 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
15506 (__longjmp): Add longjmp and longjmp_target SystemTap
15507 probes.
15508 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
15509 (__sigsetjmp): Add setjmp SystemTap probe.
15510
c54e5cf7
CD
155112014-04-17 Carlos O'Donell <carlos@redhat.com>
15512
15513 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
15514 match manual order.
15515
75ffb047
AZ
155162014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15517
15518 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
15519
2cd925f7
AZ
15520 * sysdeps/powerpc/fpu/fenv_private.h
15521 (libc_feholdexcept_setroundl_ctx): Define to
15522 libc_feholdexcept_setround_ppc_ctx.
15523 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
15524 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
15525 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
15526 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
15527
39e6cd8d
IB
155282014-04-17 Ian Bolton <ian.bolton@arm.com>
15529
15530 * sysdeps/aarch64/math-tests.h: New file.
15531
f9281df9
SY
155322014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
15533
15534 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
15535 New.
15536 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15537 Check and set bit_AVX2_Usable.
15538 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
15539 macro.
15540 (bit_AVX2): Likewise.
15541 (index_AVX2_Usable): Likewise.
15542 (CPUID_AVX2): Likewise.
15543 (HAS_AVX2): Likewise.
15544
37d35007
WN
155452014-04-17 Will Newton <will.newton@linaro.org>
15546
7c677662
WN
15547 * manual/setjmp.texi (System V contexts): Add note that
15548 calling setcontext on a context created by a call to a
15549 signal handler is undefined. Update text to note that
15550 setcontext from a signal handler is possible but not
15551 recommended.
15552
37d35007 15553 [BZ #16629]
e04a4e9d
WN
15554 * stdlib/tst-setcontext.c: Include signal.h.
15555 (main): Check that the signal stack before and
15556 after swapcontext is the same.
15557
37d35007
WN
15558 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
15559 Re-implement to restore registers in user code and avoid
15560 rt_sigreturn system call.
15561
423a7160
W
155622014-04-17 Wilco <wdijkstr@arm.com>
15563
15564 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
15565 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
15566 * math/test-fenv.c: Skip exception trap tests on targets which only
15567 support non-stop mode.
15568
bc93ab29
IB
155692014-04-17 Ian Bolton <ian.bolton@arm.com>
15570 Wilco Dijkstra <wilco.dijkstra@arm.com>
15571
15572 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
15573 (libc_feholdsetround_aarch64_ctx)
15574 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
15575 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
15576 (libc_feresetround_ctx, libc_feresetroundf_ctx)
15577 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
15578 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
15579 (libc_feresetround_noexl_ctx): Define.
15580
95fc5fa3
RH
155812014-04-16 Richard Henderson <rth@redhat.com>
15582
ddb04724
RH
15583 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
15584
d77c0899
RH
15585 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
15586 unwind tables.
15587
a3df56fc
RH
15588 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
15589 const from the non-libc, non-ldso copy.
15590
95fc5fa3
RH
15591 * sysdeps/alpha/libm-test-ulps: Regenerate.
15592
7e0b6763
IB
155932014-04-16 Ian Bolton <ian.bolton@arm.com>
15594 Wilco Dijkstra <wilco.dijkstra@arm.com>
15595
15596 * sysdeps/aarch64/fpu/math_private.h: New file.
15597
a9ea2e0c
MS
155982014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
15599
15600 * sysdeps/aarch64/libm-test-ulps: Regenerate.
15601
ea8ba7cd
IZ
156022014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
15603
7e54fd04 15604 [BZ #16275]
ea8ba7cd
IZ
15605 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
15606 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
15607 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
15608 Intel MPX bound registers before _dl_profile_fixup.
15609 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
15610 registers after _dl_profile_fixup. Save and restore bound
15611 registers bnd0/bnd1 when calling _dl_call_pltexit.
15612 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
15613 (LR_BND_OFFSET): Likewise.
15614 (LRV_BND0_OFFSET): Likewise.
15615 (LRV_BND1_OFFSET): Likewise.
15616
9f2a4fbc
ST
156172014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
15618
15619 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
15620 to...
15621 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
15622 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
15623 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
15624 fields.
9f2a4fbc 15625
fd15a59b
ST
156262014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
15627
15628 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
15629
f19dfa0a
SL
156302014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
15631
15632 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15633
4fa8bc3b
SL
156342014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
15635
15636 [BZ #14770]
15637 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
15638 * sysdeps/s390/configure: Regenerate.
15639
8ea587db
SL
15640 [BZ #16824]
15641 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
15642 Set round-to-nearest internally to reduce error accumulation.
15643
aa5f0ff1
AM
156442014-04-16 Alan Modra <amodra@gmail.com>
15645
15646 [BZ #16740]
15647 [BZ #16619]
15648 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
15649 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 15650 * NEWS: Update fixed bug list.
aa5f0ff1 15651
bb9c256f
SP
156522014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15653
15654 * benchtests/Makefile: Depend on libraries in build directory.
15655 (bench-math): Separate out math tests.
15656 (bench-pthread): Separate out pthread tests.
15657 (bench): Include math and pthread tests.
15658
f737dfd0
CD
156592014-04-14 Carlos O'Donell <carlos@redhat.com>
15660
15661 [BZ #16831]
15662 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
15663 _dl_debug_initialize.
15664
0699f766
CD
15665 * configure.ac: Remove SELinux header check.
15666 * configure: Regenerate.
15667 * nscd/selinux.c (perms): Array of const char* to permission names.
15668 (nscd_request_avc_has_perm): Call security_deny_unknown to find
15669 default policy. Call string_to_security_class and string_to_av_perm to
15670 translate strings. Enforce default policy and call avs_has_perm with
15671 results of translated strings.
15672
809bd45f
DM
156732014-04-13 David S. Miller <davem@davemloft.net>
15674
15675 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15676
89e691f2
AM
156772014-04-12 Allan McRae <allan@archlinux.org>
15678
15679 [BZ #16838]
15680 * manual/string.texi (Collation Functions): Fix qsort argument
15681 order in example.
15682 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
15683
9c9daaeb
CM
156842014-04-11 Chris Metcalf <cmetcalf@tilera.com>
15685
15686 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
15687 Make the test a no-op if there are no exceptions defined.
15688
95561fb9
PP
156892014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
15690
fe8d072c 15691 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
15692 enable-hardcoded-path-in-tests
15693
970c602a
WN
156942014-04-11 Will Newton <will.newton@linaro.org>
15695
15696 * benchtests/Makefile (extra-objs): Add json-lib.o.
15697 (bench-func): Tidy up JSON output.
15698 * benchtests/bench-skeleton.c: Include json-lib.h.
15699 (main): Use JSON library functions to do output of
15700 benchmark results.
15701 * benchtests/bench-timing-type.c (main): Output the
15702 timing type simply, leaving formatting to the user.
15703 * benchtests/json-lib.c: New file.
15704 * benchtests/json-lib.h: Likewise.
15705
36875b06
TR
157062014-04-11 Torvald Riegel <triegel@redhat.com>
15707
15708 [BZ #15215]
15709 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
15710 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
15711 memory barriers. Add comments.
15712 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
15713 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
15714 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
15715 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
15716 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
15717 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
15718
579db35a
SL
157192014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
15720
15721 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
15722 * sysdeps/s390/s390-64/configure.ac: ... this ...
15723 * sysdeps/s390/configure.ac: ... to here.
15724 * sysdeps/s390/s390-32/configure: Delete file.
15725 * sysdeps/s390/s390-64/configure: Delete file.
15726 * sysdeps/s390/configure: Regenerate.
15727
c12e9f37
JAPH
157282014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
15729
15730 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
15731
439bda32
WN
157322014-04-11 Will Newton <will.newton@linaro.org>
15733
15734 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
15735 to zero if it is not defined elsewhere. (mtrim): Test
15736 the value of MALLOC_DEBUG with #if rather than #ifdef.
15737
6a5d6ea1
TR
157382014-04-10 Torvald Riegel <triegel@redhat.com>
15739
15740 * benchtests/pthread_once-inputs: New file.
15741 * benchtests/pthread_once-source.c: New file.
15742 * benchtests/README: Update documentation.
15743
a4c75cfd
IZ
157442014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
15745 H.J. Lu <hongjiu.lu@intel.com>
15746
7e54fd04 15747 [BZ #16275]
a4c75cfd
IZ
15748 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
15749 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
15750 * sysdeps/x86_64/configure: Regenerated.
15751 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
15752 macro.
15753 (REGISTER_SAVE_RAX): Likewise.
15754 (REGISTER_SAVE_RCX): Likewise.
15755 (REGISTER_SAVE_RDX): Likewise.
15756 (REGISTER_SAVE_RSI): Likewise.
15757 (REGISTER_SAVE_RDI): Likewise.
15758 (REGISTER_SAVE_R8): Likewise.
15759 (REGISTER_SAVE_R9): Likewise.
15760 (REGISTER_SAVE_BND0): Likewise.
15761 (REGISTER_SAVE_BND1): Likewise.
15762 (REGISTER_SAVE_BND2): Likewise.
15763 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
15764 bound registers when calling _dl_fixup.
15765
27822ce6
AZ
157662014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15767
15768 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
15769 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
15770 of its definition.
27822ce6
AZ
15771 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
15772 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
15773 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
15774 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
15775 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
15776 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
15777 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
15778
a88ddc90
PTB
157792014-04-09 Peter Brett <peter@peter-b.co.uk>
15780
15781 [BZ #15514]
15782 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
15783 pathconf(_PC_NAME_MAX).
15784
01f8eac2
AZ
157852014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15786
15787 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
15788 Remove macro usage.
15789 (__PTHREAD_SPINS): Move definition to ...
15790 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
15791 (__PTHREAD_SPINS): ... here.
15792 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
15793 (__PTHREAD_SPIN): Likewise.
15794 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
15795 (__PTHREAD_SPIN): Likewise.
15796 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
15797 (__PTHREAD_SPIN): Likewise.
15798 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
15799 (__PTHREAD_SPIN): Likewise.
15800 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
15801 (__PTHREAD_SPIN): Likewise.
15802 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
15803 (__PTHREAD_SPIN): Likewise.
15804 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
15805 (__PTHREAD_SPIN): Likewise.
15806 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
15807 (__PTHREAD_SPIN): Likewise.
15808 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
15809 (__PTHREAD_SPIN): Likewise.
15810 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
15811 (__PTHREAD_SPIN): Likewise.
15812 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
15813 (__PTHREAD_SPIN): Likewise.
15814 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
15815 (__PTHREAD_SPIN): Likewise.
15816
de21c33c
AZ
15817 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
15818 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
15819 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
15820 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
15821 imply folder.
15822 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
15823 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
15824 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
15825 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
15826 correct imply path.
15827 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
15828 strlen symbol for non multi-arch builds.
15829 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
15830 missing hidden_def and weak_alias.
15831
862c472e
CD
158322014-04-08 Carlos O'Donell <carlos@redhat.com>
15833
15834 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
15835
8667f90e
WN
158362014-04-07 Will Newton <will.newton@linaro.org>
15837
15838 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
15839 and contents. [!_LIBC] Remove #ifndef and contents.
15840 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
15841 * string/memccpy.c (__memccpy): Use ANSI prototype.
15842 * string/memfrob.c (memfrob): Likewise.
15843 * string/strcoll.c (STRCOLL): Likewise.
15844 * string/strlen.c (strlen): Likewise.
15845 * string/strtok.c (STRTOK): Likewise.
15846 * string/strcat.c: Remove unused #include of memcopy.h.
15847 (strcat): Use ANSI prototype.
15848 * string/strchr.c: Remove unused #include of memcopy.h.
15849 (strchr): Use ANSI prototype.
15850 * string/strcmp.c: Remove unused #include of memcopy.h.
15851 (strcmp): Use ANSI prototype.
15852 * string/strcpy.c: Remove unused #include of memcopy.h.
15853 (strcpy): Use ANSI prototype.
15854
7ffa9423
AZ
158552014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15856
15857 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
15858 * config.make.in (config-extra-cppflags): Set it from
15859 libc_extra_cppflags.
15860 * configure.ac (libc_extra_cflags): Make it accumulate over
15861 configure fragments.
15862 (libc_extra_cppflags): New flag.
15863 * configure. Regenerate.
15864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
15865 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
15866 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
15867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
15868
8bd70862
AZ
15869 [BZ #16815]
15870 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
15871 result for FE_DOWNWARD rounding mode.
15872 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
15873 Likewise.
15874 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15875
d42f3448
CM
158762014-04-04 Chris Metcalf <cmetcalf@tilera.com>
15877
15878 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
15879 in function argument name.
15880
1c21d115
DS
158812014-04-03 David Svoboda <svoboda@cert.org>
15882
15883 [BZ #5666]
15884 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
15885 explicitly.
15886
fcccd512
RM
158872014-04-03 Roland McGrath <roland@hack.frob.com>
15888
15889 * elf/dl-unmap-segments.h: New file.
15890 * sysdeps/generic/ldsodefs.h
15891 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
15892 * elf/dl-close.c: Include <dl-unmap-segments.h>.
15893 * elf/dl-fptr.c: Likewise.
15894 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
15895 * sysdeps/aarch64/tlsdesc.c: Likewise.
15896 * sysdeps/arm/tlsdesc.c: Likewise.
15897 * sysdeps/i386/tlsdesc.c: Likewise.
15898 * sysdeps/tile/dl-runtime.c: Likewise.
15899 * sysdeps/x86_64/tlsdesc.c: Likewise.
15900 * elf/dl-load.h: New file.
15901 * elf/dl-load.c: Include it.
15902 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
15903 Macros moved to dl-load.h.
15904 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
15905 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
15906 Use _dl_unmap_segments in place of __munmap.
15907 Break out segment-mapping loop into ...
15908 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
15909
f6488e2b
WN
159102014-04-03 Will Newton <will.newton@linaro.org>
15911
15912 * elf/dl-lookup.c (do_lookup_x): Remove comment
15913 referring to nested function and move variable
15914 declarations down to before first use.
15915
6f05bafe
JM
159162014-04-02 Joseph Myers <joseph@codesourcery.com>
15917
a84e78c8
JM
15918 [BZ #16799]
15919 [BZ #16800]
15920 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
15921 with 0 numerator.
15922 * math/s_catanf.c (__catanf): Likewise.
15923 * math/s_catanh.c (__catanh): Likewise.
15924 * math/s_catanhf.c (__catanhf): Likewise.
15925 * math/s_catanhl.c (__catanhl): Likewise.
15926 * math/s_catanl.c (__catanl): Likewise.
15927 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
15928 by positive zero when computing -Inf result.
15929 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
15930 (catanh_test): Likewise.
15931 * sysdeps/i386/fpu/libm-test-ulps: Update.
15932 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15933
6f05bafe
JM
15934 [BZ #16789]
15935 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
15936 instead of using underflowing value in computing result.
15937 * math/s_clog10.c (__clog10): Likewise.
15938 * math/s_clog10f.c (__clog10f): Likewise.
15939 * math/s_clog10l.c (__clog10l): Likewise.
15940 * math/s_clogf.c (__clogf): Likewise.
15941 * math/s_clogl.c (__clogl): Likewise.
15942 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
15943 (clog10_test): Likewise.
15944 * sysdeps/i386/fpu/libm-test-ulps: Update.
15945 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15946
b0abbc21
AM
159472014-04-02 Alan Modra <amodra@gmail.com>
15948
15949 [BZ #16739]
15950 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
15951 output when value is near a power of two. Use int64_t for lx and
15952 remove casts. Use decimal rather than hex exponent constants.
15953 Don't use long double multiplication when double will suffice.
15954 * math/libm-test.inc (nextafter_test_data): Add tests.
15955 * NEWS: Add 16739 and 16786 to bug list.
15956
af6b1797
AM
15957 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
15958
483818d7
AM
15959 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
15960
f6c55796
WN
159612014-04-01 Will Newton <will.newton@linaro.org>
15962
15963 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
15964 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
15965
13f7fe35
FW
159662014-04-01 Florian Weimer <fweimer@redhat.com>
15967
15968 [BZ #13347]
15969 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
15970 * nptl/tst-setuid2.c: New file.
15971 * nptl/Makefile (xtests): Add tst-setuid2.
15972
c859b32e
AM
159732014-04-01 Alan Modra <amodra@gmail.com>
15974
15975 [BZ #16786]
15976 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
15977
54fa2475
JM
159782014-03-31 Joseph Myers <joseph@codesourcery.com>
15979
8795b4a4
JM
15980 [BZ #6803]
15981 [BZ #6804]
15982 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
15983 set errno as appropriate.
15984 * math/w_scalbf.c (__scalbf): Likewise.
15985 * math/w_scalbl.c (__scalbl): Likewise.
15986 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
15987 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
15988 * math/libm-test.inc (scalb_test_data): Add errno expectations.
15989 Add more NaN tests.
15990
54fa2475
JM
15991 [BZ #16349]
15992 * math/w_atan2.c: Include <errno.h>.
15993 (__atan2): Set errno for result underflowing to zero.
15994 * math/w_atan2f.c: Include <errno.h>.
15995 (__atan2f): Set errno for result underflowing to zero.
15996 * math/w_atan2l.c: Include <errno.h>.
15997 (__atan2l): Set errno for result underflowing to zero.
15998 * math/auto-libm-test-in: Don't allow missing errno for some atan2
15999 tests.
16000 * math/auto-libm-test-out: Regenerated.
16001
757d9dd5
AZ
160022014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16003
16004 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
16005 Encode instruction correctly in little endian.
16006 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
16007 Likewise.
16008 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
16009 Likewise.
16010 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
16011 Likewise.
16012 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
16013 Likewise.
16014
d7a68734
JM
160152014-03-31 Joseph Myers <joseph@codesourcery.com>
16016
47c5adeb
JM
16017 [BZ #9894]
16018 * sysdeps/unix/sysv/linux/kernel-features.h
16019 [__sparc__ && !__arch64__ && !__sparc_v9__]
16020 (__ASSUME_SET_ROBUST_LIST): Do not define.
16021 [__sparc__ && !__arch64__ && !__sparc_v9__]
16022 (__ASSUME_FUTEX_LOCK_PI): Likewise.
16023 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
16024 Likewise.
16025 * sysdeps/unix/sysv/linux/arm/kernel-features.h
16026 (__ASSUME_FUTEX_LOCK_PI): Undefine.
16027 (__ASSUME_REQUEUE_PI): Likewise.
16028 (__ASSUME_SET_ROBUST_LIST): Likewise.
16029 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
16030 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
16031 Undefine.
16032 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16033 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
16034 Likewise.
16035 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
16036 Likewise.
16037 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
16038 Likewise.
16039 * sysdeps/unix/sysv/linux/mips/kernel-features.h
16040 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
16041 Undefine.
16042 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
16043 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
16044 Likewise.
16045
d7a68734
JM
16046 [BZ #16648]
16047 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16048 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
16049 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
16050
c760f5c2
WN
160512014-03-31 Will Newton <will.newton@linaro.org>
16052
16053 * benchtests/Makefile (bench): Add ffs and ffsll to list
16054 of tests.
16055 * benchtests/ffs-inputs: New file.
16056 * benchtests/ffsll-inputs: Likewise.
16057
ea6029b1
JM
160582014-03-29 Joseph Myers <joseph@codesourcery.com>
16059
16060 [BZ #16770]
16061 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
16062 too large before casting to int.
16063 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
16064 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
16065 * math/libm-test.inc (scalb_test_data): Add more tests.
16066
cf806aff
SP
160672014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16068
56737508
SP
16069 * benchtests/Makefile (DETAILED_OPT): New make option.
16070 (bench-func): Run benchmark program with -d if DETAILED_OPT is
16071 set.
16072 * benchtests/bench-skeleton.c: Include stdbool.h.
16073 (main): Store and print timings per input.
16074 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
16075 member to each argument value.
16076 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
16077 (_print_arg_data): Initialize per-input timing to 0.
16078
cb5e4aad
SP
16079 * benchtests/Makefile (timing-type): New binary.
16080 (bench-clean): Also remove bench-timing-type.
16081 (bench): New target for timing-type.
16082 (bench-func): Print output in JSON format.
16083 * benchtests/bench-skeleton.c (main): Print output in JSON
16084 format.
16085 * benchtests/bench-timing-type.c: New file.
16086 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
16087 (TIMING_PRINT_STATS): Remove.
16088 * benchtests/scripts/bench.py (_print_arg_data): Store variant
16089 name separately.
16090
cf806aff
SP
16091 * benchtests/bench-modf.c: Remove.
16092 * benchtests/modf-inputs: New inputs file.
16093
289e0779
JM
160942014-03-28 Joseph Myers <joseph@codesourcery.com>
16095
16096 [BZ #16362]
16097 * math/s_clog10.c (M_PI_LOG10E): New macro.
16098 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
16099 imaginary parts are 0.
16100 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
16101 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
16102 imaginary parts are 0.
16103 * math/s_clog10l.c (M_PI_LOG10El): New macro.
16104 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
16105 imaginary parts are 0.
16106 * math/libm-test.inc (clog10_test_data): Update expected results
16107 for when real and imaginary parts are 0.
16108
277ae3f1
PP
161092014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
16110
16111 * elf/dl-load.c: Finish conversion of __builtin_expect into
16112 __glibc_{un}likely.
16113
03a7091f
JM
161142014-03-27 Joseph Myers <joseph@codesourcery.com>
16115
16116 [BZ #16348]
16117 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
16118 1+x for argument with exponent below -67.
16119 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
16120 Likewise.
16121 * math/auto-libm-test-in: Add more tests of exp.
16122 * math/auto-libm-test-out: Regenerated.
16123
ea7d8b95
SP
161242014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16125
dd3022d7
SP
16126 [BZ #16759]
16127 * inet/getnetgrent_r.c (get_nonempty_val): New function.
16128 (nscd_getnetgrent): Use it.
16129
ea7d8b95
SP
16130 [BZ #16760]
16131 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
16132 of stpcpy.
16133
df5b85da
AK
161342014-03-27 Andi Kleen <ak@linux.intel.com>
16135
57f41c40
AS
16136 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
16137 (lll_robust_lock, lll_cond_lock, lll_timedlock)
16138 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
16139 (lll_robust_unlock): Remove out of line section. Use cfi
16140 intrinsics.
df5b85da 16141 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
16142 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
16143 (lll_robust_lock, lll_cond_lock, lll_timedlock)
16144 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
16145 (lll_robust_unlock): Remove out of line section. Use cfi
16146 intrinsics.
df5b85da
AK
16147 (LLL_STUB_UNWIND_INFO*): Remove.
16148
fbd6b5a4
SP
161492014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16150
16151 [BZ #16758]
16152 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
16153 blank values.
16154
1b26b855
PP
161552014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
16156
16157 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
16158
9be36fb8
JM
161592014-03-26 Joseph Myers <joseph@codesourcery.com>
16160
16161 [BZ #16198]
16162 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
16163 fnstenv.
16164 * math/test-fenv-preserve.c: New file.
16165 * math/Makefile (tests): Add test-fenv-preserve.
16166
60a2f3c1
WN
161672014-03-26 Will Newton <will.newton@linaro.org>
16168
16169 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
16170
a5e5f1e2
RM
161712014-03-25 Roland McGrath <roland@hack.frob.com>
16172
16173 * scripts/versionlist.awk: Partition the version sets and emit all
16174 GLIBC_* (sorted) before all others (sorted).
16175
00f4012a
JM
161762014-03-25 Joseph Myers <joseph@codesourcery.com>
16177
16178 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
16179 GLIBC_2.2.5 version.
16180
7bc5a741
AZ
161812014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16182
16183 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
16184 calls.
16185
7578473b
AZ
16186 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
16187 previous change.
16188
f3f1dab3
AZ
16189 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16190
6da36183
AS
161912014-03-25 Andreas Schwab <schwab@suse.de>
16192
16193 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
16194 label to be used after in6ailist is initialized.
16195
f3f1dab3 161962014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 16197
7578473b 16198 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
16199 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
16200
046651c1
JM
162012014-03-25 Joseph Myers <joseph@codesourcery.com>
16202
16203 [BZ #16357]
16204 [BZ #16599]
16205 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
16206 min_plus_half.
16207 (fp_formats): Update initializers.
16208 (init_fp_formats): Initialize new field.
16209 (output_for_one_input_case): Allow underflow for results up to
16210 min_plus_half.
16211 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
16212 * math/auto-libm-test-in: Don't mark some underflows from asin and
16213 atanh as spurious.
16214 * math/auto-libm-test-out: Regenerated.
16215 * sysdeps/i386/fpu/libm-test-ulps: Update.
16216 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16217
003e49ed
AS
162182014-03-25 Andreas Schwab <schwab@suse.de>
16219
16220 * libio/Makefile (tst-ftell-partial-wide-ENV)
16221 (tst-ftell-active-handler-ENV): Define.
16222
de031874
SL
162232014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
16224
16225 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
16226
55a81e3b
PP
162272014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
16228
16229 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
16230
f3426898
JM
162312014-03-24 Joseph Myers <joseph@codesourcery.com>
16232
16233 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
16234 * sysdeps/x86_64/fpu/multiarch/e_exp.c
16235 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
16236
a42faf59
PP
162372014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
16238
16239 [BZ #16634]
a42faf59 16240 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
16241 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
16242 (open_path): Change from boolean 'secure' to complete flag 'mode'
16243 (_dl_map_object): Adjust.
a42faf59
PP
16244 * elf/Makefile (tests): Add tst-dlopen-aout.
16245 * elf/tst-dlopen-aout.c: New test.
16246
50936127
SL
162472014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
16248
16249 [BZ #16714]
16250 * sysdeps/unix/sysv/linux/s390/bits/stat.h
16251 (struct stat): Rename member pad0 to __glibc_reserved0.
16252
26011b5c
SL
16253 [BZ #16712]
16254 * sysdeps/s390/s390-32/bits/wordsize.h
16255 (__WORDSIZE32_SIZE_ULONG): New define.
16256 * sysdeps/s390/s390-64/bits/wordsize.h
16257 (__WORDSIZE32_SIZE_ULONG): Likewise.
16258 * sysdeps/generic/stdint.h (SIZE_MAX):
16259 Define as UL if __WORDSIZE32_SIZE_ULONG.
16260
a2d86bf1
SL
16261 [BZ #16713]
16262 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
16263 (__glibc_reserved0): New variable.
16264 (sa_flags): Change type to int.
16265
78b6eebc
SL
16266 * posix/Makefile (before-compile): Use += before-compile instead
16267 of a :=.
16268
f1399b5a
SL
16269 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
16270 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
16271
a071766e
AS
162722014-03-20 Andreas Schwab <schwab@suse.de>
16273
16274 [BZ #16743]
16275 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
16276 non-matching result from nscd.
16277
27c673b8
SP
162782014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
16279
16280 * scripts/bench.py: Moved to ...
16281 * benchtests/scripts/bench.py: ... here.
16282 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
16283
44152e4b
AS
162842014-03-24 Andreas Schwab <schwab@suse.de>
16285
16286 [BZ #16002]
16287 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
16288 alloca_account and account alloca use for struct in6ailist.
16289
b376a11a
JM
162902014-03-24 Joseph Myers <joseph@codesourcery.com>
16291
16292 [BZ #16284]
16293 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
16294 rounding mode to recompute results that overflow to infinity or
16295 underflow to zero.
16296 * math/auto-libm-test-in: Don't mark tests as expected to fail for
16297 bug 16284.
16298 * math/auto-libm-test-out: Regenerated.
16299 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
16300 (ccosh_test): Likewise.
16301 (csin_test_data): Use plus_oflow.
16302 (csin_test): Use ALL_RM_TEST.
16303 (csinh_test_data): Use plus_oflow.
16304 (csinh_test): Use ALL_RM_TEST.
16305 * sysdeps/i386/fpu/libm-test-ulps: Update.
16306 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16307
f7be7376
JM
163082014-03-21 Joseph Myers <joseph@codesourcery.com>
16309
1ca2d03e
JM
16310 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
16311 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
16312 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
16313
f7be7376
JM
16314 [BZ #16731]
16315 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
16316 when x - 1 is zero.
16317 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
16318 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
16319 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
16320 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
16321 argument is 1.
16322 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
16323 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
16324 zero.
16325 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
16326 * sysdeps/i386/fpu/libm-test-ulps: Update.
16327 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16328
fdf4534d
SP
163292014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16330
df26ea53
SP
16331 * scripts/bench.pl: Remove file.
16332 * scripts/bench.py: New benchmark script.
16333 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
16334 * benchtests/README: Mention python dependency.
16335 * scripts/pylintrc: New file.
16336 * scripts/pylint: New file.
16337
fdf4534d
SP
16338 * bits/mathdef.h: Use #ifdef instead of #if.
16339 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
16340 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
16341 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
16342 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
16343 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
16344 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
16345
6f23d093
AZ
163462014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16347 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
16348
16349 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
16350 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
16351 and strpbrk-ppc64 objects.
16352 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16353 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
16354 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
16355 multiarch strpbrk for POWER7.
16356 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
16357 multiarch strpbrk for PPC64.
16358 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
16359 ifunc selector.
16360 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
16361 strpbrk for POWER7.
16362
8c92dfff
JM
163632014-03-20 Joseph Myers <joseph@codesourcery.com>
16364
16365 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
16366 (atan_test): Likewise.
16367 (atanh_test_data): Use NO_TEST_INLINE for two tests.
16368 (atanh_test): Use ALL_RM_TEST.
16369 (atan2_test_data): Likewise.
16370 (cabs_test): Likewise.
16371 (cacosh_test): Likewise.
16372 (carg_test): Likewise.
16373 (casin_test): Likewise.
16374 (casinh_test): Likewise.
16375 (cbrt_test): Likewise.
16376 (csqrt_test): Likewise.
16377 (erf_test): Likewise.
16378 (erfc_test): Likewise.
16379 (pow10_test): Likewise.
16380 (exp2_test): Likewise.
16381 (hypot_test): Likewise.
16382 (j0_test): Likewise.
16383 (j1_test): Likewise.
16384 (lgamma_test): Likewise.
16385 (gamma_test): Likewise.
16386 (sincos_test): Likewise.
16387 (tanh_test): Likewise.
16388 (y0_test): Likewise.
16389 (y1_test): Likewise.
16390 * sysdeps/i386/fpu/libm-test-ulps: Update.
16391 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16392
6eaf95cb
AZ
163932014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16394
a387428c
SP
16395 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
16396 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
16397 and strcspn-ppc64 objects.
16398 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16399 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
16400 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
16401 multiarch strcspn for POWER7.
16402 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
16403 multiarch strcspn for PPC64.
16404 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
16405 ifunc selector.
16406 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
16407 strcspn for POWER7.
16408
ae3a5dff
JM
164092014-03-20 Joseph Myers <joseph@codesourcery.com>
16410
16411 * math/gen-libm-test.pl (generate_testfile): Expect only function
16412 name as argument to AUTO_TESTS_* and pass results for all rounding
16413 modes to parse_args.
16414 (parse_auto_input): Separate inputs of automatic tests from
16415 outputs before storing in %auto_tests.
16416 * math/libm-test.inc (acos_test_data): Update call to
16417 AUTO_TESTS_f_f.
16418 (acos_test): Use ALL_RM_TEST.
16419 (acos_tonearest_test_data): Remove.
16420 (acos_test_tonearest): Likewise.
16421 (acos_towardzero_test_data): Likewise.
16422 (acos_test_towardzero): Likewise.
16423 (acos_downward_test_data): Likewise.
16424 (acos_test_downward): Likewise.
16425 (acos_upward_test_data): Likewise.
16426 (acos_test_upward): Likewise.
16427 (acosh_test_data): Update call to AUTO_TESTS_f_f.
16428 (asin_test_data): Likewise.
16429 (asin_test): Use ALL_RM_TEST.
16430 (asin_tonearest_test_data): Remove.
16431 (asin_test_tonearest): Likewise.
16432 (asin_towardzero_test_data): Likewise.
16433 (asin_test_towardzero): Likewise.
16434 (asin_downward_test_data): Likewise.
16435 (asin_test_downward): Likewise.
16436 (asin_upward_test_data): Likewise.
16437 (asin_test_upward): Likewise.
16438 (asinh_test_data): Update call to AUTO_TESTS_f_f.
16439 (atan_test_data): Likewise.
16440 (atanh_test_data): Likewise.
16441 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
16442 (cabs_test_data): Update call to AUTO_TESTS_c_f.
16443 (carg_test_data): Likewise.
16444 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
16445 (ccos_test_data): Update call to AUTO_TESTS_c_c.
16446 (ccosh_test_data): Likewise.
16447 (cexp_test_data): Likewise.
16448 (clog_test_data): Likewise.
16449 (clog10_test_data): Likewise.
16450 (cos_test_data): Update call to AUTO_TESTS_f_f.
16451 (cos_test): Use ALL_RM_TEST.
16452 (cos_tonearest_test_data): Remove.
16453 (cos_test_tonearest): Likewise.
16454 (cos_towardzero_test_data): Likewise.
16455 (cos_test_towardzero): Likewise.
16456 (cos_downward_test_data): Likewise.
16457 (cos_test_downward): Likewise.
16458 (cos_upward_test_data): Likewise.
16459 (cos_test_upward): Likewise.
16460 (cosh_test_data): Update call to AUTO_TESTS_f_f.
16461 (cosh_test): Use ALL_RM_TEST.
16462 (cosh_tonearest_test_data): Remove.
16463 (cosh_test_tonearest): Likewise.
16464 (cosh_towardzero_test_data): Likewise.
16465 (cosh_test_towardzero): Likewise.
16466 (cosh_downward_test_data): Likewise.
16467 (cosh_test_downward): Likewise.
16468 (cosh_upward_test_data): Likewise.
16469 (cosh_test_upward): Likewise.
16470 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
16471 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
16472 (ctan_test_data): Likewise.
16473 (ctan_test): Use ALL_RM_TEST.
16474 (ctan_tonearest_test_data): Remove.
16475 (ctan_test_tonearest): Likewise.
16476 (ctan_towardzero_test_data): Likewise.
16477 (ctan_test_towardzero): Likewise.
16478 (ctan_downward_test_data): Likewise.
16479 (ctan_test_downward): Likewise.
16480 (ctan_upward_test_data): Likewise.
16481 (ctan_test_upward): Likewise.
16482 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
16483 (ctanh_test): Use ALL_RM_TEST.
16484 (ctanh_tonearest_test_data): Remove.
16485 (ctanh_test_tonearest): Likewise.
16486 (ctanh_towardzero_test_data): Likewise.
16487 (ctanh_test_towardzero): Likewise.
16488 (ctanh_downward_test_data): Likewise.
16489 (ctanh_test_downward): Likewise.
16490 (ctanh_upward_test_data): Likewise.
16491 (ctanh_test_upward): Likewise.
16492 (erf_test_data): Update call to AUTO_TESTS_f_f.
16493 (erfc_test_data): Likewise.
16494 (exp_test_data): Likewise.
16495 (exp_test): Use ALL_RM_TEST.
16496 (exp_tonearest_test_data): Remove.
16497 (exp_test_tonearest): Likewise.
16498 (exp_towardzero_test_data): Likewise.
16499 (exp_test_towardzero): Likewise.
16500 (exp_downward_test_data): Likewise.
16501 (exp_test_downward): Likewise.
16502 (exp_upward_test_data): Likewise.
16503 (exp_test_upward): Likewise.
16504 (exp10_test_data): Update call to AUTO_TESTS_f_f.
16505 (exp10_test): Use ALL_RM_TEST.
16506 (exp10_tonearest_test_data): Remove.
16507 (exp10_test_tonearest): Likewise.
16508 (exp10_towardzero_test_data): Likewise.
16509 (exp10_test_towardzero): Likewise.
16510 (exp10_downward_test_data): Likewise.
16511 (exp10_test_downward): Likewise.
16512 (exp10_upward_test_data): Likewise.
16513 (exp10_test_upward): Likewise.
16514 (exp2_test_data): Update call to AUTO_TESTS_f_f.
16515 (expm1_test_data): Likewise.
16516 (expm1_test): Use ALL_RM_TEST.
16517 (expm1_tonearest_test_data): Remove.
16518 (expm1_test_tonearest): Likewise.
16519 (expm1_towardzero_test_data): Likewise.
16520 (expm1_test_towardzero): Likewise.
16521 (expm1_downward_test_data): Likewise.
16522 (expm1_test_downward): Likewise.
16523 (expm1_upward_test_data): Likewise.
16524 (expm1_test_upward): Likewise.
16525 (fma_test_data): Update call to AUTO_TESTS_fff_f.
16526 (fma_test): Use ALL_RM_TEST.
16527 (fma_towardzero_test_data): Remove.
16528 (fma_test_towardzero): Likewise.
16529 (fma_downward_test_data): Likewise.
16530 (fma_test_downward): Likewise.
16531 (fma_upward_test_data): Likewise.
16532 (fma_test_upward): Likewise.
16533 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
16534 (j0_test_data): Update call to AUTO_TESTS_f_f.
16535 (j1_test_data): Likewise.
16536 (jn_test_data): Update call to AUTO_TESTS_if_f.
16537 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
16538 (log_test_data): Update call to AUTO_TESTS_f_f.
16539 (log10_test_data): Likewise.
16540 (log1p_test_data): Likewise.
16541 (log2_test_data): Likewise.
16542 (pow_test_data): Update call to AUTO_TESTS_ff_f.
16543 (pow_tonearest_test_data): Likewise.
16544 (sin_test_data): Update call to AUTO_TESTS_f_f.
16545 (sin_test): Use ALL_RM_TEST.
16546 (sin_tonearest_test_data): Remove.
16547 (sin_test_tonearest): Likewise.
16548 (sin_towardzero_test_data): Likewise.
16549 (sin_test_towardzero): Likewise.
16550 (sin_downward_test_data): Likewise.
16551 (sin_test_downward): Likewise.
16552 (sin_upward_test_data): Likewise.
16553 (sin_test_upward): Likewise.
16554 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
16555 (sinh_test_data): Update call to AUTO_TESTS_f_f.
16556 (sinh_test): Use ALL_RM_TEST.
16557 (sinh_tonearest_test_data): Remove.
16558 (sinh_test_tonearest): Likewise.
16559 (sinh_towardzero_test_data): Likewise.
16560 (sinh_test_towardzero): Likewise.
16561 (sinh_downward_test_data): Likewise.
16562 (sinh_test_downward): Likewise.
16563 (sinh_upward_test_data): Likewise.
16564 (sinh_test_upward): Likewise.
16565 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
16566 (sqrt_test): Use ALL_RM_TEST.
16567 (sqrt_tonearest_test_data): Remove.
16568 (sqrt_test_tonearest): Likewise.
16569 (sqrt_towardzero_test_data): Likewise.
16570 (sqrt_test_towardzero): Likewise.
16571 (sqrt_downward_test_data): Likewise.
16572 (sqrt_test_downward): Likewise.
16573 (sqrt_upward_test_data): Likewise.
16574 (sqrt_test_upward): Likewise.
16575 (tan_test_data): Update call to AUTO_TESTS_f_f.
16576 (tan_test): Use ALL_RM_TEST.
16577 (tan_tonearest_test_data): Remove.
16578 (tan_test_tonearest): Likewise.
16579 (tan_towardzero_test_data): Likewise.
16580 (tan_test_towardzero): Likewise.
16581 (tan_downward_test_data): Likewise.
16582 (tan_test_downward): Likewise.
16583 (tan_upward_test_data): Likewise.
16584 (tan_test_upward): Likewise.
16585 (tanh_test_data): Update call to AUTO_TESTS_f_f.
16586 (tgamma_test_data): Likewise.
16587 (y0_test_data): Likewise.
16588 (y1_test_data): Likewise.
16589 (yn_test_data): Update call to AUTO_TESTS_if_f.
16590 (main): Do not call removed functions.
16591
d71aeee8
JM
165922014-03-19 Joseph Myers <joseph@codesourcery.com>
16593
16594 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
16595 (ldexp_test_data): Remove.
16596 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
16597 scalbn_test_data.
16598 (scalb_test): Use ALL_RM_TEST.
16599
baaf1ded
AS
166002014-03-19 Andreas Schwab <schwab@suse.de>
16601
16602 * nscd/nscd.service: Also invalidate netgroup cache on reload.
16603
b1115e91
JM
166042014-03-19 Joseph Myers <joseph@codesourcery.com>
16605
16606 [BZ #16649]
16607 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16608 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
16609 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
16610 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16611 (__ASSUME_PREADV): Undefine.
16612 (__ASSUME_PWRITEV): Likewise.
16613
0283ecca
RM
166142014-03-18 Roland McGrath <roland@hack.frob.com>
16615
7d375303
RM
16616 * bits/mman-linux.h: Add comment about non-Linux use.
16617 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
16618 bits/mman-linux.h resting place.
16619
0283ecca
RM
16620 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
16621 * bits/mman-linux.h: ... here.
16622
aebe1003
AZ
166232014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16624
16625 * conform/conformtest.pl: Add standard definition when calling C
16626 preprocessor on data files.
16627 (checknamespace): Remove unused variable.
16628
b29b6bb8
JM
166292014-03-18 Joseph Myers <joseph@codesourcery.com>
16630
16631 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
16632 minus_oflow, plus_uflow and minus_uflow in expected results.
16633 * math/libm-test.inc (scalbn_test_data): Add more tests of
16634 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
16635 minus_uflow.
16636 (scalbn_test): Use ALL_RM_TEST.
16637 (scalbln_test_data): Add more tests of negative arguments. Use
16638 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
16639 (scalbln_test): Use ALL_RM_TEST.
16640
c8f8fa15
RM
166412014-03-18 Roland McGrath <roland@hack.frob.com>
16642
16643 * scripts/abilist.awk: Ignore symbols marked with .hidden.
16644
fede7a5f
WN
166452014-03-18 Will Newton <will.newton@linaro.org>
16646
16647 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
16648 inaccurate comment.
16649
80cf0a58
JM
166502014-03-18 Joseph Myers <joseph@codesourcery.com>
16651
16652 * Makerules [!subdir] (check-abi): Exit with error status if a
16653 test failed.
16654
b3620862
JM
166552014-03-17 Joseph Myers <joseph@codesourcery.com>
16656
16657 * math/libm-test.inc (nearbyint_test_data): Include all tests used
16658 for rint. Include results for all rounding modes.
16659 (nearbyint_test): Use ALL_RM_TEST.
16660 (rint_test_data): Include all tests used for nearbyint.
16661
788bba36
WN
166622014-03-17 Will Newton <will.newton@linaro.org>
16663
04ec140a
WN
16664 * nptl/sysdeps/pthread/pthread.h: Revert previous
16665 change.
16666
7579d8d5
WN
16667 * sysdeps/generic/ldsodefs.h: Revert previous
16668 change.
16669
c15cf13a
WN
16670 * libio/genops.c: Revert previous change.
16671 * libio/libioP.h: Likewise.
16672 * stdio-common/vfprintf.c: Likewise.
16673
d0ac1324
WN
16674 * sysdeps/generic/math_private.h: Revert previous
16675 change.
16676
9290130a
WN
16677 * sysdeps/generic/math_private.h: Check whether
16678 HAVE_RM_CTX is defined with #ifdef rather
16679 than #if.
16680
afb466fc
WN
16681 * argp/argp-fmtstream.h: Check whether
16682 __STRICT_ANSI__ is defined with #ifdef rather
16683 than #if.
16684 * argp/argp.h: Likewise.
16685
f7efd7c3
WN
16686 * libio/genops.c: Check whether
16687 _IO_JUMPS_OFFSET is defined with #ifdef rather
16688 than #if.
16689 * libio/libioP.h: Likewise.
16690 * stdio-common/vfprintf.c: Likewise.
16691
53f1bed3
WN
16692 * sysdeps/generic/ldsodefs.h: Check whether
16693 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
16694 than #if.
16695
788bba36
WN
16696 * nptl/sysdeps/pthread/pthread.h: Check
16697 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
16698 its value.
16699
fcd89ebe
SP
167002014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
16701
ae42bbc5
SP
16702 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
16703 setting O_APPEND.
16704 * libio/tst-ftell-active-handler.c (do_append_test): Add a
16705 test case.
16706
ea33158c
SP
16707 [BZ #16680]
16708 * libio/fileops.c (_IO_file_open): Seek to end of file but
16709 don't cache the offset.
16710 (get_file_offset): Remove function.
16711 (do_ftell): Use cached offset when available.
16712 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
16713 don't cache the offset.
16714 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
16715 case.
16716 (do_one_test): Call it.
16717 (do_ftell_test): Fix up expected old offset for a+ mode.
16718 * libio/wfileops.c (do_ftell_wide): Used cached offset when
16719 available.
16720
b1dbb426
SP
16721 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
16722 up test status with function return status.
16723 (do_write_test): Likewise.
16724 (do_append_test): Likewise.
16725
fcd89ebe
SP
16726 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
16727 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
16728 Remove.
16729
9962a2d3
JM
167302014-03-17 Joseph Myers <joseph@codesourcery.com>
16731
16732 * math/gen-libm-test.pl (parse_args): Handle results specified for
16733 each rounding mode separately.
16734 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
16735 tests and results from lrint_tonearest_test_data,
16736 lrint_towardzero_test_data, lrint_downward_test_data and
16737 lrint_upward_test_data.
16738 (lrint_test): Use ALL_RM_TEST.
16739 (lrint_tonearest_test_data): Remove.
16740 (lrint_test_tonearest): Likewise.
16741 (lrint_towardzero_test_data): Likewise.
16742 (lrint_test_towardzero): Likewise.
16743 (lrint_downward_test_data): Likewise.
16744 (lrint_test_downward): Likewise.
16745 (lrint_upward_test_data): Likewise.
16746 (lrint_test_upward): Likewise.
16747 (llrint_test_data): Merge in per-rounding-mode tests and results
16748 from llrint_tonearest_test_data, llrint_towardzero_test_data,
16749 llrint_downward_test_data and llrint_upward_test_data.
16750 (llrint_test): Use ALL_RM_TEST.
16751 (llrint_tonearest_test_data): Remove.
16752 (llrint_test_tonearest): Likewise.
16753 (llrint_towardzero_test_data): Likewise.
16754 (llrint_test_towardzero): Likewise.
16755 (llrint_downward_test_data): Likewise.
16756 (llrint_test_downward): Likewise.
16757 (llrint_upward_test_data): Likewise.
16758 (llrint_test_upward): Likewise.
16759 (rint_test_data): Merge in per-rounding-mode tests and results
16760 from rint_tonearest_test_data, rint_towardzero_test_data,
16761 rint_downward_test_data and rint_upward_test_data. Add
16762 per-rounding-mode results for tests not in those arrays.
16763 (rint_test): Use ALL_RM_TEST.
16764 (rint_tonearest_test_data): Remove.
16765 (rint_test_tonearest): Likewise.
16766 (rint_towardzero_test_data): Likewise.
16767 (rint_test_towardzero): Likewise.
16768 (rint_downward_test_data): Likewise.
16769 (rint_test_downward): Likewise.
16770 (rint_upward_test_data): Likewise.
16771 (rint_test_upward): Likewise.
16772 (main): Don't call removed functions.
16773
5006148e
RM
167742014-03-14 Roland McGrath <roland@hack.frob.com>
16775
16776 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
16777 "Compiled on ..." crapola. It is anti-useful.
16778
d6fe5e58
JM
167792014-03-14 Joseph Myers <joseph@codesourcery.com>
16780
16781 * scripts/evaluate-test.sh: Handle fourth argument to determine
16782 whether test run should stop on failure.
16783 * Makeconfig (stop-on-test-failure): New variable.
16784 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
16785 $(stop-on-test-failure).
16786 * Makefile (tests): Give a summary of results from testing and
16787 exit with failure status if they include an ERROR or FAIL.
16788 (xtests): Likewise.
16789 * manual/install.texi (Configuring and compiling): Mention
16790 stop-on-test-failure=y.
16791 * INSTALL: Regenerated.
16792
498a2233
RM
167932014-03-14 Roland McGrath <roland@hack.frob.com>
16794
22dbc19d
RM
16795 * scripts/versionlist.awk: New file.
16796 * Makerules [$(build-shared) = yes]
16797 (postclean-generated): Add Versions.def, not Versions.def.v and
16798 Versions.def.v.i.
16799 ($(common-objpfx)Versions.def.v.i): Target removed.
16800 ($(common-objpfx)Versions.def): New target.
16801 ($(common-objpfx)Versions.all): Depend on that rather that
16802 $(common-objpfx)Versions.def.v.
16803 * Versions.def: File removed.
16804
498a2233
RM
16805 * Makeconfig (+gccwarn): Add -Wundef.
16806 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
16807 a dl-sysdep.h breaking its contract.
16808 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
16809 * include/stackinfo.h: New file.
16810 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
16811 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
16812 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
16813 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
16814 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
16815 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
16816 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16817 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16818 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16819 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16820 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16821 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
16822 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16823 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16824 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16825
c7de5025
AZ
168262014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16827
16828 [BZ #16707]
16829 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
16830 implementation.
16831 * math/libm-test.inc (round_test_data): Add more tests.
16832
98fb27a3
AZ
16833 [BZ #16706]
16834 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
16835 implementation.
16836 * math/libm-test.inc (nearbyint_test_data): Add more tests.
16837
374f7f61
AZ
16838 [BZ #16701]
16839 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
16840 implementation.
16841 * math/libm-test.inc (ceil_test_data): Add more tests.
16842
4655c291
AZ
16843 * math/libm-test.inc (trunc_test_data): Add more tests related to
16844 BZ#16414.
16845
d7329d4b
RM
168462014-03-14 Roland McGrath <roland@hack.frob.com>
16847
16848 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
16849 with #if rather than #ifdef.
16850 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
16851
aa4de9ce
L
168522014-03-14 H.J. Lu <hongjiu.lu@intel.com>
16853
16854 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
16855 first. Disable AVX-512 GCC support if assembler doesn't support
16856 it.
16857 * sysdeps/x86_64/configure: Regenerated.
16858
2e03fae7
CD
168592014-03-13 Carlos O'Donell <carlos@redhat.com>
16860
16861 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
16862 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
16863 (__old_pthread_attr_setstack): Likewise.
16864 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
16865 [!_STACK_GROWS_DOWN]: Likewise.
16866
43ca83ec
MF
168672014-03-13 Mike Frysinger <vapier@gentoo.org>
16868
16869 * config.make.in (have-bash2): Delete.
16870 * configure.ac (libc_cv_have_bash2): Delete.
16871 * configure: Regenerate.
16872 * elf/Makefile (common-ldd-rewrite): Rename to ...
16873 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
16874 (sh-ldd-rewrite): Delete.
16875 (bash-ldd-rewrite): Delete.
16876 (have-bash2): Delete checks.
57f41c40
AS
16877 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
16878 ldd-rewrite.
c66e48b4
MF
16879
16880 * config.make.in (have-ksh): Delete.
16881 (KSH): Delete.
16882 * configure.ac (libc_cv_have_ksh): Delete.
16883 * configure: Regenerate.
16884
b93834ef
MF
16885 * elf/Makefile: Delete $(have-ksh) check.
16886 ($(objpfx)sotruss): Change KSH to BASH.
16887 * elf/sotruss.ksh: Rename to ...
16888 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
16889 function style to match POSIX. Drop ksh vim mode setting.
16890
f3a4632a
MF
16891 * manual/time.texi (Specifying the Time Zone with TZ): Change
16892 Tuesday to Thursday.
16893
5896c8bd
MF
16894 * debug/tst-longjmp_chk2.c: Update header comment.
16895 (stackoverflow_handler): Add comment. Call assert on pass value.
16896
2d63a517
IZ
168972014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
16898
7e54fd04 16899 [BZ #16194]
2d63a517
IZ
16900 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
16901 (HAVE_AVX512_ASM_SUPPORT): Likewise.
16902 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
16903 (La_x86_64_vector): Add zmm.
16904 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
16905 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
16906 ($(objpfx)tst-audit10): New target.
16907 ($(objpfx)tst-audit10.out): Likewise.
16908 (tst-audit10-ENV): New.
16909 (AVX512-CFLAGS): Likewise.
16910 (CFLAGS-tst-audit10.c): Likewise.
16911 (CFLAGS-tst-auditmod10a.c): Likewise.
16912 (CFLAGS-tst-auditmod10b.c): Likewise.
16913 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
16914 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
16915 * sysdeps/x86_64/configure: Regenerated.
16916 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
16917 AVX-512 zmm register support.
16918 (_dl_x86_64_save_sse): Likewise.
16919 (_dl_x86_64_restore_sse): Likewise.
16920 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
16921 size vector registers.
16922 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
16923 (ZMM_SIZE): Likewise.
16924 * sysdeps/x86_64/tst-audit10.c: New file.
16925 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
16926 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
16927
44c4e5d5
RM
169282014-03-13 Roland McGrath <roland@hack.frob.com>
16929
16930 * configure.ac (HAVE_EHDR_START): New check.
16931 * configure: Regenerated.
16932 * config.h.in (HAVE_EHDR_START): New #undef.
16933 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
16934 assuming the lowest-addressed segment maps the start of the file.
16935
acd6e389
JM
169362014-03-13 Joseph Myers <joseph@codesourcery.com>
16937
16938 * INSTALL: Regenerated.
16939
6f918f36
WN
169402014-03-13 Will Newton <will.newton@linaro.org>
16941
16942 * manual/setjmp.texi (System V contexts): Improve
16943 clarity and grammar of documentation.
16944
798212a0
PP
169452014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
16946
16947 [BZ #16381]
798212a0 16948 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 16949 (tests-pie): Add tst-pie2.
798212a0
PP
16950 * elf/tst-pie2.c: New file.
16951 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
16952 for ET_EXEC.
16953 * elf/rtld.c (map_doit): Load executable as lt_executable.
16954 (dl_main): Likewise.
16955
abe6d90c
JM
169562014-03-12 Joseph Myers <joseph@codesourcery.com>
16957
16958 [BZ #16642]
16959 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16960 (__ASSUME_PSELECT): Undefine.
16961
dd3946c6
AZ
169622014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16963
16964 [BZ #16689]
16965 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
16966 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
16967 static build.
16968 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
16969 selector for static builds.
16970
c44496df
SP
169712014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
16972
16973 [BZ #16695]
16974 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
16975 key in the buffer.
16976
27c7220a
AZ
169772014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16978
57f41c40
AS
16979 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
16980 IFUNC selector for static builds.
27c7220a 16981
600fa361
JM
169822014-03-11 Joseph Myers <joseph@codesourcery.com>
16983
76c96cf7
JM
16984 * sysdeps/mips/math_private.h [__mips_hard_float]
16985 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
16986 libc_feresetround_mips_ctx.
16987 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
16988 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
16989 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
16990
600fa361
JM
16991 [BZ #16677]
16992 * math/s_nextafter.c (__nextafter): Do not return value from
16993 overflowing computation.
16994 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
16995 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
16996 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
16997 Likewise.
16998 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
16999 Likewise.
17000 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
17001 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
17002
d7706c32
RM
170032014-03-11 Roland McGrath <roland@hack.frob.com>
17004
17005 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
17006 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
17007 Move sfi_sp use from the load-multiple (that no longer sets sp) to
17008 the new mov targetting sp.
17009
4facea47
AZ
170102014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17011
17012 [BZ #16683]
17013 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
17014 Define it for static builds as well.
17015 (NO_BZERO_IMPL): Likewise.
17016
e65caf1f
VR
170172014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
17018
17019 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
17020 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
17021 multiarch strspn for PPC64.
17022 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
17023 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
17024 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17025 (__libc_ifunc_impl_list): Likewise.
17026 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
17027 multiarch optimizations
17028 * string/strspn.c (strspn): Using macro to redefine symbol name.
17029
ba9cc071
AZ
170302014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
17031 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17032
17033 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
17034 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
17035 multiarch strncat for PPC64.
17036 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
17037 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
17038 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17039 (__libc_ifunc_impl_list): Likewise.
17040 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
17041 multiarch optimizations
17042
8b4ff974
SP
170432014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17044
17045 [BZ #16639]
17046 * nscd/nscd.service: Make service type forking.
17047
54b46a4b
AZ
170482014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17049
17050 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
17051 sign in non default rounding modes.
17052 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
17053
e9996ef7
JM
170542014-03-08 Joseph Myers <joseph@codesourcery.com>
17055
17056 * math/libm-test.inc (ALL_RM_TEST): New macro.
17057 (ceil_test): Use ALL_RM_TEST.
17058 (cimag_test): Likewise.
17059 (conj_test): Likewise.
17060 (copysign_test): Likewise.
17061 (cproj_test): Likewise.
17062 (creal_test): Likewise.
17063 (fabs_test): Likewise.
17064 (floor_test): Likewise.
17065 (fmax_test): Likewise.
17066 (fmin_test): Likewise.
17067 (fmod_test): Likewise.
17068 (fpclassify_test): Likewise.
17069 (frexp_test): Likewise.
17070 (ilogb_test): Likewise.
17071 (isfinite_test): Likewise.
17072 (finite_test): Likewise.
17073 (isgreater_test): Likewise.
17074 (isgreaterequal_test): Likewise.
17075 (isinf_test): Likewise.
17076 (isless_test): Likewise.
17077 (islessequal_test): Likewise.
17078 (islessgreater_test): Likewise.
17079 (isnan_test): Likewise.
17080 (isnormal_test): Likewise.
17081 (issignaling_test): Likewise.
17082 (isunordered_test): Likewise.
17083 (logb_test): Likewise.
17084 (logb_downward_test_data): Remove.
17085 (logb_test_downward): Likewise.
17086 (lround_test): Use ALL_RM_TEST.
17087 (llround_test): Likewise.
17088 (modf_test): Likewise.
17089 (nexttoward_test): Likewise.
17090 (remainder_test): Likewise.
17091 (drem_test): Likewise.
17092 (remainder_tonearest_test_data): Likewise.
17093 (remainder_test_tonearest): Likewise.
17094 (drem_test_tonearest): Likewise.
17095 (remainder_towardzero_test_data): Likewise.
17096 (remainder_test_towardzero): Likewise.
17097 (drem_test_towardzero): Likewise.
17098 (remainder_downward_test_data): Likewise.
17099 (remainder_test_downward): Likewise.
17100 (drem_test_downward): Likewise.
17101 (remainder_upward_test_data): Likewise.
17102 (remainder_test_upward): Likewise.
17103 (drem_test_upward): Likewise.
17104 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
17105 (round_test): Use ALL_RM_TEST.
17106 (signbit_test): Likewise.
17107 (trunc_test): Likewise.
17108 (significand_test): Likewise.
17109 (main): Don't call removed functions.
17110
bc61d27c
JM
171112014-03-07 Joseph Myers <joseph@codesourcery.com>
17112
5c780849
JM
17113 [BZ #16674]
17114 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
17115 || __USE_XOPEN2K8].
17116 (ILL_ILLOPN): Likewise.
17117 (ILL_ILLADR): Likewise.
17118 (ILL_ILLTRP): Likewise.
17119 (ILL_PRVOPC): Likewise.
17120 (ILL_PRVREG): Likewise.
17121 (ILL_COPROC): Likewise.
17122 (ILL_BADSTK): Likewise.
17123 (FPE_INTDIV): Likewise.
17124 (FPE_INTOVF): Likewise.
17125 (FPE_FLTDIV): Likewise.
17126 (FPE_FLTOVF): Likewise.
17127 (FPE_FLTUND): Likewise.
17128 (FPE_FLTRES): Likewise.
17129 (FPE_FLTINV): Likewise.
17130 (FPE_FLTSUB): Likewise.
17131 (SEGV_MAPERR): Likewise.
17132 (SEGV_ACCERR): Likewise.
17133 (BUS_ADRALN): Likewise.
17134 (BUS_ADRERR): Likewise.
17135 (BUS_OBJERR): Likewise.
17136 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17137 (TRAP_TRACE): Likewise.
17138 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17139 __USE_XOPEN2K8].
17140 (CLD_KILLED): Likewise.
17141 (CLD_DUMPED): Likewise.
17142 (CLD_TRAPPED): Likewise.
17143 (CLD_STOPPED): Likewise.
17144 (CLD_CONTINUED): Likewise.
17145 (POLL_IN): Likewise.
17146 (POLL_OUT): Likewise.
17147 (POLL_MSG): Likewise.
17148 (POLL_ERR): Likewise.
17149 (POLL_PRI): Likewise.
17150 (POLL_HUP): Likewise.
17151 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
17152 Likewise.
17153 (ILL_ILLOPN): Likewise.
17154 (ILL_ILLADR): Likewise.
17155 (ILL_ILLTRP): Likewise.
17156 (ILL_PRVOPC): Likewise.
17157 (ILL_PRVREG): Likewise.
17158 (ILL_COPROC): Likewise.
17159 (ILL_BADSTK): Likewise.
17160 (FPE_INTDIV): Likewise.
17161 (FPE_INTOVF): Likewise.
17162 (FPE_FLTDIV): Likewise.
17163 (FPE_FLTOVF): Likewise.
17164 (FPE_FLTUND): Likewise.
17165 (FPE_FLTRES): Likewise.
17166 (FPE_FLTINV): Likewise.
17167 (FPE_FLTSUB): Likewise.
17168 (SEGV_MAPERR): Likewise.
17169 (SEGV_ACCERR): Likewise.
17170 (BUS_ADRALN): Likewise.
17171 (BUS_ADRERR): Likewise.
17172 (BUS_OBJERR): Likewise.
17173 (BUS_MCEERR_AR): Likewise.
17174 (BUS_MCEERR_AO): Likewise.
17175 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17176 (TRAP_TRACE): Likewise.
17177 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17178 __USE_XOPEN2K8].
17179 (CLD_KILLED): Likewise.
17180 (CLD_DUMPED): Likewise.
17181 (CLD_TRAPPED): Likewise.
17182 (CLD_STOPPED): Likewise.
17183 (CLD_CONTINUED): Likewise.
17184 (POLL_IN): Likewise.
17185 (POLL_OUT): Likewise.
17186 (POLL_MSG): Likewise.
17187 (POLL_ERR): Likewise.
17188 (POLL_PRI): Likewise.
17189 (POLL_HUP): Likewise.
17190 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
17191 (ILL_ILLOPN): Likewise.
17192 (ILL_ILLADR): Likewise.
17193 (ILL_ILLTRP): Likewise.
17194 (ILL_PRVOPC): Likewise.
17195 (ILL_PRVREG): Likewise.
17196 (ILL_COPROC): Likewise.
17197 (ILL_BADSTK): Likewise.
17198 (FPE_INTDIV): Likewise.
17199 (FPE_INTOVF): Likewise.
17200 (FPE_FLTDIV): Likewise.
17201 (FPE_FLTOVF): Likewise.
17202 (FPE_FLTUND): Likewise.
17203 (FPE_FLTRES): Likewise.
17204 (FPE_FLTINV): Likewise.
17205 (FPE_FLTSUB): Likewise.
17206 (SEGV_MAPERR): Likewise.
17207 (SEGV_ACCERR): Likewise.
17208 (BUS_ADRALN): Likewise.
17209 (BUS_ADRERR): Likewise.
17210 (BUS_OBJERR): Likewise.
17211 (BUS_MCEERR_AR): Likewise.
17212 (BUS_MCEERR_AO): Likewise.
17213 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17214 (TRAP_TRACE): Likewise.
17215 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17216 __USE_XOPEN2K8].
17217 (CLD_KILLED): Likewise.
17218 (CLD_DUMPED): Likewise.
17219 (CLD_TRAPPED): Likewise.
17220 (CLD_STOPPED): Likewise.
17221 (CLD_CONTINUED): Likewise.
17222 (POLL_IN): Likewise.
17223 (POLL_OUT): Likewise.
17224 (POLL_MSG): Likewise.
17225 (POLL_ERR): Likewise.
17226 (POLL_PRI): Likewise.
17227 (POLL_HUP): Likewise.
17228 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
17229 Likewise.
17230 (ILL_ILLOPN): Likewise.
17231 (ILL_ILLADR): Likewise.
17232 (ILL_ILLTRP): Likewise.
17233 (ILL_PRVOPC): Likewise.
17234 (ILL_PRVREG): Likewise.
17235 (ILL_COPROC): Likewise.
17236 (ILL_BADSTK): Likewise.
17237 (ILL_BADIADDR): Likewise.
17238 (ILL_BREAK): Likewise.
17239 (FPE_INTDIV): Likewise.
17240 (FPE_INTOVF): Likewise.
17241 (FPE_FLTDIV): Likewise.
17242 (FPE_FLTOVF): Likewise.
17243 (FPE_FLTUND): Likewise.
17244 (FPE_FLTRES): Likewise.
17245 (FPE_FLTINV): Likewise.
17246 (FPE_FLTSUB): Likewise.
17247 (FPE_DECOVF): Likewise.
17248 (FPE_DECDIV): Likewise.
17249 (FPE_DECERR): Likewise.
17250 (FPE_INVASC): Likewise.
17251 (FPE_INVDEC): Likewise.
17252 (SEGV_MAPERR): Likewise.
17253 (SEGV_ACCERR): Likewise.
17254 (SEGV_PSTKOVF): Likewise.
17255 (BUS_ADRALN): Likewise.
17256 (BUS_ADRERR): Likewise.
17257 (BUS_OBJERR): Likewise.
17258 (BUS_MCEERR_AR): Likewise.
17259 (BUS_MCEERR_AO): Likewise.
17260 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17261 (TRAP_TRACE): Likewise.
17262 (TRAP_BRANCH): Likewise.
17263 (TRAP_HWBKPT): Likewise.
17264 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17265 __USE_XOPEN2K8].
17266 (CLD_KILLED): Likewise.
17267 (CLD_DUMPED): Likewise.
17268 (CLD_TRAPPED): Likewise.
17269 (CLD_STOPPED): Likewise.
17270 (CLD_CONTINUED): Likewise.
17271 (POLL_IN): Likewise.
17272 (POLL_OUT): Likewise.
17273 (POLL_MSG): Likewise.
17274 (POLL_ERR): Likewise.
17275 (POLL_PRI): Likewise.
17276 (POLL_HUP): Likewise.
17277 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
17278 (ILL_ILLOPN): Likewise.
17279 (ILL_ILLADR): Likewise.
17280 (ILL_ILLTRP): Likewise.
17281 (ILL_PRVOPC): Likewise.
17282 (ILL_PRVREG): Likewise.
17283 (ILL_COPROC): Likewise.
17284 (ILL_BADSTK): Likewise.
17285 (FPE_INTDIV): Likewise.
17286 (FPE_INTOVF): Likewise.
17287 (FPE_FLTDIV): Likewise.
17288 (FPE_FLTOVF): Likewise.
17289 (FPE_FLTUND): Likewise.
17290 (FPE_FLTRES): Likewise.
17291 (FPE_FLTINV): Likewise.
17292 (FPE_FLTSUB): Likewise.
17293 (SEGV_MAPERR): Likewise.
17294 (SEGV_ACCERR): Likewise.
17295 (BUS_ADRALN): Likewise.
17296 (BUS_ADRERR): Likewise.
17297 (BUS_OBJERR): Likewise.
17298 (BUS_MCEERR_AR): Likewise.
17299 (BUS_MCEERR_AO): Likewise.
17300 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17301 (TRAP_TRACE): Likewise.
17302 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17303 __USE_XOPEN2K8].
17304 (CLD_KILLED): Likewise.
17305 (CLD_DUMPED): Likewise.
17306 (CLD_TRAPPED): Likewise.
17307 (CLD_STOPPED): Likewise.
17308 (CLD_CONTINUED): Likewise.
17309 (POLL_IN): Likewise.
17310 (POLL_OUT): Likewise.
17311 (POLL_MSG): Likewise.
17312 (POLL_ERR): Likewise.
17313 (POLL_PRI): Likewise.
17314 (POLL_HUP): Likewise.
17315 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
17316 (ILL_ILLOPN): Likewise.
17317 (ILL_ILLADR): Likewise.
17318 (ILL_ILLTRP): Likewise.
17319 (ILL_PRVOPC): Likewise.
17320 (ILL_PRVREG): Likewise.
17321 (ILL_COPROC): Likewise.
17322 (ILL_BADSTK): Likewise.
17323 (FPE_INTDIV): Likewise.
17324 (FPE_INTOVF): Likewise.
17325 (FPE_FLTDIV): Likewise.
17326 (FPE_FLTOVF): Likewise.
17327 (FPE_FLTUND): Likewise.
17328 (FPE_FLTRES): Likewise.
17329 (FPE_FLTINV): Likewise.
17330 (FPE_FLTSUB): Likewise.
17331 (SEGV_MAPERR): Likewise.
17332 (SEGV_ACCERR): Likewise.
17333 (BUS_ADRALN): Likewise.
17334 (BUS_ADRERR): Likewise.
17335 (BUS_OBJERR): Likewise.
17336 (BUS_MCEERR_AR): Likewise.
17337 (BUS_MCEERR_AO): Likewise.
17338 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17339 (TRAP_TRACE): Likewise.
17340 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17341 __USE_XOPEN2K8].
17342 (CLD_KILLED): Likewise.
17343 (CLD_DUMPED): Likewise.
17344 (CLD_TRAPPED): Likewise.
17345 (CLD_STOPPED): Likewise.
17346 (CLD_CONTINUED): Likewise.
17347 (POLL_IN): Likewise.
17348 (POLL_OUT): Likewise.
17349 (POLL_MSG): Likewise.
17350 (POLL_ERR): Likewise.
17351 (POLL_PRI): Likewise.
17352 (POLL_HUP): Likewise.
17353 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
17354 (ILL_ILLOPN): Likewise.
17355 (ILL_ILLADR): Likewise.
17356 (ILL_ILLTRP): Likewise.
17357 (ILL_PRVOPC): Likewise.
17358 (ILL_PRVREG): Likewise.
17359 (ILL_COPROC): Likewise.
17360 (ILL_BADSTK): Likewise.
17361 (FPE_INTDIV): Likewise.
17362 (FPE_INTOVF): Likewise.
17363 (FPE_FLTDIV): Likewise.
17364 (FPE_FLTOVF): Likewise.
17365 (FPE_FLTUND): Likewise.
17366 (FPE_FLTRES): Likewise.
17367 (FPE_FLTINV): Likewise.
17368 (FPE_FLTSUB): Likewise.
17369 (SEGV_MAPERR): Likewise.
17370 (SEGV_ACCERR): Likewise.
17371 (BUS_ADRALN): Likewise.
17372 (BUS_ADRERR): Likewise.
17373 (BUS_OBJERR): Likewise.
17374 (BUS_MCEERR_AR): Likewise.
17375 (BUS_MCEERR_AO): Likewise.
17376 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17377 (TRAP_TRACE): Likewise.
17378 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17379 __USE_XOPEN2K8].
17380 (CLD_KILLED): Likewise.
17381 (CLD_DUMPED): Likewise.
17382 (CLD_TRAPPED): Likewise.
17383 (CLD_STOPPED): Likewise.
17384 (CLD_CONTINUED): Likewise.
17385 (POLL_IN): Likewise.
17386 (POLL_OUT): Likewise.
17387 (POLL_MSG): Likewise.
17388 (POLL_ERR): Likewise.
17389 (POLL_PRI): Likewise.
17390 (POLL_HUP): Likewise.
17391 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
17392 (ILL_ILLOPN): Likewise.
17393 (ILL_ILLADR): Likewise.
17394 (ILL_ILLTRP): Likewise.
17395 (ILL_PRVOPC): Likewise.
17396 (ILL_PRVREG): Likewise.
17397 (ILL_COPROC): Likewise.
17398 (ILL_BADSTK): Likewise.
17399 (ILL_DBLFLT): Likewise.
17400 (ILL_HARDWALL): Likewise.
17401 (FPE_INTDIV): Likewise.
17402 (FPE_INTOVF): Likewise.
17403 (FPE_FLTDIV): Likewise.
17404 (FPE_FLTOVF): Likewise.
17405 (FPE_FLTUND): Likewise.
17406 (FPE_FLTRES): Likewise.
17407 (FPE_FLTINV): Likewise.
17408 (FPE_FLTSUB): Likewise.
17409 (SEGV_MAPERR): Likewise.
17410 (SEGV_ACCERR): Likewise.
17411 (BUS_ADRALN): Likewise.
17412 (BUS_ADRERR): Likewise.
17413 (BUS_OBJERR): Likewise.
17414 (BUS_MCEERR_AR): Likewise.
17415 (BUS_MCEERR_AO): Likewise.
17416 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17417 (TRAP_TRACE): Likewise.
17418 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17419 __USE_XOPEN2K8].
17420 (CLD_KILLED): Likewise.
17421 (CLD_DUMPED): Likewise.
17422 (CLD_TRAPPED): Likewise.
17423 (CLD_STOPPED): Likewise.
17424 (CLD_CONTINUED): Likewise.
17425 (POLL_IN): Likewise.
17426 (POLL_OUT): Likewise.
17427 (POLL_MSG): Likewise.
17428 (POLL_ERR): Likewise.
17429 (POLL_PRI): Likewise.
17430 (POLL_HUP): Likewise.
17431 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
17432 (ILL_ILLOPN): Likewise.
17433 (ILL_ILLADR): Likewise.
17434 (ILL_ILLTRP): Likewise.
17435 (ILL_PRVOPC): Likewise.
17436 (ILL_PRVREG): Likewise.
17437 (ILL_COPROC): Likewise.
17438 (ILL_BADSTK): Likewise.
17439 (FPE_INTDIV): Likewise.
17440 (FPE_INTOVF): Likewise.
17441 (FPE_FLTDIV): Likewise.
17442 (FPE_FLTOVF): Likewise.
17443 (FPE_FLTUND): Likewise.
17444 (FPE_FLTRES): Likewise.
17445 (FPE_FLTINV): Likewise.
17446 (FPE_FLTSUB): Likewise.
17447 (SEGV_MAPERR): Likewise.
17448 (SEGV_ACCERR): Likewise.
17449 (BUS_ADRALN): Likewise.
17450 (BUS_ADRERR): Likewise.
17451 (BUS_OBJERR): Likewise.
17452 (BUS_MCEERR_AR): Likewise.
17453 (BUS_MCEERR_AO): Likewise.
17454 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17455 (TRAP_TRACE): Likewise.
17456 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17457 __USE_XOPEN2K8].
17458 (CLD_KILLED): Likewise.
17459 (CLD_DUMPED): Likewise.
17460 (CLD_TRAPPED): Likewise.
17461 (CLD_STOPPED): Likewise.
17462 (CLD_CONTINUED): Likewise.
17463 (POLL_IN): Likewise.
17464 (POLL_OUT): Likewise.
17465 (POLL_MSG): Likewise.
17466 (POLL_ERR): Likewise.
17467 (POLL_PRI): Likewise.
17468 (POLL_HUP): Likewise.
17469 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
17470 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
17471
bc61d27c
JM
17472 [BZ #16670]
17473 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
17474 before #include of <time.h>.
17475 [!__USE_XOPEN2K] (__need_timespec): Likewise.
17476 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
17477 (test-xfail-UNIX98/sched.h/conform): Likewise.
17478
302949e2
MS
174792014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
17480
17481 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
17482 error absence of trapping exception support.
17483 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
17484
a00f522a
JM
174852014-03-07 Joseph Myers <joseph@codesourcery.com>
17486
6f99f280
JM
17487 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
17488 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
17489 * timezone/Makefile (testdata): Move definition above include of
17490 Rules.
17491 (test-zones): New variable.
17492 (tests-special): Add zone files.
17493 (build-testdata): Use $(evaluate-test).
17494
0b20a9e8
JM
17495 * elf/Makefile (tests-special): Rename tests to end with .out.
17496 ($(objpfx)noload-mem): Likewise.
17497 ($(objpfx)tst-leaks1-mem): Likewise.
17498 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
17499 * iconv/Makefile (xtests-special): Change test-iconvconfig to
17500 $(objpfx)test-iconvconfig.out.
17501 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
17502 set -e inside subshell and redirect output to file.
17503 * iconvdata/Makefile (generated): Rename tests to end with .out.
17504 Correct type.
17505 (tests-special): Rename tests to end with .out.
17506 ($(objpfx)mtrace-tst-loading): Likewise.
17507 * intl/Makefile (generated): Likewise.
17508 (tests-special): Likewise.
17509 ($(objpfx)mtrace-tst-gettext): Likewise.
17510 * misc/Makefile (generated): Likewise.
17511 (tests-special): Likewise.
17512 ($(objpfx)tst-error1-mem): Likewise.
17513 * nptl/Makefile (tests-special): Likewise.
17514 ($(objpfx)tst-stack3-mem): Likewise.
17515 (generated): Likewise.
17516 * posix/Makefile (generated): Likewise.
17517 (tests-special): Likewise.
17518 (xtests-special): Likewise.
17519 ($(objpfx)tst-fnmatch-mem): Likewise.
17520 ($(objpfx)bug-regex2-mem): Likewise.
17521 ($(objpfx)bug-regex14-mem): Likewise.
17522 ($(objpfx)bug-regex21-mem): Likewise.
17523 ($(objpfx)bug-regex31-mem): Likewise.
17524 ($(objpfx)tst-vfork3-mem): Likewise.
17525 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
17526 ($(objpfx)tst-pcre-mem): Likewise.
17527 ($(objpfx)tst-boost-mem): Likewise.
17528 ($(objpfx)bug-ga2-mem): Likewise.
17529 ($(objpfx)bug-glob2-mem): Likewise.
17530 * resolv/Makefile (generate): Likewise.
17531 (tests-special): Likewise.
17532 (xtests-special): Likewise.
17533 (generated): Likewise.
17534 ($(objpfx)mtrace-tst-leaks): Likewise.
17535 ($(objpfx)mtrace-tst-leaks2): Likewise.
17536
265d52ab
JM
17537 * scripts/merge-test-results.sh: New file.
17538 * Makefile (tests-special-notdir): New variable.
17539 (tests): Run merge-test-results.sh.
17540 (xtests): Likewise.
17541 * Rules (tests-special-notdir): New variable.
17542 (xtests-special-notdir): Likewise.
17543 (tests): Run merge-test-results.sh
17544 (xtests): Likewise.
17545
54ee292d
JM
17546 * Makeconfig (test-xfail-name): New variable.
17547 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
17548 compute variable name for expected failures.
17549 * conform/Makefile (conformtest-headers-data): New variable.
17550 (conformtest-standards): Likewise.
17551 (conformtest-headers-ISO): Likewise.
17552 (conformtest-headers-ISO99): Likewise.
17553 (conformtest-headers-ISO11): Likewise.
17554 (conformtest-headers-POSIX): Likewise.
17555 (conformtest-headers-XPG3): Likewise.
17556 (conformtest-headers-XPG4): Likewise.
17557 (conformtest-headers-UNIX98): Likewise.
17558 (conformtest-headers-XOPEN2K): Likewise.
17559 (conformtest-headers-POSIX2008): Likewise.
17560 (conformtest-headers-XOPEN2K8): Likewise.
17561 (conformtest-header-list-base): Likewise.
17562 (conformtest-header-list-tests): Likewise.
17563 (conformtest-header-base): Likewise.
17564 (conformtest-header-tests): Likewise.
17565 (tests-special): Add $(conformtest-header-list-tests). If
17566 [$(fast-check) && !$(cross-compiling)], add
17567 $(conformtest-header-tests) instead of
17568 $(objpfx)run-conformtest.out.
17569 (generated): Add $(conformtest-header-list-base). If
17570 [$(fast-check) && !$(cross-compiling)], add
17571 $(conformtest-header-base). Remove previous setting.
17572 ($(conformtest-header-list-tests)): New target.
17573 (test-xfail-run-conformtest): Remove variable.
17574 ($(objpfx)run-conformtest.out): Remove target.
17575 (test-xfail-ISO11/complex.h/conform): New variable.
17576 (test-xfail-ISO11/stdalign.h/conform): Likewise.
17577 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
17578 (test-xfail-XPG3/varargs.h/conform): Likewise.
17579 (test-xfail-XPG4/varargs.h/conform): Likewise.
17580 (test-xfail-UNIX98/varargs.h/conform): Likewise.
17581 (test-xfail-XPG4/ndbm.h/conform): Likewise.
17582 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
17583 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
17584 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
17585 (test-xfail-XPG3/fcntl.h/conform): Likewise.
17586 (test-xfail-XPG3/ftw.h/conform): Likewise.
17587 (test-xfail-XPG3/grp.h/conform): Likewise.
17588 (test-xfail-XPG3/langinfo.h/conform): Likewise.
17589 (test-xfail-XPG3/limits.h/conform): Likewise.
17590 (test-xfail-XPG3/pwd.h/conform): Likewise.
17591 (test-xfail-XPG3/search.h/conform): Likewise.
17592 (test-xfail-XPG3/signal.h/conform): Likewise.
17593 (test-xfail-XPG3/stdio.h/conform): Likewise.
17594 (test-xfail-XPG3/stdlib.h/conform): Likewise.
17595 (test-xfail-XPG3/string.h/conform): Likewise.
17596 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
17597 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
17598 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
17599 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
17600 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
17601 (test-xfail-XPG3/sys/types.h/conform): Likewise.
17602 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
17603 (test-xfail-XPG3/termios.h/conform): Likewise.
17604 (test-xfail-XPG3/time.h/conform): Likewise.
17605 (test-xfail-XPG3/unistd.h/conform): Likewise.
17606 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
17607 (test-xfail-XPG4/fcntl.h/conform): Likewise.
17608 (test-xfail-XPG4/langinfo.h/conform): Likewise.
17609 (test-xfail-XPG4/netdb.h/conform): Likewise.
17610 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
17611 (test-xfail-XPG4/signal.h/conform): Likewise.
17612 (test-xfail-XPG4/stdio.h/conform): Likewise.
17613 (test-xfail-XPG4/stdlib.h/conform): Likewise.
17614 (test-xfail-XPG4/stropts.h/conform): Likewise.
17615 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
17616 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
17617 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
17618 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
17619 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
17620 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
17621 (test-xfail-XPG4/sys/time.h/conform): Likewise.
17622 (test-xfail-XPG4/sys/types.h/conform): Likewise.
17623 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
17624 (test-xfail-XPG4/termios.h/conform): Likewise.
17625 (test-xfail-XPG4/ucontext.h/conform): Likewise.
17626 (test-xfail-XPG4/unistd.h/conform): Likewise.
17627 (test-xfail-XPG4/utmpx.h/conform): Likewise.
17628 (test-xfail-POSIX/sched.h/conform): Likewise.
17629 (test-xfail-POSIX/signal.h/conform): Likewise.
17630 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
17631 (test-xfail-POSIX/tar.h/conform): Likewise.
17632 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
17633 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
17634 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
17635 (test-xfail-UNIX98/netdb.h/conform): Likewise.
17636 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
17637 (test-xfail-UNIX98/sched.h/conform): Likewise.
17638 (test-xfail-UNIX98/signal.h/conform): Likewise.
17639 (test-xfail-UNIX98/stdio.h/conform): Likewise.
17640 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
17641 (test-xfail-UNIX98/stropts.h/conform): Likewise.
17642 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
17643 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
17644 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
17645 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
17646 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
17647 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
17648 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
17649 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
17650 (test-xfail-UNIX98/unistd.h/conform): Likewise.
17651 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
17652 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
17653 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
17654 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
17655 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
17656 (test-xfail-XOPEN2K/math.h/conform): Likewise.
17657 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
17658 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
17659 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
17660 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
17661 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
17662 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
17663 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
17664 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
17665 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
17666 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
17667 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
17668 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
17669 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
17670 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
17671 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
17672 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
17673 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
17674 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
17675 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
17676 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
17677 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
17678 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
17679 (test-xfail-POSIX2008/signal.h/conform): Likewise.
17680 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
17681 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
17682 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
17683 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
17684 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
17685 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
17686 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
17687 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
17688 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
17689 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
17690 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
17691 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
17692 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
17693 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
17694 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
17695 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
17696 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
17697 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
17698 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
17699 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
17700 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
17701 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
17702 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
17703 (conformtest-cc-flags): Likewise.
17704 ($(conformtest-header-tests): New target.
17705 * conform/check-header-lists.sh: New file.
17706 * conform/run-conformtest.sh: Remove.
17707
a00f522a
JM
17708 * conform/conformtest.pl: Allow ' and \ in values given for
17709 constants.
17710 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
17711 inclusion.
17712 [POSIX] (sys/types.h): Likewise.
17713 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
17714 inclusion.
17715 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
17716 inclusion.
17717 * conform/data/signal.h-data (SIGIO): Remove expectation.
17718 [XPG3] (SIGBUS): Do not expect.
17719 [POSIX || XPG3] (SIGPOLL): Likewise.
17720 [POSIX || XPG3] (SIGPROF): Likewise.
17721 [POSIX || XPG3] (SIGSYS): Likewise.
17722 [XPG3] (SIGTRAP): Likewise.
17723 [POSIX || XPG3] (SIGURG): Likewise.
17724 [POSIX || XPG3] (SIGVTALRM): Likewise.
17725 [POSIX || XPG3] (SIGXCPU): Likewise.
17726 [POSIX || XPG3] (SIGXFSZ): Likewise.
17727 [POSIX] (SA_SIGINFO): Expect.
17728 [XPG3] (siginfo_t): Do not expect type or contents.
17729 [POSIX] (si_pid): Do not expect element.
17730 [POSIX] (si_uid): Likewise.
17731 [POSIX] (si_addr): Likewise.
17732 [POSIX] (si_status): Likewise.
17733 [POSIX] (si_band): Likewise.
17734 [XPG4] (si_value): Likewise.
17735 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
17736 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
17737 [POSIX || XPG3] (ILL_ILLADR): Likewise.
17738 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
17739 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
17740 [POSIX || XPG3] (ILL_PRVREG): Likewise.
17741 [POSIX || XPG3] (ILL_COPROC): Likewise.
17742 [POSIX || XPG3] (ILL_BADSTK): Likewise.
17743 [POSIX || XPG3] (FPE_INTDIV): Likewise.
17744 [POSIX || XPG3] (FPE_INTOVF): Likewise.
17745 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
17746 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
17747 [POSIX || XPG3] (FPE_FLTUND): Likewise.
17748 [POSIX || XPG3] (FPE_FLTRES): Likewise.
17749 [POSIX || XPG3] (FPE_FLTINV): Likewise.
17750 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
17751 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
17752 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
17753 [POSIX || XPG3] (BUS_ADRALN): Likewise.
17754 [POSIX || XPG3] (BUS_ADRERR): Likewise.
17755 [POSIX || XPG3] (BUS_OBJERR): Likewise.
17756 [POSIX || XPG3] (CLD_EXITED): Likewise.
17757 [POSIX || XPG3] (CLD_KILLED): Likewise.
17758 [POSIX || XPG3] (CLD_DUMPED): Likewise.
17759 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
17760 [POSIX || XPG3] (CLD_STOPPED): Likewise.
17761 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
17762 [POSIX || XPG3] (POLL_IN): Likewise.
17763 [POSIX || XPG3] (POLL_OUT): Likewise.
17764 [POSIX || XPG3] (POLL_MSG): Likewise.
17765 [POSIX || XPG3] (POLL_ERR): Likewise.
17766 [POSIX || XPG3] (POLL_PRI): Likewise.
17767 [POSIX || XPG3] (POLL_HUP): Likewise.
17768 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
17769 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
17770 (SIG*): Do not allow.
17771 [XPG3] (si_*): Likewise.
17772 [XPG3] (SI_*): Likewise.
17773 [XPG3 || XPG4] (sigev_*): Likewise.
17774 [XPG3 || XPG4] (SIGEV_*): Likewise.
17775 [XPG3 || XPG4] (sival_*): Likewise.
17776 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
17777 [POSIX || XPG3] (BUS_*): Likewise.
17778 [POSIX || XPG3] (CLD_*): Likewise.
17779 [POSIX || XPG3] (FPE_*): Likewise.
17780 [POSIX || XPG3] (ILL_*): Likewise.
17781 [POSIX || XPG3] (POLL_*): Likewise.
17782 [POSIX || XPG3] (SEGV_*): Likewise.
17783 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
17784 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
17785 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
17786 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
17787 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
17788 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
17789 Specify type and value.
17790 (TVERSLEN): Likewise.
17791 (REGTYPE): Likewise.
17792 (AREGTYPE): Likewise.
17793 (LNKTYPE): Likewise.
17794 (SYMTYPE): Likewise.
17795 (CHRTYPE): Likewise.
17796 (BLKTYPE): Likewise.
17797 (DIRTYPE): Likewise.
17798 (FIFOTYPE): Likewise.
17799 (CONTTYPE): Likewise.
17800 (TSUID): Likewise.
17801 (TSGID): Likewise.
17802 (TSVTX): Likewise.
17803 (TUREAD): Likewise.
17804 (TUWRITE): Likewise.
17805 (TUEXEC): Likewise.
17806 (TGREAD): Likewise.
17807 (TGWRITE): Likewise.
17808 (TGEXEC): Likewise.
17809 (TOREAD): Likewise.
17810 (TOWRITE): Likewise.
17811 (TOEXEC): Likewise.
17812 [POSIX] (TSVTX): Expect constant.
17813
aa97dee1
JM
178142014-03-06 Joseph Myers <joseph@codesourcery.com>
17815
f214606a
JM
17816 * Makefile (tests): Change dependencies to ....
17817 (tests-special): ... additions to this variable.
17818 (tests): Depend on $(tests-special).
17819 * Makerules (check-abi-list): New variable.
17820 (check-abi): Depend on $(check-abi-list).
17821 [$(subdir) = elf] (tests-special): Add
17822 $(objpfx)check-abi-libc.out.
17823 [$(build-shared) = yes && subdir] (tests-special): Add
17824 $(check-abi-list).
17825 [$(build-shared) = yes && subdir] (tests): Do not depend on
17826 check-abi.
17827 * Rules (tests): Depend on $(tests-special).
17828 (xtests): Depend on $(xtests-special).
17829 * catgets/Makefile (tests): Change dependencies to ....
17830 (tests-special): ... additions to this variable.
17831 * conform/Makefile (tests): Change dependencies to ....
17832 (tests-special): ... additions to this variable.
17833 * elf/Makefile (tests): Change dependencies to ....
17834 (tests-special): ... additions to this variable.
17835 * grp/Makefile (tests): Change dependencies to ....
17836 (tests-special): ... additions to this variable.
17837 * iconv/Makefile (xtests): Change dependencies to ....
17838 (xtests-special): ... additions to this variable.
17839 * iconvdata/Makefile (tests): Change dependencies to ....
17840 (tests-special): ... additions to this variable.
17841 * intl/Makefile (tests): Change dependencies to ....
17842 (tests-special): ... additions to this variable. Also add
17843 $(objpfx)tst-gettext.out.
17844 * io/Makefile (tests): Change dependencies to ....
17845 (tests-special): ... additions to this variable.
17846 * libio/Makefile (tests): Change dependencies to ....
17847 (tests-special): ... additions to this variable.
17848 * malloc/Makefile (tests): Change dependencies to ....
17849 (tests-special): ... additions to this variable.
17850 * misc/Makefile (tests): Change dependencies to ....
17851 (tests-special): ... additions to this variable.
17852 * nptl/Makefile (tests): Change dependencies to ....
17853 (tests-special): ... additions to this variable.
17854 * nptl_db/Makefile (tests): Change dependencies to ....
17855 (tests-special): ... additions to this variable.
17856 * posix/Makefile (tests): Change dependencies to ....
17857 (tests-special): ... additions to this variable.
17858 (xtests): Change dependencies to ....
17859 (xtests-special): ... additions to this variable.
17860 * resolv/Makefile (tests): Change dependencies to ....
17861 (tests-special): ... additions to this variable.
17862 (xtests): Change dependencies to ....
17863 (xtests-special): ... additions to this variable.
17864 * stdio-common/Makefile (tests): Change dependencies to ....
17865 (tests-special): ... additions to this variable.
17866 (do-tst-unbputc): Remove target.
17867 (do-tst-printf): Likewise.
17868 * stdlib/Makefile (tests): Change dependencies to ....
17869 (tests-special): ... additions to this variable.
17870 * string/Makefile (tests): Change dependencies to ....
17871 (tests-special): ... additions to this variable.
17872 * sysdeps/x86/Makefile (tests): Change dependencies to ....
17873 (tests-special): ... additions to this variable.
17874
81700b53
JM
17875 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
17876 whole file.
17877 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
17878 whole file.
17879 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
17880 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
17881
2ea18461
JM
17882 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
17883 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
17884 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
17885 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
17886 * conform/data/libgen.h-data [XPG3]: Likewise.
17887 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
17888 * conform/data/ndbm.h-data [XPG3]: Likewise.
17889 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
17890 * conform/data/netdb.h-data [XPG3]: Likewise.
17891 * conform/data/netinet/in.h-data [XPG3]: Likewise.
17892 * conform/data/poll.h-data [XPG3]: Likewise.
17893 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
17894 * conform/data/strings.h-data [XPG3]: Likewise.
17895 * conform/data/stropts.h-data [XPG3]: Likewise.
17896 * conform/data/sys/mman.h-data [XPG3]: Likewise.
17897 * conform/data/sys/resource.h-data [XPG3]: Likewise.
17898 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
17899 Likewise.
17900 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
17901 * conform/data/sys/time.h-data [XPG3]: Likewise.
17902 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
17903 * conform/data/sys/uio.h-data [XPG3]: Likewise.
17904 * conform/data/sys/un.h-data [XPG3]: Likewise.
17905 * conform/data/syslog.h-data [XPG3]: Likewise.
17906 * conform/data/ucontext.h-data [XPG3]: Likewise.
17907 * conform/data/utmpx.h-data [XPG3]: Likewise.
17908 * conform/data/varargs.h-data [UNIX98]: Enable file.
17909
355bc986
JM
17910 * manual/Makefile (INSTALL_INFO): Remove variable setting.
17911
215db402
JM
17912 * math/libm-test.inc (struct test_f_f_data): Move expected results
17913 into structure for each rounding mode.
17914 (struct test_ff_f_data): Likewise.
17915 (struct test_ff_f_data_nexttoward): Likewise.
17916 (struct test_fi_f_data): Likewise.
17917 (struct test_fl_f_data): Likewise.
17918 (struct test_if_f_data): Likewise.
17919 (struct test_fff_f_data): Likewise.
17920 (struct test_c_f_data): Likewise.
17921 (struct test_f_f1_data): Likewise.
17922 (struct test_fF_f1_data): Likewise.
17923 (struct test_ffI_f1_data): Likewise.
17924 (struct test_c_c_data): Likewise.
17925 (struct test_cc_c_data): Likewise.
17926 (struct test_f_i_data): Likewise.
17927 (struct test_ff_i_data): Likewise.
17928 (struct test_f_l_data): Likewise.
17929 (struct test_f_L_data): Likewise.
17930 (struct test_fFF_11_data): Likewise.
17931 (RM_): New macro.
17932 (RM_FE_DOWNWARD): Likewise.
17933 (RM_FE_TONEAREST): Likewise.
17934 (RM_FE_TOWARDZERO): Likewise.
17935 (RM_FE_UPWARD): Likewise.
17936 (RUN_TEST_LOOP_f_f): Update references to expected results.
17937 (RUN_TEST_LOOP_2_f): Likewise.
17938 (RUN_TEST_LOOP_fff_f): Likewise.
17939 (RUN_TEST_LOOP_c_f): Likewise.
17940 (RUN_TEST_LOOP_f_f1): Likewise.
17941 (RUN_TEST_LOOP_fF_f1): Likewise.
17942 (RUN_TEST_LOOP_fI_f1): Likewise.
17943 (RUN_TEST_LOOP_ffI_f1): Likewise.
17944 (RUN_TEST_LOOP_c_c): Likewise.
17945 (RUN_TEST_LOOP_cc_c): Likewise.
17946 (RUN_TEST_LOOP_f_i): Likewise.
17947 (RUN_TEST_LOOP_f_i_tg): Likewise.
17948 (RUN_TEST_LOOP_ff_i_tg): Likewise.
17949 (RUN_TEST_LOOP_f_b): Likewise.
17950 (RUN_TEST_LOOP_f_b_tg): Likewise.
17951 (RUN_TEST_LOOP_f_l): Likewise.
17952 (RUN_TEST_LOOP_f_L): Likewise.
17953 (RUN_TEST_LOOP_fFF_11): Likewise.
17954 * math/gen-libm-test.pl (parse_args): Output four copies of
17955 expected results for each test.
17956
67737b8f
JM
17957 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17958 (__ASSUME_UTIMES): Remove.
17959 * sysdeps/unix/sysv/linux/tile/kernel-features.h
17960 (__ASSUME_UTIMES): Likewise.
17961
aa97dee1
JM
17962 * math/gen-auto-libm-tests.c: Update comment on output format.
17963 (output_for_one_input_case): Generate before-rounding and
17964 after-rounding information as conditions on output flags not
17965 floating-point format.
17966 * math/auto-libm-test-out: Regenerated.
17967 * math/gen-libm-test.pl (cond_value): New function.
17968 (or_cond_value): Use cond_value.
17969 (generate_testfile): Handle conditional exceptions.
17970
e6b6a857
JM
179712014-03-05 Joseph Myers <joseph@codesourcery.com>
17972
2f0a0f44
JM
17973 * math/libm-test.inc (max_valid_error): New variable.
17974 (init_max_error): Take new argument specifying whether function
17975 results are exactly determined. Set max_valid_error and bound
17976 other variables for errors based on this argument.
17977 (set_max_error): Do not record results above max_valid_error.
17978 (check_float_internal): Only accept errors of up to 0.5ulps if
17979 also at most max_valid_error.
17980 (START): Take new argument EXACT and pass it to init_max_error.
17981 (acos_test): Update call to START.
17982 (acos_test_tonearest): Likewise.
17983 (acos_test_towardzero): Likewise.
17984 (acos_test_downward): Likewise.
17985 (acos_test_upward): Likewise.
17986 (acosh_test): Likewise.
17987 (asin_test): Likewise.
17988 (asin_test_tonearest): Likewise.
17989 (asin_test_towardzero): Likewise.
17990 (asin_test_downward): Likewise.
17991 (asin_test_upward): Likewise.
17992 (asinh_test): Likewise.
17993 (atan_test): Likewise.
17994 (atanh_test): Likewise.
17995 (atan2_test): Likewise.
17996 (cabs_test): Likewise.
17997 (cacos_test): Likewise.
17998 (cacosh_test): Likewise.
17999 (carg_test): Likewise.
18000 (casin_test): Likewise.
18001 (casinh_test): Likewise.
18002 (catan_test): Likewise.
18003 (catanh_test): Likewise.
18004 (cbrt_test): Likewise.
18005 (ccos_test): Likewise.
18006 (ccosh_test): Likewise.
18007 (ceil_test): Likewise.
18008 (cexp_test): Likewise.
18009 (cimag_test): Likewise.
18010 (clog_test): Likewise.
18011 (clog10_test): Likewise.
18012 (conj_test): Likewise.
18013 (copysign_test): Likewise.
18014 (cos_test): Likewise.
18015 (cos_test_tonearest): Likewise.
18016 (cos_test_towardzero): Likewise.
18017 (cos_test_downward): Likewise.
18018 (cos_test_upward): Likewise.
18019 (cosh_test): Likewise.
18020 (cosh_test_tonearest): Likewise.
18021 (cosh_test_towardzero): Likewise.
18022 (cosh_test_downward): Likewise.
18023 (cosh_test_upward): Likewise.
18024 (cpow_test): Likewise.
18025 (cproj_test): Likewise.
18026 (creal_test): Likewise.
18027 (csin_test): Likewise.
18028 (csinh_test): Likewise.
18029 (csqrt_test): Likewise.
18030 (ctan_test): Likewise.
18031 (ctan_test_tonearest): Likewise.
18032 (ctan_test_towardzero): Likewise.
18033 (ctan_test_downward): Likewise.
18034 (ctan_test_upward): Likewise.
18035 (ctanh_test): Likewise.
18036 (ctanh_test_tonearest): Likewise.
18037 (ctanh_test_towardzero): Likewise.
18038 (ctanh_test_downward): Likewise.
18039 (ctanh_test_upward): Likewise.
18040 (erf_test): Likewise.
18041 (erfc_test): Likewise.
18042 (exp_test): Likewise.
18043 (exp_test_tonearest): Likewise.
18044 (exp_test_towardzero): Likewise.
18045 (exp_test_downward): Likewise.
18046 (exp_test_upward): Likewise.
18047 (exp10_test): Likewise.
18048 (exp10_test_tonearest): Likewise.
18049 (exp10_test_towardzero): Likewise.
18050 (exp10_test_downward): Likewise.
18051 (exp10_test_upward): Likewise.
18052 (pow10_test): Likewise.
18053 (exp2_test): Likewise.
18054 (expm1_test): Likewise.
18055 (expm1_test_tonearest): Likewise.
18056 (expm1_test_towardzero): Likewise.
18057 (expm1_test_downward): Likewise.
18058 (expm1_test_upward): Likewise.
18059 (fabs_test): Likewise.
18060 (fdim_test): Likewise.
18061 (floor_test): Likewise.
18062 (fma_test): Likewise.
18063 (fma_test_towardzero): Likewise.
18064 (fma_test_downward): Likewise.
18065 (fma_test_upward): Likewise.
18066 (fmax_test): Likewise.
18067 (fmin_test): Likewise.
18068 (fmod_test): Likewise.
18069 (fpclassify_test): Likewise.
18070 (frexp_test): Likewise.
18071 (hypot_test): Likewise.
18072 (ilogb_test): Likewise.
18073 (isfinite_test): Likewise.
18074 (finite_test): Likewise.
18075 (isgreater_test): Likewise.
18076 (isgreaterequal_test): Likewise.
18077 (isinf_test): Likewise.
18078 (isless_test): Likewise.
18079 (islessequal_test): Likewise.
18080 (islessgreater_test): Likewise.
18081 (isnan_test): Likewise.
18082 (isnormal_test): Likewise.
18083 (issignaling_test): Likewise.
18084 (isunordered_test): Likewise.
18085 (j0_test): Likewise.
18086 (j1_test): Likewise.
18087 (jn_test): Likewise.
18088 (ldexp_test): Likewise.
18089 (lgamma_test): Likewise.
18090 (gamma_test): Likewise.
18091 (lrint_test): Likewise.
18092 (lrint_test_tonearest): Likewise.
18093 (lrint_test_towardzero): Likewise.
18094 (lrint_test_downward): Likewise.
18095 (lrint_test_upward): Likewise.
18096 (llrint_test): Likewise.
18097 (llrint_test_tonearest): Likewise.
18098 (llrint_test_towardzero): Likewise.
18099 (llrint_test_downward): Likewise.
18100 (llrint_test_upward): Likewise.
18101 (log_test): Likewise.
18102 (log10_test): Likewise.
18103 (log1p_test): Likewise.
18104 (log2_test): Likewise.
18105 (logb_test): Likewise.
18106 (logb_test_downward): Likewise.
18107 (lround_test): Likewise.
18108 (llround_test): Likewise.
18109 (modf_test): Likewise.
18110 (nearbyint_test): Likewise.
18111 (nextafter_test): Likewise.
18112 (nexttoward_test): Likewise.
18113 (pow_test): Likewise.
18114 (pow_test_tonearest): Likewise.
18115 (pow_test_towardzero): Likewise.
18116 (pow_test_downward): Likewise.
18117 (pow_test_upward): Likewise.
18118 (remainder_test): Likewise.
18119 (drem_test): Likewise.
18120 (remainder_test_tonearest): Likewise.
18121 (drem_test_tonearest): Likewise.
18122 (remainder_test_towardzero): Likewise.
18123 (drem_test_towardzero): Likewise.
18124 (remainder_test_downward): Likewise.
18125 (drem_test_downward): Likewise.
18126 (remainder_test_upward): Likewise.
18127 (drem_test_upward): Likewise.
18128 (remquo_test): Likewise.
18129 (rint_test): Likewise.
18130 (rint_test_tonearest): Likewise.
18131 (rint_test_towardzero): Likewise.
18132 (rint_test_downward): Likewise.
18133 (rint_test_upward): Likewise.
18134 (round_test): Likewise.
18135 (scalb_test): Likewise.
18136 (scalbn_test): Likewise.
18137 (scalbln_test): Likewise.
18138 (signbit_test): Likewise.
18139 (sin_test): Likewise.
18140 (sin_test_tonearest): Likewise.
18141 (sin_test_towardzero): Likewise.
18142 (sin_test_downward): Likewise.
18143 (sin_test_upward): Likewise.
18144 (sincos_test): Likewise.
18145 (sinh_test): Likewise.
18146 (sinh_test_tonearest): Likewise.
18147 (sinh_test_towardzero): Likewise.
18148 (sinh_test_downward): Likewise.
18149 (sinh_test_upward): Likewise.
18150 (sqrt_test): Likewise.
18151 (sqrt_test_tonearest): Likewise.
18152 (sqrt_test_towardzero): Likewise.
18153 (sqrt_test_downward): Likewise.
18154 (sqrt_test_upward): Likewise.
18155 (tan_test): Likewise.
18156 (tan_test_tonearest): Likewise.
18157 (tan_test_towardzero): Likewise.
18158 (tan_test_downward): Likewise.
18159 (tan_test_upward): Likewise.
18160 (tanh_test): Likewise.
18161 (tgamma_test): Likewise.
18162 (trunc_test): Likewise.
18163 (y0_test): Likewise.
18164 (y1_test): Likewise.
18165 (yn_test): Likewise.
18166 (significand_test): Likewise.
18167
e6b6a857
JM
18168 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
18169 individual tests in comment.
18170 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
18171 (prev_max_error): New variable.
18172 (prev_real_max_error): Likewise.
18173 (prev_imag_max_error): Likewise.
18174 (compare_ulp_data): Don't refer to test names in comment.
18175 (find_test_ulps): Remove function.
18176 (find_function_ulps): Likewise.
18177 (find_complex_function_ulps): Likewise.
18178 (init_max_error): Take function name as argument. Look up ulps
18179 for that function.
18180 (print_ulps): Remove function.
18181 (print_max_error): Use prev_max_error instead of calling
18182 find_function_ulps.
18183 (print_complex_max_error): Use prev_real_max_error and
18184 prev_imag_max_error instead of calling find_complex_function_ulps.
18185 (check_float_internal): Take max_ulp parameter instead of calling
18186 find_test_ulps. Don't call print_ulps.
18187 (check_float): Update call to check_float_internal.
18188 (check_complex): Update calls to check_float_internal.
18189 (START): Pass argument to init_max_error.
18190 * math/gen-libm-test.pl (%results): Don't include "kind"
18191 information.
18192 (parse_ulps): Don't handle ulps of individual tests.
18193 (print_ulps_file): Likewise.
18194 (output_ulps): Likewise.
18195 * math/README.libm-test: Update.
18196 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
18197 individual tests.
18198 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
18199 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
18200 * sysdeps/arm/libm-test-ulps: Likewise.
18201 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
18202 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
18203 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
18204 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
18205 * sysdeps/microblaze/libm-test-ulps: Likewise.
18206 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
18207 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
18208 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18209 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
18210 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18211 * sysdeps/sh/libm-test-ulps: Likewise.
18212 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18213 * sysdeps/tile/libm-test-ulps: Likewise.
18214 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18215
45adef3c
JM
182162014-03-04 Joseph Myers <joseph@codesourcery.com>
18217
18218 * math/libm-test.inc (print_complex_max_error): Check separately
18219 whether real and imaginary errors are within allowed range and
18220 pass 0 to print_complex_function_ulps instead of value within
18221 allowed range.
18222
000232b9
SP
182232014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18224
d4b17258
SP
18225 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
18226 formatting.
18227 (get_handles_fopen): Likewise.
18228 (do_write_test): Likewise.
18229
091eff71
SP
18230 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
18231
fa3cd248
SP
18232 * libio/fileops.c (do_ftell): Use cached offset when
18233 available.
18234 * libio/iofwide.c (do_ftell_wide): Likewise.
18235 * libio/iofdopen.c (_IO_new_fdopen): Don't use
18236 _IO_file_attach.
18237 * libio/wfileops.c (_IO_fwide): Don't cache offset.
18238
000232b9
SP
18239 [BZ #16532]
18240 * libio/libioP.h (get_file_offset): New function.
18241 * libio/fileops.c (get_file_offset): Likewise.
18242 (do_ftell): Likewise.
18243 (_IO_new_file_seekoff): Split out ftell logic.
18244 * libio/wfileops.c (do_ftell_wide): Likewise.
18245 (_IO_wfile_seekoff): Split out ftell logic.
18246 * libio/tst-ftell-active-handler.c: New test case.
18247 * libio/Makefile (tests): Add it.
18248
116f4d1a
RM
182492014-03-03 Roland McGrath <roland@hack.frob.com>
18250
18251 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
18252 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
18253
532a6035
SP
182542014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
18255
18256 [BZ #16639]
18257 * nscd/connections.c (nscd_init): Call do_exit.
18258 (start_threads): Call do_exit and notify_parent.
18259 (begin_drop_privileges): Call do_exit.
18260 (finish_drop_privileges): Likewise.
18261 * nscd/selinux.c (preserve_capabilities): Likewise.
18262 (install_real_capabilities): Likewise.
18263 (nscd_selinux_enabled): Likewise.
18264 (avc_create_thread): Likewise.
18265 (avc_alloc_lock): Likewise.
18266 (nscd_avc_init): Likewise.
18267 * nscd/nscd.c (parent_fd): New static variable.
18268 (main): Create a pipe between parent and child processes.
18269 Skip closing parent_fd.
18270 (monitor_child): New function.
18271 (do_exit): Likewise.
18272 (notify_parent): Likewise.
18273 * nscd/nscd.h (notify_parent): Likewise.
18274 (do_exit): Likewise.
18275
d6285c9f
CD
182762014-03-03 Carlos O'Donell <carlos@redhat.com>
18277
18278 * malloc/malloc.c (__libc_calloc): Revert last change.
18279
2b85d2a0
AZ
182802014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18281
18282 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18283
c7debbdf
RS
182842014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18285
18286 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
18287 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
18288 implementation.
18289 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18290 (__libc_ifunc_impl_list): Likewise.
18291 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
18292 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
18293 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
18294 * string/strrchr.c: Define STRRCHR.
18295
235eed86
OB
182962014-02-28 Ondřej Bílka <neleai@seznam.cz>
18297
18298 * benchtest/bench-strtok.c (simple_strtok): Delete.
18299 (strtok_string): Use as benchmark.
18300 * string/strtok (STRTOK): New macro.
18301
8e25d1e7
CD
183022014-02-28 Carlos O'Donell <carlos@redhat.com>
18303
ef563f92
CD
18304 * manual/threads.texi: Add header and standard comments to all
18305 functions.
18306
8e25d1e7
CD
18307 * elf/dl-lookup.c (check_match): New function.
18308 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
18309 (do_lookup_x): Remove nested function check_match. Use non-nested
18310 function check_match.
18311
ff71cc37
RM
183122014-02-28 Roland McGrath <roland@hack.frob.com>
18313
f08e9a26
RM
18314 * csu/Makefile (generated, before-compile): Use += rather than =.
18315 * catgets/Makefile (generated, generated-dirs): Likewise.
18316 * debug/Makefile (generated): Likewise.
18317 * dlfcn/Makefile (generated): Likewise.
18318 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
18319 * iconvdata/Makefile (before-compile, generated): Likewise.
18320 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
18321 * libio/Makefile (generated): Likewise.
18322 * malloc/Makefile (generated): Likewise.
18323 * manual/Makefile (generated, generated-dirs): Likewise.
18324 * misc/Makefile (generated): Likewise.
18325 * posix/Makefile (generated): Likewise.
18326 * resolv/Makefile (generated): Likewise.
18327 * sunrpc/Makefile (generated, generated-dirs): Likewise.
18328 * timezone/Makefile (generated, generated-dirs): Likewise.
18329
ff71cc37
RM
18330 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
18331
fe13a20c
AZ
183322014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18333
57f41c40
AS
18334 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
18335 power8 implementation.
18336 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
18337 file: POWER8 llround ifunc implementation.
18338 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
18339 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
18340 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
18341 POWER8 llround implementation.
18342
57f41c40
AS
18343 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
18344 power8 implementation.
18345 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
18346 file: POWER8 llrint ifunc implementation.
18347 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
18348 Add POWER8 implementation.
1ad8950a
AZ
18349 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
18350 POWER8 llrint implementation.
18351
57f41c40
AS
18352 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
18353 power8 implementation.
18354 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
18355 file: POWER8 finite ifunc implementation.
18356 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
18357 Add POWER8 implementation.
cac626d6
AZ
18358 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
18359 Likewise.
18360 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
18361 POWER8 finite implementation.
18362 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
18363
57f41c40
AS
18364 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
18365 power8 implementation.
18366 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
18367 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
18368 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
18369 POWER8 implementation.
18370 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
18371 Likewise.
57f41c40
AS
18372 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
18373 isinf implementation.
4393fc11
AZ
18374 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
18375
57f41c40
AS
18376 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
18377 (INIT_ARCH): Add hwcap2 initialization.
18378 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
18379 power8 implementation.
18380 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
18381 file: POWER8 isnan ifunc implementation.
487972ae
AZ
18382 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
18383 POWER8 implementation.
18384 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
18385 Likewise.
57f41c40
AS
18386 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
18387 isnan implementation.
487972ae
AZ
18388 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
18389
7d92b787
JY
183902014-02-27 Joey Ye <joey.ye@arm.com>
18391
18392 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
18393 (_FP_NANFRAC_Q): Set to zero.
18394
1cadc858
SP
183952014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
18396
18397 [BZ #16623]
18398 * math/auto-libm-test-in: New test inputs.
18399 * math/auto-libm-test-out: Regenerate.
18400 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
18401 and DA.
18402 (__cos): Likewise.
18403 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
18404
f8c17e79
JM
184052014-02-27 Joseph Myers <joseph@codesourcery.com>
18406
18407 * scripts/evaluate-test.sh: Take new argument indicating whether
18408 failure is expected.
18409 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
18410 indicating whether failure is expected.
18411 * conform/Makefile (test-xfail-run-conformtest): New variable.
18412 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
18413 level.
18414 * posix/Makefile (test-xfail-annexc): New variable.
18415 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
18416
a5f891ac
JM
184172014-02-26 Joseph Myers <joseph@codesourcery.com>
18418
18419 * argp/Makefile: Include Makeconfig immediately after defining
18420 subdir.
18421 * assert/Makefile: Likewise.
18422 * benchtests/Makefile: Likewise.
18423 * catgets/Makefile: Likewise.
18424 * conform/Makefile: Likewise.
18425 * crypt/Makefile: Likewise.
18426 * csu/Makefile: Likewise.
18427 (all): Remove target.
18428 * ctype/Makefile: Include Makeconfig immediately after defining
18429 subdir.
18430 * debug/Makefile: Likewise.
18431 * dirent/Makefile: Likewise.
18432 * dlfcn/Makefile: Likewise.
18433 * gmon/Makefile: Likewise.
18434 * gnulib/Makefile: Likewise.
18435 * grp/Makefile: Likewise.
18436 * gshadow/Makefile: Likewise.
18437 * hesiod/Makefile: Likewise.
18438 * hurd/Makefile: Likewise.
18439 (all): Remove target.
18440 * iconvdata/Makefile: Include Makeconfig immediately after
18441 defining subdir.
18442 * inet/Makefile: Likewise.
18443 * intl/Makefile: Likewise.
18444 * io/Makefile: Likewise.
18445 * libio/Makefile: Likewise.
18446 (all): Remove target.
18447 * locale/Makefile: Include Makeconfig immediately after defining
18448 subdir.
18449 * login/Makefile: Likewise.
18450 * mach/Makefile: Likewise.
18451 (all): Remove target.
18452 * malloc/Makefile: Include Makeconfig immediately after defining
18453 subdir.
18454 (all): Remove target.
18455 * manual/Makefile: Include Makeconfig immediately after defining
18456 subdir.
18457 * math/Makefile: Likewise.
18458 * misc/Makefile: Likewise.
18459 * nis/Makefile: Likewise.
18460 * nss/Makefile: Likewise.
18461 * po/Makefile: Likewise.
18462 (all): Remove target.
18463 * posix/Makefile: Include Makeconfig immediately after defining
18464 subdir.
18465 * pwd/Makefile: Likewise.
18466 * resolv/Makefile: Likewise.
18467 * resource/Makefile: Likewise.
18468 * rt/Makefile: Likewise.
18469 * setjmp/Makefile: Likewise.
18470 * shadow/Makefile: Likewise.
18471 * signal/Makefile: Likewise.
18472 * socket/Makefile: Likewise.
18473 * soft-fp/Makefile: Likewise.
18474 * stdio-common/Makefile: Likewise.
18475 * stdlib/Makefile: Likewise.
18476 * streams/Makefile: Likewise.
18477 * string/Makefile: Likewise.
18478 * sunrpc/Makefile: Likewise.
18479 (all): Remove target.
18480 * sysvipc/Makefile: Include Makeconfig immediately after defining
18481 subdir.
18482 * termios/Makefile: Likewise.
18483 * time/Makefile: Likewise.
18484 * timezone/Makefile: Likewise.
18485 (all): Remove target.
18486 * wcsmbs/Makefile: Include Makeconfig immediately after defining
18487 subdir.
18488 * wctype/Makefile: Likewise.
18489
5b456e9d
SE
184902014-02-26 Steve Ellcey <sellcey@mips.com>
18491
18492 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
18493 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
18494 (libc_feholdexcept_setround_mips): Ditto.
18495 (libc_feholdsetround): New.
18496 (libc_feholdsetroundf): New.
18497 (libc_feholdsetroundl): New.
18498 (libc_feupdateenv_test_mips): New.
18499 (libc_feupdateenv_test): New.
18500 (libc_feupdateenv_testf): New.
18501 (libc_feupdateenv_testl): New.
18502 (libc_feresetround): New.
18503 (libc_feresetroundf): New.
18504 (libc_feresetroundl): New.
18505 (libc_fetestexcept_mips): New.
18506 (libc_fetestexcept): New.
18507 (libc_fetestexceptf): New.
18508 (libc_fetestexceptl): New.
18509 (HAVE_RM_CTX): New.
18510 (libc_feholdexcept_setround_mips_ctx): New.
18511 (libc_feholdexcept_setround_ctx): New.
18512 (libc_feholdexcept_setroundf_ctx): New.
18513 (libc_feholdexcept_setroundl_ctx): New.
18514 (libc_fesetenv_mips_ctx): New.
18515 (libc_fesetenv_ctx): New.
18516 (libc_fesetenv_ctxf): New.
18517 (libc_fesetenv_ctxl): New.
18518 (libc_feupdateenv_mips_ctx): New.
18519 (libc_feupdateenv_ctx): New.
18520 (libc_feupdateenvf_ctx): New.
18521 (libc_feupdateenvl_ctx): New.
18522 (libc_feholdsetround_mips_ctx): New.
18523 (libc_feholdsetround_ctx): New.
18524 (libc_feholdsetroundf_ctx): New.
18525 (libc_feholdsetroundl_ctx): New.
18526 (libc_feresetround_mips_ctx): New.
18527 (libc_feresetround_ctx): New.
18528 (libc_feresetroundf_ctx): New.
18529 (libc_feresetroundl_ctx): New.
18530
085d0e35
CD
185312014-02-26 Carlos O'Donell <carlos@redhat.com>
18532
f067bf1f
CD
18533 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
18534
085d0e35
CD
18535 * manual/ipc.texi: New file.
18536 * manual/Makefile (chapters): Add ipc.
18537 * manual/job.texi: Add "Inter-Process Communication" to next.
18538 * manual/process.texi: Add "Inter-Process Communication" to prev.
18539
86e58c08
AZ
185402014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18541
18542 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18543
4248f0da
OB
185442014-02-26 Ondřej Bílka <neleai@seznam.cz>
18545
18546 * malloc/malloc.c (__libc_calloc): Simplify implementation.
18547
cf822e3c
OB
18548 * manual/arith.texi: Fix spaces after sentences.
18549 * manual/charset.texi: Likewise.
18550 * manual/errno.texi: Likewise.
18551 * manual/install.texi: Likewise.
18552 * manual/llio.texi: Likewise.
18553 * manual/locale.texi: Likewise.
18554 * manual/maint.texi: Likewise.
18555 * manual/math.texi: Likewise.
18556 * manual/memory.texi: Likewise.
18557 * manual/message.texi: Likewise.
18558 * manual/probes.texi: Likewise.
18559 * manual/resource.texi: Likewise.
18560 * manual/signal.texi: Likewise.
18561 * manual/socket.texi: Likewise.
18562 * manual/stdio.texi: Likewise.
18563 * manual/string.texi: Likewise.
18564 * manual/time.texi: Likewise.
18565 * manual/users.texi: Likewise.
18566
ade40b10
CD
185672014-02-25 Carlos O'Donell <carlos@redhat.com>
18568
18569 [BZ #16632]
18570 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
18571 _DEFAULT_SOURCE is defined.
18572
d0503676
CD
185732014-02-25 Ulrich Drepper <drepper@gmail.com>
18574 Carlos O'Donell <carlos@redhat.com>
18575
18576 [BZ #16613]
18577 * elf/dl-tls.c (_dl_count_modids): New function.
18578 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
18579 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
18580 audit library and increment generation counter.
18581 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
18582 * elf/tst-audit9.c: New file.
18583 * elf/tst-auditmod9a.c: New file.
18584 * elf/tst-auditmod9b.c: New file.
18585 * elf/Makefile: Add rules to build and run tst-audit9.
18586
4cbf380c
FW
185872014-02-25 Florian Weimer <fweimer@redhat.com>
18588
18589 [BZ #15347]
18590 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
18591
80a56cc3
WN
185922014-02-25 Will Newton <will.newton@linaro.org>
18593
18594 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
18595 (__longjmp): Restore sp and lr before restoring callee
18596 saved registers. Add longjmp and longjmp_target
18597 SystemTap probe point.
18598 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
18599 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
18600 Define to zero to match jmpbuf layout.
18601 * sysdeps/arm/setjmp.S: Include stap-probe.h.
18602 (__sigsetjmp): Save sp and lr before saving callee
18603 saved registers. Add setjmp SystemTap probe point.
18604
3ea0f74e
SL
186052014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
18606
18607 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18608
b04acb26
AS
186092014-02-24 Andreas Schwab <schwab@suse.de>
18610
18611 [BZ #15804]
18612 * elf/pldd.c (wait_for_ptrace_stop): New function.
18613 (main): Call it after attaching.
18614
098ad55c
RM
186152014-02-22 Roland McGrath <roland@hack.frob.com>
18616
d4ec6ae1
RM
18617 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
18618 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
18619 Versions files is now verboten.
18620 * hurd/Versions (libc: GLIBC_2.0):
18621 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
18622 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
18623 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
18624 * mach/Versions: Likewise.
18625
098ad55c
RM
18626 * csu/Versions: Remove unused %include.
18627 * resolv/Versions: Likewise.
18628
acd7f096
JM
186292014-02-21 Joseph Myers <joseph@codesourcery.com>
18630
f0881698
JM
18631 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
18632 ($(objpfx)check-local-headers.out): Likewise.
18633 ($(objpfx)begin-end-check.out): Likewise.
18634 * Makerules (check-abi-%.out): Likewise.
18635 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
18636 ($(objpfx)test2.cat): Likewise.
18637 ($(objpfx)de/libc.cat): Likewise.
18638 ($(objpfx)test-gencat.out): Likewise.
18639 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
18640 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
18641 ($(objpfx)noload-mem): Likewise.
18642 ($(objpfx)tst-pathopt.out): Likewise.
18643 ($(objpfx)tst-rtld-load-self.out): Likewise.
18644 ($(objpfx)tst-array1-cmp.out): Likewise.
18645 ($(objpfx)tst-array1-static-cmp.out): Likewise.
18646 ($(objpfx)tst-array2-cmp.out): Likewise.
18647 ($(objpfx)tst-array3-cmp.out): Likewise.
18648 ($(objpfx)tst-array4-cmp.out): Likewise.
18649 ($(objpfx)tst-array5-cmp.out): Likewise.
18650 ($(objpfx)tst-array5-static-cmp.out): Likewise.
18651 ($(objpfx)check-textrel.out): Likewise.
18652 ($(objpfx)check-execstack.out): Likewise.
18653 ($(objpfx)check-localplt.out): Likewise.
18654 ($(objpfx)order2-cmp.out): Likewise.
18655 ($(objpfx)tst-leaks1-mem): Likewise.
18656 ($(objpfx)tst-leaks1-static-mem): Likewise.
18657 ($(objpfx)tst-initorder-cmp.out): Likewise.
18658 ($(objpfx)tst-initorder2-cmp.out): Likewise.
18659 ($(objpfx)tst-unused-dep.out): Likewise.
18660 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
18661 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
18662 * iconv/Makefile (test-iconvconfig): Likewise.
18663 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
18664 ($(objpfx)iconv-test.out): Likewise.
18665 ($(objpfx)tst-tables.out): Likewise.
18666 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
18667 ($(objpfx)tst-gettext.out): Likewise.
18668 ($(objpfx)tst-translit.out): Likewise.
18669 ($(objpfx)tst-gettext2.out): Likewise.
18670 ($(objpfx)tst-gettext4.out): Likewise.
18671 ($(objpfx)tst-gettext6.out): Likewise.
18672 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
18673 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
18674 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
18675 ($(objpfx)tst-fopenloc-mem.out): Likewise.
18676 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
18677 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
18678 * posix/Makefile ($(objpfx)globtest.out): Likewise.
18679 ($(objpfx)wordexp-tst.out): Likewise.
18680 ($(objpfx)annexc.out): Likewise.
18681 ($(objpfx)tst-fnmatch-mem): Likewise.
18682 ($(objpfx)bug-regex2-mem): Likewise.
18683 ($(objpfx)bug-regex14-mem): Likewise.
18684 ($(objpfx)bug-regex21-mem): Likewise.
18685 ($(objpfx)bug-regex31-mem): Likewise.
18686 ($(objpfx)tst-vfork3-mem): Likewise.
18687 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
18688 ($(objpfx)tst-pcre-mem): Likewise.
18689 ($(objpfx)tst-boost-mem): Likewise.
18690 ($(objpfx)tst-getconf.out): Likewise.
18691 ($(objpfx)bug-ga2-mem): Likewise.
18692 ($(objpfx)bug-glob2-mem): Likewise.
18693 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
18694 ($(objpfx)mtrace-tst-leaks2): Likewise.
18695 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
18696 ($(objpfx)tst-printf.out): Likewise.
18697 ($(objpfx)tst-setvbuf1.out): Likewise.
18698 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
18699 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
18700 ($(objpfx)tst-fmtmsg.out): Likewise.
18701 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
18702 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
18703
acd7f096
JM
18704 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
18705 * bits/sigaction.h [__USE_MISC]: Likewise.
18706 * bits/waitstatus.h: Update #endif comments.
18707 * ctype/ctype.h: Likewise.
18708 * dirent/dirent.h: Likewise.
18709 [__USE_MISC]: Remove redundant conditionals.
18710 * grp/grp.h: Update #endif comments.
18711 [__USE_GNU]: Remove redundant conditionals.
18712 [__USE_MISC]: Likewise.
18713 * inet/netinet/in.h [__USE_GNU]: Likewise.
18714 * io/sys/stat.h [__USE_MISC]: Likewise.
18715 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
18716 * libio/bits/stdio.h: Update #endif comments.
18717 [__USE_MISC]: Remove redundant conditionals.
18718 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
18719 * libio/stdio.h: Update #endif comments.
18720 [__USE_MISC]: Remove redundant conditionals.
18721 * math/bits/math-finite.h [__USE_MISC]: Likewise.
18722 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
18723 * math/math.h: Update #else and #endif comments.
18724 [__USE_MISC]: Remove redundant conditionals.
18725 * misc/sys/uio.h: Update #endif comments.
18726 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
18727 * posix/glob.h [__USE_MISC]: Likewise.
18728 * posix/sys/types.h: Update #endif comments.
18729 [__USE_MISC]: Remove redundant conditionals.
18730 * posix/sys/wait.h: Update #endif comments.
18731 [__USE_MISC]: Remove redundant conditionals.
18732 * posix/unistd.h: Update #endif comments.
18733 [__USE_MISC]: Remove redundant conditionals.
18734 * pwd/pwd.h [__USE_GNU]: Likewise.
18735 [__USE_MISC]: Likewise.
18736 * resolv/netdb.h [__USE_GNU]: Likewise.
18737 * signal/signal.h: Update #endif comments.
18738 [__USE_MISC]: Remove redundant conditionals.
18739 * stdlib/stdlib.h: Update #else and #endif comments.
18740 [__USE_MISC]: Remove redundant conditionals.
18741 [__USE_GNU]: Likewise.
18742 * string/bits/string2.h [__USE_MISC]: Likewise.
18743 * string/string.h: Update #endif comments.
18744 [__USE_MISC]: Remove redundant conditionals.
18745 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
18746 Likewise.
18747 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
18748 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
18749 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
18750 Likewise.
18751 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
18752 Likewise.
18753 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
18754 comments.
18755 [__USE_MISC]: Remove redundant conditionals.
18756 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
18757 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
18758 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
18759 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
18760 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
18761 Likewise.
18762 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
18763 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
18764 Likewise.
18765 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
18766 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
18767 Likewise.
18768 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
18769 Likewise.
18770 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
18771 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
18772 Likewise.
18773 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
18774 Likewise.
18775 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
18776 * sysdeps/x86/bits/string.h: Update #endif comments.
18777 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
18778 conditionals.
18779 * time/sys/time.h: Update #endif comments.
18780 * time/time.h: Likewise.
18781 [__USE_MISC]: Remove redundant conditionals.
18782
a5d82e4e
YG
187832014-02-21 Yury Gribov <y.gribov@samsung.com>
18784
18785 [BZ #16600]
18786 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
18787
9a80491d
AS
187882014-02-21 Andreas Schwab <schwab@linux-m68k.org>
18789
18790 * Versions.def (librt): Add GLIBC_2.17.
18791
105fa381
AC
187922014-02-21 Adam Conrad <adconrad@0c3.net>
18793
18794 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
18795 synonym for _SYS_AUXV_H to allow direct inclusion.
18796 * sysdeps/sparc/bits/hwcap.h: Likewise.
18797 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
18798 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
18799 * sysdeps/sparc/sysdep.h: Likewise.
18800
b8cd1c4e
SP
188012014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18802
18803 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
18804
bd939d23
RS
188052014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18806
18807 * benchtests/bench-strrchr.c: Print length instead of position.
18808
5d7b57ca
JM
188092014-02-20 Joseph Myers <joseph@codesourcery.com>
18810
bc688c10
JM
18811 [BZ #16611]
18812 * sysdeps/unix/sysv/linux/kernel-features.h
18813 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
18814 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
18815 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
18816 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
18817 Likewise.
18818 [__i386__ || __powerpc__ || __sh__ || __sparc__]
18819 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
18820 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
18821 (__ASSUME_SENDMMSG): Define instead of using previous
18822 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
18823 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18824 (__ASSUME_SENDMMSG_SYSCALL): Define.
18825 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18826 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
18827 Likewise.
18828 * sysdeps/unix/sysv/linux/arm/kernel-features.h
18829 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
18830 Likewise.
18831 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18832 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
18833 Likewise.
18834 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
18835 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
18836 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
18837 [__ASSUME_SENDMMSG]: Change conditionals to
18838 [__ASSUME_SENDMMSG_SOCKETCALL].
18839 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18840 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
18841 Define.
18842 * sysdeps/unix/sysv/linux/mips/kernel-features.h
18843 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
18844 Likewise.
18845 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
18846 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
18847 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
18848 [!__ASSUME_SENDMMSG]: Change conditional to
18849 [!__ASSUME_SENDMMSG_SOCKETCALL].
18850 * sysdeps/unix/sysv/linux/tile/kernel-features.h
18851 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
18852 Define.
18853
0e31b18c
JM
18854 [BZ #16610]
18855 * sysdeps/unix/sysv/linux/kernel-features.h
18856 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
18857 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
18858 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
18859 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
18860 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
18861 [__i386__ || __sparc__]
18862 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
18863 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
18864 (__ASSUME_RECVMMSG): Define instead of using previous
18865 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
18866 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18867 (__ASSUME_RECVMMSG_SYSCALL): Define.
18868 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18869 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18870 Likewise.
18871 * sysdeps/unix/sysv/linux/arm/kernel-features.h
18872 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18873 Likewise.
18874 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18875 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18876 Likewise.
18877 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
18878 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
18879 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
18880 [__ASSUME_RECVMMSG]: Change condition to
18881 [__ASSUME_RECVMMSG_SOCKETCALL].
18882 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18883 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18884 Define.
18885 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
18886 * sysdeps/unix/sysv/linux/mips/kernel-features.h
18887 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18888 Likewise.
18889 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
18890 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
18891 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
18892 [!__ASSUME_RECVMMSG]: Change condition to
18893 [!__ASSUME_RECVMMSG_SOCKETCALL].
18894 * sysdeps/unix/sysv/linux/tile/kernel-features.h
18895 (__ASSUME_RECVMMSG_SYSCALL): Define.
18896
dd481ccf
JM
18897 [BZ #16609]
18898 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
18899 __powerpc__ || __s390__ || __sh__ || __sparc__]
18900 (__ASSUME_SOCKETCALL): Define.
18901 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
18902 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
18903 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
18904 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
18905 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18906 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
18907 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
18908 (__ASSUME_ACCEPT4): Define instead of using previous
18909 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
18910 __powerpc__ || __sparc__ || __s390__)] condition.
18911 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18912 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
18913 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
18914 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
18915 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
18916 [!__ASSUME_ACCEPT4]: Change condition to
18917 [!__ASSUME_ACCEPT4_SOCKETCALL].
18918 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18919 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
18920 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
18921 * sysdeps/unix/sysv/linux/arm/kernel-features.h
18922 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
18923 __ASSUME_ACCEPT4_SYSCALL.
18924 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
18925 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
18926 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18927 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
18928 __ASSUME_ACCEPT4_SYSCALL.
18929 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
18930 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
18931 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
18932 [__ASSUME_ACCEPT4]: Change condition to
18933 [__ASSUME_ACCEPT4_SOCKETCALL].
18934 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18935 (__ASSUME_SOCKETCALL): Define.
18936 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
18937 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18938 (__ASSUME_SOCKETCALL): Define.
18939 (__ASSUME_ACCEPT4): Remove.
18940 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
18941 Define.
18942 * sysdeps/unix/sysv/linux/mips/kernel-features.h
18943 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
18944 Likewise.
18945 * sysdeps/unix/sysv/linux/tile/kernel-features.h
18946 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
18947
5d7b57ca
JM
18948 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
18949 macro.
18950 (HWCAP_ARM_LPAE): Likewise.
18951 (HWCAP_ARM_EVTSTRM): Likewise.
18952 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
18953 Add vpfd32, lpae and evtstrm.
18954 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
18955 Increase to 22.
18956
63689d61
JM
189572014-02-19 Joseph Myers <joseph@codesourcery.com>
18958
18959 * math/auto-libm-test-in: Add tests of clog10.
18960 * math/auto-libm-test-out: Regenerated.
18961 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
18962 * sysdeps/i386/fpu/libm-test-ulps: Update.
18963 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18964
ab09bf61
AS
189652014-02-18 Andreas Schwab <schwab@suse.de>
18966
18967 [BZ #16574]
18968 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
18969 Store non-zero if the second buffer was newly allocated.
18970 (send_dg): Likewise.
18971 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
18972 to send_vc and send_dg.
18973 (res_nsend): Pass NULL for ansp2_malloced.
18974 * resolv/res_query.c (__libc_res_nquery): Add parameter
18975 answerp2_malloced and pass it down to __libc_res_nsend.
18976 (res_nquery): Pass additional NULL to __libc_res_nquery.
18977 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
18978 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
18979 second answer buffer if answerp2_malloced was set.
18980 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
18981 (__libc_res_nquerydomain): Add parameter
18982 answerp2_malloced and pass it down to __libc_res_nquery.
18983 (res_nquerydomain): Pass additional NULL to
18984 __libc_res_nquerydomain.
18985 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
18986 additional NULL to __libc_res_nsend and __libc_res_nquery.
18987 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
18988 additional NULL to __libc_res_nsearch.
18989 (_nss_dns_gethostbyname4_r): Revert last change. Use new
18990 parameter of __libc_res_nsearch to check for separately allocated
18991 second buffer.
18992 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
18993 __libc_res_nquery.
18994 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
18995 additional NULL to __libc_res_nquery.
18996 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
18997 __libc_res_nsearch.
18998 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
18999 * include/resolv.h: Update prototypes of __libc_res_nquery,
19000 __libc_res_nsearch, __libc_res_nsend.
19001
a4fb7861
JM
190022014-02-18 Joseph Myers <joseph@codesourcery.com>
19003
c6af2d89
JM
19004 * math/auto-libm-test-in: Add tests of fma.
19005 * math/auto-libm-test-out: Regenerated.
19006 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
19007 (fma_towardzero_test_data): Likewise.
19008 (fma_downward_test_data): Likewise.
19009 (fma_upward_test_data): Likewise.
19010 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
19011 mpc_mode.
19012 (rounding_modes): Add values for new field.
19013 (func_calc_method): Add value mpfr_fff_f.
19014 (func_calc_desc): Add mpfr_fff_f union field.
19015 (test_function): Add field exact_args.
19016 (FUNC): Add macro argument EXACT_ARGS.
19017 (FUNC_mpfr_f_f): Update call to FUNC.
19018 (FUNC_mpfr_f_f): Likewise.
19019 (FUNC_mpfr_ff_f): Likewise.
19020 (FUNC_mpfr_if_f): Likewise.
19021 (FUNC_mpc_c_f): Likewise.
19022 (FUNC_mpc_c_c): Likewise.
19023 (test_functions): Add fma. Update calls to FUNC.
19024 (handle_input_arg): Add argument exact_args.
19025 (add_test): Update call to handle_input_arg.
19026 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
19027 (output_for_one_input_case): Update call to calc_generic_results.
19028 Recalculate exact zero results in each rounding mode.
19029
a4fb7861
JM
19030 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
19031 non-negative before setting low bit.
19032 * math/auto-libm-test-in: Mark one asin test possibly having
19033 spurious underflow.
19034 * math/auto-libm-test-out: Regenerated.
19035 * sysdeps/i386/fpu/libm-test-ulps: Update.
19036 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19037
ef114eaf
DH
190382014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
19039
2b7f4f2c
SP
19040 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
19041 * sysdeps/unix/sysv/linux/microblaze: Move directory from
19042 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
19043 * README: Add missing listing for microblaze*-*-linux-gnu.
19044
8125aedc
AM
190452014-02-16 Ondřej Bílka <neleai@seznam.cz>
19046
19047 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
19048 duplicate code
19049
c70a4b1d
MF
190502014-02-16 Mike Frysinger <vapier@gentoo.org>
19051
19052 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
19053 * sysdeps/unix/sysv/linux/ia64: Move directory from
19054 ports/sysdeps/unix/sysv/linux/ia64.
19055 * README: Update listing for ia64-*-linux-gnu.
19056
591aeaf7
TD
190572014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
19058 Joseph Myers <joseph@codesourcery.com>
19059
19060 * Makeconfig (test-name): New variable.
19061 (evaluate-test): Likewise.
19062 * Makerules (do-test-clean): Remove .test-result files.
19063 (common-mostlyclean): Likewise.
19064 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
19065 * scripts/evaluate-test.sh: New file.
19066
6e89caf1
JM
190672014-02-14 Joseph Myers <joseph@codesourcery.com>
19068
7f98f180
JM
19069 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
19070 separate $(objpfx)tst-fopenloc-cmp.out and
19071 $(objpfx)tst-fopenloc-mem.out targets.
19072 (tests): Update dependencies.
19073 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
19074 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
19075 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
19076 (tst-rxspencer-no-utf8-ARGS): New variable.
19077 (tst-rxspencer-no-utf8-ENV): Likewise.
19078 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
19079 instead of $(objpfx)tst-rxspencer-mem.
19080 ($(objpfx)tst-rxspencer-mem): Change target to
19081 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
19082 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
19083 * posix/tst-rxspencer-no-utf8.c: New file.
19084
6e89caf1
JM
19085 * elf/Makefile ($(objpfx)order.out): Remove rule.
19086 [$(run-built-tests) = yes] (tests): Depend on
19087 $(objpfx)order-cmp.out.
19088 ($(objpfx)order-cmp.out): New rule.
19089 [$(run-built-tests) = yes] (tests): Depend on
19090 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
19091 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
19092 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
19093 $(objpfx)tst-array5-static-cmp.out.
19094 ($(objpfx)tst-array1.out): Remove rule.
19095 ($(objpfx)tst-array1-cmp.out): New rule.
19096 ($(objpfx)tst-array1-static.out): Remove rule.
19097 ($(objpfx)tst-array1-static-cmp.out): New rule.
19098 ($(objpfx)tst-array2.out): Remove rule.
19099 ($(objpfx)tst-array2-cmp.out): New rule.
19100 ($(objpfx)tst-array3.out): Remove rule.
19101 ($(objpfx)tst-array3-cmp.out): New rule.
19102 ($(objpfx)tst-array4.out): Remove rule.
19103 ($(objpfx)tst-array4-cmp.out): New rule.
19104 ($(objpfx)tst-array5.out): Remove rule.
19105 ($(objpfx)tst-array5-cmp.out): New rule.
19106 ($(objpfx)tst-array5-static.out): Remove rule.
19107 ($(objpfx)tst-array5-static-cmp.out): New rule.
19108 [$(run-built-tests) = yes] (tests): Depend on
19109 $(objpfx)order2-cmp.out.
19110 ($(objpfx)order2.out): Remove rule.
19111 ($(objpfx)order2-cmp.out): New rule.
19112 ($(objpfx)tst-initorder.out): Remove rule.
19113 [$(run-built-tests) = yes] (tests): Depend on
19114 $(objpfx)tst-initorder-cmp.out.
19115 ($(objpfx)tst-initorder-cmp.out): New rule.
19116 ($(objpfx)tst-initorder2.out): Remove rule.
19117 [$(run-built-tests) = yes] (tests): Depend on
19118 $(objpfx)tst-initorder2-cmp.out.
19119 ($(objpfx)tst-initorder2-cmp.out): New rule.
19120 [$(run-built-tests) = yes] (tests): Depend on
19121 $(objpfx)tst-unused-dep-cmp.out.
19122 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
19123 ($(objpfx)tst-unused-dep-cmp.out): New rule.
19124 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
19125 on $(objpfx)tst-setvbuf1-cmp.out.
19126 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
19127 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
19128 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
19129 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
19130 ($(objpfx)tst-svc.out): Remove rule.
19131 ($(objpfx)tst-svc-cmp.out): New rule.
19132
ed9a38e2
JM
191332014-02-13 Joseph Myers <joseph@codesourcery.com>
19134
19135 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
19136 * ctype/ctype.h [__USE_MISC]: Likewise.
19137 * dirent/dirent.h [__USE_MISC]: Likewise.
19138 * grp/grp.h [__USE_MISC]: Likewise.
19139 * io/fcntl.h [__USE_MISC]: Likewise.
19140 * io/sys/stat.h [__USE_MISC]: Likewise.
19141 * libio/stdio.h [__USE_MISC]: Likewise.
19142 * posix/unistd.h [__USE_MISC]: Likewise.
19143 * pwd/pwd.h [__USE_MISC]: Likewise.
19144 * stdlib.h [__USE_MISC]: Likewise.
19145 * string/bits/string2.h [__USE_MISC]: Likewise.
19146 * string/string.h [__USE_MISC]: Likewise.
19147 * time/time.h [__USE_MISC]: Likewise.
19148
d6680619
AS
191492014-02-13 Andreas Schwab <schwab@suse.de>
19150
19151 [BZ #16574]
19152 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
19153 second answer buffer if it was separately allocated.
19154
ace614b8
JM
191552014-02-12 Joseph Myers <joseph@codesourcery.com>
19156
743151ae
JM
19157 * sysdeps/mips/math-tests.h: Include <features.h>.
19158 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
19159 (ROUNDING_TESTS_long_double): Do not define.
19160 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
19161 (EXCEPTION_TESTS_long_double): Likewise.
19162 * sysdeps/mips/mips64/libm-test-ulps: Update.
19163
498afc54
JM
19164 * include/features.h (__USE_BSD): Remove macro definitions.
19165 (__USE_SVID): Likewise.
19166 (_BSD_SOURCE): Likewise.
19167 (_SVID_SOURCE): Likewise.
19168 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
19169 from definition of _DEFAULT_SOURCE.
19170 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
19171 [_DEFAULT_SOURCE].
19172 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
19173 * bits/mman.h [__USE_BSD]: Likewise.
19174 * bits/termios.h [__USE_BSD]: Likewise.
19175 * bits/waitstatus.h [__USE_BSD]: Likewise.
19176 * ctype/ctype.h [__USE_SVID]: Likewise.
19177 * dirent/dirent.h [__USE_BSD]: Likewise.
19178 * grp/grp.h [__USE_SVID]: Likewise.
19179 [__USE_BSD]: Likewise.
19180 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
19181 * io/fcntl.h [__USE_BSD]: Likewise.
19182 * io/ftw.h [__USE_BSD]: Likewise.
19183 * io/sys/stat.h [__USE_BSD]: Likewise.
19184 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
19185 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
19186 * libio/stdio.h [__USE_SVID]: Likewise.
19187 [__USE_BSD]: Likewise.
19188 * math/math.h [__USE_SVID]: Likewise.
19189 [__USE_BSD]: Likewise.
19190 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
19191 * misc/bits/syslog.h [__USE_BSD]: Likewise.
19192 * misc/search.h [__USE_SVID]: Likewise.
19193 * misc/sys/mman.h [__USE_BSD]: Likewise.
19194 * misc/sys/syslog.h [__USE_BSD]: Likewise.
19195 * misc/sys/uio.h [__USE_BSD]: Likewise.
19196 * posix/bits/unistd.h [__USE_BSD]: Likewise.
19197 * posix/glob.h [__USE_BSD]: Likewise.
19198 * posix/regex.h [__USE_BSD]: Likewise.
19199 * posix/sys/types.h [__USE_BSD]: Likewise.
19200 [__USE_SVID]: Likewise.
19201 * posix/sys/utsname.h [__USE_SVID]: Likewise.
19202 * posix/sys/wait.h [__USE_BSD]: Likewise.
19203 [__USE_SVID]: Likewise.
19204 * posix/unistd.h [__USE_BSD]: Likewise.
19205 [__USE_SVID]: Likewise.
19206 * pwd/pwd.h [__USE_SVID]: Likewise.
19207 * resolv/netdb.h [__USE_BSD]: Likewise.
19208 * setjmp/setjmp.h [__USE_BSD]: Likewise.
19209 * signal/signal.h [__USE_BSD]: Likewise.
19210 [__USE_SVID]: Likewise.
19211 * socket/sys/socket.h [__USE_BSD]: Likewise.
19212 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
19213 * stdlib/stdlib.h [__USE_BSD]: Likewise.
19214 [__USE_SVID]: Likewise.
19215 * string/bits/string2.h [__USE_BSD]: Likewise.
19216 [__USE_SVID]: Likewise.
19217 * string/bits/string3.h [__USE_BSD]: Likewise.
19218 * string/endian.h [__USE_BSD]: Likewise.
19219 * string/string.h [__USE_SVID]: Likewise.
19220 [__USE_BSD]: Likewise.
19221 * string/strings.h [__USE_BSD]: Likewise.
19222 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
19223 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
19224 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
19225 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
19226 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
19227 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
19228 Likewise.
19229 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
19230 Likewise.
19231 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
19232 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
19233 Likewise.
19234 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
19235 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
19236 Likewise.
19237 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
19238 Likewise.
19239 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
19240 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
19241 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
19242 Likewise.
19243 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
19244 Likewise.
19245 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
19246 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
19247 * termios/termios.h [__USE_BSD]: Likewise.
19248 * time/sys/time.h [__USE_BSD]: Likewise.
19249 * time/time.h [__USE_BSD]: Likewise.
19250 [__USE_SVID]: Likewise.
19251
dd7b064c
JM
19252 * Makefile (subdir_targets): Remove subdir_lint.out.
19253
a2c4c199
JM
19254 * stdio-common/Makefile (do-tst-unbputc): Remove target.
19255 (do-tst-printf): Likewise.
19256 (tests): Depend directly on $(objpfx)tst-unbputc.out and
19257 $(objpfx)tst-printf.out.
19258
8756f740
JM
19259 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
19260
1b6dd3f1
JM
19261 * Makerules (check-abi-%): Change target to
19262 $(objpfx)check-abi-%.out.
19263 (check-abi target): Update dependencies.
19264 (check-abi-pattern variable): Redirect output of diff to $@.
19265 (check-abi variable): Likewise.
19266 * elf/Makefile (check-abi): Update dependencies.
19267
ace614b8
JM
19268 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
19269 unused.
19270 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
19271 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
19272 subnormal range.
19273 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
19274 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
19275 value has largest subnormal exponent.
19276 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
19277 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
19278 * sysdeps/aarch64/soft-fp/sfp-machine.h
19279 (_FP_TININESS_AFTER_ROUNDING): New macro.
19280 * sysdeps/alpha/soft-fp/sfp-machine.h
19281 (_FP_TININESS_AFTER_ROUNDING): Likewise.
19282 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
19283 Likewise.
19284 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
19285 (_FP_TININESS_AFTER_ROUNDING): Likewise.
19286 * sysdeps/mips/soft-fp/sfp-machine.h
19287 (_FP_TININESS_AFTER_ROUNDING): Likewise.
19288 * sysdeps/powerpc/soft-fp/sfp-machine.h
19289 (_FP_TININESS_AFTER_ROUNDING): Likewise.
19290 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
19291 Likewise.
19292 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
19293 (_FP_TININESS_AFTER_ROUNDING): Likewise.
19294 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
19295 (_FP_TININESS_AFTER_ROUNDING): Likewise.
19296 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
19297 Likewise.
19298
fbfdf9cb
DAS
192992014-02-12 Dylan Alex Simon <dylan@dylex.net>
19300
19301 [BZ #16545]
19302 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
19303 model 1.
19304
68b7efaa
RH
193052014-02-12 Richard Henderson <rth@redhat.com>
19306
c70a4b1d 19307 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
19308 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
19309 * sysdeps/unix/sysv/linux/alpha: Move directory from
19310 ports/sysdeps/unix/sysv/linux/alpha.
19311 * README: Update listing for alpha-*-linux-gnu.
19312
cb4a2928
JM
193132014-02-11 Joseph Myers <joseph@codesourcery.com>
19314
c941736c
JM
19315 * include/features.h: Update comment documenting feature test
19316 macros.
19317 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
19318 _DEFAULT_SOURCE.
19319 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
19320 (_SVID_SOURCE): Likewise.
19321 (_DEFAULT_SOURCE): Update description of default features.
19322 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
19323 with _GNU_SOURCE.
19324 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
19325 (S_ISVTX): Likewise.
19326 * manual/math.texi (Mathematical Constants): Likewise.
19327 * manual/signal.texi (Interrupted Primitives): Likewise.
19328 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
19329 * math/test-matherr.c (_SVID_SOURCE): Do not define.
19330 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
19331 Don't refer to _SVID_SOURCE in warning text.
19332
e8d8d7ec
JM
19333 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19334
cb4a2928
JM
19335 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
19336 already defined.
19337 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
19338 * sysdeps/mips/dl-lookup.c: Remove.
19339 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
19340
7e6424e3
AK
193412014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
19342
19343 [BZ #16447]
19344 * math/auto-libm-test-in: Add testcase for expl.
19345 * math/auto-libm-test-out: Regenerate.
19346 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
19347 calculation of unsafe.
19348 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
19349
75eff3fe
MS
193502014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
19351
19352 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
19353 * sysdeps/unix/sysv/linux/aarch64: Move directory from
19354 ports/sysdeps/unix/sysv/linux/aarch64.
19355 * README: Update listing for aarch64*-*-linux-gnu.
19356
d35f1e80
WN
193572014-02-11 Will Newton <will.newton@linaro.org>
19358
19359 * manual/probes.texi (Mathematical Function Probes): Use
19360 "triggered" instead of "hit".
19361
7b3436d4
WN
19362 * manual/probes.texi (Internal Probes): Add documentation
19363 of setjmp, longjmp and longjmp_target probes.
19364
b4f12ca3
WN
19365 * include/stap-probe.h: Add comment about probe argument
19366 format.
19367
c13a72b7
WN
19368 * malloc/mtrace.c (attribute_hidden): Remove unused macro
19369 definition. (tr_where, tr_freehook, tr_mallochook,
19370 tr_reallochook, tr_memalignhook): Use ANSI protoype.
19371
195b8165
DM
193722014-02-11 David S. Miller <davem@davemloft.net>
19373
19374 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
19375 processing int_tests.
19376
2ad7600b
JM
193772014-02-10 Joseph Myers <joseph@codesourcery.com>
19378
19379 * sysdeps/mips: Move directory from ports/sysdeps/mips.
19380 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
19381 * sysdeps/unix/sysv/linux/mips: Move directory from
19382 ports/sysdeps/unix/sysv/linux/mips.
19383 * README: Update listing for mips-*-linux-gnu and
19384 mips64-*-linux-gnu.
19385
73588a72
AS
193862014-02-10 Andreas Schwab <schwab@linux-m68k.org>
19387
19388 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
19389 * sysdeps/unix/sysv/linux/m68k: Move directory from
19390 ports/sysdeps/unix/sysv/linux/m68k.
19391 * README: Update listing for m68k-*-linux-gnu.
19392
4372980f
CM
193932014-02-10 Chris Metcalf <cmetcalf@tilera.com>
19394
19395 * sysdeps/tile: Move directory from ports/sysdeps/tile.
19396 * sysdeps/unix/sysv/linux/generic: Move directory from
19397 ports/sysdeps/unix/sysv/linux/generic.
19398 * sysdeps/unix/sysv/linux/tile: Move directory from
19399 ports/sysdeps/unix/sysv/linux/tile.
19400 * README: Update listing for tile*-*-linux-gnu.
19401
a1ffb40e
OB
194022014-02-10 Ondřej Bílka <neleai@seznam.cz>
19403
57f41c40
AS
19404 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
19405 __builtin_expect.
a1ffb40e
OB
19406 * benchtests/bench-memmem.c (simple_memmem): Likewise.
19407 * catgets/open_catalog.c (__open_catalog): Likewise.
19408 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
19409 * debug/confstr_chk.c: Likewise.
19410 * debug/fread_chk.c (__fread_chk): Likewise.
19411 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
19412 * debug/getgroups_chk.c: Likewise.
19413 * debug/mbsnrtowcs_chk.c: Likewise.
19414 * debug/mbsrtowcs_chk.c: Likewise.
19415 * debug/mbstowcs_chk.c: Likewise.
19416 * debug/memcpy_chk.c: Likewise.
19417 * debug/memmove_chk.c: Likewise.
19418 * debug/mempcpy_chk.c: Likewise.
19419 * debug/memset_chk.c: Likewise.
19420 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
19421 * debug/strcat_chk.c (__strcat_chk): Likewise.
19422 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
19423 * debug/strncat_chk.c (__strncat_chk): Likewise.
19424 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
19425 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
19426 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
19427 * debug/wcpncpy_chk.c: Likewise.
19428 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
19429 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
19430 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
19431 * debug/wcsncpy_chk.c: Likewise.
19432 * debug/wcsnrtombs_chk.c: Likewise.
19433 * debug/wcsrtombs_chk.c: Likewise.
19434 * debug/wcstombs_chk.c: Likewise.
19435 * debug/wmemcpy_chk.c: Likewise.
19436 * debug/wmemmove_chk.c: Likewise.
19437 * debug/wmempcpy_chk.c: Likewise.
19438 * debug/wmemset_chk.c: Likewise.
19439 * dirent/scandirat.c (SCANDIRAT): Likewise.
19440 * dlfcn/dladdr1.c (dladdr1): Likewise.
19441 * dlfcn/dladdr.c (dladdr): Likewise.
19442 * dlfcn/dlclose.c (dlclose_doit): Likewise.
19443 * dlfcn/dlerror.c (__dlerror): Likewise.
19444 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
19445 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
19446 * dlfcn/dlopen.c (dlopen_doit): Likewise.
19447 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
19448 * dlfcn/dlsym.c (dlsym_doit): Likewise.
19449 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
19450 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
19451 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
19452 Likewise.
19453 * elf/dl-conflict.c: Likewise.
19454 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
19455 * elf/dl-dst.h: Likewise.
19456 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
19457 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
19458 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
19459 * elf/dl-init.c (call_init, _dl_init): Likewise.
19460 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
19461 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
19462 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
19463 Likewise.
a1ffb40e
OB
19464 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
19465 Likewise.
19466 * elf/dl-minimal.c (__libc_memalign): Likewise.
19467 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
19468 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
19469 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
19470 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
19471 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
19472 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
19473 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
19474 * elf/dl-writev.h (_dl_writev): Likewise.
19475 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
19476 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
19477 (dl_main): Likewise.
a1ffb40e
OB
19478 * elf/setup-vdso.h (setup_vdso): Likewise.
19479 * grp/compat-initgroups.c (compat_call): Likewise.
19480 * grp/fgetgrent.c (fgetgrent): Likewise.
19481 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
19482 * grp/putgrent.c (putgrent): Likewise.
19483 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
19484 Likewise.
19485 * hurd/hurdinit.c: Likewise.
19486 * iconvdata/8bit-gap.c (struct): Likewise.
19487 * iconvdata/ansi_x3.110.c : Likewise.
19488 * iconvdata/big5.c : Likewise.
19489 * iconvdata/big5hkscs.c : Likewise.
19490 * iconvdata/cp1255.c: Likewise.
19491 * iconvdata/cp1258.c : Likewise.
19492 * iconvdata/cp932.c : Likewise.
19493 * iconvdata/euc-cn.c: Likewise.
19494 * iconvdata/euc-jisx0213.c : Likewise.
19495 * iconvdata/euc-jp.c: Likewise.
19496 * iconvdata/euc-jp-ms.c : Likewise.
19497 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
19498 * iconvdata/gb18030.c : Likewise.
19499 * iconvdata/gbbig5.c (const): Likewise.
19500 * iconvdata/gbgbk.c: Likewise.
19501 * iconvdata/gbk.c : Likewise.
19502 * iconvdata/ibm1364.c : Likewise.
19503 * iconvdata/ibm930.c : Likewise.
19504 * iconvdata/ibm932.c: Likewise.
19505 * iconvdata/ibm933.c : Likewise.
19506 * iconvdata/ibm935.c : Likewise.
19507 * iconvdata/ibm937.c : Likewise.
19508 * iconvdata/ibm939.c : Likewise.
19509 * iconvdata/ibm943.c: Likewise.
19510 * iconvdata/iso_11548-1.c: Likewise.
19511 * iconvdata/iso-2022-cn.c : Likewise.
19512 * iconvdata/iso-2022-cn-ext.c : Likewise.
19513 * iconvdata/iso-2022-jp-3.c: Likewise.
19514 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
19515 * iconvdata/iso-2022-kr.c : Likewise.
19516 * iconvdata/iso646.c (gconv_end): Likewise.
19517 * iconvdata/iso_6937-2.c : Likewise.
19518 * iconvdata/iso_6937.c : Likewise.
19519 * iconvdata/iso8859-1.c: Likewise.
19520 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
19521 * iconvdata/shift_jisx0213.c : Likewise.
19522 * iconvdata/sjis.c : Likewise.
19523 * iconvdata/t.61.c : Likewise.
19524 * iconvdata/tcvn5712-1.c : Likewise.
19525 * iconvdata/tscii.c: Likewise.
19526 * iconvdata/uhc.c : Likewise.
19527 * iconvdata/unicode.c (gconv_end): Likewise.
19528 * iconvdata/utf-16.c (gconv_end): Likewise.
19529 * iconvdata/utf-32.c (gconv_end): Likewise.
19530 * iconvdata/utf-7.c (base64): Likewise.
19531 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
19532 * iconv/gconv_close.c (__gconv_close): Likewise.
19533 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
19534 * iconv/gconv_simple.c (internal_ucs4_loop_single)
19535 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
19536 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
19537 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
19538 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
19539 * iconv/iconv.c (iconv): Likewise.
19540 * iconv/iconv_close.c: Likewise.
19541 * iconv/loop.c (SINGLE): Likewise.
19542 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
19543 * include/atomic.h: Likewise.
19544 * inet/inet6_option.c (option_alloc): Likewise.
19545 * intl/bindtextdom.c (set_binding_values): Likewise.
19546 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
19547 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
19548 * intl/localealias.c (read_alias_file): Likewise.
19549 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
19550 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
19551 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
19552 * libio/fmemopen.c (fmemopen): Likewise.
19553 * libio/iofgets.c (_IO_fgets): Likewise.
19554 * libio/iofgets_u.c (fgets_unlocked): Likewise.
19555 * libio/iofgetws.c (fgetws): Likewise.
19556 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
19557 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
19558 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
19559 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
19560 * locale/findlocale.c (_nl_find_locale): Likewise.
19561 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
19562 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
19563 Likewise.
19564 * locale/setlocale.c (setlocale): Likewise.
19565 * login/programs/pt_chown.c (main): Likewise.
19566 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
19567 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
19568 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
19569 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
19570 * math/e_exp2l.c: Likewise.
19571 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
19572 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
19573 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
19574 * math/s_catan.c (__catan): Likewise.
19575 * math/s_catanf.c (__catanf): Likewise.
19576 * math/s_catanh.c (__catanh): Likewise.
19577 * math/s_catanhf.c (__catanhf): Likewise.
19578 * math/s_catanhl.c (__catanhl): Likewise.
19579 * math/s_catanl.c (__catanl): Likewise.
19580 * math/s_ccosh.c (__ccosh): Likewise.
19581 * math/s_ccoshf.c (__ccoshf): Likewise.
19582 * math/s_ccoshl.c (__ccoshl): Likewise.
19583 * math/s_cexp.c (__cexp): Likewise.
19584 * math/s_cexpf.c (__cexpf): Likewise.
19585 * math/s_cexpl.c (__cexpl): Likewise.
19586 * math/s_clog10.c (__clog10): Likewise.
19587 * math/s_clog10f.c (__clog10f): Likewise.
19588 * math/s_clog10l.c (__clog10l): Likewise.
19589 * math/s_clog.c (__clog): Likewise.
19590 * math/s_clogf.c (__clogf): Likewise.
19591 * math/s_clogl.c (__clogl): Likewise.
19592 * math/s_csin.c (__csin): Likewise.
19593 * math/s_csinf.c (__csinf): Likewise.
19594 * math/s_csinh.c (__csinh): Likewise.
19595 * math/s_csinhf.c (__csinhf): Likewise.
19596 * math/s_csinhl.c (__csinhl): Likewise.
19597 * math/s_csinl.c (__csinl): Likewise.
19598 * math/s_csqrt.c (__csqrt): Likewise.
19599 * math/s_csqrtf.c (__csqrtf): Likewise.
19600 * math/s_csqrtl.c (__csqrtl): Likewise.
19601 * math/s_ctan.c (__ctan): Likewise.
19602 * math/s_ctanf.c (__ctanf): Likewise.
19603 * math/s_ctanh.c (__ctanh): Likewise.
19604 * math/s_ctanhf.c (__ctanhf): Likewise.
19605 * math/s_ctanhl.c (__ctanhl): Likewise.
19606 * math/s_ctanl.c (__ctanl): Likewise.
19607 * math/w_pow.c: Likewise.
19608 * math/w_powf.c: Likewise.
19609 * math/w_powl.c: Likewise.
19610 * math/w_scalb.c (sysv_scalb): Likewise.
19611 * math/w_scalbf.c (sysv_scalbf): Likewise.
19612 * math/w_scalbl.c (sysv_scalbl): Likewise.
19613 * misc/error.c (error_tail): Likewise.
19614 * misc/pselect.c (__pselect): Likewise.
19615 * nis/nis_callback.c (__nis_create_callback): Likewise.
19616 * nis/nis_call.c (__nisfind_server): Likewise.
19617 * nis/nis_creategroup.c (nis_creategroup): Likewise.
19618 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
19619 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
19620 * nis/nis_getservlist.c (nis_getservlist): Likewise.
19621 * nis/nis_lookup.c (nis_lookup): Likewise.
19622 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
19623 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
19624 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 19625 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
19626 * nis/nss_compat/compat-grp.c (getgrent_next_file)
19627 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
19628 * nis/nss_compat/compat-initgroups.c (add_group)
19629 (internal_getgrent_r): Likewise.
19630 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
19631 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
19632 * nis/nss_compat/compat-spwd.c (getspent_next_file)
19633 (internal_getspnam_r): Likewise.
19634 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
19635 (_nss_nis_getaliasbyname_r): Likewise.
19636 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
19637 (_nss_nis_getntohost_r): Likewise.
19638 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
19639 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
19640 (_nss_nis_getgrgid_r): Likewise.
19641 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
19642 (internal_nis_gethostent_r, internal_gethostbyname2_r)
19643 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
19644 (_nss_nis_gethostbyname4_r): Likewise.
19645 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
19646 (initgroups_netid): Likewise.
a1ffb40e 19647 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
19648 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
19649 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
19650 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
19651 (_nss_nis_getprotobynumber_r): Likewise.
19652 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
19653 (_nss_nis_getsecretkey): Likewise.
19654 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
19655 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
19656 (_nss_nis_getpwuid_r): Likewise.
19657 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
19658 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
19659 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
19660 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
19661 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
19662 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
19663 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
19664 Likewise.
57f41c40
AS
19665 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
19666 (_nss_nisplus_getntohost_r): Likewise.
19667 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
19668 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
19669 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
19670 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 19671 Likewise.
57f41c40
AS
19672 * nis/nss_nisplus/nisplus-initgroups.c
19673 (_nss_nisplus_initgroups_dyn): Likewise.
19674 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
19675 (_nss_nisplus_getnetbyaddr_r): Likewise.
19676 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
19677 (_nss_nisplus_getprotobynumber_r): Likewise.
19678 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
19679 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
19680 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
19681 Likewise.
57f41c40
AS
19682 * nis/nss_nisplus/nisplus-service.c
19683 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
19684 (_nss_nisplus_getservbyport_r): Likewise.
19685 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
19686 (_nss_nisplus_getspnam_r): Likewise.
19687 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
19688 Likewise.
a1ffb40e
OB
19689 * nscd/aicache.c (addhstaiX): Likewise.
19690 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
19691 * nscd/connections.c (register_traced_file, send_ro_fd)
19692 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
19693 (main_loop_epoll): Likewise.
a1ffb40e
OB
19694 * nscd/grpcache.c (addgrbyX): Likewise.
19695 * nscd/hstcache.c (addhstbyX): Likewise.
19696 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19697 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
19698 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
19699 (addinnetgrX): Likewise.
19700 * nscd/nscd-client.h (__nscd_acquire_maplock)
19701 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
19702 * nscd/nscd_getai.c (__nscd_getai): Likewise.
19703 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
19704 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
19705 Likewise.
19706 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
19707 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
19708 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
19709 (__nscd_get_map_ref): Likewise.
a1ffb40e 19710 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
19711 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
19712 Likewise.
a1ffb40e
OB
19713 * nscd/pwdcache.c (addpwbyX): Likewise.
19714 * nscd/selinux.c (preserve_capabilities): Likewise.
19715 * nscd/servicescache.c (addservbyX): Likewise.
19716 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
19717 * posix/fnmatch.c (fnmatch): Likewise.
19718 * posix/getopt.c (_getopt_internal_r): Likewise.
19719 * posix/glob.c (glob, glob_in_dir): Likewise.
19720 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
19721 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
19722 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
19723 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
19724 * resolv/res_init.c: Likewise.
19725 * resolv/res_mkquery.c (res_nmkquery): Likewise.
19726 * resolv/res_query.c (__libc_res_nquery): Likewise.
19727 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
19728 Likewise.
19729 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
19730 * stdio-common/perror.c (perror): Likewise.
19731 * stdio-common/printf_fp.c (___printf_fp): Likewise.
19732 * stdio-common/tmpnam.c (tmpnam): Likewise.
19733 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
19734 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
19735 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
19736 Likewise.
a1ffb40e
OB
19737 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
19738 * stdlib/putenv.c (putenv): Likewise.
19739 * stdlib/setenv.c (__add_to_environ): Likewise.
19740 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
19741 * stdlib/strtol_l.c (INTERNAL): Likewise.
19742 * string/memmem.c (memmem): Likewise.
19743 * string/strerror.c (strerror): Likewise.
19744 * string/strnlen.c (__strnlen): Likewise.
19745 * string/test-memmem.c (simple_memmem): Likewise.
19746 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
19747 * sunrpc/pm_getport.c (__get_socket): Likewise.
19748 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
19749 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
19750 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
19751 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
19752 Likewise.
19753 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
19754 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
19755 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
19756 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
19757 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
19758 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
19759 Likewise.
19760 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
19761 Likewise.
a1ffb40e
OB
19762 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
19763 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
19764 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19765 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
19766 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
19767 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
19768 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
19769 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
19770 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
19771 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
19772 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
19773 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
19774 Likewise.
19775 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
19776 Likewise.
19777 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
19778 Likewise.
19779 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
19780 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
19781 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
19782 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
19783 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
19784 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
19785 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
19786 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
19787 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
19788 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
19789 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
19790 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19791 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
19792 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
19793 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
19794 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
19795 Likewise.
a1ffb40e
OB
19796 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
19797 Likewise.
19798 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
19799 Likewise.
19800 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
19801 Likewise.
19802 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
19803 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19804 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
19805 Likewise.
19806 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
19807 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
19808 * sysdeps/posix/opendir.c (__opendirat): Likewise.
19809 * sysdeps/posix/sleep.c: Likewise.
19810 * sysdeps/posix/tempname.c: Likewise.
19811 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
19812 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
19813 Likewise.
57f41c40
AS
19814 * sysdeps/powerpc/powerpc32/dl-machine.h
19815 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
19816 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
19817 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
19818 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
19819 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
19820 Likewise.
19821 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
19822 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
19823 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
19824 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
19825 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
19826 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
19827 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
19828 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
19829 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19830 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
19831 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
19832 (elf_machine_lazy_rel): Likewise.
a1ffb40e 19833 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
19834 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
19835 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
19836 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
19837 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
19838 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
19839 * sysdeps/unix/grantpt.c (grantpt): Likewise.
19840 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
19841 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
19842 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
19843 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
19844 Likewise.
19845 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
19846 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
19847 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
19848 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
19849 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
19850 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
19851 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
19852 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
19853 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
19854 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
19855 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
19856 Likewise.
19857 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
19858 (__posix_fallocate64_l64): Likewise.
19859 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
19860 (posix_fallocate): Likewise.
57f41c40
AS
19861 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
19862 Likewise.
a1ffb40e 19863 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
19864 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
19865 (getifaddrs_internal): Likewise.
a1ffb40e
OB
19866 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
19867 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
19868 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
19869 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
19870 * sysdeps/unix/sysv/linux/posix_fallocate64.c
19871 (__posix_fallocate64_l64): Likewise.
19872 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
19873 Likewise.
19874 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
19875 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
19876 (__get_clockfreq): Likewise.
a1ffb40e
OB
19877 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
19878 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
19879 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
19880 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19881 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
19882 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
19883 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
19884 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
19885 Likewise.
19886 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
19887 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
19888 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
19889 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
19890 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
19891 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
19892 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
19893 Likewise.
19894 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
19895 (posix_fallocate): Likewise.
19896 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
19897 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
19898 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
19899 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
19900 (elf_machine_rela, elf_machine_rela_relative)
19901 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
19902 * time/asctime.c (asctime_internal): Likewise.
19903 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
19904 * time/tzset.c (__tzset_parse_tz): Likewise.
19905 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
19906 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
19907 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
19908 * wcsmbs/wcsmbsload.h: Likewise.
19909
f3d338c9
OB
19910 [BZ #15894]
19911 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
19912
57f41c40
AS
19913 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
19914 (arena_get2): Remove THREAD_STATS conditionals.
19915 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
19916 (__malloc_stats, int): Likewise.
bdfe308a 19917
d674667c
MF
199182014-02-08 Mike Frysinger <vapier@gentoo.org>
19919
19920 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
19921 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
19922
6349768c
MF
19923 * manual/setjmp.texi: Fix typos/grammar errors.
19924
0b7c7473
MF
19925 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
19926 Only return early when n is <= 0. Delete unused return statement.
19927
ac8cc9e3
MF
19928 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
19929 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
19930 * debug/tst-longjmp_chk3.c: New file.
19931
c5bb8e23
MF
19932 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
19933 (test_main): Replace code with set_fortify_handler call.
19934 * debug/test-strcpy_chk.c: Likewise.
19935 * debug/tst-chk1.c: Likewise.
19936 * debug/tst-longjmp_chk.c: Likewise.
19937 * test-skeleton.c: Include fcntl.h & paths.h
19938 (set_fortify_handler): Define.
19939
10444e42
MF
19940 * debug/tst-longjmp_chk.c: Add header comment and include
19941 ../test-skeleton.c.
19942 (do_test): Mark static.
19943 (TEST_FUNCTION): Define.
19944
1e805e8d
MF
19945 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
19946 (IP_PMTUDISC_INTERFACE): Likewise.
19947 (IP_MULTICAST_IF): Likewise.
19948 (IP_MULTICAST_TTL): Likewise.
19949 (IP_MULTICAST_LOOP): Likewise.
19950 (IP_ADD_MEMBERSHIP): Likewise.
19951 (IP_DROP_MEMBERSHIP): Likewise.
19952 (IP_UNBLOCK_SOURCE): Likewise.
19953 (IP_BLOCK_SOURCE): Likewise.
19954 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
19955 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
19956 (IP_MSFILTER): Likewise.
19957 (MCAST_JOIN_GROUP): Likewise.
19958 (MCAST_BLOCK_SOURCE): Likewise.
19959 (MCAST_UNBLOCK_SOURCE): Likewise.
19960 (MCAST_LEAVE_GROUP): Likewise.
19961 (MCAST_JOIN_SOURCE_GROUP): Likewise.
19962 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
19963 (MCAST_MSFILTER): Likewise.
19964 (IP_MULTICAST_ALL): Likewise.
19965 (IP_UNICAST_IF): Likewise.
19966
73f79bb7
MF
19967 * timezone/Makefile: Delete $(have-ksh) check.
19968 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
19969 * timezone/tzselect.ksh: Add +x mode bits.
19970
8da79b60
MF
19971 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
19972 (ANON_INODE_FS_MAGIC): Likewise.
19973 (BDEVFS_MAGIC): Likewise.
19974 (BINFMTFS_MAGIC): Likewise.
19975 (BTRFS_TEST_MAGIC): Likewise.
19976 (CRAMFS_MAGIC_WEND): Likewise.
19977 (DEBUGFS_MAGIC): Likewise.
19978 (ECRYPTFS_SUPER_MAGIC): Likewise.
19979 (EXT3_SUPER_MAGIC): Likewise.
19980 (EXT4_SUPER_MAGIC): Likewise.
19981 (FUTEXFS_SUPER_MAGIC): Likewise.
19982 (HOSTFS_SUPER_MAGIC): Likewise.
19983 (HUGETLBFS_MAGIC): Likewise.
19984 (MINIX3_SUPER_MAGIC): Likewise.
19985 (MTD_INODE_FS_MAGIC): Likewise.
19986 (NILFS_SUPER_MAGIC): Likewise.
19987 (OPENPROM_SUPER_MAGIC): Likewise.
19988 (PIPEFS_MAGIC): Likewise.
19989 (PSTOREFS_MAGIC): Likewise.
19990 (QNX6_SUPER_MAGIC): Likewise.
19991 (RAMFS_MAGIC): Likewise.
19992 (REISERFS_SUPER_MAGIC_STRING): Likewise.
19993 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
19994 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
19995 (SECURITYFS_MAGIC): Likewise.
19996 (SELINUX_MAGIC): Likewise.
19997 (SMACK_MAGIC): Likewise.
19998 (SOCKFS_MAGIC): Likewise.
19999 (SQUASHFS_MAGIC): Likewise.
20000 (STACK_END_MAGIC): Likewise.
20001 (TMPFS_MAGIC): Likewise.
20002 (USBDEVICE_SUPER_MAGIC): Likewise.
20003 (V9FS_MAGIC): Likewise.
20004 (XENFS_SUPER_MAGIC): Likewise.
20005 (CRAMFS_MAGIC): Fix typo in comment.
20006 (EXT2_SUPER_MAGIC): Update comment.
20007 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
20008
464263cc
JM
200092014-02-08 Joseph Myers <joseph@codesourcery.com>
20010
c6bfe5c4
JM
20011 * sysdeps/arm: Move directory from ports/sysdeps/arm.
20012 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
20013 * sysdeps/unix/sysv/linux/arm: Move directory from
20014 ports/sysdeps/unix/sysv/linux/arm.
20015 * README: Update listing for arm-*-linux-gnueabi.
20016
464263cc
JM
20017 * README: Remove mention of am33.
20018
32749f6c
RM
200192014-02-07 Roland McGrath <roland@hack.frob.com>
20020
20021 * bits/sigset.h (__sigemptyset): Use a statement expression rather
20022 than the comma operator, to avoid "rhs of comma has no effect"
20023 compiler warnings.
20024 (__sigfillset, __sigandset, __sigorset): Likewise.
20025 * include/signal.h (__sigemptyset): Likewise.
20026 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
20027
d5b396c1
AM
200282014-02-07 Allan McRae <allan@archlinux.org>
20029
20030 * version.h (RELEASE): Set to "development".
20031 (VERSION): Set to "2.19.90"
20032 * NEWS: Add 2.20 section.
20033
3bfff2ed
CD
200342014-02-06 Carlos O'Donell <carlos@redhat.com>
20035
20036 [BZ #16529]
20037 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
20038
ee7cc385
SP
200392014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
20040
20041 * manual/contrib.texi: Update entry for Carlos O'Donell,
20042 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
20043
f877c4f2
CD
200442014-02-05 Carlos O'Donell <carlos@rehdat.com>
20045
27e839f6
CD
20046 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
20047
f877c4f2
CD
20048 * sysdeps/unix/sysv/linux/kernel-features.h
20049 [__LINUX_KERNEL_VERSION >= 0x020621]
20050 (__ASSUME_PROC_PID_TASK_COMM): Define.
20051
68159946
SP
200522014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
20053
ba17cdbd
SP
20054 [BZ #16398]
20055 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
20056 conversion when destination buffer does not have enough space.
20057 * libio/tst-ftell-partial-wide.c: New test case.
20058 * libio/Makefile (tests): Add tst-ftell-partial-wide.
20059
68159946
SP
20060 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
20061 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
20062 Leonard and Allan McRae.
20063
2b528732
DM
200642014-02-04 David S. Miller <davem@davemloft.net>
20065
20066 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
20067 32-bit.
20068
0ff82463
AZ
200692014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20070
57f41c40
AS
20071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
20072 New file
c01603f7
AZ
20073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
20074 New file
57f41c40
AS
20075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
20076 New file.
20077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
20078 New file.
c01603f7
AZ
20079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
20080 New file.
57f41c40
AS
20081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
20082 New file.
20083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
20084 New file.
c01603f7
AZ
20085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
20086 New file.
20087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
20088 New file.
20089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
20090 New file.
20091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
20092 New file.
20093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
20094 New file.
20095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
20096 New file.
20097
200982014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20099
0ff82463
AZ
20100 * nptl/shlib-versions: Change powerpc*le start to 2.17.
20101 * shlib-versions: Likewise.
20102
1695c773
AZ
201032014-02-04 Roland McGrath <roland@hack.frob.com>
20104 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20105
20106 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
20107 (abilist-pattern): New variable, set to %-le.abilist.
20108
20109 * Makerules (abilist-pattern): New variable.
20110 (vpath): Use $(abilist-pattern) in place of %.abilist.
20111 (check-abi-% pattern rule): Likewise.
20112 (check-abi, update-abi): Likewise.
20113
6c0ce4b4
EW
201142014-02-04 Eric Wong <normalperson@yhbt.net>
20115
20116 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20117
481e3524
CD
201182014-02-03 Carlos O'Donell <carlos@redhat.com>
20119
20120 * manual/startup.texi: Add next, previous, and top entries for
20121 the `Program Arguments' and `Environment Variables' nodes.
20122
375592d3
AO
201232014-02-03 Alexandre Oliva <aoliva@redhat.com>
20124
20125 * manual/macros.texi: Add comments before MTASC-safety macros.
20126
f54838ba
AO
20127 * manual/users.texi: Document MTASC-safety properties.
20128
57f41c40
AS
20129 * manual/threads.texi (pthread_key_create, pthread_key_delete)
20130 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
20131 @deftypefun, and add @safety note.
20132 * manual/signal.texi: Move comments that analyze the above
20133 functions to their home place.
20134
fd3daba4
AM
201352014-02-03 Allan McRae <allan@archlinux.org>
20136
20137 * po/sl.po: Update Slovenian translation from translation project.
20138
597636d7
AO
201392014-02-02 Alexandre Oliva <aoliva@redhat.com>
20140
20141 * manual/time.texi (timegm): Add missing blank after @c.
20142 Reported by Joseph Myers <joseph@codesourcery.com>.
20143
ee196e3c
AO
201442014-02-01 Alexandre Oliva <aoliva@redhat.com>
20145
20146 * manual/check-safety.sh: New.
20147 * manual/Makefile ($(objpfx)stamp-summary): Run it.
20148
f8d529d5
AO
20149 * manual/terminal.texi: Document MTASC-safety properties.
20150
de55fdf4
AO
20151 * manual/filesys.texi: Document MTASC-safety properties.
20152
c3299c08
AO
20153 * manual/errno.texi: Document MTASC-safety properties.
20154
06e90b14
AO
20155 * manual/intro.texi: Document safety identifiers and
20156 conditionals.
20157
1acd4371
AO
20158 * manual/string.texi (wcstok): Fix prototype.
20159 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
20160
23e5b8cb
AO
20161 * manual/time.texi: Document MTASC-safety properties.
20162
11087373
AO
20163 * manual/string.texi: Document MTASC-safety properties.
20164
5da2c93d
AO
20165 * manual/threads.texi: Document MTASC-safety properties.
20166
171e9210
AO
20167 * manual/stdio.texi: Document MTASC-safety properties.
20168
d9e02532
AO
20169 * manual/syslog.texi: Document MTASC-safety properties.
20170
6af8bab7
AO
20171 * manual/sysinfo.texi: Document MTASC-safety properties.
20172
663b02d7
AO
20173 * manual/startup.texi: Document MTASC-safety properties.
20174
973f180b
AO
20175 * manual/socket.texi: Document MTASC-safety properties.
20176
8f3c25c8
AO
20177 * manual/signal.texi: Document MTASC-safety properties.
20178
542210fb
AO
201792014-01-31 Alexandre Oliva <aoliva@redhat.com>
20180
20181 * manual/setjmp.texi: Document MTASC-safety properties.
20182
433c45a2
AO
20183 * manual/search.texi: Document MTASC-safety properties.
20184
c8ce789c
AO
20185 * manual/resource.texi: Document MTASC-safety properties.
20186
19f5d29c
AO
20187 * manual/process.texi: Document MTASC-safety properties.
20188
e2dfb7f4
AO
20189 * manual/platform.texi: Document MTASC-safety properties.
20190
8c1413f5
AO
20191 * manual/pipe.texi: Document MTASC-safety properties.
20192
03483ada
AO
20193 * manual/pattern.texi: Document MTASC-safety properties.
20194
29e7e2df
AO
20195 * manual/message.texi: Document MTASC-safety properties.
20196
9f529d7c
AO
20197 [BZ #12751]
20198 * manual/memory.texi: Document MTASC-safety properties.
20199
27aaa791
AO
20200 * manual/math.texi: Document MTASC-safety properties.
20201
f2d58726
AO
20202 * manual/locale.texi: Document MTASC-safety properties.
20203
2cc3615c
AO
20204 * manual/llio.texi: Document MTASC-safety properties.
20205
d9f0ec97
AO
20206 * manual/libdl.texi: New.
20207
e7c4409a
AO
20208 * manual/lang.texi: Document MTASC-safety properties.
20209
27bdc63c
AO
20210 * manual/job.texi: Document MTASC-safety properties.
20211
a7b90ea9
AO
20212 * manual/getopt.texi: Document MTASC-safety properties.
20213
c49130e3
AO
20214 * manual/ctype.texi: Document MTASC-safety properties.
20215
0d23a5c1
MR
202162014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
20217
20218 [BZ #16046]
20219 * csu/libc-tls.c (static_map): Remove variable.
20220 (__libc_setup_tls): Use main executable's link map for TLS data.
20221 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
20222 casing for LM_ID_BASE and GL(dl_nns).
20223 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
20224 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
20225 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
20226 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
20227 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
20228 member.
20229 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
20230 l_phnum members.
20231
0037bb60
AO
202322014-01-30 Alexandre Oliva <aoliva@redhat.com>
20233
20234 * manual/debug.texi: Document MTASC-safety properties.
20235
409e00bd
L
202362014-01-29 H.J. Lu <hongjiu.lu@intel.com>
20237
20238 [BZ #16510]
20239 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
20240 of __x86_64__ when disabling x87 inline functions.
20241
86e60666
AO
202422014-01-29 Alexandre Oliva <aoliva@redhat.com>
20243
20244 * manual/charset.texi: Document MTASC-safety properties.
20245
76167637
AO
20246 * manual/crypt.texi: Document MTASC-safety properties.
20247
e567f2a0
AO
20248 * manual/conf.texi: Document MTASC-safety properties.
20249
b719dafd
AO
20250 * manual/arith.texi: Document MTASC-safety properties.
20251
4a16c662
AO
20252 * manual/argp.texi: Document MTASC-safety properties.
20253
0a57b83e
AO
20254 * manual/macros.texi: Introduce macros to document multi
20255 thread, asynchronous signal and asynchronous cancellation
20256 safety properties.
20257 * manual/intro.texi: Introduce the properties themselves.
20258
feab2397
KK
202592014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20260
20261 * sysdeps/sh/sh4/Makefile: New file.
20262
1c0d11bc
AS
202632014-01-27 Andreas Schwab <schwab@linux-m68k.org>
20264
20265 * math/gen-libm-test.pl ($srcdir): New variable.
20266 ($auto_input): Use it.
20267
af37a8a3
SP
202682014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20269
d7b00f98
SP
20270 [BZ #16506]
20271 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
20272 access beyond array bounds when parsing netgroups file.
20273
af37a8a3
SP
20274 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
20275 the old buffer before realloc.
20276
0c00f062
AM
202772014-01-27 Allan McRae <allan@archlinux.org>
20278
20279 * po/fr.po: Update French translation from translation project.
20280
7d69a1b0
KK
202812014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20282
20283 * sysdeps/sh/libm-test-ulps: Regenerate.
20284
6e697ff7
DM
202852014-01-24 David S. Miller <davem@davemloft.net>
20286
20287 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
20288
9cadb35c
KK
202892014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20290
20291 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
20292 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
20293
5d41dadf
SP
202942013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
20295
20296 [BZ #16474]
20297 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
20298 string pointers after reallocation.
20299
0bad441c
KK
203002014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20301
20302 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
20303 __SH4A__ instead of __SH_FPU_ANY__.
20304
7007c661
KK
203052014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20306
20307 * sysdeps/sh/fpu_control.h: New file.
20308 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
20309 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
20310 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
20311 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
20312 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
20313 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
20314 * sysdeps/sh/sys/ucontext.h: Remove.
20315 * sysdeps/sh/sys: Remove directory.
20316
0f0c35e4
AK
203172014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20318
20319 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
20320 s390/sys/ucontext.h.
20321 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
20322 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
20323
4959e284
L
203242014-01-20 H.J. Lu <hongjiu.lu@intel.com>
20325
20326 [BZ #15605]
20327 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
20328
d98720e0
AZ
203292014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20330
20331 [BZ#16431]
20332 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
20333 Adjust the vDSO correctly for internal calls.
20334 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
20335
91cbd0bc
AM
203362014-01-20 Allan McRae <allan@archlinux.org>
20337
20338 * po/ca.po: Update Catalan translation from translation project.
20339
7a02cfad
MF
203402014-01-16 Mike Frysinger <vapier@gentoo.org>
20341
20342 * sysdeps/s390/sotruss-lib.c: New file.
20343
736c304a
AZ
203442014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20345
20346 [BZ#16430]
6e077ee5 20347 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
20348 (__GI___gettimeofday): Alias for a different internal symbol to avoid
20349 local calls issues by not having a PLT stub required for IFUNC calls.
20350 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
20351
94d0cea0
JM
203522014-01-16 Joseph Myers <joseph@codesourcery.com>
20353
20354 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
20355 * math/test-fpucw-static.c: Likewise.
20356
980cb518
SP
203572013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20358
20359 [BZ #16453]
20360 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
20361
2393fc01
AZ
203622014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20363
20364 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
20365 implementation for powerpc.
20366
d359bcc2
OB
203672014-01-15 Ondřej Bílka <neleai@seznam.cz>
20368
20369 [BZ #14782]
20370 * sysdeps/posix/system.c (__libc_system): Do not enable
20371 asynchronous cancellation.
20372
7beb48cb
AK
203732014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20374
20375 [BZ #16427]
20376 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
20377 handling only for numbers special also in the IEEE case.
20378
c20d5bf5
AK
203792014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20380
20381 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
20382
e83bd4ee
AM
203832014-01-11 Allan McRae <allan@archlinux.org>
20384
76d0ea69
AM
20385 * po/bg.po: Update Bulgarian translation from translation project.
20386
e83bd4ee
AM
20387 * po/de.po: Update German translation from translation project.
20388
bc2ba20a
RM
203892014-01-10 Roland McGrath <roland@hack.frob.com>
20390
20391 * sysdeps/generic/gcc-compat.h: New file.
20392
649ecea2
SP
203932014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20394
20395 * benchtests/asin-inputs: Correct slow inputs.
20396 * benchtests/acos-inputs: Likewise.
20397
1b19c006
AM
203982014-01-10 Allan McRae <allan@archlinux.org>
20399
a46dab08
AM
20400 * po:sv.po: Update Swedish translation from translation project.
20401
421df74a
AM
20402 * po/vi.po: Update Vietnamese translation from translation project.
20403
d61c51a7
AM
20404 * po/eo.po: Update Esperanto translation from translation project.
20405
0339a319
AM
20406 * po/cs.po: Update Czech translation from translation project.
20407
94ad3e99
AM
20408 * po/nl.po: Update Dutch translation from translation project.
20409
e349ca71
AM
20410 * po/pl.po: Update Polish translation from translation project.
20411
ddf930c1
AM
20412 * po/ru.po: Update Russian translation from translation project.
20413
1b19c006
AM
20414 * po/uk.po: Update Ukrainian translation from translation project.
20415
9f236c49
BM
204162014-01-08 Brooks Moses <bmoses@google.com>
20417
20418 * elf/dl-load.c: Fix comment typo.
20419
cd6701cf
CD
204202014-01-08 Carlos O'Donell <carlos@redhat.com>
20421
20422 * po/header.pot: Rename to...
20423 * po/pot.header: ... this.
20424 * po/Makefile: Use pot.header.
20425
66671c84
YK
204262014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
20427 Maxim Kuvyrkov <maxim@kugelworks.com>
20428
20429 [BZ #16394]
cd6701cf
CD
20430 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
20431 SRC and DEST against LEN.
66671c84 20432
38f34581
AZ
204332014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20434
20435 [BZ #16414]
20436 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
20437 implementation.
20438 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
20439
204402014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
20441
20442 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20443
4c327f2a
JM
204442014-01-08 Joseph Myers <joseph@codesourcery.com>
20445
20446 [BZ #16408]
20447 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
20448 for large positive arguments.
20449
b821f414
JM
204502014-01-07 Joseph Myers <joseph@codesourcery.com>
20451
1f0f2067
JM
20452 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
20453
a5a326f6
JM
20454 * math/auto-libm-test-in: Mark various tests with
20455 xfail-rounding:ldbl-128ibm.
20456 * math/auto-libm-test-out: Regenerated.
20457
b821f414
JM
20458 [BZ #16407]
20459 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
20460 Increase overflow threshold.
20461
94c8a4bc
OB
204622014-01-07 Ondřej Bílka <neleai@seznam.cz>
20463
20464 [BZ #14286]
20465 * stdio-common/vfprintf.c: Check for integer overflow.
20466
87ded0c3
AK
204672014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20468
20469 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
20470 the first argument and return value of __tls_get_addr_internal.
20471
c5eebdd0
AK
204722014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20473
20474 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
20475 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
20476
05d138ef
AK
204772014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20478
20479 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
20480 * sysdeps/s390/rtld-global-offsets.sym: New file.
20481 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
20482 GLIBC_2.19 symbol.
20483 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
20484 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
20485 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
20486 ... this.
20487 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
20488 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
20489 ... this.
20490 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
20491 Regenerate.
20492 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
20493 Regenerate.
20494 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
20495 halfs of GPRs for high_gprs contexts.
20496 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
20497 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
20498 field.
20499 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
20500 uc_flags field.
20501 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
20502 64 bit versions:
20503 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
20504 for high GPRs (uc_high_gprs) and for future extensions
20505 (__reserved).
20506 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
20507 for future extensions (__reserved).
20508 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
20509 64 bit versions:
20510 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
20511 SC_HIGHGPRS offset definition.
20512 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
20513 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
20514
93a45ff1
AK
20515 * Versions.def: Add GLIBC_2.19 for libpthread.
20516 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
20517 siglongjmp for libpthread with GLIBC_2.19 symver.
20518 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
20519 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
20520 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
20521 * sysdeps/s390/__longjmp.c: New file.
20522 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
20523 * sysdeps/s390/longjmp.c: New file.
20524 * sysdeps/s390/setjmp.S: New file.
20525 * sysdeps/s390/sigjmp.S: New file.
20526 * sysdeps/s390/v1-longjmp.c: New file.
20527 * sysdeps/s390/v1-setjmp.h: New file.
20528 * sysdeps/s390/v1-sigjmp.c: New file.
20529 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
20530 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
20531 GLIBC_2.19 version.
20532 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
20533 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
20534 versioned symbols for ____longjmp_chk.
20535 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
20536 Likewise.
20537 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
20538 Regenerate.
20539 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20540 Regenerate.
20541 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
20542 Regenerate.
20543 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20544 Regenerate.
20545 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
20546 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
20547 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
20548 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
20549 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
20550 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
20551 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
20552 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
20553 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
20554 * sysdeps/s390/rtld-__longjmp.c: New file.
20555 * sysdeps/s390/rtld-setjmp.S: New file.
20556
eb3fc44b
JM
205572014-01-06 Joseph Myers <joseph@codesourcery.com>
20558
20559 [BZ #16400]
20560 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
20561 Return -__logl (x) for small positive arguments without evaluating
20562 a polynomial.
20563
9341dde4
MF
205642014-01-06 Mike Frysinger <vapier@gentoo.org>
20565
20566 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
20567 Rename to ...
20568 (__ptrace_peeksiginfo_args): ... this.
20569 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20570 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20571 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20572
4cff0293
AM
205732014-01-06 Allan McRae <allan@archlinux.org>
20574
20575 * inet/netinet/in.h: Fix typo in comment.
20576
75595dcf
AJ
205772014-01-05 Andreas Jaeger <aj@suse.de>
20578
20579 * sysdeps/i386/fpu/libm-test-ulps: Update.
20580
79c1e109
AM
205812014-01-05 Allan McRae <allan@archlinux.org>
20582
dd804818
AM
20583 * po/libc.pot: Regenerated.
20584
79c1e109
AM
20585 * malloc/memusagestat.c: Fix gettext call formatting.
20586
0c813d1f
SK
205872014-01-04 Sami Kerola <kerolasa@iki.fi>
20588
20589 * nscd/nscd.c: Improve usage() output.
20590
20f4a8d9
MF
205912014-01-04 Mike Frysinger <vapier@gentoo.org>
20592
20593 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
20594 * sysdeps/unix/sysv/linux/configure: Regenerated.
20595 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
20596 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
20597
22562bb2
JM
205982014-01-03 Joseph Myers <joseph@codesourcery.com>
20599
20600 [BZ #16390]
20601 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
20602 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
20603
d7ad2d9b
AZ
206042014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20605
20606 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
20607 extra tokens at end of #undef directive.
20608 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
20609 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
20610 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
20611
7dd009d8
JM
206122014-01-03 Joseph Myers <joseph@codesourcery.com>
20613
24db925a
JM
20614 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
20615
7dd009d8
JM
20616 * math/auto-libm-test-in: Mark various tests with
20617 xfail-rounding:ldbl-128ibm.
20618 * math/auto-libm-test-out: Regenerated.
20619
396e3ecf
JM
206202014-01-02 Joseph Myers <joseph@codesourcery.com>
20621
819e5d50
JM
20622 [BZ #16386]
20623 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
20624 numbers with subnormal high part when calculating exponent.
20625
90b6a1e5
JM
20626 [BZ #16385]
20627 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
20628 fabs.
20629
396e3ecf
JM
20630 [BZ #16384]
20631 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
20632 M_LN2l.
20633 (__ieee754_acoshl): Use __log1pl not __log1p.
20634
6c8dbf00
OB
206352013-01-02 Ondřej Bílka <neleai@seznam.cz>
20636
57f41c40
AS
20637 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
20638 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
20639 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
20640 (grow_heap, heap_trim, _int_new_arena, get_free_list)
20641 (reused_arena, arena_get2): Convert to GNU style.
20642 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
20643 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
20644 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 20645 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
20646 * malloc/malloc.c (__malloc_assert, malloc_init_state)
20647 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
20648 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
20649 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
20650 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
20651 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 20652 * malloc/malloc.h: Likewise.
57f41c40
AS
20653 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
20654 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 20655 * malloc/mcheck.h: Likewise.
57f41c40
AS
20656 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
20657 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
20658 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
20659 * malloc/morecore.c (__default_morecore): Likewise.
20660 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
20661 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
20662 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
20663 (print_and_abort): Likewise.
6c8dbf00
OB
20664 * malloc/obstack.h: Likewise.
20665 * malloc/set-freeres.c (__libc_freeres): Likewise.
20666 * malloc/tst-mallocstate.c (main): Likewise.
20667 * malloc/tst-mtrace.c (main): Likewise.
20668 * malloc/tst-realloc.c (do_test): Likewise.
20669
d4124212
SP
206702013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
20671
9a3c6a6f
SP
20672 [BZ #16366]
20673 * nscd/netgroupcache.c (do_notfound): New function.
20674 (addgetnetgrentX): Use it.
20675
d4124212
SP
20676 [BZ # 16365]
20677 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
20678 NSS_STATUS_NOTFOUND.
20679
97b9a009
JM
206802014-01-01 Joseph Myers <joseph@codesourcery.com>
20681
20682 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
20683 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20684
d4697bc9
AM
206852014-01-01 Allan McRae <allan@archlinux.org>
20686
ddb3687f
AM
20687 * scripts/update-copyrights: Update configure input file suffix.
20688
88726d48
AM
20689 * NEWS: Update copyright year.
20690 * catgets/gencat.c: Likewise.
20691 * csu/version.c: Likewise.
20692 * debug/catchsegv.sh: Likewise.
20693 * debug/pcprofiledump.c: Likewise.
20694 * debug/xtrace.sh: Likewise.
20695 * elf/ldconfig.c: Likewise.
20696 * elf/ldd.bash.in: Likewise.
20697 * elf/pldd.c: Likewise.
20698 * elf/sotruss.ksh: Likewise.
20699 * elf/sprof.c: Likewise.
20700 * iconv/iconv_prog.c: Likewise.
20701 * iconv/iconvconfig.c: Likewise.
20702 * locale/programs/locale.c: Likewise.
20703 * locale/programs/localedef.c: Likewise.
20704 * login/programs/pt_chown.c: Likewise.
20705 * malloc/memusage.sh: Likewise.
20706 * malloc/memusagestat.c: Likewise.
20707 * malloc/mtrace.pl: Likewise.
20708 * manual/libc.texinfo: Likewise.
20709 * nscd/nscd.c: Likewise.
20710 * nss/getent.c: Likewise.
20711 * nss/makedb.c: Likewise.
20712 * posix/getconf.c: Likewise.
20713 * scripts/test-installation.pl: Likewise.
20714
d4697bc9
AM
20715 * All files with FSF copyright notices: Update copyright dates
20716 using scripts/update-copyrights.
20717 * intl/plural.c: Regenerated.
20718 * locale/programs/charmap-kw.h: Likewise.
20719 * locale/programs/locfile-kw.h: Likewise.
20720
c8590f9d
MF
207212013-12-31 Mike Frysinger <vapier@gentoo.org>
20722
20723 * sysdeps/unix/sysv/linux/configure: Regenerated.
20724 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
20725 the linux/fanotify.h header.
20726 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
20727 HAVE_LINUX_FANOTIFY_H is defined.
20728
b19221b9
SP
207292013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
20730
dd1d85e5
SP
20731 * benchtests/cos-inputs: New inputs.
20732 * benchtests/sin-inputs: Likewise.
20733
1acbb90f
SP
20734 * benchtests/atan-inputs: New inputs. Fix name of multiple
20735 precision fallback inputs.
20736
4c012ed3
SP
20737 * benchtests/atanh-inputs: New inputs.
20738 * benchtests/tanh-inputs: Likewise.
20739
eff98324
SP
20740 * benchtests/acosh-inputs: New inputs.
20741 * benchtests/asinh-inputs: Likewise.
20742
ce641152
SP
20743 * benchtests/cosh-inputs: New inputs.
20744 * benchtests/sinh-inputs: Likewise.
20745
b19221b9
SP
20746 * benchtests/acos-inputs: Add more inputs.
20747 * benchtests/asin-inputs: Likewise.
20748
030a4976 207492013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 20750
030a4976 20751 [BZ #16375]
9dcc8f11
VS
20752 * manual/arith.texi: Fix spelling.
20753 * manual/charset.texi: Likewise.
20754 * manual/errno.texi: Likewise.
20755 * manual/filesys.texi: Likewise.
20756 * manual/lang.texi: Likewise.
20757 * manual/llio.texi: Likewise.
20758 * manual/locale.texi: Likewise.
20759 * manual/message.texi: Likewise.
20760 * manual/resource.texi: Likewise.
20761 * manual/search.texi: Likewise.
20762 * manual/setjmp.texi: Likewise.
20763 * manual/stdio.texi: Likewise.
20764 * manual/string.texi: Likewise.
20765 * manual/sysinfo.texi: Likewise.
20766 * manual/time.texi: Likewise.
20767
11520a57
CD
207682013-12-27 Carlos O'Donell <carlos@redhat.com>
20769
20770 * po/sl.po: New file.
20771
471103ae
MF
207722013-12-27 Mike Frysinger <vapier@gentoo.org>
20773
20774 * .gitignore: Add core/.gdbinit/.gdb_history.
20775
6c9642ed
AM
207762013-12-27 Allan McRae <allan@archlinux.org>
20777
20778 [BZ #16369]
20779 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
20780 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
20781
3f637079
BM
207822013-12-24 Brooks Moses <bmoses@google.com>
20783
20784 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
20785 all compilers that claim C++98 compliance, not just GCC.
20786 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
20787 Likewise.
20788
abc26e99
MK
207892013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
20790
20791 * NEWS: Restore accidentally deleted bug-fix entries.
20792
362b47fe
MK
207932013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
20794 Ondřej Bílka <neleai@seznam.cz>
20795
20796 [BZ #15073]
20797 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 20798 have_lock.
362b47fe 20799
b9bcbbcb
OB
208002013-12-23 Ondřej Bílka <neleai@seznam.cz>
20801
20802 [BZ #12986]
20803 * manual/stdio.texi (String Input Conversions): Clarify that character
20804 classes are not supported.
20805
fb55fcd2
AZ
208062013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20807
20808 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20809
ef7344f0
JM
208102013-12-22 Joseph Myers <joseph@codesourcery.com>
20811
4f40e4b3
JM
20812 [BZ #16337]
20813 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
20814 Calculate results for small negative arguments directly rather
20815 than using reflection formula with special underflow handling.
20816
ef7344f0
JM
20817 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
20818 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
20819 sysdeps/unix/bsd/bsd4.4/syscalls.list.
20820 (fchflags): Likewise.
20821 (revoke): Likewise.
20822 (setlogin): Likewise.
20823 (sigaltstack): Likewise.
20824 (wait4): Likewise.
20825 (sigblock): Remove.
20826 (sigsetmask): Likewise.
20827 (wait3): Likewise.
20828 (waitpid): Likewise.
20829 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
20830 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
20831 file.
20832 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
20833 * sysdeps/unix/bsd/Makefile: ... here.
20834 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
20835 * sysdeps/unix/bsd/Versions: ... here.
20836 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
20837 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
20838 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
20839 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
20840 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
20841 * sysdeps/unix/bsd/sigblock.c: ... here.
20842 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
20843 * sysdeps/unix/bsd/sigsetmask.c: ... here.
20844 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
20845 * sysdeps/unix/bsd/sigvec.c: ... here.
20846 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
20847 * sysdeps/unix/bsd/tcdrain.c: ... here.
20848 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
20849 * sysdeps/unix/bsd/tcgetattr.c: ... here.
20850 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
20851 * sysdeps/unix/bsd/tcsetattr.c: ... here.
20852 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
20853 * sysdeps/unix/bsd/wait.c: ... here.
20854 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
20855 * sysdeps/unix/bsd/wait3.c: ... here.
20856 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
20857 * sysdeps/unix/bsd/waitpid.c: ... here.
20858
5b0626b9
JM
208592013-12-21 Joseph Myers <joseph@codesourcery.com>
20860
20861 [BZ #16356]
20862 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
20863 round-to-nearest for [!USE_AS_EXPM1L].
20864 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
20865 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
20866 more tests of exp and exp10. Expect some exp10 tests to miss
20867 exceptions or fail in directed rounding modes.
20868 * math/auto-libm-test-out: Regenerated.
20869 * math/libm-test.inc (exp10_tonearest_test_data): New array.
20870 (exp10_test_tonearest): New function.
20871 (exp10_towardzero_test_data): New array.
20872 (exp10_test_towardzero): New function.
20873 (exp10_downward_test_data): New array.
20874 (exp10_test_downward): New function.
20875 (exp10_upward_test_data): New array.
20876 (exp10_test_upward): New function.
20877 (main): Call the new functions.
20878 * sysdeps/i386/fpu/libm-test-ulps: Update.
20879 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20880
7fda5682
JM
208812013-12-20 Joseph Myers <joseph@codesourcery.com>
20882
31e3a405
JM
20883 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
20884 asinh, atan, atan2, atanh, cbrt, cos and cosh.
20885 * math/auto-libm-test-out: Regenerated.
20886 * math/libm-test.inc (acosh_test_data): Add more tests.
20887 (atanh_test_data): Likewise.
20888 (ceil_test_data): Likewise.
20889 (copysign_test_data): Likewise.
20890 * sysdeps/i386/fpu/libm-test-ulps: Update.
20891 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20892
85bff96a
JM
20893 * timezone/checktab.awk: Update from tzcode 2013i.
20894 * timezone/private.h: Likewise.
20895 * timezone/scheck.c: Likewise.
20896 * timezone/tzfile.h: Likewise.
20897 * timezone/tzselect.ksh: Likewise.
20898 * timezone/zdump.c: Likewise.
20899 * timezone/zic.c: Likewise.
20900
b7867a3b
JM
20901 * math/auto-libm-test-in: Add tests of cpow.
20902 * math/auto-libm-test-out: Regenerated.
20903 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 20904 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
20905 mpc_cc_c.
20906 (func_calc_desc): Add mpc_cc_c union field.
20907 (test_functions): Add cpow.
20908 (special_fill_2pi): New function.
20909 (special_real_inputs): Add 2pi.
20910 (calc_generic_results): Handle mpc_cc_c.
20911 * sysdeps/i386/fpu/libm-test-ulps: Update.
20912 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20913
7fda5682
JM
20914 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
20915 csqrt, ctan and ctanh.
20916 * math/auto-libm-test-out: Regenerated.
20917 * math/libm-test.inc (TEST_COND_x86_64): New macro.
20918 (TEST_COND_x86): Likewise.
20919 (ccos_test_data): Use AUTO_TESTS_c_c.
20920 (ccosh_test_data): Likewise.
20921 (cexp_test_data): Likewise.
20922 (clog_test_data): Likewise.
20923 (csqrt_test_data): Likewise.
20924 (ctan_test_data): Likewise.
20925 (ctan_tonearest_test_data): Likewise.
20926 (ctan_towardzero_test_data): Likewise.
20927 (ctan_downward_test_data): Likewise.
20928 (ctan_upward_test_data): Likewise.
20929 (ctanh_test_data): Likewise.
20930 (ctanh_tonearest_test_data): Likewise.
20931 (ctanh_towardzero_test_data): Likewise.
20932 (ctanh_downward_test_data): Likewise.
20933 (ctanh_upward_test_data): Likewise.
20934 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20935 mpc_c_c.
20936 (func_calc_desc): Add mpc_c_c union field.
20937 (FUNC_mpc_c_c): New macro.
20938 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
20939 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
20940 ctanh.
20941 (special_fill_min_subnorm_p120): New function.
20942 (special_real_inputs): Add min_subnorm_p120.
20943 (calc_generic_results): Handle mpc_c_c.
20944 * sysdeps/i386/fpu/libm-test-ulps: Update.
20945 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20946
5ff8d60e
SP
209472013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
20948
57f41c40
AS
20949 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
20950 (do_sin_slow): New functions.
20951 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
20952 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 20953
84ba214c
SP
20954 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
20955 Use M to change sign of result instead of X. Assume X is
20956 positive.
20957 (csloww1): Likewise.
20958 (__sin): Adjust.
20959 (__cos): Adjust.
20960
975195e4
SP
20961 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
20962 arguments A and DA.
20963 (__sin): Adjust.
20964 (__cos): Likewise.
20965
5ff8d60e
SP
20966 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
20967 (__cos): Likewise.
20968 (sloww1): Don't adjust sign of DX.
20969 (csloww1): Likewise.
20970 (sloww2): Use X directly and don't adjust sign of DX.
20971 (csloww2): Likewise.
20972
eb983568
JM
209732013-12-19 Joseph Myers <joseph@codesourcery.com>
20974
64a17f1a
JM
20975 * math/auto-libm-test-in: Add tests of cabs and carg.
20976 * math/auto-libm-test-out: Regenerated.
20977 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
20978 (carg_test_data): Likewise.
20979 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20980 mpc_c_f.
20981 (func_calc_desc): Add mpc_c_f union field.
20982 (test_functions): Add cabs and carg.
20983 (calc_generic_results): Handle mpc_c_f.
20984
eb983568
JM
20985 * sysdeps/powerpc/powerpc32/libgcc-compat.S
20986 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
20987 as a macro and a compat symbol.
20988 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
20989 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
20990 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
20991 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
20992 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
20993 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
20994 not use .hidden.
20995 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
20996 Likewise.
20997 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
20998 Likewise.
20999 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
21000 Likewise.
21001 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
21002 Likewise.
21003 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
21004 Likewise.
21005 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
21006 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
21007 from GLIBC_2.3.2.
21008
6eeb678a
AZ
210092013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21010
21011 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21012
6f6fc482
JM
210132013-12-19 Joseph Myers <joseph@codesourcery.com>
21014
21fea2e2
JM
21015 * manual/texinfo.tex: Update to version 2013-11-26.10 with
21016 trailing whitespace removed.
21017 * scripts/config.guess: Update to version 2013-11-29.
21018 * scripts/config.sub: Update to version 2013-10-01.
21019
6f6fc482
JM
21020 * math/auto-libm-test-in: Add tests of sincos.
21021 * math/auto-libm-test-out: Regenerated.
21022 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
21023 * math/gen-auto-libm-tests.c (func_calc_method): Add value
21024 mpfr_f_11.
21025 (func_calc_desc): Add mpfr_f_11 union field.
21026 (test_functions): Add sincos.
21027 (calc_generic_results): Handle mpfr_f_11.
21028 * sysdeps/i386/fpu/libm-test-ulps: Update.
21029 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21030
83f5c32d
AS
210312013-12-19 Andreas Schwab <schwab@suse.de>
21032
21033 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
21034 CALL_MCOUNT.
21035 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
21036 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
21037 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
21038
c688b419
JM
210392013-12-19 Joseph Myers <joseph@codesourcery.com>
21040
335ee092
JM
21041 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
21042 * sysdeps/i386/fpu/libm-test-ulps: Update.
21043 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21044
f88acd39
JM
21045 [BZ #16293]
21046 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
21047 round-to-nearest mode when using frndint.
21048 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
21049 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
21050 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
21051 Likewise.
21052 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
21053 sinh test to fail.
21054 * math/auto-libm-test-out: Regenerated.
21055 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
21056 (TEST_COND_x86): Likewise.
21057 (expm1_tonearest_test_data): New array.
21058 (expm1_test_tonearest): New function.
21059 (expm1_towardzero_test_data): New array.
21060 (expm1_test_towardzero): New function.
21061 (expm1_downward_test_data): New array.
21062 (expm1_test_downward): New function.
21063 (expm1_upward_test_data): New array.
21064 (expm1_test_upward): New function.
21065 (main): Run the new test functions.
21066 * sysdeps/i386/fpu/libm-test-ulps: Update.
21067 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21068
c688b419
JM
21069 * include/features.h: Update comment documenting feature test
21070 macros. Mention _DEFAULT_SOURCE in comment.
21071 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
21072 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
21073 _BSD_SOURCE and _SVID_SOURCE.
21074 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
21075 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
21076 !_SVID_SOURCE]: Likewise.
21077 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
21078 (__USE_POSIX_IMPLICITLY): Define.
21079 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
21080 (_POSIX_SOURCE): Undefine and redefine.
21081 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
21082 (_POSIX_C_SOURCE): Likewise.
21083 * manual/creature.texi (_DEFAULT_SOURCE): Document.
21084 (Feature Test Macros): Update documentation of default features.
21085
9f6e964c
RS
210862013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21087
21088 * benchtests/Makefile: Add bench-strtok.
21089 * benchtests/bench-strtok.c: New file: strtok benchtest.
21090
ee0a148a
AM
210912013-12-19 Allan McRae <allan@archlinux.org>
21092
21093 * manual/install.texi: Suppress menu for plain text output.
21094 * INSTALL: Regenerated.
21095
b9ab448f
BM
210962013-12-18 Brooks Moses <bmoses@google.com>
21097
21098 [BZ #15846]
21099 * misc/getauxval.c: Include errno.h.
21100 (__getauxval): Set errno to ENOENT if the requested type is not
21101 found.
21102 * misc/sys/auxv.h (getauxval): Document that it may set errno;
21103 don't declare with __attribute_const__.
21104 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
21105 * manual/startup.texi: Document that getauxval sets errno.
21106
23776487
JM
211072013-12-18 Joseph Myers <joseph@codesourcery.com>
21108
f889953b
JM
21109 * math/auto-libm-test-in: Add tests of jn and yn.
21110 * math/auto-libm-test-out: Regenerated.
21111 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
21112 (yn_test_data): Likewise.
21113 * math/gen-auto-libm-tests.c (func_calc_method): Add value
21114 mpfr_if_f.
21115 (func_calc_desc): Add mpfr_if_f union field.
21116 (FUNC_mpfr_if_f): New macro.
21117 (test_functions): Add jn and yn.
21118 (calc_generic_results): Assert type of second input for
21119 mpfr_ff_f. Handle mpfr_if_f.
21120 (output_for_one_input_case): Disable all checking for arguments
21121 fitting floating-point types in case of an integer argument.
21122 * sysdeps/i386/fpu/libm-test-ulps: Update.
21123 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21124
23776487
JM
21125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
21126 Don't expect fegetround reference in libm.so.
21127
cb756c6d
MS
211282013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21129
21130 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
21131 $(config-cflags-nofma).
21132
2dec468f
JM
211332013-12-18 Joseph Myers <joseph@codesourcery.com>
21134
5953eb3a
JM
21135 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
21136 * math/auto-libm-test-out: Regenerated.
21137
2dec468f
JM
21138 [BZ #16338]
21139 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
21140 to determine exponent and adjust argument to have exponent of -1.
21141 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
21142 log2.
21143 * math/auto-libm-test-out: Regenerated.
21144 * sysdeps/i386/fpu/libm-test-ulps: Update.
21145 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21146
4d84e6ad
OB
211472013-12-18 Ondřej Bílka <neleai@seznam.cz>
21148
21149 * manual/probes.texi: Remove cases when per-thread arenas are
21150 disabled.
21151
1818483b
AS
211522013-12-18 Andreas Schwab <schwab@suse.de>
21153
21154 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
21155 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
21156 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
21157 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
21158 * sysdeps/i386/i686/multiarch/Makefile: Update.
21159 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
21160
25de95bf
JM
211612013-12-17 Joseph Myers <joseph@codesourcery.com>
21162
21163 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
21164 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
21165
674762d9
PE
211662013-12-17 Paul Eggert <eggert@cs.ucla.edu>
21167
ed27ed83 21168 [BZ #15968]
0748546f
PE
21169 Support TZ transition times < 00:00:00.
21170 This is needed for version-3 tz-format files; it supports time
21171 stamps past 2037 for America/Godthab (the only entry in the tz
21172 database for which this change is relevant).
21173 * manual/time.texi (TZ Variable): Document transition times
21174 from -167:59:59 through -00:00:01.
21175 * time/tzset.c (tz_rule): Time of day is now signed.
21176 (__tzset_parse_tz): Parse negative time of day.
21177
4480e934
PE
21178 Document TZ transition times >= 25:00:00.
21179 * manual/time.texi (TZ Variable): Document transition times from
21180 25:00:00 through 167:59:59. These are already supported, and this
21181 support will help with version-3 tz-format files.
21182
69947401
PE
21183 * manual/time.texi (TZ Variable): Modernize North America example
21184 to reflect current (i.e., 2007-and-later) daylight saving rules.
21185
674762d9
PE
21186 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
21187
7011c262
JM
211882013-12-17 Joseph Myers <joseph@codesourcery.com>
21189
2fc6557e
JM
21190 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
21191 * sysdeps/unix/bsd/bits/stat.h: Likewise.
21192 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
21193 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
21194 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
21195 * sysdeps/unix/bsd/bsdstat.h: Likewise.
21196 * sysdeps/unix/bsd/clock.c: Likewise.
21197 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
21198 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
21199 * sysdeps/unix/bsd/init-posix.c: Likewise.
21200 * sysdeps/unix/bsd/poll.c: Likewise.
21201 * sysdeps/unix/bsd/ptsname.c: Likewise.
21202 * sysdeps/unix/bsd/seekdir.c: Likewise.
21203 * sysdeps/unix/bsd/setegid.c: Likewise.
21204 * sysdeps/unix/bsd/seteuid.c: Likewise.
21205 * sysdeps/unix/bsd/setgid.c: Likewise.
21206 * sysdeps/unix/bsd/setrgid.c: Likewise.
21207 * sysdeps/unix/bsd/setruid.c: Likewise.
21208 * sysdeps/unix/bsd/setsid.c: Likewise.
21209 * sysdeps/unix/bsd/setuid.c: Likewise.
21210 * sysdeps/unix/bsd/sigaction.c: Likewise.
21211 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
21212 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
21213 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
21214 * sysdeps/unix/bsd/telldir.c: Likewise.
21215 * sysdeps/unix/bsd/times.c: Likewise.
21216 * sysdeps/unix/bsd/usleep.c: Likewise.
21217
029c7b25
JM
21218 * misc/Makefile (install-lib): Remove libbsd-compat.a.
21219 ($(objpfx)libbsd-compat.a): Remove rule.
21220
7011c262
JM
21221 * include/features.h (__FAVOR_BSD): Do not define.
21222 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
21223 features conflicting with POSIX.
21224 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
21225 (_BSD_SOURCE): Remove description of not being a subset of other
21226 feature test macros.
21227 * manual/job.texi (getpgrp): Do not document BSD version.
21228 (getpgid): Do not document by reference to BSD getpgrp.
21229 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
21230 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
21231 * signal/signal.h [__FAVOR_BSD]: Likewise.
21232 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
21233 instead of making contents conditional on [__FAVOR_BSD].
21234 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
21235
affb6f78
AZ
212362013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21237
21238 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21239
c88769dd
JM
212402013-12-17 Joseph Myers <joseph@codesourcery.com>
21241
6432a540
JM
21242 [BZ #16314]
21243 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
21244 values below 2**-450, not 2**-500.
21245 * math/auto-libm-test-in: Don't allow spurious underflow from
21246 hypot.
21247 * math/auto-libm-test-out: Regenerated.
21248
c88769dd
JM
21249 [BZ #16316]
21250 [BZ #16330]
21251 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
21252 values of ha and hb and sort them after adjusting subnormal
21253 arguments.
21254 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
21255 Likewise.
21256 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
21257 values of ea and eb and sort them after adjusting subnormal
21258 arguments.
21259 * math/auto-libm-test-in: Do not expect some hypot tests of
21260 subnormals to fail. Add more hypot tests.
21261 * math/auto-libm-test-out: Regenerated.
21262
29618f6b
KK
212632013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21264
21265 [BZ #13304]
21266 * sysdeps/sh/s_fma.c: New file.
21267 * sysdeps/sh/s_fmaf.c: New file.
21268 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
21269 version.
21270 * sysdeps/sh/Implies: Add sh/soft-fp.
21271
eacfdfbf
RM
212722013-12-16 Roland McGrath <roland@hack.frob.com>
21273
21274 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
21275 level of indirection to members `objname', `errstring', `malloced'.
21276 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
21277 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
21278 it as the __longjmp argument (just pass 1 instead).
21279 (_dl_catch_error): Initialize C with argument pointers and address of
21280 volatile local ERRCODE rather than copying values out of C at return.
21281
ff362e5b
JM
212822013-12-16 Joseph Myers <joseph@codesourcery.com>
21283
21284 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
21285 * math/auto-libm-test-out: Regenerated.
21286 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
21287 (hypot_test_data): Likewise.
21288 (pow_test_data): Likewise.
21289 (pow_tonearest_test_data): Likewise.
21290 * math/gen-auto-libm-tests.c (func_calc_method): Add value
21291 mpfr_ff_f.
21292 (func_calc_desc): Add mpfr_ff_f union field.
21293 (FUNC_mpfr_ff_f): New macro.
21294 (test_functions): Add atan2, hypot and pow.
21295 (special_fill_min): New function.
21296 (special_fill_minus_min): Likewise.
21297 (special_fill_min_subnorm): Likewise.
21298 (special_fill_minus_min_subnorm): Likewise.
21299 (special_real_inputs): Add min, -min, min_subnorm and
21300 -min_subnorm.
21301 (calc_generic_results): Handle mpfr_ff_f.
21302 * sysdeps/i386/fpu/libm-test-ulps: Update.
21303 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21304
5764c27f
WN
213052013-12-16 Will Newton <will.newton@linaro.org>
21306
21307 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
21308 (Aligned Memory Blocks): Add documentation for aligned_alloc
21309 and suggest it as an alternative to posix_memalign.
21310 (Hooks for Malloc): Document __memalign_hook is also called
21311 for aligned_alloc. (Summary of Malloc): Add summary for
21312 aligned alloc. Document __memalign_hook is also called
21313 for aligned_alloc.
21314
0a096e44
WN
213152013-12-16 Will Newton <will.newton@linaro.org>
21316
21317 * manual/memory.texi (Malloc Examples): Clarify default
21318 alignment documentation. Suggest posix_memalign rather
21319 than memalign or valloc.
21320 (Aligned Memory Blocks): Remove suggestion to use memalign
21321 or valloc. Remove obsolete comment about BSD.
21322 Document memalign errno values and mark the function obsolete.
21323 Document posix_memalign returned error codes. Mark valloc
21324 as obsolete. (Hooks for Malloc): __memalign_hook is also
21325 called for posix_memalign and valloc.
21326 (Summary of Malloc): Add posix_memalign to function summary.
21327 __memalign_hook is also called for posix_memalign and valloc.
21328
8d561986
SP
213292013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21330
21331 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
21332 TAYLOR_SIN.
21333 (__sin): Adjust.
21334 (__cos): Likewise.
21335 (sloww): Use mynumber union. Expand ternary operator into
21336 if-else statements.
21337 (cslow): use mynumber union.
21338
73616a74
AM
213392013-12-16 Allan McRae <allan@archlinux.org>
21340
9e8ac24b
AM
21341 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
21342 * configure: Regenerated.
21343
6f8e37eb
AM
21344 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
21345
8894bad3
AM
21346 [BZ #14120]
21347 * configure.ac: Added --enable-maintainer-mode. Check for
21348 autoconf when enabled.
21349 * configure: Regenerated.
21350
73616a74
AM
21351 * nscd/nscd.service: New file.
21352 * nscd/nscd.tmpfiles: New file.
21353
584b18eb
OB
213542013-12-14 Ondřej Bílka <neleai@seznam.cz>
21355
21356 [BZ #12100]
21357 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
21358 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
21359 * sysdeps/x86_64/multiarch/strstr.c: ... here.
21360 (strstr): Add __strstr_sse2_unaligned ifunc.
21361 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
21362 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
21363 (strcasestr): Remove __strcasestr_sse42 ifunc.
21364 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
21365 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
21366 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
21367
8a5c7897
KK
213682013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21369
21370 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
21371 * sysdeps/sh/bits/fenv.h: ... here.
21372 * sysdeps/sh/sh4/fpu/bits: Remove directory.
21373
fd712ef3
AZ
213742013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21375
21376 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
21377
42fcb46c
AZ
21378 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
21379 hypotf multiarch implementations.
21380 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
21381 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
21382 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
21383 multiarch hypot for PPC64.
21384 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
21385 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
21386 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
21387 multiarch hypotf for PPC64.
21388
83efded4
AZ
21389 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
21390 modff multiarch implementations.
21391 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
21392 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
21393 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
21394 multiarch modf for PPC64.
21395 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
21396 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
21397 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
21398 multiarch modff for PPC64.
21399
43e246d2
AZ
21400 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
21401 and logl multiarch implementations.
21402 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
21403 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
21404 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
21405 multiarch logb for PPC64.
21406 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
21407 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
21408 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
21409 multiarch logb for PPC64.
21410 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
21411 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
21412 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
21413 multiarch logb for PPC64.
21414
8fdad123
AZ
21415 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
21416 isinff multiarch implementation.
21417 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
21418 file.
21419 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
21420 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
21421 multiarch isinf for PPC64.
21422 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
21423 file.
21424 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
21425 multiarch isinff for PPC64.
21426
1481d706
AZ
21427 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
21428 finitef multiarch implementation.
21429 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
21430 file.
21431 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
21432 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
21433 multiarch finite for PPC64.
21434 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
21435 file.
21436 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
21437 multiarch finitef for PPC64.
21438
5ccd5fc8
AZ
21439 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
21440 lrint multiarch implementation.
21441 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
21442 file.
21443 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
21444 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
21445 multiarch llrint for PPC64.
21446 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
21447 multiarch lrint for PPC64.
21448
2568f3fa
AZ
21449 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
21450 copysignf multiarch implementation.
21451 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
21452 file.
21453 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
21454 file.
21455 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
21456 multiarch copysign for PPC64.
21457 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
21458 multiarch copysignf for PPC64.
21459
1cb341fd
AZ
21460 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
21461 multiarch implementation.
21462 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
21463 file.
21464 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
21465 file.
21466 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
21467 file.
21468 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
21469 file.
21470 multiarch llround for PPC64.
21471 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
21472 multiarch trunc for PPC64.
21473 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
21474 multiarch truncf for PPC64.
21475
59a3e194
AZ
21476 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
21477 multiarch implementation.
21478 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
21479 file.
21480 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
21481 file.
21482 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
21483 file.
21484 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
21485 file.
21486 multiarch llround for PPC64.
21487 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
21488 multiarch round for PPC64.
21489 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
21490 multiarch roundf for PPC64.
21491
357fd3b4
AZ
21492 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
21493 multiarch implementation.
21494 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
21495 file.
21496 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
21497 file.
21498 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
21499 file.
21500 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
21501 file.
21502 multiarch llround for PPC64.
21503 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
21504 multiarch floor for PPC64.
21505 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
21506 multiarch floorf for PPC64.
21507
96770f12
AZ
21508 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
21509 multiarch implementation.
21510 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
21511 file.
21512 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
21513 file.
21514 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
21515 file.
21516 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
21517 file.
21518 multiarch llround for PPC64.
21519 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
21520 multiarch ceil for PPC64.
21521 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
21522 multiarch ceilf for PPC64.
21523
c3627f6e
AZ
21524 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
21525 multiarch implementation.
21526 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
21527 file.
21528 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
21529 file.
21530 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
21531 file.
21532 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
21533 multiarch llround for PPC64.
21534 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
21535 multiarch lround for PPC64.
21536
b2284ad7
AZ
21537 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
21538 multiarch implementation.
21539 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
21540 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
21541 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
21542 file.
21543 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
21544 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
21545 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
21546 multiarch isnan for PPC64.
21547 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
21548 multiarch isnanf for PPC64.
21549
69bbc63d
AZ
21550 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
21551 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
21552 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
21553 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
21554 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
21555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
21556
c24517c9
AZ
21557 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
21558 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
21559 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
21560 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
21561
a52374e8
AZ
21562 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
21563 multiarch implementations.
21564 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21565 (__libc_ifunc_impl_list): Likewise.
21566 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
21567 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
21568 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
21569 multiarch stpcpy for PPC64.
21570
7f5ec113
AZ
21571 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
21572 multiarch implementations.
21573 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21574 (__libc_ifunc_impl_list): Likewise.
21575 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
21576 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
21577 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
21578 multiarch strcpy for PPC64.
21579
e28bcd42
AZ
21580 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
21581 redefine function name.
21582 (_wordcopy_fwd_dest_aligned): Likewise.
21583 (_wordcopy_bwd_aligned): Likewise.
21584 (_wordcopy_bwd_dest_aligned): Likewise.
21585 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
21586 multiarch implementations.
21587 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21588 (__libc_ifunc_impl_list): Likewise.
21589 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
21590 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
21591 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
21592 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
21593 multiarch wcscpy for PPC64.
21594
92cacfce
AZ
21595 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
21596 multiarch implementations.
21597 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21598 (__libc_ifunc_impl_list): Likewise.
21599 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
21600 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
21601 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
21602 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
21603 multiarch wcscpy for PPC64.
21604
7b714620
AZ
21605 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
21606 multiarch implementations.
21607 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21608 (__libc_ifunc_impl_list): Likewise.
21609 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
21610 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
21611 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
21612 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
21613 multiarch wcsrchr for PPC64.
21614
16fd2ae3
AZ
21615 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
21616 multiarch implementations.
21617 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21618 (__libc_ifunc_impl_list): Likewise.
21619 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
21620 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
21621 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
21622 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
21623 multiarch wcschr for PPC64.
21624
9ee2969b
AZ
21625 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
21626 multiarch implementations.
21627 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21628 (__libc_ifunc_impl_list): Likewise.
21629 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
21630 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
21631 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
21632 multiarch strchrnul for PPC64.
21633
372dc060
AZ
21634 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
21635 implementations.
21636 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21637 (__libc_ifunc_impl_list): Likewise.
21638 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
21639 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
21640 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
21641 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
21642 strchr for PPC64.
21643
24c2c3b9
AZ
21644 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
21645 implementations.
21646 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21647 (__libc_ifunc_impl_list): Likewise.
21648 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
21649 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
21650 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
21651 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
21652 strncmp for PPC64.
21653
1c92d9a0
AZ
21654 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
21655 multiarch implementations.
21656 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21657 (__libc_ifunc_impl_list): Likewise.
21658 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
21659 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
21660 strncasecmp for PPC64.
21661 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
21662 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
21663 multiarch strncasecmp_l for PPC64.
21664
17de3ee3
AZ
21665 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
21666 multiarch implementations.
21667 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21668 (__libc_ifunc_impl_list): Likewise.
21669 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
21670 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
21671 multiarch strcasecmp for PPC64.
21672 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
21673 file.
21674 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
21675 multiarch strcasecmp_l for PPC64.
21676
62982bf9
AZ
21677 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
21678 implementations.
21679 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21680 (__libc_ifunc_impl_list): Likewise.
21681 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
21682 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
21683 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
21684 strnlen for PPC64.
21685
a65f4904
AZ
21686 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
21687 implementations.
21688 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21689 (__libc_ifunc_impl_list): Likewise.
21690 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
21691 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
21692 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
21693 strlen for PPC64.
21694
1fd005ad
AZ
21695 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
21696 implementations.
21697 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21698 (__libc_ifunc_impl_list): Likewise.
21699 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
21700 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
21701 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
21702 rawmemrchr for PPC64.
21703
cd05ba91
AZ
21704 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
21705 implementation.
21706 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21707 (__libc_ifunc_impl_list): Likewise.
21708 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
21709 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
21710 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
21711 memrchr for PPC64.
21712
870f8676
AZ
21713 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
21714 implementation.
21715 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21716 (__libc_ifunc_impl_list): Likewise.
21717 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
21718 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
21719 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
21720 memchr for PPC64.
21721
f00be62b
AZ
21722 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
21723 implementation.
21724 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21725 (__libc_ifunc_impl_list): Likewise.
21726 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
21727 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
21728 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
21729 mempcpy for PPC64.
21730
8a29a3d0
AZ
21731 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
21732 avoid cretion of __bzero symbol.
21733 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
21734 Likewise.
21735 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
21736 Likewise.
21737 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
21738 Likewise.
21739 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
21740 multiarch implementations.
21741 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21742 (__libc_ifunc_impl_list): Likewise.
21743 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
21744 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
21745 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
21746 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
21747 bzero for PPC32.
21748 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
21749 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
21750 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
21751 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
21752 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
21753 memset for PPC64.
21754 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
21755
07253fcf
AZ
21756 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
21757 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
21758 implementations.
21759 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21760 (__libc_ifunc_impl_list): Likewise.
21761 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
21762 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
21763 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
21764 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
21765 memcmp for PPC64.
21766
b5beafbc
AZ
21767 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
21768 multiarch for POWER/PPC64.
21769 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
21770 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
21771 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
21772 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
21773 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
21774 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
21775 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
21776 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
21777 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
21778 memcpy for PPC64.
21779
5e6a4d4b
AZ
21780 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
21781 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
21782 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
21783 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
21784 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
21785 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
21786 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
21787 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
21788 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
21789 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
21790 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
21791 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
21792 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
21793 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
21794 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
21795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
21796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
21797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
21798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
21799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
21800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
21801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
21802
ddfab6dc
KK
218032013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21804
21805 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
21806
19b5525e
SP
218072013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
21808
21809 * benchtests/Makefile (bench): Add exp2 and log2.
21810 (LDLIBS-bench-exp2): Add -lm.
21811 (LDLIBS-bench-log2): Likewise.
21812 * benchtests/exp2-inputs: New inputs file.
21813 * benchtests/log2-inputs: New inputs file.
21814 * benchtests/log-inputs: Add new inputs.
21815 * benchtests/tan-inputs: Likewise.
21816
196f7f5d
SP
218172013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21818
7a74607f
SP
21819 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
21820 definition...
57f41c40
AS
21821 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
21822 (csloww2): ... from here.
7a74607f 21823
196f7f5d
SP
21824 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
21825 instead of structures.
21826 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
21827 (POLYNOMIAL): Likewise.
21828 (TAYLOR_SLOW): Likewise.
21829 (__sin): Likewise.
21830 (__cos): Likewise.
21831 (slow1): Likewise.
21832 (slow2): Likewise.
21833 (sloww): Likewise.
21834 (sloww1); Likewise.
21835 (sloww2): Likewise.
21836 (bsloww1): Likewise.
21837 (bsloww2): Likewise.
21838 (cslow2): Likewise.
21839 (csloww): Likewise.
21840 (csloww1): Likewise.
21841 (csloww2): Likewise.
21842
0dfa665c
OB
218432013-12-10 Ondřej Bílka <neleai@seznam.cz>
21844
21845 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
21846 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
21847 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
21848 * malloc/hooks.c (realloc_check): Likewise.
21849
5782a80f
OB
21850 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
21851 * malloc/arena.c: Remove PER_THREAD conditional.
21852 [!PER_THREAD]: Remove code.
21853 (ptmalloc_unlock_all2): Likewise.
21854 (ptmalloc_init): Likewise.
21855 (_int_new_arena): Likewise.
21856 (arena_get2): Likewise.
21857 * malloc/hooks.c (__malloc_get_state): Likewise.
21858 (__malloc_set_state): Likewise.
21859 * malloc/malloc.c: Likewise.
21860 (struct malloc_state): Likewise.
21861 (struct malloc_par): Likewise.
21862 (__libc_realloc): Likewise.
21863 (__libc_mallopt): Likewise.
21864
aeb95445
AZ
218652013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21866
21867 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
21868
e8349efd
OB
218692013-12-09 Ondřej Bílka <neleai@seznam.cz>
21870
21871 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
21872 macro to a function. Check for zero perturb_byte.
21873 (_int_malloc, _int_free): Remove zero perturb_byte checks.
21874
f3eeb3fc 21875 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
21876 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
21877 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
21878 force_reg by atomic_forced_read.
21879 * malloc/arena.c (ptmalloc_init): Likewise.
21880 * malloc/hooks.c (top_check): Likewise.
21881
be2f9009
AZ
218822013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21883
21884 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21885
e7b914bd
MT
218862013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
21887
21888 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21889
9f0be4f8
JM
218902013-12-08 Joseph Myers <joseph@codesourcery.com>
21891
21892 * math/auto-libm-test-in: Add tests of lgamma.
21893 * math/auto-libm-test-out: Regenerated.
21894 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
21895 (M_LOG_2_SQRT_PIl): Likewise.
21896 (lgamma_test_data): Use AUTO_TESTS_f_f1.
21897 * math/gen-auto-libm-tests.c (func_calc_method): Add value
21898 mpfr_f_f1.
21899 (func_calc_desc): Add mpfr_f_f1 union field.
21900 (ARGS1): New macro.
21901 (ARGS2): Likewise.
21902 (ARGS3): Likewise.
21903 (ARGS4): Likewise.
21904 (RET1): Likewise.
21905 (RET2): Likewise.
21906 (CALC): Likewise.
21907 (FUNC): Likewise.
21908 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
21909 (test_functions): Add lgamma.
21910 (calc_generic_results): Handle mpfr_f_f1.
21911 * sysdeps/i386/fpu/libm-test-ulps: Update.
21912 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21913
24eeafdb
AZ
219142013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21915
21916 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
21917 __mpn_add_n for PowerPC64/POWER7.
21918 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
21919 __mpn_sub_n for PowerPC64/POWER7.
21920
4a2c0fd4
AZ
21921 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
21922 __mpn_addmul_1 for PowerPC64.
21923 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
21924 __mpn_submul_1 for PowerPC64.
21925 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
21926 for PowerPC64.
21927 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
21928 for PowerPC64.
21929
4b5b548c
FS
219302013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
21931
21932 [BZ #15089]
21933 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
21934
0a3ac0aa
AZ
219352013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21936
21937 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
21938
ccdc8438
AZ
21939 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
21940 add multiarch folders.
21941 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
21942 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
21943 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
21944 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
21945 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
21946 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
21947 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
21948 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
21949 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
21950 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
21951 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
21952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
21953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
21954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
21955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
21956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
21957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
21958
2e973d99
AZ
21959 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
21960 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
21961 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
21962 New file.
21963 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
21964 New file.
21965 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
21966 multiarch __ieee754_hypot for PowerPC32.
21967 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
21968 New file.
21969 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
21970 New file.
21971 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
21972 multiarch __ieee754_hypotf for PowerPC32.
21973
2d9470b2
AZ
21974 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
21975 long_double_symbol only if __logbl is defined.
21976 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
21977 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
21978 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
21979 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
21980 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
21981 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
21982 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
21983 path for implementation.
21984 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
21985 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
21986 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
21987 logb, and logbl multiarch implementations for PowerPC32.
21988 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
21989 file.
21990 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
21991 file.
21992 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
21993 multiarch logb for PowerPC32.
21994 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
21995 file.
21996 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
21997 file.
21998 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
21999 multiarch logbf for PowerPC32.
22000 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
22001 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
22002 file.
22003 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
22004 multiarch logbl implementation for PowerPC32.
22005
5212ffce
AZ
22006 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
22007 and modff multiarch implementations.
22008 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
22009 New file.
22010 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
22011 New file.
22012 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
22013 multiarch modf for PowerPC32.
22014 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
22015 New file.
22016 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
22017 New file.
22018 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
22019 multiarch modff for PowerPC32.
22020
79dccf31
AZ
22021 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
22022 and lrintf multiarch implementations.
22023 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
22024 New file.
22025 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
22026 New file.
22027 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
22028 multiarch lrint for PowerPC32.
22029 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
22030 file: multiarch lrintf for PowerPC32.
22031
deb66480
AZ
22032 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
22033 and lroundf multiarch implementations.
22034 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
22035 New file.
22036 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
22037 New file.
22038 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
22039 New file.
22040 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
22041 multiarch lround for PowerPC32.
22042 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
22043 file: multiarch lroundf for PowerPC32.
22044
264b036b
AZ
22045 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
22046 copysign and copysignf multiarch implementations.
22047 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
22048 New file.
22049 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
22050 New file.
22051 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
22052 file: multiarch copysign for PowerPC32.
22053 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
22054 file: multiarch copysignf for PowerPC32.
22055
d47db6c9
AZ
22056 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
22057 and truncf multiarch implementations.
22058 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
22059 New file.
22060 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
22061 file.
22062 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
22063 multiarch trunc for PowerPC32.
22064 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
22065 New file.
22066 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
22067 New file.
22068 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
22069 multiarch truncf for PowerPC32.
22070
ddb60b5a
AZ
22071 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
22072 and roundf multiarch implementations.
22073 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
22074 New file.
22075 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
22076 file.
22077 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
22078 multiarch round for PowerPC32.
22079 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
22080 New file.
22081 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
22082 New file.
22083 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
22084 multiarch roundf for PowerPC32.
22085
bedcf49b
AZ
22086 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
22087 and floorf multiarch implementations.
22088 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
22089 New file.
22090 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
22091 file.
22092 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
22093 multiarch floor for PowerPC32.
22094 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
22095 New file.
22096 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
22097 New file.
22098 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
22099 multiarch floorf for PowerPC32.
22100
35ae5b40
AZ
22101 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
22102 and ceilf multiarch implementations.
22103 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
22104 New file.
22105 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
22106 file.
22107 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
22108 multiarch ceil for PowerPC32.
22109 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
22110 New file.
22111 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
22112 file.
22113 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
22114 multiarch ceilf for PowerPC32.
22115
ae1a4cd9
AZ
22116 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
22117 is defined.
22118 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
22119 FINITEF is defined.
22120 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
22121 and finitef multiarch implementations.
22122 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
22123 New file.
22124 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
22125 file.
22126 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
22127 multiarch finite for PowerPC32.
22128 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
22129 New file.
22130 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
22131 file: multiarch finitef for PowerPC32.
22132
64fffd65
AZ
22133 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
22134 and isinff multiarch implementations.
22135 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
22136 file.
22137 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
22138 file.
22139 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
22140 multiarch isinf for PowerPC32.
22141 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
22142 New file.
22143 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
22144 multiarch isinff for PowerPC32.
22145
8e4e7ba2
AZ
22146 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
22147 alias when __isnan is defined.
22148 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
22149 and isnanf multiarch implementations.
22150 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
22151 file.
22152 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
22153 file.
22154 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
22155 file.
22156 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
22157 file.
22158 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
22159 multiarch isnan for PowerPC32.
22160 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
22161 New file.
22162 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
22163 New file.
22164 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
22165 multiarch isnanf for PowerPC32.
22166
ddba588e
AZ
22167 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
22168 and sqrtf multiarch implementations.
22169 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
22170 file.
22171 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
22172 file.
22173 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
22174 multiarch sqrt for PowerPC32.
22175 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
22176 file.
22177 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
22178 file.
22179 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
22180 multiarch sqrtf for PowerPC32.
22181
0f96a2f0
AZ
22182 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
22183 and llroundf multiarch implementations.
22184 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
22185 New file.
22186 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
22187 New file.
22188 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
22189 New file.
22190 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
22191 file: multiarch llround for PowerPC32.
22192 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
22193 file: multiarch llroundf for PowerPC32.
22194
c9b5d79e
AZ
22195 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
22196 multiarch PowerPC32 fpu implementations.
22197 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
22198 New file.
22199 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
22200 New file.
22201 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
22202 multiarch llrint for PowerPC32.
22203 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
22204 New file.
22205 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
22206 New file.
22207 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
22208 file.
22209
9cbb3aab
AZ
22210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
22211
ea5a72f8
AZ
22212 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
22213 file.
22214 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
22215 file.
22216 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
22217 file.
22218 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
22219 multiarch wordcopy for PPC32.
22220 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
22221 wordcopy objects.
22222 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22223 (__libc_ifunc_impl_list): Likewise.
22224 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
22225 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
22226 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
22227 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
22228 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
22229 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
22230
93be09e7
AZ
22231 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
22232 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
22233 file.
22234 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
22235 file.
22236 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
22237 file.
22238 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
22239 multiarch wcscpy for PPC32.
22240 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
22241 multiarch objects.
22242 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22243 (__libc_ifunc_impl_list): Likewise.
22244 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
22245 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
22246 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
22247 sysdeps/powerpc/power6/wcscpy.c.
22248
bb04e529
AZ
22249 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
22250 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
22251 file.
22252 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
22253 file.
22254 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
22255 file.
22256 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
22257 multiarch wcsrchr for PPC32.
22258 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
22259 multiarch objects.
22260 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22261 (__libc_ifunc_impl_list): Likewise.
22262 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
22263 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
22264 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
22265 sysdeps/powerpc/power6/wcsrchr.c.
22266
05b5cd1c
AZ
22267 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
22268 file.
22269 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
22270 file.
22271 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
22272 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
22273 multiarch wcschr for PPc32.
22274 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
22275 multiarch objects.
22276 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22277 (__libc_ifunc_impl_list): Likewise.
22278 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
22279 * sysdeps/powerpc/power6/wcschr.c: ... to here.
22280 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
22281 sysdeps/powerpc/power6/wcschr.c.
22282
ba964147
AZ
22283 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
22284 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
22285 file.
22286 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
22287 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
22288 file: multiarch strchr for PPC32.
22289 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
22290 multiarch objects.
22291 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22292 (__libc_ifunc_impl_list): Likewise.
22293
31c81aaa
AZ
22294 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
22295 name.
22296 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
22297 file.
22298 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
22299 file.
22300 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
22301 multiarch strchrnul for PPC32.
22302 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
22303 multiarch objects.
22304 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22305 (__libc_ifunc_impl_list): Likewise.
22306
0d0607d9
AZ
22307 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
22308 file.
22309 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
22310 multiarch strncasecmp for PPC32.
22311 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
22312 file.
22313 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
22314 multiarch strncasecmp_l for PPC32.
22315 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
22316 strncasecmp multiarch objects.
22317 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22318 (__libc_ifunc_impl_list): Likewise.
22319
4dfd5c86
AZ
22320 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
22321 file.
22322 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
22323 multiarch strncasecmp for PPC32.
22324 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
22325 New file.
22326 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
22327 multiarch strcasecmp_l for PPC32.
22328 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
22329 multiarch objects.
22330 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22331 (__libc_ifunc_impl_list): Likewise.
22332
a19e01a3
AZ
22333 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
22334 file.
22335 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
22336 file.
22337 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
22338 multiarch strncmp for PPC32.
22339 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
22340 multiarch objects.
22341 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22342 (__libc_ifunc_impl_list): Likewise.
22343
ae9cf7a2
AZ
22344 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
22345 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
22346 file.
22347 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
22348 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
22349 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
22350 multiarch objects.
22351 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22352 (__libc_ifunc_impl_list): Likewise.
22353
3148bb7d
AZ
22354 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
22355 file.
22356 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
22357 file.
22358 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
22359 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
22360 multiarch objects.
22361 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22362 (__libc_ifunc_impl_list): Likewise.
22363
7af8b946
AZ
22364 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
22365 file.
22366 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
22367 file.
22368 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
22369 multiarch rawmemchr for PPC32.
22370 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
22371 multiarch objects.
22372 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22373 (__libc_ifunc_impl_list): Likewise.
22374
03a6aa6a
AZ
22375 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
22376 file.
22377 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
22378 file.
22379 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
22380 file: memrchr multiarch for PPC32.
22381 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
22382 multiarch objects.
22383 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22384 (__libc_ifunc_impl_list): Likewise.
22385
1c62e6d9
AZ
22386 * string/memchr.c (__memchr): Using macro to redefine symbol name.
22387 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
22388 file.
22389 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
22390 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
22391 multiarch memchr for PPC32.
22392 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
22393 multiarch objects.
22394 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
22395 (__libc_ifunc_impl_list): Likewise.
22396
87da8bdb
AZ
22397 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
22398 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
22399 file.
22400 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
22401 file.
22402 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
22403 file: multiarch mempcpy for PPC32.
22404 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
22405 multiarch objects.
22406 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
22407 (__libc_ifunc_impl_list): Likewise.
22408
20ed4714
AZ
22409 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
22410 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
22411 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
22412 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
22413 multiarch bzero for PPC32.
22414 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
22415 file.
22416 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
22417 file.
22418 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
22419 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
22420 file: multiarch memset for PPC32.
22421 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
22422 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
22423 memset multiarch objects.
22424 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
22425 (__libc_ifunc_impl_list): Likewise.
22426
ab3e3a46
AZ
22427 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
22428 file.
22429 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
22430 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
22431 memcmp for PPC32.
22432 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
22433 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
22434 multiarch objects.
22435 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
22436 (__libc_ifunc_impl_list): Likewise.
22437
930de6f0
AZ
22438 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
22439 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
22440 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
22441 file.
22442 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
22443 file.
22444 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
22445 file.
22446 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
22447 multiarch memcpy for PPC32.
22448 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
22449 multiarch objects.
22450 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
22451 (__libc_ifunc_impl_list): Likewise.
22452
4c628e00
AZ
22453 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
22454 support multiarch for POWER/PPC32.
22455 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
22456 Likewise.
22457 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
22458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
22459 Implies file to make multiarch folder appers before the fpu and
22460 default folder for power4 configuration.
22461
f4479220
SP
224622013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
22463
22464 * scripts/bench.pl: Append volatile keyword to type.
22465
8517800f
KK
224662013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22467
22468 * sysdeps/sh/sotruss-lib.c: New file.
22469 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
22470
180138f1
AZ
224712013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22472
22473 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22474
bbf37bdc
JM
224752013-12-05 Joseph Myers <joseph@codesourcery.com>
22476
e47cc4e0
JM
22477 [BZ #6810]
22478 * math/w_tgamma.c: Include <errno.h>.
22479 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
22480 * math/w_tgammaf.c: Include <errno.h>.
22481 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
22482 * math/w_tgammal.c: Include <errno.h>.
22483 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
22484 * math/auto-libm-test-in: Do not allow missing errno on tgamma
22485 underflow. Add more tgamma tests.
22486 * math/auto-libm-test-out: Regenerated.
22487 * sysdeps/i386/fpu/libm-test-ulps: Update.
22488 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22489
bbf37bdc
JM
22490 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
22491 sin, sinh, tan, tanh, tgamma, y0 and y1.
22492 * math/auto-libm-test-out: Regenerated.
22493 * math/libm-test.inc (TEST_COND_x86_64): New macro.
22494 (TEST_COND_x86): Likewise.
22495 (M_E2l): Remove macro.
22496 (M_E3l): Likewise.
22497 (M_2_SQRT_PIl): Likewise.
22498 (M_SQRT_PIl): Likewise.
22499 (M_1_DIV_El): Likewise.
22500 (log_test_data): Use AUTO_TESTS_f_f.
22501 (log10_test_data): Likewise.
22502 (log1p_test_data): Likewise.
22503 (log2_test_data): Likewise.
22504 (sin_test_data): Likewise.
22505 (sin_tonearest_test_data): Likewise.
22506 (sin_towardzero_test_data): Likewise.
22507 (sin_downward_test_data): Likewise.
22508 (sin_upward_test_data): Likewise.
22509 (sinh_test_data): Likewise.
22510 (sinh_tonearest_test_data): Likewise.
22511 (sinh_towardzero_test_data): Likewise.
22512 (sinh_downward_test_data): Likewise.
22513 (sinh_upward_test_data): Likewise.
22514 (tan_test_data): Likewise.
22515 (tan_tonearest_test_data): Likewise.
22516 (tan_towardzero_test_data): Likewise.
22517 (tan_downward_test_data): Likewise.
22518 (tan_upward_test_data): Likewise.
22519 (tanh_test_data): Likewise.
22520 (tgamma_test_data): Likewise.
22521 (y0_test_data): Likewise.
22522 (y1_test_data): Likewise.
22523 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
22524 (special_real_inputs): Add pi/4.
22525 * sysdeps/i386/fpu/libm-test-ulps: Update.
22526 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22527
eb5ad6b9
AZ
225282013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22529
22530 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
22531 "longjmp_target" static probes.
22532 (__longjmp): Rename to __longjmp_symbol.
22533 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
22534 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
22535 on which longjmp to generate.
22536 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
22537 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
22538 probe.
22539 (__sigsetjmp): Rename to __sigsetjmp_symbol.
22540 (__sigjmp_save): Rename to __sigjmp_save_symbol.
22541 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
22542 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
22543 and __sigjmp_save_symbol based on which sigsetjmp to generated.
22544 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
22545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
22546 __longjmp_symbol based on which __longjmp to generate.
22547 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
22548 probe.
22549 (setjmp): Rename to setjmp_symbol.
22550 (__sigsetjmp): Rename to __sigsetjmp_symbol.
22551 (_setjmp): Rename to _setjmp_symbol.
22552 (__sigsetjmp): Rename to __sigsetjmp_symbol.
22553 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
22554 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
22555 which setjmp to generate.
22556 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
22557 "longjmp_target" static probes.
22558
d136c6dc
SP
225592013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
22560
9298ecba
SP
22561 * benchtests/README: Add note about output arguments.
22562 * benchtests/bench-sincos.c: Remove file.
22563 * benchtests/sincos-inputs: New file.
22564 * scripts/bench.pl: Identify output arguments and define
22565 static variables for them.
22566
232983e9
SP
22567 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
22568
d136c6dc
SP
22569 [BZ #15941]
22570 * Makefile (INSTALL): Add install-plain.texi as the primary
22571 dependency.
22572 * manual/install-plain.texi: New file.
22573 * manual/install.texi: Include node directive only for
22574 non-plaintext output.
22575
699ff837
JM
225762013-12-04 Joseph Myers <joseph@codesourcery.com>
22577
ab07cea8
JM
22578 * stdlib/longlong.h: Update from GCC.
22579
699ff837
JM
22580 [BZ #6807]
22581 [BZ #15901]
22582 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
22583 * math/w_j0f.c (y0f): Likewise.
22584 * math/w_j0l.c (__y0l): Likewise.
22585 * math/w_j1.c (y1): Likewise.
22586 * math/w_j1f.c (y1f): Likewise.
22587 * math/w_j1l.c (__y1l): Likewise
22588 * math/w_jn.c (yn): Likewise.
22589 * math/w_jnf.c (ynf): Likewise.
22590 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
22591 Bessel function pole errors in _POSIX_ mode. Use NAN as return
22592 value for Bessel function domain errors outside _SVID_ mode.
22593 Adjust sign of return value for yn (negative integer, 0).
22594 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
22595 by zero in return for negative x and set sign appropriately for
22596 negative n.
22597 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
22598 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
22599 * math/libm-test.inc (y0_test_data): Add more tests and adjust
22600 expectations in error cases.
22601 (y1_test_data): Likewise.
22602 (yn_test_data): Likewise.
22603 * sysdeps/i386/fpu/libm-test-ulps: Update.
22604 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22605
5b118558
UW
226062013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22607
22608 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
22609 "64" to "64-v1". Add "64-v2".
22610 (abi-64-options): Rename to ...
22611 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
22612 (abi-64-condition): Rename to ...
22613 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
22614 (abi-64-ld-soname): Rename to ...
22615 (abi-64-v1-ld-soname): ... this.
22616 (abi-64-v2-options): Define.
22617 (abi-64-v2-condition): Likewise.
22618 (abi-64-v2-ld-soname): Likewise.
22619 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
22620 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
22621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
22622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
22623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
22624
61cd8fe4
UW
226252013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22626 Alan Modra <amodra@gmail.com>
22627
22628 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
22629 New versions for use with the ELFv2 ABI.
22630 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
22631 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
22632 declaration.
22633 (struct La_ppc64v2_retval): Likewise.
22634 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
22635 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
22636 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
22637 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
22638 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
22639 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
22640 Do not save or restore CR.
22641 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
22642 (_dl_profile_resolve): Do no save or restore CR. Support extended
22643 return values for ELFv2 ABI. Fix location of FPR return registers.
22644 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
22645 updated values for _CALL_ELF == 2.
22646 (La_regs, La_retval, int_retval): Likewise.
22647
8b8a692c
UW
226482013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22649
22650 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
22651 (FRAME_MIN_SIZE_PARM): Likewise.
22652 (FRAME_BACKCHAIN): Likewise.
22653 (FRAME_CR_SAVE): Likewise.
22654 (FRAME_LR_SAVE): Likewise.
22655 (FRAME_TOC_SAVE): Likewise.
22656 (FRAME_PARM_SAVE): Likewise.
22657 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
22658 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
22659 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
22660 (call_mcount_parm_offset): New macro.
22661 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
22662 (PROF): Use symbolic stack frame offsets.
22663 (TAIL_CALL_SYSCALL_ERROR): Likewise.
22664 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
22665 Redefine in terms of FRAME_MIN_SIZE.
22666 (_dl_runtime_resolve): Use symbolic stack frame offsets.
22667 (_dl_profile_resolve): Likewise. Update comment.
22668 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
22669 symbols stack frame offsets.
22670 (__sigsetjmp): Likewise.
22671 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
22672 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
22673 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
22674 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
22675
22676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
22677 (FRAME_BACKCHAIN): Remove.
22678 (FRAME_CR_SAVE): Likewise.
22679 (FRAME_LR_SAVE): Likewise.
22680 (FRAME_COMPILER_DW): Likewise.
22681 (FRAME_LINKER_DW): Likewise.
22682 (FRAME_TOC_SAVE): Likewise.
22683 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
22684 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
22685 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
22686 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
22687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
22688 (CHECK_SP): Use symbolic stack frame offsets.
22689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
22690 zone" instead of caller's parameter save area for temp storage.
22691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
22692 Likewise. Also, use symbolic stack frame offsets.
22693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
22694 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
22695 our own stack frame instead of the caller's.
22696 (__socket): Use symbolic stack frame offsets.
22697
122b66de
UW
226982013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22699 Alan Modra <amodra@gmail.com>
22700
22701 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
22702 Define.
57f41c40
AS
22703 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
22704 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
22705 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
22706 New function.
22707 (elf_machine_fixup_plt): Call it.
22708 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
22709 reloc arguments.
22710 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
22711 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
22712 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
22713 r2 before calling target.
22714
696caf1d
UW
227152013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22716 Alan Modra <amodra@gmail.com>
22717
22718 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
22719 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
22720 versions of macros to support ELFv2 ABI.
22721 (LOCALENTRY): New macro.
22722 (ENTRY, EALIGN): Use it.
22723 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
22724 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
22725 fall through into ENTRY entry point.
22726 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
22727 Only define if _CALL_ELF != 2.
22728
22729 (elf_machine_matches_host): Verify ABI version matches.
22730 (RTLD_START): Use LOCALENTRY.
22731 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
22732 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
22733 (PLT_ENTRY_WORDS): New macro.
22734 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
22735 (elf_machine_runtime_setup): Support ELFv2 ABI.
22736 (elf_machine_fixup_plt): Likewise.
22737 (elf_machine_plt_conflict): Likewise.
22738 (resolve_ifunc): Likewise.
22739 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
22740 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
22741 Likewise.
22742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
22743 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
22744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22745 (makecontext): Support ELFv2 ABI.
22746 * elf/elf.h (EF_PPC64_ABI): Define.
22747
d31beafa
UW
227482013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22749
57f41c40
AS
22750 * sysdeps/powerpc/powerpc64/sysdep.h
22751 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
22752 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
22753 (ENTRY) [ASSEMBLER]: ... but instead here ...
22754 (EALIGN) [ASSEMBLER]: ... and here.
22755 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
22756 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
22757 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
22758 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
22759 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
22760 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
22761 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
22762 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
22763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
22764 Use PPC64_LOAD_FUNCPTR.
22765
b525166b
UW
22766 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
22767
7ec07d9a
AM
227682013-12-04 Alan Modra <amodra@gmail.com>
22769
22770 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
22771 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
22772 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
22773 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
22774
22775 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
22776 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
22777 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
22778 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
22779 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
22780 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
22781
5162e7dd
UW
227822013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22783
22784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22785 (__makecontext): Fix incorrect CFI when backtracing out of
22786 context created via makecontext.
22787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
22788 (__setcontext): Fix incorrect CFI during switch to new context.
22789 (__novec_setcontext): Likewise.
22790
19e3372b
OB
227912013-12-04 Ondřej Bílka <neleai@seznam.cz>
22792
22793 [BZ #4772]
22794 * time/strptime_l.c (__strptime_internal): Allow modifiers
22795 in strptime.
22796 * time/tst-strptime.c (day_tests): Add testcase.
22797
ecaf142d
SP
227982013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22799
22800 * scripts/bench.pl: Skip over blank lines.
22801
fbf964ae
PE
228022013-12-04 Paul Eggert <eggert@cs.ucla.edu>
22803
22804 [BZ #926]
22805 * manual/time.texi (Calendar Time): Clarify what timezone functions
22806 use.
22807
fa60a674
AZ
228082013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22809
22810 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22811
d674f0ef
OB
228122013-12-04 Ondřej Bílka <neleai@seznam.cz>
22813
22814 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
22815 implementation.
22816 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
22817 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
22818 * debug/memset_chk.c (__memset_chk): Likewise.
22819 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
22820 * debug/strncpy_chk.c: Likewise.
22821
17dea188
JM
228222013-12-03 Joseph Myers <joseph@codesourcery.com>
22823
749008ff
JM
22824 [BZ #15268]
22825 [BZ #15425]
22826 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
22827 (__ieee754_exp): For possibly underflowing results, check size of
22828 result and force underflow exception if required.
22829 * math/auto-libm-test-in: Add more tests of exp.
22830 * math/auto-libm-test-out: Regenerated.
22831 * sysdeps/i386/fpu/libm-test-ulps: Update.
22832 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22833
17dea188
JM
22834 [BZ #16283]
22835 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
22836 * math/w_exp2f.c (__exp2f): Likewise.
22837 * math/w_exp2l.c (__exp2l): Likewise.
22838 * math/auto-libm-test-in: Do not allow missing errno on exp2
22839 underflow.
22840 * math/auto-libm-test-out: Regenerated.
22841
b20de2c3
OB
228422013-12-03 Ondřej Bílka <neleai@seznam.cz>
22843
22844 [BZ #16274]
22845 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
22846 handle filename validation.
22847 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
22848 (do_open): Delete.
22849
d8e2dbe3
JM
228502013-12-03 Joseph Myers <joseph@codesourcery.com>
22851
34e16df5
JM
22852 [BZ #6786]
22853 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
22854 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
22855 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
22856 <float.h>.
22857 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
22858 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
22859 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
22860 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
22861 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
22862 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
22863 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
22864 * math/auto-libm-test-in: Don't allow missing errno from erfc.
22865 Add more erfc tests.
22866 * math/auto-libm-test-out: Regenerated.
22867 * sysdeps/i386/fpu/libm-test-ulps: Update.
22868 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22869
d8e2dbe3
JM
22870 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
22871 exp2, expm1, j0 and j1.
22872 * math/auto-libm-test-out: Regenerated.
22873 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
22874 (erfc_test_data): Likewise.
22875 (exp_test_data): Likewise.
22876 (exp_tonearest_test_data): Likewise.
22877 (exp_towardzero_test_data): Likewise.
22878 (exp_downward_test_data): Likewise.
22879 (exp_upward_test_data): Likewise.
22880 (exp10_test_data): Likewise.
22881 (exp2_test_data): Likewise.
22882 (expm1_test_data): Likewise.
22883 (j0_test_data): Likewise.
22884 (j1_test_data): Likewise.
22885 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
22886 (input_flag_type): Add flag_xfail_rounding.
22887 (input_flags): Add xfail-rounding.
22888 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
22889 (output_for_one_input_case): Handle flag_xfail_rounding.
22890 * sysdeps/i386/fpu/libm-test-ulps: Update.
22891 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22892
18d14251
AJ
228932013-12-03 Aurelien Jarno <aurelien@aurel32.net>
22894
3d2e6075 22895 [BZ #16289]
18d14251
AJ
22896 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
22897 division by 0.
22898
520d437b
SP
228992013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
22900
22901 [BZ #16195]
22902 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
22903 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
22904 (STAP_PROBE0): New macro.
22905 (STAP_PROBE1): Likewise.
22906 (STAP_PROBE2): Likewise.
22907 (STAP_PROBE3): Likewise.
22908 (STAP_PROBE4): Likewise.
22909
416e0145
OB
229102013-12-02 Ondřej Bílka <neleai@seznam.cz>
22911
22912 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
22913
9d17796a
SE
229142013-12-02 Steve Ellcey <sellcey@mips.com>
22915
22916 * benchtests/Makefile (bench): Add sqrt.
22917 (LDLIBS-bench-sqrt): New.
22918 * benchtests/sqrt-input: New.
22919
f524d6a8
PS
229202013-12-02 Pavel Simerda <psimerda@redhat.com>
22921
639a0ef8
PS
22922 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
22923 (GAIH_EAI): Likewise.
22924 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
22925 (gaih_inet): Likewise.
22926 (getaddrinfo): Don't use GAIH_EAI.
22927
f524d6a8
PS
22928 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
22929 (struct gaih): Remove definition.
22930
df3aedaf
SP
229312013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
22932
22933 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
22934 Use HERRNOP directly.
22935
1ab19dec
AZ
229362013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22937
b42ad38d 22938 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 22939
176b0c79
JM
229402013-11-30 Joseph Myers <joseph@codesourcery.com>
22941
22942 * math/gen-auto-libm-tests.c (test_functions): Add more
22943 single-argument functions.
22944 (special_fill_pi_2): New function.
22945 (special_fill_minus_pi_2): Likewise.
22946 (special_fill_pi_6): Likewise.
22947 (special_fill_minus_pi_6): Likewise.
22948 (special_fill_pi_3): Likewise.
22949 (special_fill_2pi_3): Likewise.
22950 (special_fill_e): Likewise.
22951 (special_fill_1_e): Likewise.
22952 (special_fill_e_minus_1): Likewise.
22953 (special_real_inputs): Add more special inputs.
22954 (output_for_one_input_case): Do not require ERANGE on underflow to
22955 zero if round-to-nearest result does not underflow to zero, unless
22956 exact results required.
22957 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
22958 atan, atanh, cbrt, cos and cosh.
22959 * math/auto-libm-test-out: Regenerated.
22960 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
22961 (acos_tonearest_test_data): Likewise.
22962 (acos_towardzero_test_data): Likewise.
22963 (acos_downward_test_data): Likewise.
22964 (acos_upward_test_data): Likewise.
22965 (acosh_test_data): Likewise.
22966 (asin_test_data): Likewise.
22967 (asin_tonearest_test_data): Likewise.
22968 (asin_towardzero_test_data): Likewise.
22969 (asin_upward_test_data): Likewise.
22970 (asinh_test_data): Likewise.
22971 (atan_test_data): Likewise.
22972 (atanh_test_data): Likewise.
22973 (cbrt_test_data): Likewise.
22974 (cos_test_data): Likewise.
22975 (cos_tonearest_test_data): Likewise.
22976 (cos_towardzero_test_data): Likewise.
22977 (cos_downward_test_data): Likewise.
22978 (cos_upward_test_data): Likewise.
22979 (cosh_test_data): Likewise.
22980 (cosh_tonearest_test_data): Likewise.
22981 (cosh_towardzero_test_data): Likewise.
22982 (cosh_downward_test_data): Likewise.
22983 (cosh_upward_test_data): Likewise.
22984 * sysdeps/i386/fpu/libm-test-ulps: Update.
22985 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22986
ffb536d0
JM
229872013-11-29 Joseph Myers <joseph@codesourcery.com>
22988
2a77a467
JM
22989 [BZ #6787]
22990 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
22991 * math/w_exp10f.c (__exp10f): Likewise.
22992 * math/w_exp10l.c (__exp10l): Likewise.
22993 * math/libm-test.inc (exp10_test_data): Add more tests and expect
22994 errno settings in existing tests.
22995
ea3bc4e8
JM
22996 [BZ #14032]
22997 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
22998 precision control set to double precision.
22999 * sysdeps/i386/fpu/w_sqrt.c: New file.
23000 * math/auto-libm-test-in: Add more tests.
23001 * math/auto-libm-test-out: Update.
23002
0712c9d8
JM
23003 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
23004 (sqrt_test_tonearest): New function.
23005 (sqrt_towardzero_test_data): New variable.
23006 (sqrt_test_towardzero): New function.
23007 (sqrt_downward_test_data): New variable.
23008 (sqrt_test_downward): New function.
23009 (sqrt_upward_test_data): New variable.
23010 (sqrt_test_upward): New function.
23011 (main): Call the new functions.
23012
ffb536d0
JM
23013 * math/gen-auto-libm-tests.c: New file.
23014 * math/auto-libm-test-in: Likewise.
23015 * math/auto-libm-test-out: New generated file.
23016 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
23017 variables.
23018 (%beautify): Add generated representations of zero.
23019 (top level): Set $auto_input and call parse_auto_input.
23020 (beautify): Remove trailing "f" from hex float constants.
23021 (parse_args): Handle XFAIL_TEST.
23022 (convert_condition): New function.
23023 (or_value): Likewise.
23024 (or_cond_value): Likewise.
23025 (generate_testfile): Handle AUTO_TESTS_* lines.
23026 (parse_auto_input): New function.
23027 * math/libm-test.inc (XFAIL_TEST): New macro.
23028 (ERRNO_UNCHANGED): Update value.
23029 (ERRNO_EDOM): Likewise.
23030 (ERRNO_ERANGE): Likewise.
23031 (IGNORE_RESULT): Likewise.
23032 (TEST_COND_flt_32): New macro.
23033 (TEST_COND_dbl_64): Likewise.
23034 (TEST_COND_ldbl_96_intel): Likewise.
23035 (TEST_COND_ldbl_96_m68k): Likewise.
23036 (TEST_COND_ldbl_128): Likewise.
23037 (TEST_COND_ldbl_128ibm): Likewise.
23038 (TEST_COND_long32): Likewise.
23039 (TEST_COND_long64): Likewise.
23040 (TEST_COND_before_rounding): Likewise.
23041 (TEST_COND_after_rounding): Likewise.
23042 (enable_test): Handle XFAIL_TEST flag.
23043 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
23044 with finite results.
23045 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
23046 auto-libm-test-out.
23047
acd98a8e
AK
230482013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
23049 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23050
23051 [BZ #16214]
23052 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
23053 __tls_get_addr_internal instead of __tls_get_offset in order to
23054 avoid GOT pointer dependency. Make rtld export
23055 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
23056 __tls_get_addr since we are a __tls_get_offset platform.
23057 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
23058 GOT pointer being set up before.
23059 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
23060
3c1c46a6
JM
230612013-11-28 Joseph Myers <joseph@codesourcery.com>
23062
7475aef5
JM
23063 * manual/math.texi (Errors in Math Functions): Document accuracy
23064 goals.
23065
8bca7cd8
JM
23066 [BZ #15004]
23067 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
23068 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
23069 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
23070 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
23071 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
23072 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
23073 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
23074 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
23075 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
23076 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
23077 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
23078 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
23079 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
23080 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
23081 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
23082 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
23083
91a1f3fe
JM
23084 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
23085 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
23086 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
23087 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
23088 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
23089 Likewise.
23090 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
23091 Likewise.
23092 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
23093 Likewise.
23094 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
23095 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
23096 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
23097 atomic-feupdateenv and flt-rounds.
23098 * sysdeps/powerpc/nofpu/Versions (libc): Add
23099 __atomic_feholdexcept, __atomic_feclearexcept,
23100 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
23101 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
23102 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
23103 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
23104 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
23105 here.
23106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
23107 Update.
23108
c5df7609
JM
23109 * manual/arith.texi (FP Exceptions): Document that exceptions may
23110 not be raised when matherr is used.
23111 (Math Error Reporting): Document overflow in directed rounding
23112 modes. Document that errno may not be set when finite values are
23113 returned on overflow. Document intent to set errno on underflow
23114 only for underflow to zero.
23115
3c1c46a6
JM
23116 [BZ #16271]
23117 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
23118 round-to-nearest then adjust result for other rounding modes.
23119 * include/fenv.h (fegetround): Use libm_hidden_proto.
23120 * math/fegetround.c (fegetround): Use libm_hidden_def.
23121 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
23122 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
23123 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
23124 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
23125 Likewise.
23126 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
23127 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
23128 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
23129 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
23130
5a4c6d53
SP
231312013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23132
23133 [BZ #16077]
23134 * nss/Versions (libnss_files): Add
23135 _nss_files_gethostbyname3_r.
23136 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
23137 New function.
23138 (HOST_DB_LOOKUP): Remove macro.
23139 (_nss_files_gethostbyname_r): Implement function without the
23140 HOST_DB_LOOKUP macro.
23141 (_nss_files_gethostbyname2_r): Likewise.
23142
897b98ba
OB
231432013-11-28 Ondřej Bílka <neleai@seznam.cz>
23144
23145 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
23146
6f476861
UB
231472013-11-26 Uros Bizjak <ubizjak@gmail.com>
23148
23149 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
23150 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
23151 warning.
23152
bd12ab55
AZ
231532013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23154
23155 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
23156 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
23157 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
23158 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
23159 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
23160 __fe_nomask_env_priv and attribute_hidden.
23161 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
23162 (libc_feupdateenv_test_ppc): Likewise.
23163 (libc_feresetround_ppc): Likewise.
23164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
23165 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
23166 compat_symbol macro.
23167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
23168 (__fe_nomask_env): Likewise.
23169 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
23170
52bb6543
OB
231712013-11-26 Ondřej Bílka <neleai@seznam.cz>
23172
23173 * string/Makefile: Remove ifunc tests.
23174 * string/test-string.h: Define TEST_IFUNC.
23175 * string/test-bcopy-ifunc.c: Remove.
23176 * string/test-bzero-ifunc.c: Likewise.
23177 * string/test-memccpy-ifunc.c: Likewise.
23178 * string/test-memchr-ifunc.c: Likewise.
23179 * string/test-memcmp-ifunc.c: Likewise.
23180 * string/test-memcpy-ifunc.c: Likewise.
23181 * string/test-memmem-ifunc.c: Likewise.
23182 * string/test-memmove-ifunc.c: Likewise.
23183 * string/test-mempcpy-ifunc.c: Likewise.
23184 * string/test-memrchr-ifunc.c: Likewise.
23185 * string/test-memset-ifunc.c: Likewise.
23186 * string/test-rawmemchr-ifunc.c: Likewise.
23187 * string/test-stpcpy-ifunc.c: Likewise.
23188 * string/test-stpncpy-ifunc.c: Likewise.
23189 * string/test-strcasecmp-ifunc.c: Likewise.
23190 * string/test-strcasestr-ifunc.c: Likewise.
23191 * string/test-strcat-ifunc.c: Likewise.
23192 * string/test-strchr-ifunc.c: Likewise.
23193 * string/test-strchrnul-ifunc.c: Likewise.
23194 * string/test-strcmp-ifunc.c: Likewise.
23195 * string/test-strcpy-ifunc.c: Likewise.
23196 * string/test-strcspn-ifunc.c: Likewise.
23197 * string/test-strlen-ifunc.c: Likewise.
23198 * string/test-strncasecmp-ifunc.c: Likewise.
23199 * string/test-strncat-ifunc.c: Likewise.
23200 * string/test-strncmp-ifunc.c: Likewise.
23201 * string/test-strncpy-ifunc.c: Likewise.
23202 * string/test-strnlen-ifunc.c: Likewise.
23203 * string/test-strpbrk-ifunc.c: Likewise.
23204 * string/test-strrchr-ifunc.c: Likewise.
23205 * string/test-strspn-ifunc.c: Likewise.
23206 * string/test-strstr-ifunc.c: Likewise.
23207
ab260039 232082013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
23209
23210 * benchtests/Makefile: Remove ifunc tests.
23211 * benchtests/bench-string.h: Define TEST_IFUNC.
23212 * benchtests/bench-bcopy-ifunc.c: Remove.
23213 * benchtests/bench-bzero-ifunc.c: Likewise.
23214 * benchtests/bench-memccpy-ifunc.c: Likewise.
23215 * benchtests/bench-memchr-ifunc.c: Likewise.
23216 * benchtests/bench-memcmp-ifunc.c: Likewise.
23217 * benchtests/bench-memcpy-ifunc.c: Likewise.
23218 * benchtests/bench-memmem-ifunc.c: Likewise.
23219 * benchtests/bench-memmove-ifunc.c: Likewise.
23220 * benchtests/bench-mempcpy-ifunc.c: Likewise.
23221 * benchtests/bench-memrchr-ifunc.c: Likewise.
23222 * benchtests/bench-memset-ifunc.c: Likewise.
23223 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
23224 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
23225 * benchtests/bench-stpcpy-ifunc.c: Likewise.
23226 * benchtests/bench-stpncpy-ifunc.c: Likewise.
23227 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
23228 * benchtests/bench-strcasestr-ifunc.c: Likewise.
23229 * benchtests/bench-strcat-ifunc.c: Likewise.
23230 * benchtests/bench-strchr-ifunc.c: Likewise.
23231 * benchtests/bench-strchrnul-ifunc.c: Likewise.
23232 * benchtests/bench-strcmp-ifunc.c: Likewise.
23233 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
23234 * benchtests/bench-strcpy-ifunc.c: Likewise.
23235 * benchtests/bench-strcspn-ifunc.c: Likewise.
23236 * benchtests/bench-strlen-ifunc.c: Likewise.
23237 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
23238 * benchtests/bench-strncat-ifunc.c: Likewise.
23239 * benchtests/bench-strncmp-ifunc.c: Likewise.
23240 * benchtests/bench-strncpy-ifunc.c: Likewise.
23241 * benchtests/bench-strnlen-ifunc.c: Likewise.
23242 * benchtests/bench-strpbrk-ifunc.c: Likewise.
23243 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 23244 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
23245 * benchtests/bench-strspn-ifunc.c: Likewise.
23246 * benchtests/bench-strstr-ifunc.c: Likewise.
23247
232482013-11-26 Ondřej Bílka <neleai@seznam.cz>
23249
ab260039
OB
23250 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
23251
d1d9eaf4 232522013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 23253
d1d9eaf4
OB
23254 * resolv/netdb.h: Use __glibc_reserved instead __unused.
23255 * rt/aio.h: Likewise.
23256 * sysdeps/gnu/bits/utmp.h: Likewise.
23257 * sysdeps/gnu/bits/utmpx.h: Likewise.
23258 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
23259 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
23260 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
23261 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
23262 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
23263 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
23264 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
23265 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
23266 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
23267 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
23268 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
23269 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
23270 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
23271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
23272 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
23273 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
23274 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
23275 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
23276 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
23277 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
23278 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
23279 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
23280 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
23281 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
23282 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
23283 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23284 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
23285 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
23286 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
23287 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
23288 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
23289 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
23290 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
23291 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
23292 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
23293 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
23294 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
23295 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
23296 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
23297 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
23298 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
23299 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
23300
a7624ed9
CD
233012013-11-25 Carlos O'Donell <carlos@redhat.com>
23302
23303 [BZ #16245]
23304 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
23305 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
23306
63cfe52b
JM
233072013-11-25 Joseph Myers <joseph@codesourcery.com>
23308
23309 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
23310 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
23311 Likewise.
23312
41e8926a
AZ
233132013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23314
23315 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
23316 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
23317 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
23318 (__fesetround): Remove define.
23319 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
23320 rounding and exceptions handling.
23321 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
23322 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
23323 (__fe_nomask_env): Likewise.
23324 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
23325 __fegetround instead of fegetround.
23326 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
23327 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
23328
6851bd4d
RM
233292013-11-21 Roland McGrath <roland@hack.frob.com>
23330
070906ff
RM
23331 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
23332 it's there.
23333
6851bd4d
RM
23334 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
23335
84ae135d
MI
233362013-11-21 Meador Inge <meadori@codesourcery.com>
23337
23338 [BZ #11157]
23339 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
23340 (encrypt_r): Likewise.
23341 * malloc/obstack.h (obstack_free): Likewise.
23342 * posix/unistd.h (encrypt): Likewise.
23343
daf75146
GM
233442013-11-21 Guy Martin <gmsoft@tuxicoman.be>
23345
23346 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
23347 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
23348 DL_CALL_DT_FINI() that call the functions directly.
23349 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
23350 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
23351 * elf/dl-fini.c: Likewise.
23352
10ad46bc
OB
233532013-11-20 Ondřej Bílka <neleai@seznam.cz>
23354
23355 * malloc/hooks.c (memalign_check): Add alignment rounding.
23356 * malloc/malloc.c (_mid_memalign): New function.
23357 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
23358 Implement by calling _mid_memalign.
23359 * manual/probes.texi (Memory Allocation Probes): Remove
23360 memory_valloc_retry and memory_pvalloc_retry.
23361
f3fd2628
SP
233622013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
23363
4712799f
SP
23364 * locale/programs/locarchive.c (open_archive): Add const
23365 qualifier to ARCHIVEFNAME and copy default fname to
23366 DEFAULT_FNAME.
23367
0417b20f
SP
23368 [BZ #15601]
23369 * libio/tst-widetext.input: Rename Oriya to Odia.
23370 * locale/iso-639.def: Likewise.
23371
f3fd2628
SP
23372 * manual/probes.texi (Mathematical Function Probes): Add
23373 documentation for sin, cos, asin and acos probes.
23374 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
23375 (__sin32): Add slowasin probe.
23376 (__cos32): Add slowacos probe.
23377 (__mpsin): Add slowsin probe.
23378 (__mpcos): Add slowcos probe.
23379
73c1ce4f
JM
233802013-11-19 Joseph Myers <joseph@codesourcery.com>
23381
23382 [BZ #15483]
23383 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
23384 thread-local __sim_exceptions_thread and global
23385 __sim_exceptions_global.
23386 (__sim_disabled_exceptions): Change to thread-local
23387 __sim_disabled_exceptions_thread and global
23388 __sim_disabled_exceptions_global.
23389 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
23390 and global __sim_round_mode_global.
23391 (__simulate_exceptions): Use thread-local floating-point state and
23392 set global state from it as needed.
23393 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
23394 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
23395 __sim_round_mode_thread.
23396 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
23397 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
23398 and global __sim_exceptions_global.
23399 (__sim_disabled_exceptions): Change to thread-local
23400 __sim_disabled_exceptions_thread and global
23401 __sim_disabled_exceptions_global.
23402 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
23403 and global __sim_round_mode_global.
23404 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
23405 (SIM_SET_GLOBAL): Likewise.
23406 * sysdeps/powerpc/soft-fp/sfp-machine.h
23407 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
23408 __sim_round_mode_thread.
23409 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
23410 __sim_disabled_exceptions_thread.
23411 (__sim_exceptions): Change to __sim_exceptions_thread.
23412 (__sim_disabled_exceptions): Change to
23413 __sim_disabled_exceptions_thread.
23414 (__sim_round_mode): Change to __sim_round_mode_thread.
23415 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
23416 thread-local floating-point state and set global state from it as
23417 needed.
23418 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
23419 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
23420 (__sim_disabled_exceptions): Remove extern declaration.
23421 (feenableexcept): Use thread-local floating-point state and set
23422 global state from it as needed.
23423 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
23424 extern declaration.
23425 (__sim_disabled_exceptions): Likewise.
23426 (__sim_round_mode): Likewise.
23427 (__fegetenv): Use thread-local floating-point state.
23428 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
23429 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
23430 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
23431 floating-point state and set global state from it as needed.
23432 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
23433 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
23434 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
23435 Likewise.
23436 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
23437 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
23438 Likewise.
23439 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
23440 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
23441 Use __sim_round_mode_thread.
23442 * math/test-fenv-tls.c: New file.
23443 * math/Makefile (tests): Add test-fenv-tls.
23444 ($(objpfx)test-fenv-tls): Depend on
23445 $(common-objpfx)nptl/libpthread.so.
23446
b5449b12
AS
234472013-11-19 Andreas Schwab <schwab@suse.de>
23448
23449 * locale/programs/locale.c (show_info): Decode wordarray elements.
23450 * locale/categories.def (LC_MONETARY): Add element for
23451 _NL_MONETARY_CRNCYSTR.
23452 * locale/C-monetary.c (conversion_rate): New variable.
23453 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
23454 element.
23455
e186536b
CM
234562013-11-18 Chris Metcalf <cmetcalf@tilera.com>
23457
23458 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
23459 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
23460
5c349950
PP
234612013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
23462
23463 * elf/Makefile (tst-auxv): New test.
23464 * elf/tst-auxv.c: New
23465 * elf/rtld.c (dl_main): Adjust AT_EXECFN
23466
699df45b
JM
234672013-11-18 Joseph Myers <joseph@codesourcery.com>
23468
23469 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
23470 (hidden_proto): Caller changed.
23471 (hidden_tls_proto): New macro.
23472 (libc_hidden_tls_proto): Likewise.
23473 (rtld_hidden_tls_proto): Likewise.
23474 (libm_hidden_tls_proto): Likewise.
23475 (libresolv_hidden_tls_proto): Likewise.
23476 (librt_hidden_tls_proto): Likewise.
23477 (libdl_hidden_tls_proto): Likewise.
23478 (libnss_files_hidden_tls_proto): Likewise.
23479 (libnsl_hidden_tls_proto): Likewise.
23480 (libnss_nisplus_hidden_tls_proto): Likewise.
23481 (libutil_hidden_tls_proto): Likewise.
23482
b7589107
OB
234832013-11-18 Ondřej Bílka <neleai@seznam.cz>
23484
23485 [BZ #10253]
23486 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
23487 (decompose_rpath): Defer expansion to fillin_rpath.
23488 (_dl_init_paths): Pass linkmap to fillin_rpath.
23489
250c23bd
RS
234902013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23491
23492 * benchtests/Makefile: Add strsep.
23493 * benchtests/bench-strsep.c: New file: strsep benchtest.
23494 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
23495
a7931fcf
AS
234962013-11-18 Andreas Schwab <schwab@suse.de>
23497
23498 * locale/programs/locale.c (show_info) [case byte]: Check for
23499 '\377' instead of '\177'.
23500 * locale/C-monetary.c (not_available): Always use "\377".
23501 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
23502 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
23503 detect unavailable sign_posn locale elements.
23504 * locale/localeconv.c (__localeconv): For grouping and
23505 mon_grouping handle "\177" and "\377" like no grouping.
23506 (INT_ELEM): New macro. Use it to set all numeric members.
23507 * locale/programs/ld-monetary.c (monetary_read)
23508 <tok_mon_grouping>: Normalize single -1 to the empty string.
23509 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
23510 Likewise.
23511
728dab0e
OB
235122013-11-07 Ondřej Bílka <neleai@seznam.cz>
23513
23514 [BZ #16055]
23515 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
23516 when we match (nil).
23517 * stdio-common/tst-sscanf.c (struct test): Add testcase.
23518
66294491
JM
235192013-11-16 Joseph Myers <joseph@codesourcery.com>
23520
ce665817
JM
23521 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
23522 (NO_TEST_INLINE): Update value.
23523 (ERRNO_UNCHANGED): Likewise.
23524 (ERRNO_EDOM): Likewise.
23525 (ERRNO_ERANGE): Likewise.
23526 (IGNORE_RESULT): Likewise.
23527 (check_float_internal): Check signs of NaN results if
23528 TEST_NAN_SIGN used.
23529 (check_complex): Pass TEST_NAN_SIGN flag through to second
23530 check_float_internal call.
23531 (copysign_test_data): Add tests with quiet NaNs as second
23532 argument. Use TEST_NAN_SIGN.
23533 (fabs_test_data): Add test of negative quiet NaN argument. Use
23534 TEST_NAN_SIGN.
23535 (signbit_test_data): Add tests of quiet NaN argument.
23536 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
23537
ee1466a9
JM
23538 * math/gen-libm-test.pl (show_exceptions): Take extra argument
23539 $ignore_result.
23540 (parse_args): Handle function results specified as IGNORE.
23541 * math/libm-test.inc (IGNORE_RESULT): New macro.
23542 (check_float_internal): Do not check numerical result if flag
23543 IGNORE_RESULT set.
23544 (check_complex): Pass through IGNORE_RESULT to second
23545 check_float_internal call.
23546 (check_int): Do not check numerical result if flag IGNORE_RESULT
23547 set.
23548 (check_long): Likewise.
23549 (check_bool): Likewise.
23550 (check_longlong): Likewise.
23551 (lrint_test_data): Add tests of infinite and NaN arguments.
23552 (lrint_tonearest_test_data): Likewise.
23553 (lrint_towardzero_test_data): Likewise.
23554 (lrint_downward_test_data): Likewise.
23555 (lrint_upward_test_data): Likewise.
23556 (llrint_test_data): Likewise.
23557 (llrint_tonearest_test_data): Likewise.
23558 (llrint_towardzero_test_data): Likewise.
23559 (llrint_downward_test_data): Likewise.
23560 (llrint_upward_test_data): Likewise.
23561 (lround_test_data): Likewise.
23562 (llround_test_data): Likewise.
23563
14407b7e
JM
23564 * math/libm-test.inc (NO_TEST_INLINE): New macro.
23565 (ERRNO_UNCHANGED): Update value.
23566 (ERRNO_EDOM): Likewise.
23567 (ERRNO_ERANGE): Likewise.
23568 (NO_TEST_INLINE_FLOAT): New macro.
23569 (NO_TEST_INLINE_DOUBLE): Likewise.
23570 (enable_test): New function.
23571 (RUN_TEST_f_f): Check enable_test before running test.
23572 (RUN_TEST_2_f): Likewise.
23573 (RUN_TEST_fff_f): Likewise.
23574 (RUN_TEST_c_f): Likewise.
23575 (RUN_TEST_f_f1): Likewise.
23576 (RUN_TEST_fF_f1): Likewise.
23577 (RUN_TEST_fI_f1): Likewise.
23578 (RUN_TEST_ffI_f1): Likewise.
23579 (RUN_TEST_c_c): Likewise.
23580 (RUN_TEST_cc_c): Likewise.
23581 (RUN_TEST_f_i): Likewise.
23582 (RUN_TEST_f_i_tg): Likewise.
23583 (RUN_TEST_ff_i_tg): Likewise.
23584 (RUN_TEST_f_b): Likewise.
23585 (RUN_TEST_f_b_tg): Likewise.
23586 (RUN_TEST_f_l): Likewise.
23587 (RUN_TEST_f_L): Likewise.
23588 (RUN_TEST_fFF_11): Likewise.
23589 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
23590 conditionals.
23591 (cosh_test_data): Likewise.
23592 (exp_test_data): Likewise.
23593 (expm1_test_data): Likewise.
23594 (hypot_test_data): Likewise.
23595 (pow_test_data): Likewise.
23596 (sinh_test_data): Likewise.
23597 (tanh_test_data): Likewise.
23598 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
23599 flags argument.
23600
ca07f197
JM
23601 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
23602 tests with quiet NaN input and output.
23603 (acosh_test_data): Likewise.
23604 (asin_test_data): Likewise.
23605 (asinh_test_data): Likewise.
23606 (atan_test_data): Likewise.
23607 (atanh_test_data): Likewise.
23608 (atan2_test_data): Likewise.
23609 (cbrt_test_data): Likewise.
23610 (cos_test_data): Likewise.
23611 (cosh_test_data): Likewise.
23612 (erf_test_data): Likewise.
23613 (erfc_test_data): Likewise.
23614 (exp_test_data): Likewise.
23615 (exp10_test_data): Likewise.
23616 (exp2_test_data): Likewise.
23617 (expm1_test_data): Likewise.
23618 (hypot_test_data): Likewise.
23619 (j0_test_data): Likewise.
23620 (j1_test_data): Likewise.
23621 (jn_test_data): Likewise.
23622 (lgamma_test_data): Likewise.
23623 (log_test_data): Likewise.
23624 (log10_test_data): Likewise.
23625 (log1p_test_data): Likewise.
23626 (log2_test_data): Likewise.
23627 (pow_test_data): Likewise.
23628 (scalb_test_data): Likewise.
23629 (sin_test_data): Likewise.
23630 (sincos_test_data): Likewise.
23631 (sinh_test_data): Likewise.
23632 (tan_test_data): Likewise.
23633 (tanh_test_data): Likewise.
23634 (tgamma_test_data): Likewise.
23635 (y0_test_data): Likewise.
23636 (y1_test_data): Likewise.
23637 (yn_test_data): Likewise.
23638
66294491
JM
23639 [BZ #16167]
23640 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
23641 argument being NaN and avoid computations with second argument in
23642 that case.
23643 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
23644 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
23645 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
23646
1820b143
CL
236472013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
23648
23649 * locale/iso-639.def: Add Chitwani Tharu (the).
23650
714bd261
AS
236512013-11-14 Andreas Schwab <schwab@suse.de>
23652
23653 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
23654 word instead of empty string.
23655
7ab44563
AZ
236562013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23657
23658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
23659 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
23660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
23661 (__fe_nomask_env): Likewise.
23662
e8470ea2
SE
236632013-11-13 Steve Ellcey <sellcey@mips.com>
23664
23665 * benchtests/bench-timing.h: Include time.h.
23666
17c1d9f0
L
236672013-11-13 H.J. Lu <hongjiu.lu@intel.com>
23668
23669 [BZ #15997]
23670 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
23671 to 3.4.0 for x32.
23672 * sysdeps/unix/sysv/linux/configure: Regenerated.
23673
9310c284
JM
236742013-11-13 Joseph Myers <joseph@codesourcery.com>
23675
23676 [BZ #16151]
23677 * stdlib/strtod_l.c (round_and_return): Do not consider
23678 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
23679 exponent one less than half the least subnormal exponent.
23680 * stdlib/test-strtod-round-data: Add more tests.
23681 * stdlib/tst-strtod-round.c (tests): Regenerated.
23682
7a2ad8cf
AZ
236832013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23684
23685 [BZ #14143]
23686 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
23687 (__fe_mask_env): Likewise.
23688 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
23689 libm_hidden_proto and add function prototype.
23690 (__fe_mask_env): Add function prototype.
23691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
23692 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
23693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
23694 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
23695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
23696 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
23697
50727aa7
MS
236982013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23699
b2f386c1 23700 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
23701 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
23702
a615be46
MS
237032013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23704
23705 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
23706 of htab_find_slot().
23707
7ddace62
DM
237082013-11-11 David S. Miller <davem@davemloft.net>
23709
23710 [BZ #16150]
23711 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
23712 symbol in the non-vis3 case in static builds.
23713 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
23714 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
23715 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
23716 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
23717
9182aa67
JK
237182013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
23719
23720 [BZ #387]
23721 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
23722 it is empty.
23723
450a2e2d
AZ
237242013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23725
b2f386c1
SP
23726 * benchtests/Makefile: Add bench-strtod.
23727 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 23728
8ec3f656
AS
237292013-11-11 Andreas Schwab <schwab@suse.de>
23730
23731 [BZ #16153]
23732 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
23733 terminating NUL in key length.
23734
76a9b998
AZ
237352013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23736
23737 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
23738 Add artificial ODP entry for vDSO symbol for PPC64.
23739 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
23740 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
23741
e4368156
OB
237422013-11-07 Ondřej Bílka <neleai@seznam.cz>
23743
23744 [BZ #15374]
23745 * nss/getent.c (services_keys): Recognize services starting with digit.
23746
8d6bb57c
DM
237472013-11-06 David S. Miller <davem@davemloft.net>
23748
23749 [BZ #15985]
23750 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
23751 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
23752
e256c421
WN
237532013-11-06 Will Newton <will.newton@linaro.org>
23754
23755 * manual/memory.texi (Malloc Examples): Remove register
23756 keyword from examples.
23757
f6e12daa 237582013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 23759
f6e12daa 23760 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 23761
9d880655
AS
237622013-11-04 Joseph Myers <joseph@codesourcery.com>
23763
fd2f9486 23764 [BZ #6981]
9d880655
AS
23765 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
23766 depending on [__GCC_IEC_559 > 0].
23767 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
23768 depending on [__GCC_IEC_559_COMPLEX > 0].
23769
ae129d3c
CL
237702013-11-03 Chris Leonard <cjl@sugarlabs.org>
23771
23772 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
23773 to iso-639.def.
23774
4a15c2a4 237752013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
23776
23777 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
23778
8b35e35d
OB
237792013-11-01 Ondřej Bílka <neleai@seznam.cz>
23780
23781 [BZ #16112]
23782 * malloc/malloc (malloc_info): Do not handle first bin as
23783 special case.
23784
1d70fd6c
CL
237852013-11-01 Chris Leonard <cjl@sugarlabs.org>
23786
23787 * locale/iso-639.def: Add Central Nahuatl (nhn).
23788
8c5c2600
BH
237892013-11-01 Bruno Haible <bruno@clisp.org>
23790
23791 [BZ #7003]
23792 * manual/math.texi (BSD Random): Specify range upper bound as
23793 in POSIX.
23794
da5579c2
CL
237952013-10-31 Chris Leonard <cjl@sugarlabs.org>
23796
23797 * locale/iso-639.def: Add Meadow Mari (mhr).
23798
5d30d853
OB
237992013-10-31 Ondřej Bílka <neleai@seznam.cz>
23800
23801 [BZ #14752], [BZ #15763]
23802 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
23803 Validate name.
23804 * rt/tst_shm.c: Add test for escaping directory.
23805
a4966c61
AS
238062013-10-31 Andreas Schwab <schwab@suse.de>
23807
8a43e768 23808 [BZ #15917]
a4966c61
AS
23809 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
23810 followed by 'x' as part of digit sequence.
23811 * stdio-common/tst-sscanf.c (double_tests2): New tests.
23812
28d708c4
MAP
238132013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
23814
23815 [BZ #16037]
23816 * configure.ac: allow GNU Make 4.0 and greater.
23817 * configure: Regenerated.
23818
a56ee40b
WN
238192013-10-30 Will Newton <will.newton@linaro.org>
23820
23821 [BZ #16038]
23822 * malloc/hooks.c (memalign_check): Limit alignment to the
23823 maximum representable power of two.
23824 * malloc/malloc.c (__libc_memalign): Likewise.
23825 * malloc/tst-memalign.c (do_test): Add test for very
23826 large alignment values.
23827 * malloc/tst-posix_memalign.c (do_test): Likewise.
23828
c6e4925d
OB
238292013-10-30 Ondřej Bílka <neleai@seznam.cz>
23830
23831 [BZ #11087]
23832 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
23833 (munmap_chunk): Likewise.
23834 (mremap_chunk): Likewise.
23835
238362013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 23837
8a43e768 23838 [BZ #15799]
bbea82f7
OB
23839 * stdlib/div.c (div): Remove obsolete code.
23840 * stdlib/ldiv.c (ldiv): Likewise.
23841 * stdlib/lldiv.c (lldiv): Likewise.
23842
977f4b31
SP
238432013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
23844
23845 [BZ #16071]
23846 * nss/nss_files/files-XXX.c (get_contents_ret): New
23847 enumerator.
23848 (get_contents): New function.
23849 (internal_getent): Use it. Expand size of LINEBUFLEN.
23850
cb8a6dbd
MF
238512013-10-30 Mike Frysinger <vapier@gentoo.org>
23852
23853 * configure.in: Moved to ...
23854 * configure.ac: ... here. Change reference to configure.in
23855 to configure.ac.
23856 * sysdeps/arm/preconfigure.ac: ... here.
23857 configure.in to configure.ac.
23858 * sysdeps/gnu/configure.in: Moved to ...
23859 * sysdeps/gnu/configure.ac: ... here.
23860 * sysdeps/i386/configure.in: Moved to ...
23861 * sysdeps/i386/configure.ac: ... here.
23862 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
23863 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
23864 * sysdeps/mach/configure.in: Moved to ...
23865 * sysdeps/mach/configure.ac: ... here.
23866 * sysdeps/mach/hurd/configure.in: Moved to ...
23867 * sysdeps/mach/hurd/configure.ac: ... here.
23868 * sysdeps/powerpc/configure.in: Moved to ...
23869 * sysdeps/powerpc/configure.ac: ... here.
23870 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
23871 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
23872 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
23873 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
23874 * sysdeps/s390/s390-32/configure.in: Moved to ...
23875 * sysdeps/s390/s390-32/configure.ac: ... here.
23876 * sysdeps/s390/s390-64/configure.in: Moved to ...
23877 * sysdeps/s390/s390-64/configure.ac: ... here.
23878 * sysdeps/sh/configure.in: Moved to ...
23879 * sysdeps/sh/configure.ac: ... here.
23880 * sysdeps/sparc/configure.in: Moved to ...
23881 * sysdeps/sparc/configure.ac: ... here.
23882 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
23883 * sysdeps/unix/sysv/linux/configure.ac: ... here.
23884 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
23885 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
23886 * sysdeps/x86_64/configure.in: Moved to ...
23887 * sysdeps/x86_64/configure.ac: ... here.
23888 * sysdeps/x86_64/preconfigure.in: Moved to ...
23889 * sysdeps/x86_64/preconfigure.ac: ... here.
23890 * aclocal.m4: Change reference to configure.in to configure.ac.
23891 * config.h.in: Likewise.
23892 * manual/install.texi: Likewise.
23893 * manual/maint.texi: Likewise.
23894 * Makefile: Likewise.
23895 * malloc/Makefile: Likewise.
23896 * nscd/Makefile: Likewise.
23897 * Makeconfig: Change reference to configure.in and
23898 preconfigure.in to configure.ac and preconfigure.ac
23899 respectively.
23900 * INSTALL: Regenerated.
23901 * configure: Likewise.
23902 * sysdeps/gnu/configure: Likewise.
23903 * sysdeps/i386/configure: Likewise.
23904 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
23905 * sysdeps/mach/configure: Likewise.
23906 * sysdeps/mach/hurd/configure: Likewise.
23907 * sysdeps/powerpc/configure: Likewise.
23908 * sysdeps/powerpc/powerpc32/configure: Likewise.
23909 * sysdeps/powerpc/powerpc64/configure: Likewise.
23910 * sysdeps/s390/s390-32/configure: Likewise.
23911 * sysdeps/s390/s390-64/configure: Likewise.
23912 * sysdeps/sh/configure: Likewise.
23913 * sysdeps/sparc/configure: Likewise.
23914 * sysdeps/unix/sysv/linux/configure: Likewise.
23915 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
23916 * sysdeps/x86_64/configure: Likewise.
23917 * sysdeps/x86_64/preconfigure: Likewise.
23918
36a4953a
AS
239192013-10-29 Andreas Schwab <schwab@suse.de>
23920
23921 * stdio-common/Makefile (tst-swscanf-ENV): Define.
23922
c79a1204
SP
239232013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23924
dfa1b402
SP
23925 * benchtests/pow-inputs: Add new inputs.
23926
54f73d9c
SP
23927 * benchtests/exp-inputs: Add new inputs.
23928
c79a1204
SP
23929 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
23930 conditional check for return value.
23931 (__cos32): Likewise.
23932
67beb545 239332013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
23934
23935 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
23936 to provide a boost for large inputs with word alignment.
23937 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
23938 implementation based on optimized PPC64 strcpy.
23939 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
23940 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
23941 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
23942 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
23943
151659f6
OB
239442013-10-25 Ondřej Bílka <neleai@seznam.cz>
23945
482a077e 23946 [BZ #2801]
151659f6
OB
23947 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
23948
10b0f26b
OB
239492013-10-25 Ondřej Bílka <neleai@seznam.cz>
23950
23951 [BZ #14876]
23952 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
23953 * time/tst-strptime.c (day_tests): Add testcase.
23954
ca42d35e
OB
239552013-10-25 Ondřej Bílka <neleai@seznam.cz>
23956
482a077e 23957 [BZ #14029]
ca42d35e
OB
23958 * manual/pattern.texi: Acknowledge that fnmatch can fail.
23959
52e6d801
FB
239602013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
23961
23962 [BZ #16074]
23963 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
23964 MAP_FAILED on error.
23965
7cbcdb36
SP
239662013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23967
23968 [BZ #16072]
23969 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
23970 heap for large requests.
23971
894f3f10
AM
239722013-10-25 Aurelien Jarno <aurelien@aurel32.net>
23973
23974 [BZ #9954]
23975 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
23976 result if the result has no associated interface.
23977 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
23978 interface for all 127.X.Y.Z addresses.
23979
b85545a6
CL
239802013-10-24 Chris Leonard <cjl@sugarlabs.org>
23981
23982 * locale/iso-639.def: Add Ligurian (lij)
23983
d1f23d46
OB
239842013-10-21 Ondřej Bílka <neleai@seznam.cz>
23985
23986 [BZ #15825]
23987 * sunrpc/rpc_main.c: Document rpcgen -5.
23988
4db5b08f
MS
239892013-10-19 Michael Stahl <mstahl@redhat.com>
23990
23991 * elf/rtld.c (do_preload): Print the reason why preloading failed.
23992
a471e96a
OB
239932013-10-19 Ondřej Bílka <neleai@seznam.cz>
23994
d1f23d46 23995 [BZ #10278]
a471e96a
OB
23996 * posix/glob.c: Match only directories when trailing slash is present.
23997 * posix/tst-gnuglob.c (my_opendir): Do not open files.
23998 (main): Add testcase.
23999
45c30c61
OB
240002013-10-19 Ondřej Bílka <neleai@seznam.cz>
24001
24002 [BZ #15670]
24003 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
24004
484c12fb
CD
240052013-10-18 Carlos O'Donell <carlos@redhat.com>
24006
3d7dc513
CD
24007 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
24008 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
24009 AUTH_DES and cindex for FIPS 140-2.
24010 (DES Encryption): Add cindex FIPS 46-3.
24011
484c12fb
CD
24012 * locale/locarchive.h (struct locarhandle): Add fname.
24013 * locale/programs/localedef.c (main): Pass ARGV[remaining]
24014 if an optional argument was specified to --list-archive,
24015 otherwise NULL.
24016 * locale/programs/locarchive.c (show_archive_content): Take new
24017 argument fname and pass it via ah.fname to open_archive.
24018 * locale/programs/localedef.h: Update decl.
24019 (open_archive): If AH->fname is non-null, open that file
24020 rather than the default file name, and don't ignore ENOENT.
24021 (create_archive): Set AH.fname to NULL.
24022 (delete_locales_from_archive): Likewise.
24023 (add_locales_to_archive): Likewise.
24024 * locale/programs/locfile.c (write_all_categories): Likewise.
24025
3c8325fb
JM
240262013-10-18 Joseph Myers <joseph@codesourcery.com>
24027 Aldy Hernandez <aldyh@redhat.com>
24028
24029 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
24030 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
24031 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
24032 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
24033 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
24034 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
24035 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
24036 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
24037 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
24038 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
24039 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
24040 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
24041 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
24042 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
24043 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
24044 Likewise.
24045 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
24046 Likewise.
24047 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
24048 Likewise.
24049 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
24050 Likewise.
24051 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
24052 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
24053 Likewise.
24054 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
24055 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
24056 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
24057 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
24058 Likewise.
24059 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
24060 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
24061 * sysdeps/powerpc/preconfigure: Likewise.
24062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
24063 Likewise.
24064 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
24065 Replace contents of file by #include of <fenv_libc.h>.
24066 * sysdeps/powerpc/soft-fp/sfp-machine.h
24067 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
24068 and <sys/prctl.h>.
24069 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
24070 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
24071 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
24072 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
24073 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
24074 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
24075 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
24076 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
24077 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
24078 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
24079 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
24080 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
24081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
24082 Allow copysignl PLT reference to be missing.
24083
5abe0682
RS
240842013-10-18 Richard Sandiford <richard@codesourcery.com>
24085 Joseph Myers <joseph@codesourcery.com
24086
24087 [BZ #15948]
24088 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
24089 single character.
24090 (add_to_tablewc): Assert sequence of wide characters is nonempty.
24091
c7738d08
SP
240922013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24093
24094 * elf/tst-tls-dlinfo.c: Don't include tls.h.
24095 * elf/tst-tls1.c: Likewise.
24096 * elf/tst-tls10.h: Likewise.
24097 * elf/tst-tls14.c: Likewise.
24098 * elf/tst-tls2.c: Likewise.
24099 * elf/tst-tls3.c: Likewise.
24100 * elf/tst-tls4.c: Likewise.
24101 * elf/tst-tls5.c: Likewise.
24102 * elf/tst-tls6.c: Likewise.
24103 * elf/tst-tls7.c: Likewise.
24104 * elf/tst-tls8.c: Likewise.
24105 * elf/tst-tls9.c: Likewise.
24106 * elf/tst-tlsmod1.c: Likewise.
24107 * elf/tst-tlsmod13.c: Likewise.
24108 * elf/tst-tlsmod13a.c: Likewise.
24109 * elf/tst-tlsmod14a.c: Likewise.
24110 * elf/tst-tlsmod16a.c: Likewise.
24111 * elf/tst-tlsmod16b.c: Likewise.
24112 * elf/tst-tlsmod2.c: Likewise.
24113 * elf/tst-tlsmod3.c: Likewise.
24114 * elf/tst-tlsmod4.c: Likewise.
24115 * elf/tst-tlsmod5.c: Likewise.
24116 * elf/tst-tlsmod6.c: Likewise.
24117
0bfcf2c7
OB
241182013-10-18 Ondřej Bílka <neleai@seznam.cz>
24119
24120 [BZ #12486]
24121 * malloc/malloc.c: remove checks for statistics.
24122
264aad1e
OB
241232013-10-17 Ondřej Bílka <neleai@seznam.cz>
24124
24125 [BZ #15277]
24126 * inet/inet_net.c (inet_network): Detect additional invalid strings.
24127 * inet/tst-network.c: Add testcase.
24128
b957ced8
AS
241292013-10-17 Andreas Schwab <schwab@suse.de>
24130
24131 [BZ #15218]
24132 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
24133 to determine canonical name.
24134
c5d5d574
OB
241352013-10-17 Ondřej Bílka <neleai@seznam.cz>
24136
24137 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
24138 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
24139 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24140 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
24141 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24142 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
24143 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
24144 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
24145 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
24146 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
24147 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
24148 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
24149 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
24150 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
24151 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
24152 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
24153 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24154 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
24155 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
24156 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
24157 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
24158 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24159 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24160 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
24161 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
24162 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
24163 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
24164 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
24165 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
24166 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
24167 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
24168 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24169 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
24170 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
24171 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
24172 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24173 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
24174 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
24175 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
24176 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
24177 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
24178 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
24179 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
24180 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
24181 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
24182 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
24183 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
24184 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
24185 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
24186 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
24187 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
24188 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
24189 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
24190 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
24191 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24192 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
24193 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24194 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
24195
e5c2c2d0
JM
241962013-10-17 Joseph Myers <joseph@codesourcery.com>
24197
24198 [BZ #16041]
24199 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
24200 make result into a quiet NaN.
24201
51ca9e29
JM
242022013-10-16 Joseph Myers <joseph@codesourcery.com>
24203
24204 * soft-fp/adddf3.c: Fix horizontal whitespace.
24205 * soft-fp/addsf3.c: Likewise.
24206 * soft-fp/addtf3.c: Likewise.
24207 * soft-fp/divdf3.c: Likewise.
24208 * soft-fp/divsf3.c: Likewise.
24209 * soft-fp/divtf3.c: Likewise.
24210 * soft-fp/double.h: Likewise.
24211 * soft-fp/eqdf2.c: Likewise.
24212 * soft-fp/eqsf2.c: Likewise.
24213 * soft-fp/eqtf2.c: Likewise.
24214 * soft-fp/extenddftf2.c: Likewise.
24215 * soft-fp/extended.h: Likewise.
24216 * soft-fp/extendsfdf2.c: Likewise.
24217 * soft-fp/extendsftf2.c: Likewise.
24218 * soft-fp/extendxftf2.c: Likewise.
24219 * soft-fp/fixdfdi.c: Likewise.
24220 * soft-fp/fixdfsi.c: Likewise.
24221 * soft-fp/fixdfti.c: Likewise.
24222 * soft-fp/fixsfdi.c: Likewise.
24223 * soft-fp/fixsfsi.c: Likewise.
24224 * soft-fp/fixsfti.c: Likewise.
24225 * soft-fp/fixtfdi.c: Likewise.
24226 * soft-fp/fixtfsi.c: Likewise.
24227 * soft-fp/fixtfti.c: Likewise.
24228 * soft-fp/fixunsdfdi.c: Likewise.
24229 * soft-fp/fixunsdfsi.c: Likewise.
24230 * soft-fp/fixunsdfti.c: Likewise.
24231 * soft-fp/fixunssfdi.c: Likewise.
24232 * soft-fp/fixunssfsi.c: Likewise.
24233 * soft-fp/fixunssfti.c: Likewise.
24234 * soft-fp/fixunstfdi.c: Likewise.
24235 * soft-fp/fixunstfsi.c: Likewise.
24236 * soft-fp/fixunstfti.c: Likewise.
24237 * soft-fp/floatdidf.c: Likewise.
24238 * soft-fp/floatdisf.c: Likewise.
24239 * soft-fp/floatditf.c: Likewise.
24240 * soft-fp/floatsidf.c: Likewise.
24241 * soft-fp/floatsisf.c: Likewise.
24242 * soft-fp/floatsitf.c: Likewise.
24243 * soft-fp/floattidf.c: Likewise.
24244 * soft-fp/floattisf.c: Likewise.
24245 * soft-fp/floattitf.c: Likewise.
24246 * soft-fp/floatundidf.c: Likewise.
24247 * soft-fp/floatundisf.c: Likewise.
24248 * soft-fp/floatunditf.c: Likewise.
24249 * soft-fp/floatunsidf.c: Likewise.
24250 * soft-fp/floatunsisf.c: Likewise.
24251 * soft-fp/floatunsitf.c: Likewise.
24252 * soft-fp/floatuntidf.c: Likewise.
24253 * soft-fp/floatuntisf.c: Likewise.
24254 * soft-fp/floatuntitf.c: Likewise.
24255 * soft-fp/fmadf4.c: Likewise.
24256 * soft-fp/fmasf4.c: Likewise.
24257 * soft-fp/fmatf4.c: Likewise.
24258 * soft-fp/gedf2.c: Likewise.
24259 * soft-fp/gesf2.c: Likewise.
24260 * soft-fp/getf2.c: Likewise.
24261 * soft-fp/ledf2.c: Likewise.
24262 * soft-fp/lesf2.c: Likewise.
24263 * soft-fp/letf2.c: Likewise.
24264 * soft-fp/muldf3.c: Likewise.
24265 * soft-fp/mulsf3.c: Likewise.
24266 * soft-fp/multf3.c: Likewise.
24267 * soft-fp/negdf2.c: Likewise.
24268 * soft-fp/negsf2.c: Likewise.
24269 * soft-fp/negtf2.c: Likewise.
24270 * soft-fp/op-1.h: Likewise.
24271 * soft-fp/op-2.h: Likewise.
24272 * soft-fp/op-4.h: Likewise.
24273 * soft-fp/op-8.h: Likewise.
24274 * soft-fp/op-common.h: Likewise.
24275 * soft-fp/quad.h: Likewise.
24276 * soft-fp/single.h: Likewise.
24277 * soft-fp/soft-fp.h: Likewise.
24278 * soft-fp/sqrtdf2.c: Likewise.
24279 * soft-fp/sqrtsf2.c: Likewise.
24280 * soft-fp/sqrttf2.c: Likewise.
24281 * soft-fp/subdf3.c: Likewise.
24282 * soft-fp/subsf3.c: Likewise.
24283 * soft-fp/subtf3.c: Likewise.
24284 * soft-fp/truncdfsf2.c: Likewise.
24285 * soft-fp/trunctfdf2.c: Likewise.
24286 * soft-fp/trunctfsf2.c: Likewise.
24287 * soft-fp/trunctfxf2.c: Likewise.
24288 * soft-fp/unorddf2.c: Likewise.
24289 * soft-fp/unordsf2.c: Likewise.
24290 * soft-fp/unordtf2.c: Likewise.
24291
9ebb0332
JM
242922013-10-15 Joseph Myers <joseph@codesourcery.com>
24293
24294 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
24295 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
24296
4b1a6d8b
OB
242972013-10-15 Ondřej Bílka <neleai@seznam.cz>
24298
24299 * elf/dl-libc.c: Clear initfini list after freeing.
24300
1e145589
JM
243012013-10-14 Joseph Myers <joseph@codesourcery.com>
24302
24303 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
24304 * soft-fp/addsf3.c: Likewise.
24305 * soft-fp/addtf3.c: Likewise.
24306 * soft-fp/divdf3.c: Likewise.
24307 * soft-fp/divsf3.c: Likewise.
24308 * soft-fp/divtf3.c: Likewise.
24309 * soft-fp/double.h: Likewise.
24310 * soft-fp/eqdf2.c: Likewise.
24311 * soft-fp/eqsf2.c: Likewise.
24312 * soft-fp/eqtf2.c: Likewise.
24313 * soft-fp/extenddftf2.c: Likewise.
24314 * soft-fp/extended.h: Likewise.
24315 * soft-fp/extendsfdf2.c: Likewise.
24316 * soft-fp/extendsftf2.c: Likewise.
24317 * soft-fp/extendxftf2.c: Likewise.
24318 * soft-fp/fixdfdi.c: Likewise.
24319 * soft-fp/fixdfsi.c: Likewise.
24320 * soft-fp/fixdfti.c: Likewise.
24321 * soft-fp/fixsfdi.c: Likewise.
24322 * soft-fp/fixsfsi.c: Likewise.
24323 * soft-fp/fixsfti.c: Likewise.
24324 * soft-fp/fixtfdi.c: Likewise.
24325 * soft-fp/fixtfsi.c: Likewise.
24326 * soft-fp/fixtfti.c: Likewise.
24327 * soft-fp/fixunsdfdi.c: Likewise.
24328 * soft-fp/fixunsdfsi.c: Likewise.
24329 * soft-fp/fixunsdfti.c: Likewise.
24330 * soft-fp/fixunssfdi.c: Likewise.
24331 * soft-fp/fixunssfsi.c: Likewise.
24332 * soft-fp/fixunssfti.c: Likewise.
24333 * soft-fp/fixunstfdi.c: Likewise.
24334 * soft-fp/fixunstfsi.c: Likewise.
24335 * soft-fp/fixunstfti.c: Likewise.
24336 * soft-fp/floatdidf.c: Likewise.
24337 * soft-fp/floatdisf.c: Likewise.
24338 * soft-fp/floatditf.c: Likewise.
24339 * soft-fp/floatsidf.c: Likewise.
24340 * soft-fp/floatsisf.c: Likewise.
24341 * soft-fp/floatsitf.c: Likewise.
24342 * soft-fp/floattidf.c: Likewise.
24343 * soft-fp/floattisf.c: Likewise.
24344 * soft-fp/floattitf.c: Likewise.
24345 * soft-fp/floatundidf.c: Likewise.
24346 * soft-fp/floatundisf.c: Likewise.
24347 * soft-fp/floatunsidf.c: Likewise.
24348 * soft-fp/floatunsisf.c: Likewise.
24349 * soft-fp/floatuntidf.c: Likewise.
24350 * soft-fp/floatuntisf.c: Likewise.
24351 * soft-fp/floatuntitf.c: Likewise.
24352 * soft-fp/fmadf4.c: Likewise.
24353 * soft-fp/fmasf4.c: Likewise.
24354 * soft-fp/fmatf4.c: Likewise.
24355 * soft-fp/gedf2.c: Likewise.
24356 * soft-fp/gesf2.c: Likewise.
24357 * soft-fp/getf2.c: Likewise.
24358 * soft-fp/ledf2.c: Likewise.
24359 * soft-fp/lesf2.c: Likewise.
24360 * soft-fp/letf2.c: Likewise.
24361 * soft-fp/muldf3.c: Likewise.
24362 * soft-fp/mulsf3.c: Likewise.
24363 * soft-fp/multf3.c: Likewise.
24364 * soft-fp/negdf2.c: Likewise.
24365 * soft-fp/negsf2.c: Likewise.
24366 * soft-fp/negtf2.c: Likewise.
24367 * soft-fp/op-1.h: Likewise.
24368 * soft-fp/op-2.h: Likewise.
24369 * soft-fp/op-4.h: Likewise.
24370 * soft-fp/op-8.h: Likewise.
24371 * soft-fp/op-common.h: Likewise.
24372 * soft-fp/quad.h: Likewise.
24373 * soft-fp/single.h: Likewise.
24374 * soft-fp/soft-fp.h: Likewise.
24375 * soft-fp/sqrtdf2.c: Likewise.
24376 * soft-fp/sqrtsf2.c: Likewise.
24377 * soft-fp/sqrttf2.c: Likewise.
24378 * soft-fp/subdf3.c: Likewise.
24379 * soft-fp/subsf3.c: Likewise.
24380 * soft-fp/subtf3.c: Likewise.
24381 * soft-fp/truncdfsf2.c: Likewise.
24382 * soft-fp/trunctfdf2.c: Likewise.
24383 * soft-fp/trunctfsf2.c: Likewise.
24384 * soft-fp/trunctfxf2.c: Likewise.
24385 * soft-fp/unorddf2.c: Likewise.
24386 * soft-fp/unordsf2.c: Likewise.
24387 * soft-fp/unordtf2.c: Likewise.
24388
17c48a60
OB
243892013-10-14 Ondřej Bílka <neleai@seznam.cz>
24390
24391 [BZ #15672]
24392 * misc/error.c (error_tail): Fix possible buffer overflow.
24393
cabba934
OB
243942013-10-14 Aurelien Jarno <aurelien@aurel32.net>
24395
24396 [BZ #13028]
24397 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
24398 address.
24399
94bf958a
PM
244002013-10-14 P. J. McDermott <pj@pehjota.net>
24401
24402 [BZ #832]
24403 * elf/ldd.bash.in (try_trace): New function. Delete previous code
24404 testing pipefail option.
24405
71b4dea7
JM
244062013-10-12 Joseph Myers <joseph@codesourcery.com>
24407
24408 * soft-fp/double.h: Indent preprocessor directives inside #if.
24409 * soft-fp/extended.h: Likewise.
24410 * soft-fp/op-2.h: Likewise.
24411 * soft-fp/op-4.h: Likewise.
24412 * soft-fp/op-common.h: Likewise.
24413 * soft-fp/quad.h: Likewise.
24414 * soft-fp/single.h: Likewise.
24415 * soft-fp/soft-fp.h: Likewise.
24416
55602758
YC
244172013-10-12 Yuri Chornoivan <yurchor@ukr.net>
24418
24419 * iconv/iconv_prog.c: Fix typos.
24420 * stdio-common/psiginfo-data.h: Likewise.
24421
9cd83302
RT
244222013-10-12 Reuben Thomas <rrt@sc3d.org>
24423
24424 [BZ #15764]
24425 * locale/setlocale.c: Fix typo.
24426
99fd9f47
JM
244272013-10-12 Joseph Myers <joseph@codesourcery.com>
24428
b7ea74f0
JM
24429 [BZ #16036]
24430 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
24431 signaling NaN arguments.
24432 * soft-fp/unordsf2.c (__unordsf2): Likewise.
24433 * soft-fp/unordtf2.c (__unordtf2): Likewise.
24434
8a509447
JM
24435 [BZ #14910]
24436 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
24437 unordered operands.
24438 * soft-fp/gesf2.c (__gesf2): Likewise.
24439 * soft-fp/getf2.c (__getf2): Likewise.
24440 * soft-fp/ledf2.c (__ledf2): Likewise.
24441 * soft-fp/lesf2.c (__lesf2): Likewise.
24442 * soft-fp/letf2.c (__letf2): Likewise.
24443
98998e9f
JM
24444 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
24445 * soft-fp/eqsf2.c (__eqsf2): Likewise.
24446 * soft-fp/eqtf2.c (__eqtf2): Likewise.
24447 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
24448 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
24449 * soft-fp/fixdfti.c (__fixdfti): Likewise.
24450 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
24451 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
24452 * soft-fp/fixsfti.c (__fixsfti): Likewise.
24453 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
24454 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
24455 * soft-fp/fixtfti.c (__fixtfti): Likewise.
24456 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
24457 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
24458 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
24459 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
24460 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
24461 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
24462 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
24463 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
24464 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
24465 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
24466 * soft-fp/floatdisf.c (__floatdisf): Likewise.
24467 * soft-fp/floatsisf.c (__floatsisf): Likewise.
24468 * soft-fp/floattidf.c (__floattidf): Likewise.
24469 * soft-fp/floattisf.c (__floattisf): Likewise.
24470 * soft-fp/floattitf.c (__floattitf): Likewise.
24471 * soft-fp/floatundidf.c (__floatundidf): Likewise.
24472 * soft-fp/floatundisf.c (__floatundisf): Likewise.
24473 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
24474 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
24475 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
24476 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
24477 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
24478 * soft-fp/gesf2.c (__gesf2): Likewise.
24479 * soft-fp/getf2.c (__getf2): Likewise.
24480 * soft-fp/ledf2.c (__ledf2): Likewise.
24481 * soft-fp/lesf2.c (__lesf2): Likewise.
24482 * soft-fp/letf2.c (__letf2): Likewise.
24483
8edc4a11
JM
24484 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
24485 Undefine and redefine.
24486 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
24487 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
24488 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
24489 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
24490 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
24491 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
24492 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
24493 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
24494 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
24495 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
24496 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
24497 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
24498 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
24499 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
24500 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
24501
8399acaf
JM
24502 [BZ #16032]
24503 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
24504 without decrementing exponent if mantissa >= that for the
24505 denominator, not >.
24506 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
24507 denominator, not >. Decrement exponent in < case instead of
24508 incrementing in >= case.
24509 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
24510 without decrementing exponent if mantissa >= that for the
24511 denominator, not >.
24512
99fd9f47
JM
24513 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
24514 computing saturated result for unsigned overflow.
24515
10e1cf6b
SP
245162013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24517 Jeff Law <law@redhat.com>
24518
24519 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
24520 (atan2Mp): Add systemtap probe marker.
24521 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
24522 (__ieee754_log): Add systemtap probe marker.
24523 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
24524 (atanMp): Add systemtap probe marker.
24525 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
24526 (tanMp): Add systemtap probe marker.
24527 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
24528 (__slowexp): Add systemtap probe marker.
24529 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
24530 (__slowpow): Add systemtap probe marker.
24531 * manual/probes.texi: Document probes.
24532
3d110c7c
EB
245332013-10-11 Eric Biggers <ebiggers3@gmail.com>
24534
24535 [BZ #15362]
24536 * libio/fileops.c (_IO_new_file_write): Return count of bytes
24537 written.
24538 (_IO_new_file_xsputn): Don't return EOF if nothing has been
24539 written.
24540 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
24541 written to buffer but not flushed.
24542 * libio/iofwrite_u.c: Likewise.
24543 * libio/iopadn.c: Return bytes returned even if EOF was
24544 encountered.
24545 * libio/iowpadn.c: Likewise.
24546 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
24547 if _IO_padn does not write the whole buffer.
24548 [!COMPILE_WPRINTF] (PAD): Likewise.
24549
75b4202a
DM
245502013-10-10 David S. Miller <davem@davemloft.net>
24551
24552 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
24553 directory block.
24554
6c6352e6
JM
245552013-10-10 Joseph Myers <joseph@codesourcery.com>
24556
33b853c3
JM
24557 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
24558 instead of FSF address.
24559 * soft-fp/fixdfti.c: Likewise.
24560 * soft-fp/fixsfti.c: Likewise.
24561 * soft-fp/fixtfti.c: Likewise.
24562 * soft-fp/fixunsdfti.c: Likewise.
24563 * soft-fp/fixunssfti.c: Likewise.
24564 * soft-fp/fixunstfti.c: Likewise.
24565 * soft-fp/floattidf.c: Likewise.
24566 * soft-fp/floattisf.c: Likewise.
24567 * soft-fp/floattitf.c: Likewise.
24568 * soft-fp/floatuntidf.c: Likewise.
24569 * soft-fp/floatuntisf.c: Likewise.
24570 * soft-fp/floatuntitf.c: Likewise.
24571 * soft-fp/trunctfxf2.c: Likewise.
24572
6c6352e6
JM
24573 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
24574 * soft-fp/fixdfti.c: Likewise.
24575 * soft-fp/fixsfti.c: Likewise.
24576 * soft-fp/fixtfti.c: Likewise.
24577 * soft-fp/fixunsdfti.c: Likewise.
24578 * soft-fp/fixunssfti.c: Likewise.
24579 * soft-fp/fixunstfti.c: Likewise.
24580 * soft-fp/floattidf.c: Likewise.
24581 * soft-fp/floattisf.c: Likewise.
24582 * soft-fp/floattitf.c: Likewise.
24583 * soft-fp/floatuntidf.c: Likewise.
24584 * soft-fp/floatuntisf.c: Likewise.
24585 * soft-fp/floatuntitf.c: Likewise.
24586 * soft-fp/trunctfxf2.c: Likewise.
24587
3bf78b71
DM
245882013-10-10 David S. Miller <davem@davemloft.net>
24589
24590 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24591
6f10289e
JM
245922013-10-10 Joseph Myers <joseph@codsourcery.com>
24593
bd878fc0
JM
24594 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
24595 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
24596 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
24597 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
24598 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
24599 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
24600 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
24601
6f10289e
JM
24602 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
24603 for NaNs before doing comparisons on argument.
24604 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
24605 Likewise.
24606
321e2684
WN
246072013-10-10 Will Newton <will.newton@linaro.org>
24608
24609 * malloc/hooks.c (memalign_check): Ensure the value of bytes
24610 passed to _int_memalign does not overflow.
24611
40fefba1
TR
246122013-10-10 Torvald Riegel <triegel@redhat.com>
24613
24614 * scripts/bench.pl: Add include-sources directive.
24615 * benchtests/README: Update documentation.
24616
2ae21ed2
JM
246172013-10-10 Joseph Myers <joseph@codesourcery.com>
24618
dcc2dd3f
JM
24619 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
24620 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
24621 instead of FP_INIT_ROUNDMODE.
24622 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
24623 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
24624
2ae21ed2
JM
24625 [BZ #16034]
24626 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
24627 copy class of input value.
24628 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
24629 not handle exceptions.
24630 * soft-fp/negsf2.c (__negsf2): Likewise.
24631 * soft-fp/negtf2.c (__negtf2): Likewise.
24632 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
24633
cb8f9562
JM
246342013-10-09 Joseph Myers <joseph@codesourcery.com>
24635
24636 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
24637 semicolon. From Linux kernel.
24638
5b60c59d
AB
246392013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
24640
24641 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
24642
b86835ca
YC
246432013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
24644
24645 [BZ #156]
24646 * manual/socket.texi: Added statement about buffer
24647 for gethostbyname2_r.
24648
e7044ea7
OB
246492013-10-08 Ondřej Bílka <neleai@seznam.cz>
24650
24651 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
24652 Use .p2align directive instead, throughout.
24653 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
24654 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
24655 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
24656 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24657 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24658 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
24659 * sysdeps/x86_64/strchr.S: Likewise.
24660 * sysdeps/x86_64/strrchr.S: Likewise.
24661
09544cbc
SP
246622013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
24663
88576635
SP
24664 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
24665
e7b2d1dd
SP
24666 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
24667
09544cbc
SP
24668 * sysdeps/generic/math_private.h (__mpsin1): Remove
24669 declaration.
24670 (__mpcos1): Likewise.
24671 (__mpsin): New argument __range_reduce.
24672 (__mpcos): Likewise.
24673 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24674 (slow): Use __mpsin and __mpcos.
24675 (slow1): Likewise.
24676 (slow2): Likewise.
24677 (sloww): Likewise.
24678 (sloww1): Likewise.
24679 (sloww2): Likewise.
24680 (bsloww): Likewise.
24681 (bsloww1): Likewise.
24682 (bsloww2): Likewise.
24683 (cslow2): Likewise.
24684 (csloww): Likewise.
24685 (csloww1): Likewise.
24686 (csloww2): Likewise.
24687 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
24688 range_reduce. Merge in __mpsin1.
24689 (__mpcos): Likewise.
24690 (__mpsin1): Remove.
24691 (__mpcos1): Likewise.
24692
7602d070
JM
246932013-10-07 Joseph Myers <joseph@codesourcery.com>
24694
24695 * locale/loadlocale.c (_nl_intern_locale_data): Use
24696 LOCFILE_ALIGNED_P.
24697 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
24698 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
24699 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
24700 obstack data is appropriately aligned.
24701 (obstack_int32_grow_fast): Likewise.
24702 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
24703 * locale/programs/locfile.c (add_locale_uint32): Likewise.
24704 (add_locale_uint32_array): Likewise.
24705
a357259b
SP
247062013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
24707
24708 * benchtests/Makefile: Remove ARGLIST and RET variables.
24709 ($(objpfx)bench-%.c): Pass only function name to the script.
24710 * benchtests/README: Update documentation.
24711 * benchtests/acos-inputs: Add new directives.
24712 * benchtests/acosh-inputs: Likewise.
24713 * benchtests/asin-inputs: Likewise.
24714 * benchtests/asinh-inputs: Likewise.
24715 * benchtests/atan-inputs: Likewise.
24716 * benchtests/atanh-inputs: Likewise.
24717 * benchtests/cos-inputs: Likewise.
24718 * benchtests/cosh-inputs: Likewise.
24719 * benchtests/exp-inputs: Likewise.
24720 * benchtests/log-inputs: Likewise.
24721 * benchtests/pow-inputs: Likewise.
24722 * benchtests/rint-inputs: Likewise.
24723 * benchtests/sin-inputs: Likewise.
24724 * benchtests/sinh-inputs: Likewise.
24725 * benchtests/tan-inputs: Likewise.
24726 * benchtests/tanh-inputs: Likewise.
24727 * scripts/bench.pl: Add support for new directives.
24728
9ec1b13d
AM
247292013-10-07 Alan Modra <amodra@gmail.com>
24730
24731 * README: Fix careless merge.
24732
8b7d57cd
AM
247332013-10-05 Alan Modra <amodra@gmail.com>
24734
24735 * NEWS: Mention powerpc64le support and bugs fixed.
24736 * README: Both big-endian and little-endian powerpc64 supported.
24737
7b7bab13
ST
247382013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
24739
57f41c40
AS
24740 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
24741 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
24742 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
24743 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
24744
d39baad1
RA
247452013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
24746
24747 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
24748 match prototype.
24749
cd78f7e7
JM
247502013-10-04 Joseph Myers <joseph@codesourcery.com>
24751
29d73d86
JM
24752 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
24753 Move -mhard-float appending from
24754 ports/sysdeps/powerpc/powerpc32/Makefile.
24755 [$(with-fp) = yes] (ASFLAGS): Likewise.
24756 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
24757 * sysdeps/powerpc/nofpu: Move directory from
24758 ports/sysdeps/powerpc/nofpu.
24759 * sysdeps/powerpc/soft-fp: Move directory from
24760 ports/sysdeps/powerpc/soft-fp.
24761 * sysdeps/powerpc/powerpc32/405: Move directory from
24762 ports/sysdeps/powerpc/powerpc32/405.
24763 * sysdeps/powerpc/powerpc32/440: Move directory from
24764 ports/sysdeps/powerpc/powerpc32/440.
24765 * sysdeps/powerpc/powerpc32/464: Move directory from
24766 ports/sysdeps/powerpc/powerpc32/464.
24767 * sysdeps/powerpc/powerpc32/476: Move directory from
24768 ports/sysdeps/powerpc/powerpc32/476.
24769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
24770 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
24771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
24772 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
24773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
24774 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
24775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
24776 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
24777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
24778 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
24779 * README: Update for powerpc-*-linux-gnu software floating point
24780 support in libc.
24781
e246b347
JM
24782 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
24783 case to powerpc/powerpc32*.
24784 * sysdeps/unix/sysv/linux/configure: Regenerated.
24785
89c2003e
JM
24786 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
24787 (_FPU_MASK_OM): Define as 0x04.
24788 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
24789 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
24790 0x00c10080.
24791 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
24792 0x0000003c.
24793 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
24794
cd78f7e7
JM
24795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
24796 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
24797 getcontext_e500.
24798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
24799 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
24800 setcontext_e500.
24801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
24802 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
24803 and setcontext_e500.
24804
c755294d
CL
248052013-10-04 Chris Leonard <cjl@sugarlabs,.org>
24806
24807 * locale/iso-3166.def: Update iso-1366.def and related occurrences
24808
e16d221c
SP
248092013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24810
24811 * manual/threads.texi (Default Thread Attributes): Fix typo.
24812
215c7d43
WN
248132013-10-04 Will Newton <will.newton@linaro.org>
24814
24815 * malloc/Makefile: Add tst-memalign.
24816 * malloc/tst-memalign.c: New file.
24817
27d0461b
WN
24818 * malloc/tst-posix_memalign.c: Add comments.
24819 (do_test): Add comments and call free on all potentially
24820 allocated pointers. Add space after cast.
24821
1bc92709
WN
24822 * malloc/tst-pvalloc.c: Add comments.
24823 (do_test): Add comments and call free on all potentially
24824 allocated pointers. Remove duplicate check for NULL pointer.
24825 Add space after cast.
24826
66a9be9d
WN
24827 * malloc/tst-valloc.c: Add comments.
24828 (do_test): Add comments and call free on all potentially
24829 allocated pointers. Remove duplicate check for NULL pointer.
24830 Add space after cast.
24831
4cb81307
AM
248322013-10-04 Alan Modra <amodra@gmail.com>
24833
24834 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
24835 Use stdint types in rather than __attribute__((mode())).
24836 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
24837
f8e3e9f3
AM
248382013-10-04 Alan Modra <amodra@gmail.com>
24839
24840 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
24841 Correct handling of unaligned relocs for little-endian.
24842 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
24843
8f9ebb08
AM
248442013-10-04 Alan Modra <amodra@gmail.com>
24845
24846 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
24847 * configure: Regenerate.
24848 * nptl/shlib-versions: Powerpc*le starts at 2.18.
24849 * shlib-versions: Likewise.
24850
0edf96c2
AM
248512013-10-04 Alan Modra <amodra@gmail.com>
24852
24853 * string/tester.c (test_memrchr): Increment reported test cycle.
24854
e0f7a380
AM
248552013-10-04 Alan Modra <amodra@gmail.com>
24856
24857 * string/test-memcpy.c (do_one_test): When reporting errors, print
24858 string address and don't overrun end of string.
24859
466b0393
AM
248602013-10-04 Alan Modra <amodra@gmail.com>
24861
24862 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
24863 insrdi. Make better use of reg selection to speed exit slightly.
24864 Schedule entry path a little better. Remove useless "are we done"
24865 checks on entry to main loop. Handle wrapping around zero address.
24866 Correct main loop count. Handle single left-over word from main
24867 loop inline rather than by using loop_small. Remove extra word
24868 case in loop_small caused by wrong loop count. Add little-endian
24869 support.
24870 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
24871 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
24872 cache hint.
24873 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
24874 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
24875 support. Avoid rlwimi.
24876 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
24877
3be87c77
AM
248782013-10-04 Alan Modra <amodra@gmail.com>
24879
24880 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 24881 insrdi. Formatting.
3be87c77
AM
24882 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
24883 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
24884 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
24885 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
24886 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
24887 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
24888
759cfef3
AM
248892013-10-04 Alan Modra <amodra@gmail.com>
24890
24891 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
24892 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24893 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
24894 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
24895 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
24896 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
24897 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24898 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
24899 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
24900 use of regs. Use power7 mtocrf. Tidy function tails.
24901
fe6e95d7
AM
249022013-10-04 Alan Modra <amodra@gmail.com>
24903
24904 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
24905 Formatting. Consistently use rXXX register defines or rN defines.
24906 Use early exit labels that avoid restoring unused non-volatile regs.
24907 Make cr field use more consistent with rWORDn compares. Rename
24908 regs used as shift registers for unaligned loop, using rN defines
24909 for short lifetime/multiple use regs.
24910 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
24911 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
24912 addi 1,1,64 to pop stack frame. Simplify return value code.
24913 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24914
664318c3
AM
249152013-10-04 Alan Modra <amodra@gmail.com>
24916
24917 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
24918 support. Correct typos, formatting. Optimize tail. Use insrdi
24919 rather than rlwimi.
24920 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
24921 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
24922 little-endian support. Correct typos.
24923 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
24924 rather than rlwimi.
24925 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
24926 in loop and entry code to keep "and." results.
24927 (strchr): Add little-endian support. Comment. Move cntlzd
24928 earlier in tail.
24929 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
24930
43b84013
AM
249312013-10-04 Alan Modra <amodra@gmail.com>
24932
24933 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
24934 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
24935 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
24936 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
24937
8a7413f9
AM
249382013-10-04 Alan Modra <amodra@gmail.com>
24939
24940 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
24941 (rTMP): Define as r11.
24942 (strcmp): Add little-endian support. Optimise tail.
24943 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
24944 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
24945 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
24946 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24947 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
24948 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24949 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24950
33ee81de
AM
249512013-10-04 Alan Modra <amodra@gmail.com>
24952
24953 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
24954 little-endian support. Remove unnecessary "are we done" tests.
24955 Handle "s" wrapping around zero and extremely large "size".
24956 Correct main loop count. Handle single left-over word from main
24957 loop inline rather than by using small_loop. Correct comments.
24958 Delete "zero" tail, use "end_max" instead.
24959 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
24960
db9b4570
AM
249612013-10-04 Alan Modra <amodra@gmail.com>
24962
24963 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
24964 support. Don't branch over align.
24965 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
24966 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
24967 support. Rearrange tmp reg use to suit. Comment.
24968 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
24969
f7c399cf
AM
249702013-10-04 Alan Modra <amodra@gmail.com>
24971
24972 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
24973
0b2c2ace
AM
249742013-10-04 Alan Modra <amodra@gmail.com>
24975
24976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
24977 conditional form of branch and link when obtaining pc.
24978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
24979
02f04a6c
AM
249802013-10-04 Alan Modra <amodra@gmail.com>
24981
24982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
24983 HIWORD/LOWORD.
24984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
24985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
24986
9b874b2f
AM
249872013-10-04 Alan Modra <amodra@gmail.com>
24988
24989 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
24990 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
24991 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
24992 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
24993 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
24994 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
24995 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
24996 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
24997 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
24998 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
24999
be1e5d31
AB
250002013-10-04 Anton Blanchard <anton@au1.ibm.com>
25001 Alistair Popple <alistair@ozlabs.au.ibm.com>
25002 Alan Modra <amodra@gmail.com>
25003
25004 [BZ #15723]
25005 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
25006 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
25007 _dl_hwcap access for little-endian.
25008 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
25009 destroy vmx regs when saving unaligned.
25010 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
25011 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
25012 destroy vmx regs when saving unaligned.
25013
fef13a78
AM
250142013-10-04 Alan Modra <amodra@gmail.com>
25015
25016 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
25017 Don't use a union to pack hi/low value.
25018
76a66d51
AB
250192013-10-04 Anton Blanchard <anton@au1.ibm.com>
25020
25021 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
25022 for little-endian.
25023 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
25024 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
25025 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
25026 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
25027 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
25028
6a31fe7f
AM
250292013-10-04 Alan Modra <amodra@gmail.com>
25030
25031 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
25032 constants to usual value for .cst8 section, and remove redundant
25033 high address load.
25034 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
25035 constant for 0x1p52. Load little-endian words of double from
25036 correct stack offsets.
25037
7b88401f
AM
250382013-10-04 Alan Modra <amodra@gmail.com>
25039
25040 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
25041 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
25042 words of double from correct stack offsets.
25043 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
25044 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
25045 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
25046 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
25047 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
25048 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
25049 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
25050 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
25051 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
25052 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
25053 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
25054 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
25055 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
25056 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
25057 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
25058 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
25059 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
25060
9c008155
AM
250612013-10-04 Alan Modra <amodra@gmail.com>
25062
25063 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
25064 64-bit int/double union.
25065 (_FPU_SETCW): Likewise.
25066 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
25067 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
25068
da13146d
AM
250692013-10-04 Alan Modra <amodra@gmail.com>
25070
25071 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
25072 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
25073
603e8410
AM
250742013-10-04 Alan Modra <amodra@gmail.com>
25075
25076 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
25077 use vector int constants.
25078 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
25079
4a28b3ca
AB
250802013-10-04 Anton Blanchard <anton@au1.ibm.com>
25081
25082 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
25083 array with long long.
25084 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
25085 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
25086 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
25087 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
25088 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
25089 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
25090 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
25091 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
25092 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
25093 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
25094 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
25095 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
25096 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
25097
2ca85d2b
AB
250982013-10-04 Anton Blanchard <anton@au1.ibm.com>
25099
25100 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
25101 (__signbit): Likewise. Correct for little-endian.
25102 (__signbitl): Call __signbit.
25103 (lrint): Correct for little-endian.
25104 (lrintf): Call lrint.
25105
62a728ae
AM
251062013-10-04 Alan Modra <amodra@gmail.com>
25107
25108 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
25109 union 32-bit int array member with 64-bit int array.
25110 (t515, tm256): Double rather than long double.
25111 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
25112
32c301df
AM
251132013-10-04 Alan Modra <amodra@gmail.com>
25114
25115 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
25116 Delete.
25117 (IEEE854_LONG_DOUBLE_BIAS): Delete.
25118 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
25119 version of math_ldbl.h.
25120
650ef4bd
AM
251212013-10-04 Alan Modra <amodra@gmail.com>
25122
25123 [BZ #15734], [BZ #15735]
25124 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
25125 all uses of ieee875 long double macros and unions. Simplify test
25126 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
25127 ldbl_extract_mantissa value for ix,iy exponents. Properly
25128 normalize after ldbl_extract_mantissa, and don't add hidden bit
25129 already handled. Don't treat low word of ieee854 mantissa like
25130 low word of IBM long double and mask off bit when testing for
25131 zero.
25132 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
25133 all uses of ieee875 long double macros and unions. Simplify tests
25134 for 0.0L and inf. Correct double adjustment of k. Delete dead code
25135 adjusting ha,hb. Simplify code setting kld. Delete two600 and
25136 two1022, instead use their values. Recognise that tests for large
25137 "a" and small "b" are mutually exclusive. Rename vars. Comment.
25138 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
25139 Rewrite all uses of ieee875 long double macros and unions. Simplify
25140 test for 0.0L and nan. Correct negation.
25141 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
25142 ieee875 long double macros and unions. Correct output for large
25143 magnitude x. Correct absolute value calculation.
25144 (__erfcl): Likewise.
25145 * math/libm-test.inc: Add tests for errors discovered in IBM long
25146 double versions of fmodl, remainderl, erfl and erfcl.
25147
765714ca
AM
251482013-10-04 Alan Modra <amodra@gmail.com>
25149
25150 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
25151 all uses of ieee854 long double macros and unions. Simplify tests
25152 for long doubles that are fully specified by the high double.
25153 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
25154 Likewise.
25155 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
25156 Remove dead code too.
25157 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
25158 (__ieee754_ynl): Likewise.
25159 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
25160 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
25161 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
25162 Remove dead code too.
25163 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
25164 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
25165 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
25166 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
25167 Simplify.
25168 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
25169 Simplify.
25170 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
25171 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
25172 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
25173 Comment on variable precision.
25174 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
25175 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
25176 Likewise.
25177 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
25178 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
25179 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
25180 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
25181 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
25182
4ebd120c
AM
251832013-10-04 Alan Modra <amodra@gmail.com>
25184
25185 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
25186 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
25187 all uses of ieee854 long double macros and unions.
25188 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
25189 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
25190 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
25191 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
25192 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
25193 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
25194 Likewise.
25195 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
25196 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
25197 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
25198 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
25199 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
25200 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
25201 Simplify sign and nan test too.
25202 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
25203 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
25204 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
25205 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
25206 Likewise.
25207 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
25208 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
25209 Likewise.
25210 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25211 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
25212 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
25213 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
25214 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
25215 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
25216
1b6adf88
AM
252172013-10-04 Alan Modra <amodra@gmail.com>
25218
25219 * stdio-common/printf_size.c (__printf_size): Don't use
25220 union ieee854_long_double in fpnum union.
25221 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
25222 signbit macro to retrieve sign from long double.
25223 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
25224 retrieve sign from long double.
25225 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
25226 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
25227 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
25228 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
25229 * math/test-misc.c (main): Don't use union ieee854_long_double.
25230
4cf69995
AM
252312013-10-04 Alan Modra <amodra@gmail.com>
25232
25233 [BZ #15680]
25234 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
25235 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
25236 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
25237 calculation. Remove unnecessary test for denormal exponent.
25238 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
25239 Correct handling of denormals. Avoid undefined shift behaviour.
25240 Correct normalisation of low mantissa when low double is denormal.
25241 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
25242 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
25243 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
25244 Correct normalisation of low mantissa. Test for overflow of high
25245 mantissa and normalise.
25246 (ldbl_nearbyint): Use more readable constant for two52.
25247 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
25248 (__mpn_construct_long_double): Fix test for overflow of high
25249 mantissa and correct normalisation. Avoid undefined shift.
25250
9605ca6c
AM
252512013-10-04 Alan Modra <amodra@gmail.com>
25252
25253 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
25254 (union ibm_extended_long_double): Define as an array of ieee754_double.
25255 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
25256 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
25257 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
25258 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
25259 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25260 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
25261 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
25262 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
25263 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
25264 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
25265 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
25266
975569d0
JM
252672013-10-03 Joseph Myers <joseph@codesourcery.com>
25268
d3d23756
JM
25269 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
25270 page size instead of calling getpagesize.
25271
975569d0
JM
25272 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
25273 (LOCFILE_ALIGN_MASK): Likewise.
25274 (LOCFILE_ALIGN_UP): Likewise.
25275 (LOCFILE_ALIGNED_P): Likewise.
25276 * locale/programs/ld-collate.c (collate_output): Use the new
25277 macros instead of __alignof__ (int32_t).
25278 * locale/weight.h (findidx): Likewise.
25279
b1fe1f2b
OB
252802013-10-03 Ondřej Bílka <neleai@seznam.cz>
25281
25282 [BZ #431]
25283 * manual/string.texi: Fix strncat and wcsncat.
25284
5f855e35
BM
252852013-10-03 Brooks Moses <bmoses@google.com>
25286
25287 [BZ #15915]
25288 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
25289 * Makerules: ...here, and adjust associated comments.
25290
3cef6009
WN
252912013-10-02 Will Newton <will.newton@linaro.org>
25292
25293 * malloc/Makefile: Add tst-pvalloc.
25294 * malloc/tst-pvalloc.c: New file.
25295
7815420b
WN
252962013-10-02 Will Newton <will.newton@linaro.org>
25297
25298 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
25299 improve test coverage.
25300
4868b204
WN
253012013-10-02 Will Newton <will.newton@linaro.org>
25302
25303 * malloc/Makefile: Add tst-posix_memalign.
25304 * malloc/tst-posix_memalign.c: New file.
25305
29c793b3
EB
253062013-10-01 Eric Blake <eblake@redhat.com>
25307
25308 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
25309 Use __THROWNL rather than __THROW on static functions.
25310
fd967522
PM
253112013-09-30 Petr Machata <pmachata@redhat.com>
25312
25313 * elf/elf.h (R_AARCH64_ABS16): New macro.
25314 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
25315 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
25316 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
25317 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
25318 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
25319 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
25320 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
25321 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
25322 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
25323 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
25324 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
25325 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
25326 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
25327 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
25328 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
25329 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
25330 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
25331 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
25332 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
25333 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
25334 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
25335 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
25336 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
25337 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
25338 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
25339 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
25340 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
25341 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
25342 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
25343 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
25344 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
25345 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
25346 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
25347 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
25348 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
25349 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
25350 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
25351 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
25352 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
25353 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
25354 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
25355 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
25356 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
25357 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
25358 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
25359 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
25360 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
25361 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
25362 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
25363 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
25364 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
25365 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
25366 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
25367 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
25368 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
25369 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
25370 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
25371 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
25372 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
25373 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
25374 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
25375 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
25376 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
25377 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
25378 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
25379 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
25380 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
25381 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
25382 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
25383 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
25384 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
25385 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
25386 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
25387 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
25388 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
25389 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
25390 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
25391 (R_AARCH64_TLSDESC_LDR): Likewise.
25392 (R_AARCH64_TLSDESC_ADD): Likewise.
25393 (R_AARCH64_TLSDESC_CALL): Likewise.
25394
b2179107
AS
253952013-09-30 Andreas Schwab <schwab@suse.de>
25396
25397 [BZ #15048]
25398 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
25399 the nss database lookup.
25400 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25401 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
25402
47f28d0a
MF
254032013-09-28 Mike Frysinger <vapier@gentoo.org>
25404
25405 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
25406
254072013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
25408
25409 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
25410 ${Bash-specific parameter/pattern/string} parameter expansion.
25411 * sysdeps/unix/make-syscalls.sh: Likewise.
25412
f4518a17
KK
254132013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25414
25415 * sysdeps/sh/stackguard-macros.h: New file.
25416
dc1a95c7
OB
254172013-09-26 Ondřej Bílka <neleai@seznam.cz>
25418
25419 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
25420 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
25421 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
25422 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
25423 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
25424 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
25425
5ebbff8f
AZ
254262013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25427
25428 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
25429 Fix thread ID register.
25430
4fd2cf9f
JM
254312013-09-25 Joseph Myers <joseph@codesourcery.com>
25432
25433 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
25434 [POSIX || UNIX98]: Require rather than permitting all symbols from
25435 <time.h>.
25436 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
25437 element of struct sched_param.
25438 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
25439 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
25440 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
25441 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
25442 constant.
25443
12c22bc4
OL
254442013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
25445
25446 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
25447 argument calculation.
25448
a03d8ea7
JM
254492013-09-24 Joseph Myers <joseph@codesourcery.com>
25450
25451 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
25452 Expect macro.
25453 [POSIX] (pthread_attr_t): Do not require type.
25454 [POSIX] (pthread_cond_t): Likewise.
25455 [POSIX] (pthread_condattr_t): Likewise.
25456 [POSIX] (pthread_key_t): Likewise.
25457 [POSIX] (pthread_mutex_t): Likewise.
25458 [POSIX] (pthread_mutexattr_t): Likewise.
25459 [POSIX] (pthread_once_t): Likewise.
25460 [POSIX] (pthread_t): Likewise.
25461 [POSIX-based standards] (pthread_atfork): Expect function.
25462
6055173a
JM
254632013-09-24 Joseph Myers <joseph@codesourcery.com>
25464 Richard Sandiford <richard@codesourcery.com>
25465
25466 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
25467 (swap_endianness_p): New extern variable.
25468 (set_big_endian): New inline function.
25469 (maybe_swap_uint32): Likewise.
25470 (maybe_swap_uint32_array): Likewise.
25471 (maybe_swap_uint32_obstack): Likewise.
25472 * locale/programs/locfile.c: Include <stdbool.h>.
25473 (swap_endianness_p): New variable.
25474 (add_locale_uint32): Call maybe_swap_uint32.
25475 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
25476 (write_locale_data): Call maybe_swap_uint32_array.
25477 * locale/programs/ld-collate.c (obstack_int32_grow): Call
25478 maybe_swap_uint32.
25479 (obstack_int32_grow_fast): Likewise.
25480 (output_weightwc): Call maybe_swap_uint32_obstack.
25481 (collate_output): Likewise.
25482 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
25483 (OPT_LITTLE_ENDIAN): Likewise.
25484 (options): Add --little-endian and --big-endian options.
25485 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
25486 * locale/programs/locarchive.c: Include "locfile.h".
25487 (GET): New macro.
25488 (SET): Likewise.
25489 (INC): Likewise.
25490 (create_archive): Use the new macros to access fields of
25491 structures directly mapped from or written to locale archives.
25492 (oldlocrecentcmp): Likewise.
25493 (enlarge_archive): Likewise.
25494 (insert_name): Likewise.
25495 (add_alias): Likewise.
25496 (add_locale): Likewise.
25497 (delete_locales_from_archive): Likewise.
25498 (show_archive_content): Likewise.
25499 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
25500 locale data.
25501
39bf0bb4
RM
255022013-09-24 Roland McGrath <roland@hack.frob.com>
25503
25504 * manual/freemanuals.texi: Updated from (newly) canonical copy at
25505 http://www.gnu.org/doc/freemanuals.texi.
25506 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
25507
f02eed10
WN
255082013-09-24 Will Newton <will.newton@linaro.org>
25509
25510 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
25511 macro.
25512
a3a6c312
JM
255132013-09-23 Joseph Myers <joseph@codesourcery.com>
25514
25515 * locale/hashval.h (compute_hashval): Interpret bytes of key as
25516 unsigned char.
25517
107375ac
MR
255182013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
25519
25520 * manual/threads.texi (POSIX Threads): Fix a typo.
25521
141f3a77
SP
255222013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
25523
303e567a
SP
25524 [BZ #14547]
25525 * string/tst-strcoll-overflow.c: New test case.
25526 * string/Makefile (xtests): Add tst-strcoll-overflow.
25527 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
25528 cache if string sizes may cause integer overflow.
25529
141f3a77
SP
25530 [BZ #14547]
25531 * string/strcoll_l.c (coll_seq): New members rule, idx,
25532 save_idx and back_us.
25533 (get_next_seq_nocache): New function.
25534 (do_compare_nocache): New function.
25535 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
25536 when malloc fails.
25537
c61b4d41
CD
255382013-09-23 Carlos O'Donell <carlos@redhat.com>
25539
0b1f8e35
CD
25540 [BZ #15754]
25541 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
25542 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
25543 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
25544
c61b4d41
CD
25545 [BZ #15754]
25546 * elf/Makefile (tests): Add tst-ptrguard1.
25547 (tests-static): Add tst-ptrguard1-static.
25548 (tst-ptrguard1-ARGS): Define.
25549 (tst-ptrguard1-static-ARGS): Define.
25550 * elf/tst-ptrguard1.c: New file.
25551 * elf/tst-ptrguard1-static.c: New file.
25552 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
25553 * sysdeps/i386/stackguard-macros.h: Likewise.
25554 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
25555 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
25556 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
25557 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
25558 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
25559 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
25560
255612013-09-23 Hector Marco <hecmargi@upv.es>
25562 Ismael Ripoll <iripoll@disca.upv.es>
25563 Carlos O'Donell <carlos@redhat.com>
25564
25565 [BZ #15754]
25566 * sysdeps/generic/stackguard-macros.h: Define
25567 __pointer_chk_guard_local and POINTER_CHK_GUARD.
25568 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
25569 Define __pointer_chk_guard_local.
25570 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
25571 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
25572
f5f4e7b4
VV
255732013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
25574
25575 [BZ #15859]
25576 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
25577
5bb43a43
AS
255782013-09-20 Andreas Schwab <schwab@linux-m68k.org>
25579
25580 * include/string.h (__ffs): Declare as hidden.
25581 * string/ffs.c (__ffs): Define as hidden.
25582 * sysdeps/i386/ffs.c (__ffs): Likewise.
25583 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
25584 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
25585 * sysdeps/s390/ffs.c (__ffs): Likewise.
25586 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
25587
3ea5be54
AO
255882013-09-20 Alexandre Oliva <aoliva@redhat.com>
25589
ffb89e53
AO
25590 * NEWS: Mention malloc probes.
25591
322dea08
AO
25592 * malloc/arena.c (new_heap): New memory_heap_new probe.
25593 (grow_heap): New memory_heap_more probe.
25594 (shrink_heap): New memory_heap_less probe.
25595 (heap_trim): New memory_heap_free probe.
25596 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
25597 (systrim): New memory_sbrk_less probe.
25598 * manual/probes.texi: Document them.
25599
655673f3
AO
25600 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
25601 * manual/probes.texi: Document it.
25602
35fed6f1
AO
25603 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
25604 (__libc_realloc): Add memory_realloc_retry probe.
25605 (__libc_memalign): Add memory_memalign_retry probe.
25606 (__libc_valloc): Add memory_valloc_retry probe.
25607 (__libc_pvalloc): Add memory_pvalloc_retry probe.
25608 (__libc_calloc): Add memory_calloc_retry probe.
25609 * manual/probes.texi: Document them.
25610
6999d38c
AO
25611 * malloc/arena.c (get_free_list): Add probe
25612 memory_arena_reuse_free_list.
25613 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
25614 and memory_arena_reuse.
25615 (arena_get2) [!PER_THREAD]: Likewise.
25616 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
25617 memory_arena_reuse_realloc.
25618 * manual/probes.texi: Document them.
25619
0653427f
AO
25620 * malloc/malloc.c (__libc_free): Add
25621 memory_mallopt_free_dyn_thresholds probe.
25622 (__libc_mallopt): Add multiple memory_mallopt probes.
25623 * manual/probes.texi: Document them.
25624
3ea5be54
AO
25625 * malloc/malloc.c: Include stap-probe.h.
25626 (__libc_mallopt): Add memory_mallopt probe.
25627 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
25628 * manual/probes.texi: New.
25629 * manual/Makefile (chapters): Add probes.
25630 * manual/threads.texi: Set next node.
25631
e35696c3 256322013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 25633
e35696c3
CL
25634 [BZ #15963, #13985]
25635 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
25636 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
25637 Add `Chinese' to `nan' entry name.
25638
4aafb73c
SP
256392013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
25640
25641 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
25642 (POLYNOMIAL): Likewise.
25643 (TAYLOR_SINCOS): Likewise.
25644 (TAYLOR_SLOW): Likewise.
25645 (__sin): Use TAYLOR_SINCOS.
25646 (__cos): Likewise.
25647 (slow): Use TAYLOR_SLOW.
25648 (sloww): Likewise.
25649 (bsloww): Likewise.
25650 (csloww): Likewise.
25651
d84f25c7
LD
256522013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25653
25654 * stdlib/strtod_l.c: Fix buffer overrun.
25655
5eea0404
SP
256562013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
25657
7849ff93
SP
25658 * benchtests/Makefile (bench): Add sincos.
25659 * benchtests/bench-sincos.c: New file.
25660
cfa3c886
SP
25661 * math/libm-test.inc (cos_test_data): New test inputs.
25662 (sin_test_data): Likewise.
25663
b348e1e3
SP
25664 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
25665 macro.
25666 (__sin): Use it.
25667 (__cos): Likewise.
25668 (slow1): Likewise.
25669 (slow2): Likewise.
25670 (sloww1): Likewise.
25671 (sloww2): Likewise.
25672 (bsloww1): Likewise.
25673 (bsloww2): Likewise.
25674 (cslow2): Likewise.
25675 (csloww1): Likewise.
25676 (csloww2): Likewise.
25677
6cce25f8
SP
25678 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
25679 function.
25680 (__sin): Use it.
25681 (__cos): Likewise.
25682
5eea0404
SP
25683 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
25684 gotos.
25685 (__cos): Likewise.
25686
9c21573c
MR
256872013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
25688
25689 * config.h.in (HAVE_MIPS_NAN2008): New macro.
25690 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
25691 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
25692 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
25693 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
25694 * elf/cache.c (print_entry): Handle the new cache flags.
25695
24d22e65
JM
256962013-09-18 Joseph Myers <joseph@codesourcery.com>
25697 Aldy Hernandez <aldyh@redhat.com>
25698
25699 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
25700 Change condition to [_SOFT_FLOAT].
25701 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
25702 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
25703 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
25704 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
25705 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
25706 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
25707 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
25708 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
25709 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
25710 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
25711 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
25712 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
25713 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
25714 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
25715 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
25716 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
25717 declaration.
25718
d13ef066
JM
257192013-09-18 Joseph Myers <joseph@codesourcery.com>
25720
2e071de0
JM
25721 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
25722 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
25723 (__longjmp): Use LOAD_GP to load saved GPRs.
25724 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
25725 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
25726 (__sigsetjmp): Use SAVE_GP to save GPRs.
25727
d13ef066
JM
25728 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
25729 Do not append -msoft-float.
25730 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
25731
97a0650b
SP
257322013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
25733
25734 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
25735
11ca09e9
JM
257362013-09-17 Joseph Myers <joseph@codesourcery.com>
25737
25738 [BZ #15966]
25739 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
25740 (_FPU_GETCW): Use initial "__" on variable and field names but not
25741 on macro parameter name.
25742 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
25743 parentheses around reference to macro parameter.
25744
08ffcf34
RS
257452013-09-13 Richard Sandiford <richard@codesourcery.com>
25746
25747 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
25748 prototype.
25749 (ctype_startup): Use uint32_t in cast and sizeof for
25750 ctype->charnames.
25751
ae7080d3
JL
257522013-09-11 Jia Liu <proljc@gmail.com>
25753
25754 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
25755 __daddr_t_defined.
25756 [__FreeBSD__]: Likewise.
25757
5905e7b3
OB
257582013-09-11 Ondřej Bílka <neleai@seznam.cz>
25759
25760 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
25761 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
25762 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
25763 (strchr): Remove __strchr_sse42 ifunc selection.
25764 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
25765 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
25766
b987c776
WN
257672013-09-11 Will Newton <will.newton@linaro.org>
25768
25769 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
25770 parameter to RES. Remove hardcoded 1000 value.
25771 * benchtests/bench-skeleton.c (main): Pass RES parameter
25772 to TIMING_INIT and multiply result by 1000.
25773
ddf985af
AZ
257742013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25775
25776 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25777
ffdd3181
AS
257782013-09-11 Andreas Schwab <schwab@suse.de>
25779
25780 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
25781 if not defined.
25782 (O_TMPFILE) [__USE_GNU]: Define.
25783 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
25784 Define.
25785
b73ed247
WN
257862013-09-11 Will Newton <will.newton@linaro.org>
25787
25788 [BZ #15857]
25789 * malloc/malloc.c (__libc_memalign): Check the value of bytes
25790 does not overflow.
25791
55e17aad
WN
257922013-09-11 Will Newton <will.newton@linaro.org>
25793
25794 [BZ #15856]
25795 * malloc/malloc.c (__libc_valloc): Check the value of bytes
25796 does not overflow.
25797
1159a193
WN
257982013-09-11 Will Newton <will.newton@linaro.org>
25799
25800 [BZ #15855]
25801 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
25802 does not overflow.
25803
5905e7b3 258042013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
25805
25806 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
25807 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
25808 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25809 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
25810 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
25811
cdfc721b
AM
258122013-09-10 Allan McRae <allan@archlinux.org>
25813
aa04af00
AM
25814 [BZ #15748]
25815 * manual/arith.texi (Parsing of Floats): Clarify
25816 cross-reference.
25817
cdfc721b
AM
25818 [BZ #15849]
25819 * manual/install.texi (Running make install): Mention
25820 --enable-pt-chown.
25821 * INSTALL: Regenerated.
25822
95e7cf29
MR
258232013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
25824
25825 * csu/init-first.c (_init): Remove the !SHARED condition around
25826 FPU control word initialization.
25827 * elf/dl-support.c (_dl_fpu_control): New variable.
25828 (_dl_aux_init) <AT_FPUCW>: Initialize it.
25829 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
25830 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
25831 * math/test-fpucw-static.c: New file.
25832 * math/test-fpucw-ieee.c: New file.
25833 * math/test-fpucw-ieee-static.c: New file.
25834 * math/Makefile (tests): Add `test-fpucw-ieee' and
25835 `$(tests-static)'.
25836 (tests-static): New variable.
25837 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
25838 dependency to...
25839 [($(build-shared),yes)]
25840 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
25841 ... this.
25842 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
25843 New dependency.
25844
83e43bf0
AM
258452013-09-09 Allan McRae <allan@archlinux.org>
25846
a9f5ce09
AM
25847 [BZ #15939]
25848 * manual/string.texi (Collation Functions): Fix typo in
25849 strcoll example.
25850 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
25851
34829bc2
AM
25852 [BZ #15893]
25853 * stdlib/isomac.c (get_null_defines): Fix memory leak.
25854
3932737d
AM
25855 [BZ #15892]
25856 * libio/memstream.c (open_memstream): Fix memory leak.
25857 * libio/wmemstream.c (open_wmemstream): Likewise.
25858
83e43bf0
AM
25859 [BZ #15895]
25860 * nscd/netgroupcache.c: Fix nesting of ifdefs.
25861
0c66b8e9
WN
258622013-09-09 Will Newton <will.newton@linaro.org>
25863
25864 * malloc/Makefile: Add tst-realloc to tests.
25865 * malloc/tst-realloc.c: New file.
25866
f6b00fd1
AM
258672013-09-09 Allan McRae <allan@archlinux.org>
25868
25869 [BZ #15844]
25870 * COPYING: Update from GNU website to fix FSF address.
25871 * COPYING.LIB: Likewise.
25872
eec55e16
DM
258732013-09-06 David S. Miller <davem@davemloft.net>
25874
25875 * po/zh_TW.po: Update Chinese (traditional) translation from
25876 translation project.
25877
1ecbb381
RS
258782013-09-06 Richard Sandiford <richard@codesourcery.com>
25879 Joseph Myers <joseph@codesourcery.com>
25880
25881 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
25882 "localeinfo.h".
25883 (obstack_chunk_alloc): New macro.
25884 (obstack_chunk_free): Likewise.
25885 (record_offset): New function.
25886 (init_locale_data): Likewise.
25887 (align_locale_data): Likewise.
25888 (add_locale_empty): Likewise.
25889 (add_locale_raw_data): Likewise.
25890 (add_locale_raw_obstack): Likewise.
25891 (add_locale_string): Likewise.
25892 (add_locale_wstring): Likewise.
25893 (add_locale_uint32): Likewise.
25894 (add_locale_uint32_array): Likewise.
25895 (add_locale_char): Likewise.
25896 (start_locale_structure): Likewise.
25897 (end_locale_structure): Likewise.
25898 (start_locale_prelude): Likewise.
25899 (end_locale_prelude): Likewise.
25900 (write_locale_data): Take locale_file structure rather than an
25901 iovec.
25902 * locale/programs/locfile.h: Include "obstack.h".
25903 (struct locale_file): Change to store locale file contents instead
25904 of header.
25905 (init_locale_data): New prototype.
25906 (align_locale_data): Likewise.
25907 (add_locale_empty): Likewise.
25908 (add_locale_raw_data): Likewise.
25909 (add_locale_raw_obstack): Likewise.
25910 (add_locale_string): Likewise.
25911 (add_locale_wstring): Likewise.
25912 (add_locale_uint32): Likewise.
25913 (add_locale_uint32_array): Likewise.
25914 (add_locale_char): Likewise.
25915 (start_locale_structure): Likewise.
25916 (end_locale_structure): Likewise.
25917 (start_locale_prelude): Likewise.
25918 (end_locale_prelude): Likewise.
25919 (write_locale_data): Update prototype.
25920 * locale/programs/3level.h (struct TABLE): Remove result field.
25921 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
25922 Use new locale_file interface.
25923 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
25924 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
25925 * locale/programs/ld-address.c (address_output): Use new
25926 locale_file interface.
25927 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
25928 NO_ADD_LOCALE.
25929 (collate_finish): Don't call collseq_table_finalize.
25930 (collate_output): Use new locale_file interface.
25931 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
25932 in file.
25933 (NO_FINALIZE): Change to NO_ADD_LOCALE.
25934 (TABLE): Move defines earlier in file.
25935 (ELEMENT): Likewise.
25936 (DEFAULT): Likewise.
25937 (wctrans_table_add): Move macro and inline function earlier in
25938 file.
25939 (struct wctype_table): Move type earlier in file.
25940 (add_locale_wctype_table): New static prototype.
25941 (struct locale_ctype_t): Use logical types instead of struct iovec
25942 pointers for members.
25943 (ctype_output): Use new locale_file interface.
25944 (wctype_table_finalize): Change to add_locale_wctype_table. Use
25945 new locale_file interface.
25946 (allocate_arrays): Update for use of new locale_file interface.
25947 * locale/programs/ld-identification.c (identification_output): Use
25948 new locale_file interface.
25949 * locale/programs/ld-measurement.c (measurement_output): Likewise.
25950 * locale/programs/ld-messages.c (messages_output): Likewise.
25951 * locale/programs/ld-monetary.c (monetary_output): Likewise.
25952 * locale/programs/ld-name.c (name_output): Likewise.
25953 * locale/programs/ld-numeric.c (numeric_output): Likewise.
25954 * locale/programs/ld-paper.c (paper_output): Likewise.
25955 * locale/programs/ld-telephone.c (telephone_output): Likewise.
25956 * locale/programs/ld-time.c (time_output): Likewise.
25957
e029e2e5
AZ
259582013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25959
25960 * benchtests/Makefile: Add memrchr benchmark.
25961 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
25962 benchmark as memrchr.
25963 * benchtests/bench-memrchr-ifunc.c: New file.
25964 * benchtests/bench-memrchr.c: New file.
25965
bbf6e8e4
WN
259662013-09-06 Will Newton <will.newton@linaro.org>
25967
25968 * benchtests/Makefile (string-bench): Add memcpy.
25969
6c82a2f8
CD
259702013-09-05 Carlos O'Donell <carlos@redhat.com>
25971 Cong Wang <amwang@redhat.com>
25972
e732c5f0 25973 [BZ #15850]
6c82a2f8
CD
25974 * sysdeps/unix/sysv/linux/bits/in.h
25975 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
25976 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
25977 before __USE_KERNEL_IPV6_DEFS uses.
25978 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
25979 IPPROTO_BEETPH.
25980 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
25981 sockaddr_in6, or ipv6_mreq.
25982
5430fc65
AZ
259832013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25984
25985 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
25986 memory access for final bytes in some large inputs.
25987 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
25988
4660856c
AZ
259892013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25990
25991 * string/test-memrchr.c: New file.
25992 * string/test-memrchr-ifunc.c: New file.
25993 * string/Makefile: Add new memrchr testcase.
25994
bb8ea713
MF
259952013-09-05 Mike Frysinger <vapier@gentoo.org>
25996
25997 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
25998 fanotify_init returns EPERM.
25999
b92a20b5
JM
260002013-09-04 Joseph Myers <joseph@codesourcery.com>
26001
26002 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
26003 errors.
26004 (top level): Treat second token from macro or constant entries for
26005 allowed headers as allowed.
26006 * include/complex.h: Condition internal declarations on
26007 [!_ISOMAC].
26008 * include/fenv.h: Condition include of <stdbool.h> and internal
26009 declarations on [!_ISOMAC].
7447ccd9
CL
26010
260112013-09-04 Chris Leonard <cjl@sugarlabs,.org>
26012
3e181dda 26013 [BZ #15923]
7447ccd9
CL
26014 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
26015
3f2e46a4
JM
260162013-09-04 Joseph Myers <joseph@codesourcery.com>
26017
26018 * configure.in (--enable-versioning): Remove configure option.
26019 (libc_cv_asm_symver_directive): Remove configure test.
26020 (libc_cv_ld_version_script_option): Likewise.
26021 (VERSIONING): Remove variable and AC_SUBST.
26022 (DO_VERSIONING): Remove AC_DEFINE.
26023 * configure: Regenerated.
26024 * config.h.in (DO_VERSIONING): Remove macro.
26025 * Makerules [$(versioning) = yes]: Change conditionals to
26026 [$(build-shared) = yes].
26027 * config.make.in (versioning): Remove variable.
26028 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
26029 [$(build-shared) = yes].
26030 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
26031 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
26032 * elf/Makefile [$(versioning) = yes]: Change conditionals to
26033 [$(build-shared) = yes].
26034 * extra-lib.mk [$(versioning) = yes]: Likewise.
26035 * hurd/Makefile [$(versioning) = yes]: Likewise.
26036 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
26037 [SHARED].
26038 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
26039 [SHARED].
26040 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
26041 [SHARED && !NO_HIDDEN].
26042 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
26043 [SHARED].
26044 [SHARED && DO_VERSIONING]: Likewise..
26045 * libio/Makefile [$(versioning) = yes]: Change conditionals to
26046 [$(build-shared) = yes].
26047 * manual/install.texi (--disable-versioning): Remove
26048 documentation.
26049 * INSTALL: Regenerated.
26050 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
26051 to [SHARED].
26052 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
26053 [$(build-shared) = yes].
26054 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
26055 * sysdeps/i386/i686/multiarch/strstr-c.c
26056 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
26057 [SHARED && !NO_HIDDEN].
26058 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
26059 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
26060 * sysdeps/powerpc/powerpc32/dl-machine.c
26061 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
26062 * sysdeps/powerpc/powerpc32/sysdep.h
26063 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
26064 to [SHARED && PIC && !NO_HIDDEN].
26065 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
26066 conditional to [SHARED].
26067
44558701
WN
260682013-09-04 Will Newton <will.newton@linaro.org>
26069
26070 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
26071 * benchtests/bench-string.h: Include bench-timing.h instead
26072 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
26073 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
26074 call to HP_TIMING_DIFF_INIT.
26075 * benchtests/bench-memccpy.c: Use bench-timing.h macros
26076 instead of hp-timing.h macros.
26077 * benchtests/bench-memchr.c: Likewise.
26078 * benchtests/bench-memcmp.c: Likewise.
26079 * benchtests/bench-memcpy.c: Likewise.
26080 * benchtests/bench-memmem.c: Likewise.
26081 * benchtests/bench-memmove.c: Likewise.
26082 * benchtests/bench-memset.c: Likewise.
26083 * benchtests/bench-rawmemchr.c: Likewise.
26084 * benchtests/bench-strcasecmp.c: Likewise.
26085 * benchtests/bench-strcasestr.c: Likewise.
26086 * benchtests/bench-strcat.c: Likewise.
26087 * benchtests/bench-strchr.c: Likewise.
26088 * benchtests/bench-strcmp.c: Likewise.
26089 * benchtests/bench-strcpy.c: Likewise.
26090 * benchtests/bench-strcpy_chk.c: Likewise.
26091 * benchtests/bench-strlen.c: Likewise.
26092 * benchtests/bench-strncasecmp.c: Likewise.
26093 * benchtests/bench-strncat.c: Likewise.
26094 * benchtests/bench-strncmp.c: Likewise.
26095 * benchtests/bench-strncpy.c: Likewise.
26096 * benchtests/bench-strnlen.c: Likewise.
26097 * benchtests/bench-strpbrk.c: Likewise.
26098 * benchtests/bench-strrchr.c: Likewise.
26099 * benchtests/bench-strspn.c: Likewise.
26100 * benchtests/bench-strstr.c: Likewise.
26101
cae16d66
WN
261022013-09-04 Will Newton <will.newton@linaro.org>
26103
26104 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
26105
ffa3cd7f
JM
261062013-09-03 Joseph Myers <joseph@codesourcery.com>
26107
26108 [BZ #15427]
26109 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
26110 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
26111 * math/libm-test.inc (lgamma_test_data): Add more tests.
26112 * sysdeps/i386/fpu/libm-test-ulps: Update.
26113 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26114
8f02859f
OB
261152013-09-03 Ondřej Bílka <neleai@seznam.cz>
26116
26117 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
26118 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
26119 Add ifunc.
26120 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
26121 Add strcmp-sse2-unaligned
26122 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
26123
18d43716
MF
261242013-09-02 Mike Frysinger <vapier@gentoo.org>
26125
26126 * Versions.def (libc): Add GLIBC_2.19.
26127
ac444012
MF
261282013-09-02 Mike Frysinger <vapier@gentoo.org>
26129
26130 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
26131 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
26132
b7835e32
JM
261332013-09-02 Joseph Myers <joseph@codesourcery.com>
26134
26135 [BZ #14155]
26136 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
26137 intermediate calculations in recurrence.
26138 (__ieee754_ynf): Likewise.
26139 * math/libm-test.inc (jn_test_data): Do not allow spurious
26140 underflow exception. Add more tests.
26141 (yn_test_data): Add more tests.
26142 * sysdeps/i386/fpu/libm-test-ulps: Update.
26143 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26144
8220f4f0
OB
261452013-09-02 Ondřej Bílka <neleai@seznam.cz>
26146
26147 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
26148
f24a6d08
OB
261492013-08-30 Ondřej Bílka <neleai@seznam.cz>
26150
26151 * csu/init-first.c: Fix then/than typos.
26152 * locale/programs/ld-collate.c: Likewise.
26153 * locale/programs/linereader.h: Likewise.
26154 * manual/charset.texi: Likewise.
26155 * manual/filesys.texi: Likewise.
26156 * manual/stdio.texi: Likewise.
26157 * manual/string.texi: Likewise.
26158 * stdlib/fmtmsg.c: Likewise.
26159 * sysdeps/i386/stpncpy.S: Likewise.
26160 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
26161 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
26162 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
26163 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
26164
382466e0
OB
261652013-08-30 Ondřej Bílka <neleai@seznam.cz>
26166
26167 * elf/dl-open.c: Fix typos.
26168 * iconvdata/gbbig5.c: Likewise.
26169 * iconvdata/iso-2022-jp.c: Likewise.
26170 * iconv/gconv_int.h: Likewise.
26171 * iconv/loop.c: Likewise.
26172 * nis/rpcsvc/nis.h: Likewise.
26173 * resolv/ns_name.c: Likewise.
26174 * stdio-common/vfscanf.c: Likewise.
26175 * streams/stropts.h: Likewise.
26176 * sunrpc/rpc_thread.c: Likewise.
26177 * sysdeps/i386/strpbrk.S: Likewise.
26178 * sysdeps/ieee754/k_standard.c: Likewise.
26179 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
26180 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
26181 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
26182 * sysdeps/mach/hurd/profil.c: Likewise.
26183 * sysdeps/s390/dl-procinfo.h: Likewise.
26184 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
26185 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
26186 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
26187 * sysdeps/x86_64/dl-trampoline.S: Likewise.
26188 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
26189
0186c6e9
OB
261902013-08-30 Ondřej Bílka <neleai@seznam.cz>
26191
26192 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
26193 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
26194
d4e16af1
OB
261952013-08-29 Ondřej Bílka <neleai@seznam.cz>
26196
26197 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
26198 aix specific files.
26199 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
26200 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
26201 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
26202 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
26203 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
26204 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
26205 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
26206 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
26207
88335980
TS
262082013-08-29 Thomas Schwinge <thomas@codesourcery.com>
26209 Roland McGrath <roland@hack.frob.com>
26210
26211 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
26212 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
26213
ed479b02
ST
262142013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
26215
26216 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
26217 __executable_start symbol instead of _start.
26218
f1cc4c86
TS
262192013-08-29 Thomas Schwinge <thomas@codesourcery.com>
26220
d821f07c
TS
26221 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
26222 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
26223 Move macros to...
26224 * sysdeps/gnu/ldsodefs.h: ... this new file.
26225
c54290cf
TS
26226 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
26227 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
26228 instead of ELFOSABI_LINUX.
26229
0007fc9b 26230 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
26231 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
26232 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
26233 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
26234 Likewise.
26235 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
26236 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
26237 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
26238 Likewise.
26239 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
26240 (ibm_extended_long_double): Add ieee_nan member.
26241 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
26242 (do_test): New function.
26243
f1cc4c86
TS
26244 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
26245 TEST_TRUNC.
26246 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
26247 functions, renamed from truncdfsf_test, trunctfsf_test,
26248 trunctfdf_test.
26249 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
26250 functions.
26251 (do_test): Run all these.
26252
6f65e668
OB
262532013-08-29 Ondřej Bílka <neleai@seznam.cz>
26254
26255 * argp/argp-help.c: Fix typos.
26256 * argp/argp-parse.c: Likewise.
26257 * debug/backtracesyms.c: Likewise.
26258 * elf/elf.h: Likewise.
26259 * malloc/malloc.c: Likewise.
26260 * nis/nis_print.c: Likewise.
26261 * resolv/res_comp.c: Likewise.
26262 * stdlib/stdlib.h: Likewise.
26263 * sunrpc/clnt_tcp.c: Likewise.
26264 * sunrpc/clnt_udp.c: Likewise.
26265 * sunrpc/clnt_unix.c: Likewise.
26266 * sysdeps/unix/bsd/ptsname.c: Likewise.
26267 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
26268 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
26269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
26270 Likewise.
26271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
26272 Likewise.
26273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
26274 Likewise.
6f65e668
OB
26275 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
26276
3a309239
SP
262772013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26278
26279 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
26280 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
26281
3b813b29
MF
262822013-08-27 Mike Frysinger <vapier@gentoo.org>
26283
26284 [BZ #15897]
26285 * dlfcn/Makefile (tests): Add bug-dl-leaf.
26286 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
26287 ($(objpfx)bug-dl-leaf): New rule.
26288 ($(objpfx)bug-dl-leaf.so): Likewise.
26289 ($(objpfx)bug-dl-leaf.out): Likewise.
26290 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
26291 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
26292 * dlfcn/bug-dl-leaf.c: New test.
26293 * dlfcn/bug-dl-leaf-lib.c: Likewise.
26294 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
26295 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
26296 (dlclose): Likewise.
26297 (dlmopen): Likewise.
26298
8cc3269f
RM
262992013-08-27 Roland McGrath <roland@hack.frob.com>
26300
7f9d0034
RM
26301 * include/netdb.h [!_ISOMAC]:
26302 Don't include <tls.h>.
26303 (h_errno, __libc_h_errno): Move declaration and macros out of
26304 [_LIBC_REENTRANT].
26305
fb431262
RM
26306 * include/resolv.h [_RESOLV_H_]:
26307 Don't include <tls.h>.
26308 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
26309 * resolv/res_libc.c: Don't include <tls.h>.
26310 (_res): Use __attribute__ ((nocommon)) in place of
26311 __attribute__ ((section (".bss"))).
26312
bd81123a
RM
26313 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
26314 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
26315
c4e42566
RM
26316 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
26317
f890a59b
RM
26318 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
26319 only under [SIOCGIFCONF && SIOCGIFNETMASK].
26320
26321 * resolv/res_mkquery.c: Include <sys/time.h>.
26322
5d1f0a09
RM
26323 * inet/ifreq.c: Moved to ...
26324 * sysdeps/unix/ifreq.c: ... here.
26325 * inet/ifreq.c: New file, true stub version.
26326
6fcf28b3
RM
26327 * socket/sa_len.c: New file.
26328 * socket/Makefile (aux): Add it.
26329 * sysdeps/unix/sysv/linux/Makefile
26330 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
26331 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
26332 and #include <socket/sa_len.c>.
26333 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
26334 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
26335
e041fb8b
RM
26336 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
26337 * bits/socket.h: ... here.
26338
8cc3269f
RM
26339 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
26340 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
26341 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
26342
5d228a43
AS
263432013-08-27 Andreas Schwab <schwab@suse.de>
26344
45b8accc
AS
26345 [BZ #15736]
26346 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
26347 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
26348 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
26349 * string/test-strcasecmp.c (test_main): Run tests in several
26350 locales.
26351 * string/test-strncasecmp.c (test_main): Likewise.
26352
5d228a43
AS
26353 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
26354 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
26355 to __strcasecmp_nonascii and __strncasecmp_nonascii.
26356 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
26357 (__strncasecmp_ssse3) [PIC]: Likewise.
26358
59d112a4
RM
263592013-08-26 Roland McGrath <roland@hack.frob.com>
26360
53234cc3
RM
26361 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
26362
59d112a4
RM
26363 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
26364 instead of explicitly declaring xdecrypt.
26365 * nis/nss_nis/nis-publickey.c: Likewise.
26366
595aba70
SP
263672013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26368
26369 [BZ #15890]
26370 * nscd/aicache.c: Include res_hconf.h.
26371 (addhstaiX): Initialize res_hconf.
26372
ffabd393
AS
263732013-08-26 Andreas Schwab <schwab@suse.de>
26374
26375 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
26376 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
26377
e0a69f5c
SP
263782013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26379
26380 * nscd/aicache.c (addhstaiX): Fix indentation.
26381
8c12f01d
MF
263822013-08-25 Mike Frysinger <vapier@gentoo.org>
26383
26384 * configure.ac: Quote $build_pt_chown test.
26385 * configure: Regenerated.
26386
8fe89494
JM
263872013-08-23 Joseph Myers <joseph@codesourcery.com>
26388
26389 [BZ #15532]
26390 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
26391 * math/s_cexpf.c (__cexpf): Likewise.
26392 * math/s_cexpl.c (__cexpl): Likewise.
26393 * math/libm-test.inc (cexp_test_data): Correct expected return
26394 value for NaN + i0. Add another test.
26395
75b181d6
DM
263962013-08-22 David S. Miller <davem@davemloft.net>
26397
26398 * po/ca.po: Update Catalan translation from translation project.
936241e4 26399 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 26400
acd06bb1
JM
264012013-08-21 Joseph Myers <joseph@codesourcery.com>
26402
26403 [BZ #15797]
26404 * math/s_fdim.c (__fdim): Check for infinite arguments if result
26405 is infinite, not alongside NaN test.
26406 * math/s_fdimf.c (__fdimf): Likewise.
26407 * math/s_fdiml.c (__fdiml): Likewise.
26408 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
26409 errno is unchanged.
26410
c0c3f78a
OB
264112013-08-21 Ondřej Bílka <neleai@seznam.cz>
26412
26413 * argp/argp-help.c: Fix typos.
26414 * crypt/speeds.c: Likewise.
26415 * csu/check_fds.c: Likewise.
26416 * elf/dl-load.c: Likewise.
26417 * elf/dl-open.c: Likewise.
26418 * elf/reldep3.c: Likewise.
26419 * elf/reldep.c: Likewise.
26420 * elf/sprof.c: Likewise.
26421 * iconv/iconv_charmap.c: Likewise.
26422 * iconv/skeleton.c: Likewise.
26423 * iconv/strtab.c: Likewise.
26424 * io/lockf64.c: Likewise.
26425 * libio/libioP.h: Likewise.
26426 * resolv/gai_notify.c: Likewise.
26427 * resolv/ns_name.c: Likewise.
26428 * resolv/ns_samedomain.c: Likewise.
26429 * resolv/res_send.c: Likewise.
26430 * stdlib/random.c: Likewise.
26431 * sunrpc/rpc/xdr.h: Likewise.
26432 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
26433 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
26434 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
26435 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
26436 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
26437 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
26438 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
26439 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
26440 * sysdeps/mach/hurd/check_fds.c: Likewise.
26441 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
26442 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
26443 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
26444 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
26445 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
26446 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
26447 * sysdeps/pthread/aio_notify.c: Likewise.
26448 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
26449 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
26450 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
26451 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
26452 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
26453
46ed1038
LD
264542013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26455
26456 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
26457 version if bit_Slow_SSE4_2 is set.
26458 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26459 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
26460
d400dcac
AZ
264612013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26462
26463 [BZ #15867]
26464 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
26465 trampoline stack frame information.
26466 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
26467 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
26468 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
26469 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
26470 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
26471 * sysdeps/unix/sysv/linux/powerpc/init-first.c
26472 (_libc_vdso_platform_setup): Initialize the signal trampolines.
26473 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
26474 sa_flags value.
26475 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
26476 interrupting a syscall and set with option SA_SIGINFO.
26477
42c8fdd8
JM
264782013-08-20 Joseph Myers <joseph@codesourcery.com>
26479
c980f2f4
JM
26480 [BZ #15531]
26481 * math/s_cproj.c (__cproj): Only return an infinity if one part of
26482 argument is infinite.
26483 * math/s_cprojf.c (__cprojf): Likewise.
26484 * math/s_cprojl.c (__cprojl): Likewise.
26485 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
26486 * math/libm-test.inc (cproj_test_data): Add more tests.
26487
0716c4fc
JM
26488 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
26489
42c8fdd8
JM
26490 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
26491 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
26492 size. Use __ffs to determine corresponding shift.
26493
b31469d0
JM
264942013-08-20 Joseph Myers <joseph@codesourcery.com>
26495 Roland McGrath <roland@hack.frob.com>
26496
26497 * Makefile (INSTALL): Remove trailing blank lines from output of
26498 makeinfo.
26499
4e39af6e
AK
265002013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26501
26502 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
26503 Align 32 bit compat elf_greg to 8 bytes.
26504
f315524e
AA
265052013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
26506
26507 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
26508
1326ba1a
SP
265092013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
26510
26511 * string/strcoll_l.c (coll_seq): New structure.
26512 (get_next_seq_cached): New function.
26513 (get_next_seq): New function.
26514 (do_compare): New function.
26515 (STRCOLL): Use GNU style definition. Simplify implementation
26516 by using get_next_seq, get_next_seq_cached and do_compare.
26517
91ce4085
FW
265182013-08-16 Florian Weimer <fweimer@redhat.com>
26519
26520 [BZ #14699]
26521 CVE-2013-4237
26522 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
26523 member.
26524 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
26525 member.
26526 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
26527 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
26528 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
26529 conditional.
26530 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
26531 GETDENTS_64BIT_ALIGNED.
26532 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
26533 * manual/filesys.texi (Reading/Closing Directory): Document
26534 ENAMETOOLONG return value of readdir_r. Recommend readdir more
26535 strongly.
26536 * manual/conf.texi (Limits for Files): Add portability note to
26537 NAME_MAX, PATH_MAX.
26538 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
26539
ca0a6bc4
AS
265402013-08-13 Andreas Schwab <schwab@suse.de>
26541
26542 [BZ #15749]
26543 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
26544 of fabs.
26545 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
26546 LDBL_MAX_EXP >= 16384]: Add tests for it.
26547
6c1fd795
DM
265482013-08-12 David S. Miller <davem@davemloft.net>
26549
26550 * version.h (RELEASE): Set to "development".
26551 (VERSION): Set to "2.18.90".
26552 * NEWS: Add 2.19 section.
26553
31ad488d
DM
265542013-08-03 David S. Miller <davem@davemloft.net>
26555
26556 * po/ko.po: Update Korean translation from translation project.
26557
db24e684
DM
265582013-08-01 David S. Miller <davem@davemloft.net>
26559
26560 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
26561 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
26562 Bilka.
26563
f723285b
DM
265642013-07-30 David S. Miller <davem@davemloft.net>
26565
26566 * po/fr.po: Update French translation from translation project.
26567
3cbc52db
DM
265682013-07-28 David S. Miller <davem@davemloft.net>
26569
30bbc0cc
DM
26570 * po/cs.po: Update Czech translation from translation project.
26571
3cbc52db
DM
26572 * po/sv.po: Update Swedish translation from translation project.
26573
d492e6d0
DM
265742013-07-27 David S. Miller <davem@davemloft.net>
26575
f1a7f492
DM
26576 * po/eo.po: Update Esperanto translation from translation project.
26577
90e62a4a
DM
26578 * po/vi.po: Update Vietnamese translation from translation project.
26579
d492e6d0
DM
26580 * po/de.po: Update German translation from translation project.
26581
d4baa62d
DM
265822013-07-26 David S. Miller <davem@davemloft.net>
26583
641aa7b4
DM
26584 * po/bg.po: Update Bulgarian translation from translation project.
26585
d4baa62d
DM
26586 * po/nl.po: Update Dutch translation from translation project.
26587 * po/pl.po: Update Polish translation from translation project.
26588 * po/ru.po: Update Russian translation from translation project.
26589
61a9dcb9
DM
265902013-07-24 David S. Miller <davem@davemloft.net>
26591
26592 * po/libc.pot: Update.
26593
7b1f8b58
AZ
265942013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26595
26596 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
26597 variable page size.
26598 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
26599 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
26600 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
26601
a8fc7a03
AK
266022013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26603
26604 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
26605
e4608715
CD
266062013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26607 Andreas Schwab <schwab@suse.de>
26608 Roland McGrath <roland@hack.frob.com>
26609 Joseph Myers <joseph@codesourcery.com>
26610 Carlos O'Donell <carlos@redhat.com>
26611
26612 [BZ #15755]
26613 * config.h.in: Define HAVE_PT_CHOWN.
26614 * config.make.in (build-pt-chown): New variable.
26615 * configure.in (--enable-pt_chown): New configure option.
26616 * configure: Regenerate.
26617 * login/Makefile: Include Makeconfig. Build pt_chown only if
26618 build-pt-chown is enabled.
26619 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
26620 pt_chown to fix pty ownership.
26621 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
26622 CLOSE_ALL_FDS.
26623 * manual/install.texi (Configuring and compiling): Mention
26624 --enable-pt_chown. Add @findex for grantpt.
26625 * INSTALL: Regenerate.
26626
da2d62df
DM
266272013-07-20 David S. Miller <davem@davemloft.net>
26628
26629 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
26630 difference between 32-bit and 64-bit.
26631
d7e06450
CD
266322013-07-15 Carlos O'Donell <carlos@redhat.com>
26633
26634 [BZ #15711]
26635 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
26636 Avoid system header dependency with -ffreestanding.
26637 ($(objpfx)bits/syscall%d): Likewise.
26638
f959cfd7
DM
266392013-07-13 David S. Miller <davem@davemloft.net>
26640
26641 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
26642 underflows from atanl/atan2l due to bug 15319.
26643 (casinh_test_data): Likewise.
26644
c61f8513
DM
266452013-07-07 David S. Miller <davem@davemloft.net>
26646
26647 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
26648
72c90ed0
JA
266492013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
26650
26651 * sysdeps/i386/fpu/libm-test-ulps: Update.
26652 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26653
52dfbe13
SP
266542013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26655
26656 * configure.in (--enable-lock-elision): Fix message text.
26657 * INSTALL: Regenerate.
26658 * configure: Regenerate.
26659
3f169543
AZ
266602013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26661
26662 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26663
521c6785
AJ
266642013-07-03 Andreas Jaeger <aj@suse.de>
26665
26666 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
26667 define.
26668 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
26669 (ptrace_peeksiginfo_args): Add.
26670 (__ptrace_peeksiginfo_flags): Add.
26671 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
26672 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
26673 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
26674
d2cc15cb
AM
266752013-07-03 Allan McRae <allan@archlinux.org>
26676
26677 * sysdeps/i386/fpu/libm-test-ulps: Update.
26678
3aaeeca7
DM
266792013-07-02 David S. Miller <davem@davemloft.net>
26680
26681 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26682
5314ed1a
MT
266832013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
26684
26685 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26686
67338156
JM
266872013-07-02 Joseph Myers <joseph@codesourcery.com>
26688
26689 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
26690 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26691
1717da59
AK
266922013-07-02 Andi Kleen <ak@linux.intel.com>
26693
26694 * config.h.in (ENABLE_LOCK_ELISION): Add.
26695 * configure.in (--enable-lock-elision): Add option.
26696 * manual/install.texi: Document --enable lock elision.
26697 * configure: Regenerate
26698 * INSTALL: Regenerate.
26699
1c81621c
L
267002013-07-02 H.J. Lu <hongjiu.lu@intel.com>
26701
26702 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
26703 SSE4.2 strcasecmp for libc.a.
26704 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
26705
77f01ab5
JM
267062013-07-02 Joseph Myers <joseph@codesourcery.com>
26707
26708 [BZ #13304]
26709 * soft-fp/op-common.h (_FP_FMA): New macro.
26710 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
26711 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
26712 (_FP_MUL_MEAT_1_imm): ... here.
26713 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
26714 (_FP_MUL_MEAT_1_wide): ... here.
26715 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
26716 (_FP_MUL_MEAT_1_hard): ... here.
26717 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
26718 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
26719 (_FP_MUL_MEAT_2_wide): ... here.
26720 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
26721 (_FP_MUL_MEAT_2_wide_3mul): ... here.
26722 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
26723 (_FP_MUL_MEAT_2_gmp): ... here.
26724 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
26725 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
26726 (_FP_MUL_MEAT_4_wide): ... here.
26727 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
26728 (_FP_MUL_MEAT_4_gmp): ... here.
26729 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
26730 (_FP_WFRACBITS_DW_S): Likewise.
26731 (_FP_WFRACXBITS_DW_S): Likewise.
26732 (_FP_HIGHBIT_DW_S): Likewise.
26733 (FP_FMA_S): Likewise.
26734 (_FP_FRAC_HIGH_DW_S): Likewise.
26735 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
26736 (_FP_WFRACBITS_DW_D): Likewise.
26737 (_FP_WFRACXBITS_DW_D): Likewise.
26738 (_FP_HIGHBIT_DW_D): Likewise.
26739 (FP_FMA_D): Likewise.
26740 (_FP_FRAC_HIGH_DW_D): Likewise.
26741 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
26742 (_FP_WFRACBITS_DW_E): Likewise.
26743 (_FP_WFRACXBITS_DW_E): Likewise.
26744 (_FP_HIGHBIT_DW_E): Likewise.
26745 (FP_FMA_E): Likewise.
26746 (_FP_FRAC_HIGH_DW_E): Likewise.
26747 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
26748 (_FP_WFRACBITS_DW_Q): Likewise.
26749 (_FP_WFRACXBITS_DW_Q): Likewise.
26750 (_FP_HIGHBIT_DW_Q): Likewise.
26751 (FP_FMA_Q): Likewise.
26752 (_FP_FRAC_HIGH_DW_Q): Likewise.
26753 * soft-fp/fmasf4.c: New file.
26754 * soft-fp/fmadf4.c: Likewise.
26755 * soft-fp/fmatf4.c: Likewise.
26756
6308fd9a
LD
267572013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26758
26759 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
26760 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
26761 Silvermont.
26762 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
26763 macro.
26764 (index_Slow_SSE4_2): Likewise.
26765 (index_Prefer_PMINUB_for_stringop): Likewise.
26766 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
26767 bit_Slow_SSE4_2 is set.
26768 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
26769 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
26770
89cd9569
RA
267712013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26772
26773 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
26774 rtld_global._dl_hwcap2.
26775 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
26776 POWER8.
26777 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
26778 POWER8 feature descriptions defined in _dl_hwcap2.
26779 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
26780 string handling for POWER8 feature bits.
26781 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
26782 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
26783 _dl_powerpc_cap_flags.
26784 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
26785 * sysdeps/powerpc/rtld-global-offsets.sym
26786 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
26787 _dl_hwcap2 in the rtld_global_ro structure.
26788
1ae8bfe0
RA
267892013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26790
26791 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
26792 hardware capabilities in support of AT_HWCAP2.
26793 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
26794 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
26795 GLRO(dl_hwcap2).
26796 (_dl_show_auxv): Add support for calling _dl_procinfo to display
26797 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
26798 explicitly the unknown a_type display mechanism is used.
26799 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
26800 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
26801 struct member.
26802 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
26803 to macro prototype for AT_HWCAP2 support.
26804 * sysdeps/i386/dl-procinfo.h: Likewise.
26805 * sysdeps/s390/dl-procinfo.h: Likewise.
26806 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
26807 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
26808 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
26809 return -1 for unknown a_type display fallback.
26810 * sysdeps/sparc/dl-procinfo.h: Likewise.
26811 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
26812 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
26813
8fbec010
JM
268142013-06-28 Joseph Myers <joseph@codesourcery.com>
26815
26816 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
26817 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
26818
0432680e
PY
268192013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
26820
26821 [BZ #12492]
26822 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
26823 mprotect making __stack_prot writable.
26824
ce61a2ad
NF
268252013-06-28 Nathan Froyd <froydnj@codesourcery.com>
26826 Joseph Myers <joseph@codesourcery.com>
26827
26828 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
26829 as being properly aligned.
26830
f91f1c0f
MR
268312013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
26832
3d0f5d0c
MR
26833 * dlfcn/modstatic5.c: New file.
26834 * dlfcn/tststatic5.c: New file.
26835 * dlfcn/Makefile (tests): Add tststatic5.
26836 (tests-static): Likewise.
26837 (modules-names): Add modstatic5.
26838 (tststatic5-ENV): New variable.
26839 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
26840
f91f1c0f
MR
26841 [BZ #15022]
26842 * elf/dl-support.c (_dl_main_map): New variable.
26843 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
26844 (_dl_nns, _dl_load_adds): Set to 1.
26845 (_dl_initial_searchlist): Refer to _dl_main_map.
26846 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
26847 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
26848 call to _dl_get_origin.
26849 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
26850 around call_map.
26851 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
26852 * dlfcn/modstatic3.c: New file.
26853 * dlfcn/tststatic3.c: New file.
26854 * dlfcn/tststatic4.c: New file.
26855 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
26856 (tests-static): Likewise.
26857 (modules-names): Add modstatic3.
26858 (tststatic3-ENV, tststatic4-ENV): New variables.
26859 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
26860 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
26861
cbe7d24b
JM
268622013-06-26 Joseph Myers <joseph@codesourcery.com>
26863
26864 * configure.in (CC): Require GCC version 4.4 or later.
26865 * configure: Regenerated.
26866 * manual/install.texi (Tools for Compilation): Update GCC version
26867 requirement.
26868 * INSTALL: Regenerated.
26869
11b8a0e1
LD
268702013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26871
26872 [BZ #15674]
bb5bb87c
L
26873 * string/test-memcmp.c (check2): New.
26874 (main): Call check2.
26875
11b8a0e1
LD
26876 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
26877
b0037103
MR
268782013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
26879
26880 [BZ #15022]
26881 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
26882 over to...
26883 (dl_open_worker) [!SHARED]: ... here.
26884
c18c701d
RA
268852013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26886
26887 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
26888
1d17fa5f
RH
268892013-06-25 Richard Henderson <rth@redhat.com>
26890
26891 * locale/programs/locarchive.c: Include <libc-internal.h>
26892
8fcb833a
JM
268932013-06-25 Joseph Myers <joseph@codesourcery.com>
26894
26895 * manual/texinfo.tex: Update to version 2013-06-21.17, with
26896 trailing whitespace removed.
26897
17db6e8d
MF
268982013-06-24 Mike Frysinger <vapier@gentoo.org>
26899
26900 [BZ #10283]
17db6e8d
MF
26901 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
26902 * locale/programs/locarchive.c: Include libc-mmap.h.
26903 (prepare_address_space): Take two new outputs (the mmap base and len).
26904 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
26905 values.
26906 (create_archive): Declare new mmap base and len values for
26907 prepare_address_space, and store the result in ah.
26908 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
26909 (enlarge_archive): If ah->mmap_base is not NULL, use that and
26910 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
26911 Declare new mmap base and len values for
26912 prepare_address_space, and store the result in new_ah.
26913 (open_archive): Declare new mmap base and len values for
26914 prepare_address_space, and store the result in ah.
26915 (close_archive): If ah->mmap_base is not NULL, use that and
26916 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
26917 * sysdeps/generic/libc-mmap.h: New file.
26918
d605071e
MF
269192013-06-24 Mike Frysinger <vapier@gentoo.org>
26920
26921 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
26922 (ALIGN_UP): Likewise.
26923 (PTR_ALIGN_DOWN): Likewise.
26924 (PTR_ALIGN_UP): Likewise.
26925
2f063a6e
RA
269262013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26927
26928 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
26929 entry mapped to PPC_PLATFORM_POWER8.
26930 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
26931 POWER8.
26932 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
26933 (_dl_string_platform): Add case for exporting platform position for
26934 POWER8.
26935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
26936 search path to sysdeps/powerpc/powerpc32/power8 directory.
26937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
26938 search path to sysdeps/powerpc/powerpc64/power8 directory.
26939 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
26940 power7 directories.
26941 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
26942 power7 directories.
26943
a31ee4b3
SP
269442013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
26945
a74ca98f
SP
26946 * INSTALL: Regenerate.
26947
a31ee4b3
SP
26948 * nscd/connections.c (nscd_init): Fix comment.
26949
695c378f
JM
269502013-06-22 Joseph Myers <joseph@codesourcery.com>
26951
d8412221
JM
26952 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
26953
695c378f
JM
26954 [BZ #15667]
26955 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
26956 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
26957
d1d54715
MR
269582013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
26959
26960 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
26961 DL_DST_REQ_STATIC.
26962 (DL_DST_REQ_STATIC): Remove macro.
26963
8fdda7af
JM
269642013-06-21 Joseph Myers <joseph@codesourcery.com>
26965
26966 [BZ #7006]
26967 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
26968 with a shift of 0 bits.
26969
f3bc5e5a
MR
269702013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
26971
26972 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
26973 $(tststatic-ENV).
26974
be09e8c9
KK
269752013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26976
26977 [BZ #15655]
26978 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
26979
85c2e611
AZ
269802013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26981
26982 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
26983 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
26984 accepts -fno-tree-loop-distribute-patterns.
26985 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
26986 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
26987 recursive call.
26988 * string/memset.c (memset): Likewise.
26989 * string/test-memmove.c (simple_memmove): Disable loop transformation
26990 to library calls.
26991 * string/test-memset.c (simple_memset): Likewise.
26992 * benchtests/bench-memmove.c (simple_memmove): Likewise.
26993 * benchtests/bench-memset.c (simple_memset): Likewise.
26994 * configure: Regenerated.
26995
c91e0825
JM
269962013-06-20 Joseph Myers <joseph@codesourcery.com>
26997
b8c792af
JM
26998 * math/test-misc.c (main): Ignore fesetround failure when failures
26999 of subsequent rounding tests would be ignored.
27000
c91e0825
JM
27001 [BZ #15654]
27002 * math/fedisblxcpt.c (fedisableexcept): Return 0.
27003 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
27004 * math/fegetenv.c (__fegetenv): Return 0.
27005 * math/fegetexcept.c (fegetexcept): Return 0.
27006 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
27007 FE_TONEAREST.
27008 * math/feholdexcpt.c (feholdexcept): Return 0.
27009 * math/fesetenv.c (__fesetenv): Return 0.
27010 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
27011 argument FE_TONEAREST.
27012 * math/feupdateenv.c (__feupdateenv): Return 0.
27013 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
27014
bfcacbde
RM
270152013-06-18 Roland McGrath <roland@hack.frob.com>
27016
27017 * elf/rtld-Rules (rtld-compile-command.S): New variable.
27018 (rtld-compile-command.s, rtld-compile-command.c): New variables.
27019 ($(objpfx)rtld-%.os rules): Use them.
27020
e55a9b25
AZ
270212013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27022
27023 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
27024 fields.
27025
346d65b3
RM
270262013-06-17 Roland McGrath <roland@hack.frob.com>
27027
12086fb4
RM
27028 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
27029 length of target pattern, then descending length of dependency pattern.
27030 * configure.in (AWK): Require gawk 3.1.2 or newer.
27031 * manual/install.texi (Tools for Compilation): Say that we do.
27032 * configure: Regenerated.
27033
346d65b3
RM
27034 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
27035 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
27036 * scripts/sysd-rules.awk: ... this new script.
27037 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
27038 than a glob-style pattern.
27039
1a846317
JM
270402013-06-17 Joseph Myers <joseph@codesourcery.com>
27041
27042 * math/test-misc.c (main): Do not treat incorrectly rounded
27043 conversions as failure unless ROUNDING_TESTS passes.
27044
8fc75e6f
JM
270452013-06-15 Joseph Myers <joseph@codesourcery.com>
27046
3711a167
JM
27047 [BZ #15631]
27048 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
27049 restore exception state around main square root computation, then
27050 check for inexactness explicitly.
27051
8fc75e6f
JM
27052 * math/libm-test.inc (fma_test_data): Add another test.
27053
61dd6208
SP
270542013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
27055
adf23d2c
SP
27056 * manual/threads.texi (Non-POSIX Extensions): New document
27057 node. Document pthread_getattr_default_np and
27058 pthread_setattr_default_np.
27059
61dd6208
SP
27060 * Versions.def (libpthread): Add GLIBC_2.18.
27061 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
27062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
27063 Likewise.
27064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
27065 Likewise.
27066 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27067 Likewise.
27068 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27069 Likewise.
27070 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
27071 Likewise.
27072 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
27073 Likewise.
27074 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
27075 Likewise.
27076 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
27077 Likewise.
27078 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
27079 Likewise.
27080
d086fc7b
LD
270812013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27082
27083 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27084 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
27085
747ef469
SP
270862013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
27087 H.J. Lu <hjl.tools@gmail.com>
27088
27089 [BZ #15627]
27090 * sysdeps/x86_64/rtld-memset.c: Remove file.
27091 * sysdeps/x86_64/rtld-memset.S: New file.
27092
1b2feed2
JM
270932013-06-14 Joseph Myers <joseph@codesourcery.com>
27094
27095 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
27096 (test_in_one_mode): Take arguments for whether the rounding mode
27097 is supported for each floating-point type.
27098 (do_test): Pass new arguments to test_in_one_mode using
27099 ROUNDING_TESTS.
27100
a58ad3f8
RM
271012013-06-13 Roland McGrath <roland@hack.frob.com>
27102
27103 * posix/tst-waitid.c (do_test): Distinguish different instances of
27104 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
27105 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
27106 before entering the kernel for waitpid.
27107
c204ab28
SP
271082013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
27109
27110 * NEWS: Fix note on clock function precision. Text by Roland
27111 McGrath.
27112
f4a29fba
RM
271132013-06-13 Roland McGrath <roland@hack.frob.com>
27114
27115 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
27116 it into place only when and if the sanity check passes.
27117
1f24b9ad
JM
271182013-06-13 Joseph Myers <joseph@codesourcery.com>
27119
27120 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
27121 output for whether conversion result is exact. Take argument
27122 indicating whether type is IBM long double.
27123 (round_for_all): Change need_exact field to ibm_ld.
27124 * stdlib/tst-strtod-round.c (struct exactness): New type.
27125 (struct test): Change bool ld_ok field to struct exactness exact.
27126 (TEST): Update all definitions for change to field.
27127 (tests): Regenerate array contents.
27128 (test_in_one_mode): Take pointer to new field instead of old ld_ok
27129 field value. Check for IBM long double here.
27130 (do_test): Update calls to test_in_one_mode.
27131
58206c68
SP
271322013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
27133
27134 [BZ #12515]
27135 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
27136 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
27137
2d6f4c5b 271382013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
27139
27140 [BZ #15605]
27141 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
27142 generated by the compiler on loop optimizations.
27143 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
27144 general definitions.
27145
94f2c076
JM
271462013-06-12 Joseph Myers <joseph@codesourcery.com>
27147
27148 * math/bug-nextafter.c: Include <math-tests.h>.
27149 (main): Only test for exceptions if EXCEPTION_TESTS is true for
27150 the relevant type.
27151 * math/bug-nexttoward.c: Include <math-tests.h>.
27152 (main): Only test for exceptions if EXCEPTION_TESTS is true for
27153 the relevant type.
27154 * math/test-misc.c: Include <math-tests.h>.
27155 (main): Only test for exceptions if EXCEPTION_TESTS is true for
27156 the relevant type.
27157
e0e50a0a
AJ
271582013-06-12 Andreas Jaeger <aj@suse.de>
27159
27160 * po/ia.po: Update Interlingua translation from translation
27161 project.
27162
25061094
SP
271632013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
27164
27165 * include/fenv.h: Include stdbool.h.
27166 (struct rm_ctx): New structure.
27167 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
27168 Define macro.
27169 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
27170 (SET_RESTORE_ROUNDF): Likewise.
27171 (SET_RESTORE_ROUNDL): Likewise.
27172 (SET_RESTORE_ROUND_NOEX): Likewise.
27173 (SET_RESTORE_ROUND_NOEXF): Likewise.
27174 (SET_RESTORE_ROUND_NOEXL): Likewise.
27175 (SET_RESTORE_ROUND_53BIT): Likewise.
27176 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
27177 (libc_feresetround_noexf_ctx): Likewise.
27178 (libc_feresetround_noexl_ctx): Likewise.
27179 (libc_feholdsetround_53bit_ctx): Likewise.
27180 (libc_feresetround_53bit_ctx): Likewise.
27181 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
27182 (libc_feholdexcept_setround_sse_ctx): New function.
27183 (libc_fesetenv_sse_ctx): Likewise.
27184 (libc_feupdateenv_sse_ctx): Likewise.
27185 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
27186 (libc_feholdexcept_setround_387_ctx): Likewise.
27187 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
27188 (libc_feholdsetround_387_prec_ctx): Likewise.
27189 (libc_feholdsetround_387_ctx): Likewise.
27190 (libc_feholdsetround_387_53bit_ctx): Likewise.
27191 (libc_feholdsetround_sse_ctx): Likewise.
27192 (libc_feresetround_sse_ctx): Likewise.
27193 (libc_feresetround_387_ctx): Likewise.
27194 (libc_feupdateenv_387_ctx): Likewise.
27195 (libc_feholdexcept_setroundf_ctx): Define macro.
27196 (libc_fesetenvf_ctx): Likewise.
27197 (libc_feupdateenvf_ctx): Likewise.
27198 (libc_feholdsetroundf_ctx): Likewise.
27199 (libc_feresetroundf_ctx): Likewise.
27200 (libc_feholdexcept_setround_ctx): Likewise.
27201 (libc_fesetenv_ctx): Likewise.
27202 (libc_feupdateenv_ctx): Likewise.
27203 (libc_feholdsetround_ctx): Likewise.
27204 (libc_feresetround_ctx): Likewise.
27205 (libc_feholdexcept_setroundl_ctx): Likewise.
27206 (libc_feupdateenvl_ctx): Likewise.
27207 (libc_feholdsetroundl_ctx): Likewise.
27208 (libc_feresetroundl_ctx): Likewise.
27209 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
27210 (libc_feresetround_53bit_ctx): Likewise.
27211
59b30555
SP
272122013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
27213
27214 * locale/iso-639.def: Convert to UTF-8.
27215
f1d73d30
JM
272162013-06-11 Joseph Myers <joseph@codesourcery.com>
27217
27218 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
27219 (EXCEPTION_TESTS_double): Likewise.
27220 (EXCEPTION_TESTS_long_double): Likewise.
27221 (EXCEPTION_TESTS): Likewise.
27222 * math/libm-test.inc (test_exceptions): Only test exceptions if
27223 EXCEPTION_TESTS (FLOAT).
27224
94aca5e7
SP
272252013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
27226
27227 * benchtests/Makefile (string-bench): Add strcpy_chk and
27228 stpcpy_chk.
27229 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
27230 * benchtests/bench-stpcpy_chk.c: New file.
27231 * benchtests/bench-strcpy_chk-ifunc.c: New file.
27232 * benchtests/bench-strcpy_chk.c: New file.
27233 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
27234 code.
27235 (do_test): Likewise.
27236
fac0c5f2
RA
272372013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
27238
27239 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
27240 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
27241 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
27242 with tabs where appropriate.
27243 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
27244 dl-procinfo.h.
27245 [PPC_PLATFORM_PPC440]: Likewise.
27246 [PPC_PLATFORM_PPC464]: Likewise.
27247 [PPC_PLATFORM_PPC476]: Likewise.
27248 (_dl_string_platform): Add support for detecting ppc405, ppc440,
27249 ppc464, and ppc476 platform strings merging from ports/
27250 dl-procinfo.h.
27251
f22bc486
AS
272522013-06-11 Andreas Schwab <schwab@suse.de>
27253
27254 [BZ #14991]
27255 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
27256 (from_ucs4_idx): Regenerate.
27257 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
27258 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
27259 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
27260 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
27261 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
27262 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
27263 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
27264 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
27265 from FROM_LOOP and TO_LOOP specific macros.
27266 (BODY): Handle combining characters.
27267 * iconvdata/BIG5HKSCS.irreversible: Update.
27268 * iconvdata/BIG5HKSCS.precomposed: New file.
27269 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
27270 characters.
27271 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
27272
c1f75dc3
SP
272732013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
27274
4eacded2
SP
27275 * include/sys/time.h: Fix indentation and add copyright header.
27276
fec799f8
SP
27277 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
27278 (do_test): Likewise.
27279 * string/test-memchr.c (do_one_test): Likewise.
27280 (do_test): Likewise.
27281 * string/test-memcmp.c (do_one_test): Likewise.
27282 (do_test): Likewise.
27283 * string/test-memcpy.c (do_one_test): Likewise.
27284 (do_test): Likewise.
27285 * string/test-memmem.c (do_one_test): Likewise.
27286 (do_test): Likewise.
27287 (do_random_tests): Likewise.
27288 * string/test-memmove.c (do_one_test): Likewise.
27289 (do_test): Likewise.
27290 * string/test-memset.c (do_one_test): Likewise.
27291 (do_test): Likewise.
27292 * string/test-rawmemchr.c (do_one_test): Likewise.
27293 (do_test): Likewise.
27294 * string/test-strcasecmp.c (do_one_test): Likewise.
27295 (do_test): Likewise.
27296 * string/test-strcasestr.c (do_one_test): Likewise.
27297 (do_test): Likewise.
27298 * string/test-strcat.c (do_one_test): Likewise.
27299 (do_test): Likewise.
27300 * string/test-strchr.c (do_one_test): Likewise.
27301 (do_test): Likewise.
27302 * string/test-strcmp.c (do_one_test): Likewise.
27303 (do_test): Likewise.
27304 * string/test-strcpy.c (do_one_test): Likewise.
27305 (do_test): Likewise.
27306 * string/test-string.h: Likewise.
27307 (test_init): Likewise.
27308 * string/test-strlen.c (do_one_test): Likewise.
27309 (do_test): Likewise.
27310 * string/test-strncasecmp.c (do_one_test): Likewise.
27311 (do_test): Likewise.
27312 * string/test-strncat.c (do_one_test): Likewise.
27313 (do_test): Likewise.
27314 * string/test-strncmp.c (do_one_test): Likewise.
27315 (do_test_limit): Likewise.
27316 (do_test): Likewise.
27317 * string/test-strncpy.c (do_one_test): Likewise.
27318 (do_test): Likewise.
27319 * string/test-strnlen.c (do_one_test): Likewise.
27320 (do_test): Likewise.
27321 * string/test-strpbrk.c (do_one_test): Likewise.
27322 (do_test): Likewise.
27323 * string/test-strrchr.c (do_one_test): Likewise.
27324 (do_test): Likewise.
27325 * string/test-strspn.c (do_one_test): Likewise.
27326 (do_test): Likewise.
27327 * string/test-strstr.c (do_one_test): Likewise.
27328 (do_test): Likewise.
27329
97020474
SP
27330 * benchtests/Makefile (string-bench): Add string benchmarks.
27331 * benchtests/bench-bcopy-ifunc.c: New file.
27332 * benchtests/bench-bcopy.c: New file.
27333 * benchtests/bench-bzero-ifunc.c: New file.
27334 * benchtests/bench-bzero.c: New file.
27335 * benchtests/bench-memccpy-ifunc.c: New file.
27336 * benchtests/bench-memccpy.c: New file.
27337 * benchtests/bench-memchr-ifunc.c: New file.
27338 * benchtests/bench-memchr.c: New file.
27339 * benchtests/bench-memcmp-ifunc.c: New file.
27340 * benchtests/bench-memcmp.c: New file.
27341 * benchtests/bench-memmem-ifunc.c: New file.
27342 * benchtests/bench-memmem.c: New file.
27343 * benchtests/bench-memmove-ifunc.c: New file.
27344 * benchtests/bench-memmove.c: New file.
27345 * benchtests/bench-mempcpy-ifunc.c: New file.
27346 * benchtests/bench-mempcpy.c: New file.
27347 * benchtests/bench-memset-ifunc.c: New file.
27348 * benchtests/bench-memset.c: New file.
27349 * benchtests/bench-rawmemchr-ifunc.c: New file.
27350 * benchtests/bench-rawmemchr.c: New file.
27351 * benchtests/bench-stpcpy-ifunc.c: New file.
27352 * benchtests/bench-stpcpy.c: New file.
27353 * benchtests/bench-stpncpy-ifunc.c: New file.
27354 * benchtests/bench-stpncpy.c: New file.
27355 * benchtests/bench-strcasecmp-ifunc.c: New file.
27356 * benchtests/bench-strcasecmp.c: New file.
27357 * benchtests/bench-strcasestr-ifunc.c: New file.
27358 * benchtests/bench-strcasestr.c: New file.
27359 * benchtests/bench-strcat-ifunc.c: New file.
27360 * benchtests/bench-strcat.c: New file.
27361 * benchtests/bench-strchr-ifunc.c: New file.
27362 * benchtests/bench-strchr.c: New file.
27363 * benchtests/bench-strchrnul-ifunc.c: New file.
27364 * benchtests/bench-strchrnul.c: New file.
27365 * benchtests/bench-strcmp-ifunc.c: New file.
27366 * benchtests/bench-strcmp.c: New file.
27367 * benchtests/bench-strcpy-ifunc.c: New file.
27368 * benchtests/bench-strcpy.c: New file.
27369 * benchtests/bench-strcspn-ifunc.c: New file.
27370 * benchtests/bench-strcspn.c: New file.
27371 * benchtests/bench-strlen-ifunc.c: New file.
27372 * benchtests/bench-strlen.c: New file.
27373 * benchtests/bench-strncasecmp-ifunc.c: New file.
27374 * benchtests/bench-strncasecmp.c: New file.
27375 * benchtests/bench-strncat-ifunc.c: New file.
27376 * benchtests/bench-strncat.c: New file.
27377 * benchtests/bench-strncmp-ifunc.c: New file.
27378 * benchtests/bench-strncmp.c: New file.
27379 * benchtests/bench-strncpy-ifunc.c: New file.
27380 * benchtests/bench-strncpy.c: New file.
27381 * benchtests/bench-strnlen-ifunc.c: New file.
27382 * benchtests/bench-strnlen.c: New file.
27383 * benchtests/bench-strpbrk-ifunc.c: New file.
27384 * benchtests/bench-strpbrk.c: New file.
27385 * benchtests/bench-strrchr-ifunc.c: New file.
27386 * benchtests/bench-strrchr.c: New file.
27387 * benchtests/bench-strspn-ifunc.c: New file.
27388 * benchtests/bench-strspn.c: New file.
27389 * benchtests/bench-strstr-ifunc.c: New file.
27390 * benchtests/bench-strstr.c: New file.
27391
c1f75dc3
SP
27392 * benchtests/Makefile: Disable parallel execution of targets.
27393 (string-bench): Add memcpy.
27394 (benchset): New variable to store a list of benchmark sets.
27395 (bench-func): Renamed from bench.
27396 (bench-set): New target.
27397 (bench): Depend on bench-func and bench-set.
27398 * benchtests/README: Add section on benchmark sets.
27399 * benchtests/bench-memcpy-ifunc.c: New file.
27400 * benchtests/bench-memcpy.c: New file.
27401 * benchtests/bench-string.h: New file.
27402
50fd745b
AS
274032013-06-11 Andreas Schwab <schwab@suse.de>
27404
27405 [BZ #15577]
27406 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
27407 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
27408 values in the triple.
27409 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
27410 terminator in the group key.
27411
3ee7e9fe
AJ
274122013-06-11 Andreas Jaeger <aj@suse.de>
27413
27414 * po/zh_TW.po: Update Chinese (traditional) translation from
27415 translation project.
27416
89fb6835
SP
274172013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
27418
27419 * include/time.h (__clock_gettime): Add libc_hidden_proto.
27420 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
27421 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
27422 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
27423 (clock_getcpuclockid): Likewise.
27424 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
27425 Add weak_alias and libc_hidden_def.
27426 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
27427 * rt/clock_gettime.c (clock_gettime): Rename to
27428 __clock_gettime. Add weak_alias and libc_hidden_def.
27429 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
27430 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
27431 __clock_nanosleep. Add weak_alias and libc_hidden_def.
27432 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
27433 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
27434 Likewise.
27435 * rt/clock_settime.c (clock_settime): Rename to
27436 __clock_settime. Add weak_alias and libc_hidden_def.
27437 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
27438
0efa6f8b
JM
274392013-06-10 Joseph Myers <joseph@codesourcery.com>
27440
b8c61b4b
JM
27441 * mach/err_boot.sub: Remove trailing whitespace.
27442 * mach/err_ipc.sub: Likewise.
27443 * mach/err_mach.sub: Likewise.
27444
0efa6f8b
JM
27445 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
27446 (ROUNDING_TESTS_double): Likewise.
27447 (ROUNDING_TESTS_long_double): Likewise.
27448 (ROUNDING_TESTS): Likewise.
27449 * math/libm-test.inc: Include <math-tests.h>.
27450 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
27451 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
27452 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
27453 (IF_ROUND_INIT_FE_UPWARD): Likewise.
27454
50b818bf
SP
274552013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
27456
27457 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
27458 of assigning.
27459
60d2f8f3
JM
274602013-06-08 Joseph Myers <joseph@codesourcery.com>
27461
4902d2c3
JM
27462 * sysdeps/gnu/errlist.awk: Do not generate space at end of
27463 otherwise empty TRANS lines.
27464 * sysdeps/gnu/errlist.c: Regenerated.
27465
60d2f8f3
JM
27466 * catgets/gencat.c (error_print): Use (void) in function
27467 definition.
27468 * crypt/crypt_util.c (__init_des): Likewise.
27469 * crypt/speeds.c (Stop): Likewise.
27470 (main): Likewise.
27471 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
27472 * inet/ruserpass.c (token): Likewise.
27473 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
27474 * intl/localealias.c (extend_alias_table): Likewise.
27475 * intl/plural-exp.c (init_germanic_plural): Likewise.
27476 * libio/fcloseall.c (__fcloseall): Likewise.
27477 * libio/genops.c (_IO_flush_all): Likewise.
27478 (_IO_flush_all_linebuffered): Likewise.
27479 (_IO_cleanup): Likewise.
27480 (_IO_iter_begin): Likewise.
27481 (_IO_iter_end): Likewise.
27482 (_IO_list_lock): Likewise.
27483 (_IO_list_unlock): Likewise.
27484 (_IO_list_resetlock): Likewise.
27485 * libio/getchar.c (getchar): Likewise.
27486 * libio/getchar_u.c (getchar_unlocked): Likewise.
27487 * libio/getwchar.c (getwchar): Likewise.
27488 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
27489 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
27490 * login/getpt.c (__getpt): Likewise.
27491 * login/tst-utmp.c (main): Likewise.
27492 * malloc/hooks.c (__malloc_check_init): Likewise.
27493 * malloc/malloc.c (__malloc_stats): Likewise.
27494 * malloc/mtrace.c (tr_break): Likewise.
27495 (mtrace): Likewise.
27496 (muntrace): Likewise.
27497 * misc/fstab.c (endfsent): Likewise.
27498 * misc/getclktck.c (__getclktck): Likewise.
27499 * misc/getdtsz.c (__getdtablesize): Likewise.
27500 * misc/gethostid.c (gethostid): Likewise.
27501 * misc/getpagesize.c (__getpagesize): Likewise.
27502 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
27503 (__get_nprocs): Likewise.
27504 (__get_phys_pages): Likewise.
27505 (__get_avphys_pages): Likewise.
27506 * misc/getttyent.c (getttyent): Likewise.
27507 (setttyent): Likewise.
27508 (endttyent): Likewise.
27509 * misc/getusershell.c (getusershell): Likewise.
27510 (endusershell): Likewise.
27511 (setusershell): Likewise.
27512 (initshells): Likewise.
27513 * misc/hsearch.c (__hdestroy): Likewise.
27514 * misc/sync.c (sync): Likewise.
27515 * misc/syslog.c (closelog_internal): Likewise.
27516 (closelog): Likewise.
27517 * misc/ttyslot.c (ttyslot): Likewise.
27518 * misc/vhangup.c (vhangup): Likewise.
27519 * posix/fork.c (__fork): Likewise.
27520 * posix/getegid.c (__getegid): Likewise.
27521 * posix/geteuid.c (__geteuid): Likewise.
27522 * posix/getgid.c (__getgid): Likewise.
27523 * posix/getpid.c (__getpid): Likewise.
27524 * posix/getppid.c (__getppid): Likewise.
27525 * posix/getuid.c (__getuid): Likewise.
27526 * posix/pause.c (pause): Likewise.
27527 * posix/setpgrp.c (setpgrp): Likewise.
27528 * posix/setsid.c (__setsid): Likewise.
27529 * posix/test-vfork.c (noop): Likewise.
27530 * resolv/gethnamaddr.c (_endhtent): Likewise.
27531 (_gethtent): Likewise.
27532 (ht_endhostent): Likewise.
27533 (gethostent): Likewise.
27534 (dns_service): Likewise.
27535 * stdlib/drand48.c (drand48): Likewise.
27536 * stdlib/lrand48.c (lrand48): Likewise.
27537 * stdlib/mrand48.c (mrand48): Likewise.
27538 * stdlib/rand.c (rand): Likewise.
27539 * stdlib/random.c (__random): Likewise.
27540 * stdlib/setenv.c (clearenv): Likewise.
27541 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
27542 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
27543 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
27544 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
27545 (__get_nprocs): Likewise.
27546 (__get_phys_pages): Likewise.
27547 (__get_avphys_pages): Likewise.
27548 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
27549 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
27550 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
27551 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
27552 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
27553 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
27554 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
27555 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
27556 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
27557 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
27558 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
27559 * sysdeps/mach/hurd/sync.c (sync): Likewise.
27560 * sysdeps/posix/clock.c (clock): Likewise.
27561 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
27562 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
27563 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
27564 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
27565 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
27566 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
27567 (__get_nprocs_conf): Likewise.
27568 (__get_phys_pages): Likewise.
27569 (__get_avphys_pages): Likewise.
27570 * time/clock.c (clock): Likewise.
27571 * time/tzset.c (__tzname_max): Likewise.
27572
2e09a79a
JM
275732013-06-07 Joseph Myers <joseph@codesourcery.com>
27574
27575 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
27576 (__bswap_32): Do not use "register".
27577 * crypt/crypt.c (_ufc_doit_r): Likewise.
27578 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
27579 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
27580 * gmon/gmon.c (__monstartup): Likewise.
27581 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
27582 * hurd/hurdmalloc.c (more_memory): Likewise.
27583 (malloc): Likewise.
27584 (free): Likewise.
27585 (realloc): Likewise.
27586 (malloc_fork_prepare): Likewise.
27587 (malloc_fork_parent): Likewise.
27588 (malloc_fork_child): Likewise.
27589 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
27590 (_svcauth_des): Likewise.
27591 * inet/inet_lnaof.c (inet_lnaof): Likewise.
27592 * inet/inet_net.c (inet_network): Likewise.
27593 * inet/inet_netof.c (inet_netof): Likewise.
27594 * inet/rcmd.c (__validuser2_sa): Likewise.
27595 * io/fts.c (fts_open): Likewise.
27596 (fts_load): Likewise.
27597 (fts_close): Likewise.
27598 (fts_read): Likewise.
27599 (fts_children): Likewise.
27600 (fts_build): Likewise.
27601 (fts_stat): Likewise.
27602 (fts_sort): Likewise.
27603 (fts_alloc): Likewise.
27604 (fts_lfree): Likewise.
27605 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
27606 (_IO_file_xsgetn): Likewise.
27607 (_IO_file_xsgetn_mmap): Likewise.
27608 * libio/iofopncook.c (_IO_cookie_read): Likewise.
27609 (_IO_cookie_write): Likewise.
27610 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
27611 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
27612 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
27613 * malloc/obstack.c (_obstack_begin): Likewise.
27614 (_obstack_begin_1): Likewise.
27615 (_obstack_newchunk): Likewise.
27616 (_obstack_allocated_p): Likewise.
27617 (obstack_free): Likewise.
27618 (_obstack_memory_used): Likewise.
27619 * misc/getttyent.c (getttynam): Likewise.
27620 (getttyent): Likewise.
27621 (skip): Likewise.
27622 (value): Likewise.
27623 * misc/getusershell.c (initshells): Likewise.
27624 * misc/syslog.c (__vsyslog_chk): Likewise.
27625 * misc/ttyslot.c (ttyslot): Likewise.
27626 * nis/nis_hash.c (__nis_hash): Likewise.
27627 * posix/fnmatch_loop.c (FCT): Likewise.
27628 * posix/getconf.c (print_all): Likewise.
27629 (main): Likewise.
27630 * posix/getopt.c (exchange): Likewise.
27631 * posix/glob.c (globfree): Likewise.
27632 (prefix_array): Likewise.
27633 (__glob_pattern_type): Likewise.
27634 * resolv/arpa/nameser.h (NS_GET16): Likewise.
27635 (NS_GET32): Likewise.
27636 (NS_PUT16): Likewise.
27637 (NS_PUT32): Likewise.
27638 * resolv/gethnamaddr.c (getanswer): Likewise.
27639 (gethostbyname2): Likewise.
27640 (gethostbyaddr): Likewise.
27641 (_gethtent): Likewise.
27642 (_gethtbyname2): Likewise.
27643 (_gethtbyaddr): Likewise.
27644 * resolv/ns_print.c (dst_s_get_int16): Likewise.
27645 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
27646 * resolv/res_init.c (__res_vinit): Likewise.
27647 (net_mask): Likewise.
27648 * resolv/res_mkquery.c (outchar): Likewise.
27649 (PRINT): Likewise.
27650 * stdio-common/printf_fp.c (outchar): Likewise.
27651 (PRINT): Likewise.
27652 * stdio-common/printf_fphex.c (outchar): Likewise.
27653 (PRINT): Likewise.
27654 * stdio-common/printf_size.c (outchar): Likewise.
27655 (PRINT): Likewise.
27656 * stdio-common/test_rdwr.c (main): Likewise.
27657 * stdio-common/tfformat.c (matches): Likewise.
27658 * stdio-common/vfprintf.c (outchar): Likewise.
27659 (printf_unknown): Likewise.
27660 (buffered_vfprintf): Likewise.
27661 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
27662 * stdio-common/xbug.c (AppendToBuffer): Likewise.
27663 (ReadFile): Likewise.
27664 * stdlib/qsort.c (SWAP): Likewise.
27665 (_quicksort): Likewise.
27666 * stdlib/setenv.c (__add_to_environ): Likewise.
27667 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
27668 * stdlib/strtol_l.c (__strtol_l): Likewise.
27669 * stdlib/tst-strtod.c (main): Likewise.
27670 * stdlib/tst-strtol.c (main): Likewise.
27671 * stdlib/tst-strtoll.c (main): Likewise.
27672 * string/bits/string2.h (__strcmp_cc): Likewise.
27673 (__strcmp_cg): Likewise.
27674 (__strcspn_c1): Likewise.
27675 (__strcspn_c2): Likewise.
27676 (__strcspn_c3): Likewise.
27677 (__strspn_c1): Likewise.
27678 (__strspn_c2): Likewise.
27679 (__strspn_c3): Likewise.
27680 (__strsep_1c): Likewise.
27681 (__strsep_2c): Likewise.
27682 (__strsep_3c): Likewise.
27683 * string/memccpy.c (__memccpy): Likewise.
27684 * string/stpcpy.c (__stpcpy): Likewise.
27685 * string/strcmp.c (strcmp): Likewise.
27686 * string/strrchr.c (strrchr): Likewise.
27687 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
27688 Likewise.
27689 * sysdeps/mach/hurd/getcwd.c
27690 (_hurd_canonicalize_directory_name_internal): Likewise.
27691 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
27692 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
27693 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
27694 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
27695 Likewise, in both definitions.
27696 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
27697 definitions.
27698 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
27699 64] (__bswap_64): Likewise.
27700 * time/test_time.c (main): Likewise.
27701 * time/tzfile.c (__tzfile_read): Likewise.
27702 (__tzfile_compute): Likewise.
27703 * time/tzset.c (__tzset_parse_tz): Likewise.
27704 (tzset_internal): Likewise.
27705 (compute_change): Likewise.
27706 * wcsmbs/wcscat.c (__wcscat): Likewise.
27707 * wcsmbs/wcschr.c (wcschr): Likewise.
27708 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
27709 * wcsmbs/wcscspn.c (wcscspn): Likewise.
27710 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
27711 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
27712 * wcsmbs/wcsspn.c (wcsspn): Likewise.
27713 * wcsmbs/wcsstr.c (wcsstr): Likewise.
27714 * wcsmbs/wmemchr.c (wmemchr): Likewise.
27715 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
27716 * wcsmbs/wmemset.c (wmemset): Likewise.
27717
9e54314b
JM
277182013-06-06 Joseph Myers <joseph@codesourcery.com>
27719
27720 * scripts/config.guess: Update to version 2013-05-16.
27721 * scripts/config.sub: Update to version 2013-04-24.
27722 * scripts/install-sh: Update to version 2011-11-20.07.
27723 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
27724 * scripts/move-if-change: Update to version 2012-01-06 07:23.
27725
350635a5
OB
277262013-06-06 Ondřej Bílka <neleai@seznam.cz>
27727
27728 * debug/fgetws_u_chk.c: Fix leading whitespaces.
27729 * elf/sln.c: Likewise.
27730 * hurd/hurd/ioctl.h: Likewise.
27731 * hurd/hurdmalloc.c: Likewise.
27732 * hurd/xattr.c: Likewise.
27733 * include/shlib-compat.h: Likewise.
27734 * inet/ruserpass.c: Likewise.
27735 * libio/iofgets_u.c: Likewise.
27736 * libio/iofgetws_u.c: Likewise.
27737 * locale/programs/ld-identification.c: Likewise.
27738 * locale/programs/ld-time.c: Likewise.
27739 * mach/msg-destroy.c: Likewise.
27740 * nss/nss_files/files-netgrp.c: Likewise.
27741 * resolv/res_data.c: Likewise.
27742 * soft-fp/op-1.h: Likewise.
27743 * soft-fp/op-2.h: Likewise.
27744 * soft-fp/op-4.h: Likewise.
27745 * soft-fp/op-common.h: Likewise.
27746 * stdio-common/printf_fphex.c: Likewise.
27747 * stdlib/strtod_l.c: Likewise.
27748 * sunrpc/rpc/clnt.h: Likewise.
27749 * sysdeps/generic/framestate.c: Likewise.
27750 * sysdeps/i386/bsd-_setjmp.S: Likewise.
27751 * sysdeps/i386/bsd-setjmp.S: Likewise.
27752 * sysdeps/i386/__longjmp.S: Likewise.
27753 * sysdeps/i386/setjmp.S: Likewise.
27754 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27755 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
27756 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27757 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
27758 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
27759 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
27760 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
27761 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
27762 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
27763 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
27764 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
27765 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
27766 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
27767 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
27768 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
27769 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
27770 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
27771 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
27772 * sysdeps/ieee754/support.c: Likewise.
27773 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
27774 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
27775 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
27776 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
27777 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
27778 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
27779 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
27780 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
27781 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
27782 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
27783 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
27784 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
27785 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
27786 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
27787 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
27788 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
27789 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
27790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
27791
44a988af
OB
277922013-06-05 Ondřej Bílka <neleai@seznam.cz>
27793
25506f09 27794 * posix/transbug.c: Remove executable mode.
44a988af 27795
9c84384c
JM
277962013-06-05 Joseph Myers <joseph@codesourcery.com>
27797
27798 * crypt/speeds.c: Remove trailing whitespace.
27799 * dlfcn/default.c: Likewise.
27800 * elf/ifuncdep2.c: Likewise.
27801 * elf/ifuncmain1.c: Likewise.
27802 * elf/ifuncmain1vis.c: Likewise.
27803 * elf/testobj.h: Likewise.
27804 * elf/tst-stackguard1.c: Likewise.
27805 * gmon/sys/gmon.h: Likewise.
27806 * hurd/hurdmsg.c: Likewise.
27807 * hurd/new-fd.c: Likewise.
27808 * hurd/ports-get.c: Likewise.
27809 * iconvdata/ibm1008_420.c: Likewise.
27810 * inet/tst-getni1.c: Likewise.
27811 * inet/tst-getni2.c: Likewise.
27812 * libio/ioungetc.c: Likewise.
27813 * libio/wfiledoalloc.c: Likewise.
27814 * manual/libm-err-tab.pl: Likewise.
27815 * math/w_dremf.c: Likewise.
27816 * misc/ftruncate.c: Likewise.
27817 * posix/bug-glob2.c: Likewise.
27818 * posix/tst-pcre.c: Likewise.
27819 * posix/wait4.c: Likewise.
27820 * resolv/README: Likewise.
27821 * resolv/res_debug.h: Likewise.
27822 * resolv/tst-inet_ntop.c: Likewise.
27823 * setjmp/bug269-setjmp.c: Likewise.
27824 * soft-fp/extended.h: Likewise.
27825 * soft-fp/op-1.h: Likewise.
27826 * soft-fp/op-2.h: Likewise.
27827 * soft-fp/op-4.h: Likewise.
27828 * soft-fp/op-8.h: Likewise.
27829 * soft-fp/testit.c: Likewise.
27830 * stdio-common/bug16.c: Likewise.
27831 * stdlib/random.c: Likewise.
27832 * sunrpc/rpcsvc/rquota.x: Likewise.
27833 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
27834 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
27835 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27836 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
27837 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
27838 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
27839 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
27840 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
27841 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
27842 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
27843 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
27844 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
27845 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
27846 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
27847 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
27848 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
27849 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
27850 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
27851 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
27852 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
27853 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
27854 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
27855 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
27856 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
27857 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
27858 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
27859 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
27860 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
27861 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
27862 * sysdeps/ieee754/s_lib_version.c: Likewise.
27863 * sysdeps/mach/hurd/check_fds.c: Likewise.
27864 * sysdeps/mach/hurd/getsockname.c: Likewise.
27865 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
27866 * sysdeps/mach/hurd/recvfrom.c: Likewise.
27867 * sysdeps/powerpc/bits/link.h: Likewise.
27868 * sysdeps/powerpc/dl-procinfo.c: Likewise.
27869 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
27870 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
27871 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
27872 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
27873 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
27874 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
27875 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
27876 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
27877 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
27878 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
27879 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
27880 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
27881 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
27882 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
27883 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
27884 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
27885 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
27886 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
27887 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
27888 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
27889 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
27890 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
27891 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
27892 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
27893 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
27894 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
27895 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
27896 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
27897 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
27898 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
27899 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
27900 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
27901 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
27902 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
27903 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
27904 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
27905 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
27906 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
27907 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
27908 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
27909 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
27910 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
27911 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
27912 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
27913 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
27914 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
27915 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
27916 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
27917 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
27918 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
27919 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
27920 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
27921 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
27922 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
27923 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
27924 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
27925 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
27926 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
27927 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
27928 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
27929 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
27930 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
27931 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
27932 * sysdeps/powerpc/sysdep.h: Likewise.
27933 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
27934 * sysdeps/s390/s390-64/sub_n.S: Likewise.
27935 * sysdeps/sh/dl-trampoline.S: Likewise.
27936 * sysdeps/sh/memset.S: Likewise.
27937 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
27938 * sysdeps/sh/strlen.S: Likewise.
27939 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
27940 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
27941 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
27942 * sysdeps/sparc/sparc32/rem.S: Likewise.
27943 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
27944 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
27945 * sysdeps/sparc/sparc32/strchr.S: Likewise.
27946 * sysdeps/sparc/sparc32/udiv.S: Likewise.
27947 * sysdeps/sparc/sparc32/urem.S: Likewise.
27948 * sysdeps/sparc/sparc64/add_n.S: Likewise.
27949 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
27950 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
27951 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
27952 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
27953 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
27954 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
27955 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
27956 * sysdeps/unix/bsd/times.c: Likewise.
27957 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
27958 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
27959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
27960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
27961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
27962 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
27963 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
27964 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
27965 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
27966 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
27967 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
27968 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
27969 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
27970 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
27971 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
27972 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
27973 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
27974 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
27975 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
27976 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
27977 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
27978 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
27979 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
27980 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
27981 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
27982 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
27983 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
27984 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
27985 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
27986 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
27987 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
27988 * sysdeps/x86_64/strcspn.S: Likewise.
27989
869378a5
RA
279902013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
27991
27992 * locale/C-translit.h: Revert #include <stdint.h> because this is a
27993 generated file. Regenerate properly from gen-translit.pl.
27994 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
27995 locale/C-translit.h.
27996
840e2943
AS
279972013-06-05 Andreas Schwab <schwab@suse.de>
27998
27999 [BZ #15100]
28000 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
28001 week as 6 instead of -1.
28002 * time/tst-strptime.c (day_tests): Add test case.
28003
4c60cb0c
SP
280042013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
28005
28006 * sysdeps/generic/math_private.h
28007 (libc_feholdexcept_setround_53bit): Replace with
28008 libc_feholdsetround_53bit.
28009 (libc_feupdateenv_53bit): Replace with
28010 libc_feresetround_53bit.
28011 (SET_RESTORE_ROUND_53BIT): Adjust.
28012
d180203e
SP
280132013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
28014
96df079a
SP
28015 * string/test-strchrnul.c: Add copyright header.
28016
d180203e
SP
28017 * posix/tst-getaddrinfo4.c: Increase test timeout.
28018
8b0ccb2d
CD
280192013-06-03 Carlos O'Donell <carlos@redhat.com>
28020
28021 [BZ #15536]
28022 * math/libm-test.inc (MAX_EXP): Remove
28023 (MIN_EXP): Define.
28024 (ulp): Use MIN_EXP - MANT_DIG.
28025 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
28026
3b3c4d40
CD
280272013-05-31 Carlos O'Donell <carlos@redhat.com>
28028
28029 * po/be.po: Revert last change.
28030 * po/zh_CN.po: Likewise.
28031 * po/header.pot: Likewise.
28032
fab7ce3f
JM
280332013-05-31 Joseph Myers <joseph@codesourcery.com>
28034
28035 * Makefile ($(common-objpfx)linkobj/libc.so): Define
28036 link-libc-deps to empty as target-specific variable.
28037 * Makerules (link-libc-args): New variable.
28038 (libc-for-link): Likewise.
28039 (link-libc-deps): Likewise.
28040 (lib%.so): Depend on $(link-libc-deps). Link with
28041 $(link-libc-args).
28042 (build-module): Link with $(link-libc-args).
28043 (build-module-asneeded): Likewise.
28044 (build-module-helper-objlist): Filter out $(link-libc-deps) from
28045 list of objects.
28046 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
28047 target-specific variable.
28048 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
28049 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
28050 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
28051 libc.
28052 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
28053 libc and ld.so.
28054 ($(objpfx)libpcprofile.so): Likewise.
28055 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
28056 libc_nonshared.a.
28057 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
28058 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
28059 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
28060 $(link-libc-deps).
28061 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
28062 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
28063 * login/Makefile ($(objpfx)libutil.so): Likewise.
28064 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
28065 * math/Makefile ($(objpfx)libm.so): Likewise.
28066 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
28067 $(objpfx)libnsl.so): Define libc-for-link as target-specific
28068 variable instead of depending directly on libc.
28069 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
28070 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
28071 $(link-libc-deps).
28072 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
28073 libc.
28074 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
28075 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
28076 ($(objpfx)libanl.so): Likewise.
28077 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
28078 ld.so.
28079 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
28080 $(link-libc-deps).
28081 * sysdeps/i386/fpu/Makefile: Remove file.
28082 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
28083 ($(objpfx)libm.so): Remove dependency on ld.so.
28084
eca5920c
PF
280852013-05-30 Patsy Franklin <pfrankli@redhat.com>
28086
28087 [BZ # 15553]
28088 * nis/yp_xdr.c (XDRMAXNAME): Define.
28089 (XDRMAXRECORD): Define.
28090 (xdr_domainname): Use XDRMAXNAME.
28091 (xdr_mapname): Likewise.
28092 (xdr_peername): Likewise.
28093 (xdr_keydat): Use XDRMAXRECORD.
28094 (xdr_valdat): Likewise.
28095
280962013-05-30 Jeff Law <law@redhat.com>
96945714
JL
28097
28098 [BZ #14256]
28099 * manual/errno.texi (ESTALE): Update to account for more than
28100 just NFS file systems.
28101 * sysdeps/gnu/errlist.c: Regenerated.
28102
b9375348
SP
281032013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
28104
28105 [BZ #15465]
28106 * elf/Makefile (tests): Add tst-null-argv.
28107 (modules-names): Add tst-null-argv-lib.
28108 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
28109 (tst-null-argv-ENV): Set environment for tst-null-argv.
28110 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
28111 (RTLD_PROGNAME): New macro.
28112 * elf/tst-null-argv.c: New test case.
28113 * elf/tst-null-argv-lib.c: Library for test case.
28114 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
28115 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
28116 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
28117 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
28118 * elf/dl-init.c (call_init): Likewise.
28119 (_dl_init): Likewise.
28120 * elf/dl-load.c (print_search_path): Likewise.
28121 (_dl_map_object): Likewise.
28122 * elf/dl-lookup.c (do_lookup_x): Likewise.
28123 (add_dependency): Likewise.
28124 (_dl_lookup_symbol_x): Likewise.
28125 (_dl_debug_bindings): Likewise.
28126 * elf/dl-open.c (_dl_show_scope): Likewise.
28127 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
28128 * elf/dl-version.c (match_symbol): Likewise.
28129 (_dl_check_map_versions): Likewise.
28130 * elf/rtld.c (dl_main): Likewise.
28131 (print_unresolved): Use RTLD_PROGNAME.
28132 (print_missing_version): Likewise.
28133 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
28134 (elf_machine_rela): Likewise.
28135 * sysdeps/powerpc/powerpc32/dl-machine.c
28136 (__process_machine_rela): Likewise.
28137 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
28138 Likewise.
28139 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
28140 Likewise.
28141 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
28142 Likewise.
28143 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
28144 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
28145 Likewise.
28146 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
28147 Likewise.
28148 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
28149
8a9f20c8
CD
281502013-05-28 Carlos O'Donell <carlos@redhat.com>
28151
28152 * po/be.po: Add descriptive title.
28153 * po/zh_CN.po: Likewise.
28154 * po/header.pot: Likewise.
28155
0e60d68e
MF
281562013-05-28 Mike Frysinger <vapier@gentoo.org>
28157
28158 * locale/programs/locarchive.c (create_archive): Inlucde fname in
28159 error message.
28160 (enlarge_archive): Likewise.
28161
56b672e9
BN
281622013-05-28 Ben North <ben@redfrontdoor.org>
28163
28164 * manual/arith.texi (frexp): It is the magnitude of the return
28165 value which lies in [0.5, 1), not the return value itself.
28166
5e056687
AZ
281672013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28168
28169 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28170
2b66ef5d
TS
281712013-05-26 Thomas Schwinge <thomas@codesourcery.com>
28172
528c2405
TS
28173 * stdio-common/bug26.c (main): Correct fscanf template.
28174
07b4c13d
TS
28175 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
28176 declare _dl_skip_args.
28177
ec9dd97c
TS
28178 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
28179 Don't declare.
28180
2b66ef5d
TS
28181 * manual/platform.texi: Add missing @end deftypefun.
28182
4f8dfe27
JM
281832013-05-24 Joseph Myers <joseph@codesourcery.com>
28184
0323d086
JM
28185 [BZ #15529]
28186 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
28187 bit of mantissa of 2^16382.
28188 * math/libm-test.inc (hypot_test_data): Add more tests.
28189
dd4259b9
JM
28190 * math/libm-test.inc: Add drem and pow10 to list of tested
28191 functions.
28192 (pow10_test): New function.
28193 (drem_test): Likewise.
28194 (drem_test_tonearest): Likewise.
28195 (drem_test_towardzero): Likewise.
28196 (drem_test_downward): Likewise.
28197 (drem_test_upward): Likewise.
28198 (main): Call the new functions.
28199
4f8dfe27
JM
28200 * math/libm-test.inc (finite_test_data): Remove.
28201 (finite_test): Run tests from isfinite_test_data.
28202 (gamma_test_data): Remove.
28203 (gamma_test): Run tests from lgamma_test_data.
28204 * sysdeps/i386/fpu/libm-test-ulps: Update.
28205 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28206
d116b7c4
AZ
282072013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28208
28209 * manual/platform.texi: Add PowerPC PPR function set documentation.
28210 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
28211 implementation.
28212
e96e3767
CD
282132013-05-24 Carlos O'Donell <carlos@redhat.com>
28214
28215 * math/libm-test.inc (MAX_EXP): Define.
28216 (ULPDIFF): Define.
28217 (ulp): New function.
28218 (check_float_internal): Use ULPDIFF.
28219 (cpow_test): Disable failing test.
28220 (check_ulp): Test ulp() implemetnation.
28221 (main): Call check_ulp before starting tests.
28222
b679a606
JM
282232013-05-24 Joseph Myers <joseph@codesourcery.com>
28224
e8bdba36
JM
28225 * math/gen-libm-test.pl (generate_testfile): Do not handle
28226 START_DATA and END_DATA.
28227 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
28228 END_DATA.
28229 (acos_tonearest_test_data): Likewise.
28230 (acos_towardzero_test_data): Likewise.
28231 (acos_downward_test_data): Likewise.
28232 (acos_upward_test_data): Likewise.
28233 (acosh_test_data): Likewise.
28234 (asin_test_data): Likewise.
28235 (asin_tonearest_test_data): Likewise.
28236 (asin_towardzero_test_data): Likewise.
28237 (asin_downward_test_data): Likewise.
28238 (asin_upward_test_data): Likewise.
28239 (asinh_test_data): Likewise.
28240 (atan_test_data): Likewise.
28241 (atanh_test_data): Likewise.
28242 (atan2_test_data): Likewise.
28243 (cabs_test_data): Likewise.
28244 (cacos_test_data): Likewise.
28245 (cacosh_test_data): Likewise.
28246 (carg_test_data): Likewise.
28247 (casin_test_data): Likewise.
28248 (casinh_test_data): Likewise.
28249 (catan_test_data): Likewise.
28250 (catanh_test_data): Likewise.
28251 (cbrt_test_data): Likewise.
28252 (ccos_test_data): Likewise.
28253 (ccosh_test_data): Likewise.
28254 (ceil_test_data): Likewise.
28255 (cexp_test_data): Likewise.
28256 (cimag_test_data): Likewise.
28257 (clog_test_data): Likewise.
28258 (clog10_test_data): Likewise.
28259 (conj_test_data): Likewise.
28260 (copysign_test_data): Likewise.
28261 (cos_test_data): Likewise.
28262 (cos_tonearest_test_data): Likewise.
28263 (cos_towardzero_test_data): Likewise.
28264 (cos_downward_test_data): Likewise.
28265 (cos_upward_test_data): Likewise.
28266 (cosh_test_data): Likewise.
28267 (cosh_tonearest_test_data): Likewise.
28268 (cosh_towardzero_test_data): Likewise.
28269 (cosh_downward_test_data): Likewise.
28270 (cosh_upward_test_data): Likewise.
28271 (cpow_test_data): Likewise.
28272 (cproj_test_data): Likewise.
28273 (creal_test_data): Likewise.
28274 (csin_test_data): Likewise.
28275 (csinh_test_data): Likewise.
28276 (csqrt_test_data): Likewise.
28277 (ctan_test_data): Likewise.
28278 (ctan_tonearest_test_data): Likewise.
28279 (ctan_towardzero_test_data): Likewise.
28280 (ctan_downward_test_data): Likewise.
28281 (ctan_upward_test_data): Likewise.
28282 (ctanh_test_data): Likewise.
28283 (ctanh_tonearest_test_data): Likewise.
28284 (ctanh_towardzero_test_data): Likewise.
28285 (ctanh_downward_test_data): Likewise.
28286 (ctanh_upward_test_data): Likewise.
28287 (erf_test_data): Likewise.
28288 (erfc_test_data): Likewise.
28289 (exp_test_data): Likewise.
28290 (exp_tonearest_test_data): Likewise.
28291 (exp_towardzero_test_data): Likewise.
28292 (exp_downward_test_data): Likewise.
28293 (exp_upward_test_data): Likewise.
28294 (exp10_test_data): Likewise.
28295 (exp2_test_data): Likewise.
28296 (expm1_test_data): Likewise.
28297 (fabs_test_data): Likewise.
28298 (fdim_test_data): Likewise.
28299 (finite_test_data): Likewise.
28300 (floor_test_data): Likewise.
28301 (fma_test_data): Likewise.
28302 (fma_towardzero_test_data): Likewise.
28303 (fma_downward_test_data): Likewise.
28304 (fma_upward_test_data): Likewise.
28305 (fmax_test_data): Likewise.
28306 (fmin_test_data): Likewise.
28307 (fmod_test_data): Likewise.
28308 (fpclassify_test_data): Likewise.
28309 (frexp_test_data): Likewise.
28310 (gamma_test_data): Likewise.
28311 (hypot_test_data): Likewise.
28312 (ilogb_test_data): Likewise.
28313 (isfinite_test_data): Likewise.
28314 (isgreater_test_data): Likewise.
28315 (isgreaterequal_test_data): Likewise.
28316 (isinf_test_data): Likewise.
28317 (isless_test_data): Likewise.
28318 (islessequal_test_data): Likewise.
28319 (islessgreater_test_data): Likewise.
28320 (isnan_test_data): Likewise.
28321 (isnormal_test_data): Likewise.
28322 (issignaling_test_data): Likewise.
28323 (isunordered_test_data): Likewise.
28324 (j0_test_data): Likewise.
28325 (j1_test_data): Likewise.
28326 (jn_test_data): Likewise.
28327 (ldexp_test_data): Likewise.
28328 (lgamma_test_data): Likewise.
28329 (lrint_test_data): Likewise.
28330 (lrint_tonearest_test_data): Likewise.
28331 (lrint_towardzero_test_data): Likewise.
28332 (lrint_downward_test_data): Likewise.
28333 (lrint_upward_test_data): Likewise.
28334 (llrint_test_data): Likewise.
28335 (llrint_tonearest_test_data): Likewise.
28336 (llrint_towardzero_test_data): Likewise.
28337 (llrint_downward_test_data): Likewise.
28338 (llrint_upward_test_data): Likewise.
28339 (log_test_data): Likewise.
28340 (log10_test_data): Likewise.
28341 (log1p_test_data): Likewise.
28342 (log2_test_data): Likewise.
28343 (logb_test_data): Likewise.
28344 (logb_downward_test_data): Likewise.
28345 (lround_test_data): Likewise.
28346 (llround_test_data): Likewise.
28347 (modf_test_data): Likewise.
28348 (nearbyint_test_data): Likewise.
28349 (nextafter_test_data): Likewise.
28350 (nexttoward_test_data): Likewise.
28351 (pow_test_data): Likewise.
28352 (pow_tonearest_test_data): Likewise.
28353 (pow_towardzero_test_data): Likewise.
28354 (pow_downward_test_data): Likewise.
28355 (pow_upward_test_data): Likewise.
28356 (remainder_test_data): Likewise.
28357 (remainder_tonearest_test_data): Likewise.
28358 (remainder_towardzero_test_data): Likewise.
28359 (remainder_downward_test_data): Likewise.
28360 (remainder_upward_test_data): Likewise.
28361 (remquo_test_data): Likewise.
28362 (rint_test_data): Likewise.
28363 (rint_tonearest_test_data): Likewise.
28364 (rint_towardzero_test_data): Likewise.
28365 (rint_downward_test_data): Likewise.
28366 (rint_upward_test_data): Likewise.
28367 (round_test_data): Likewise.
28368 (scalb_test_data): Likewise.
28369 (scalbn_test_data): Likewise.
28370 (scalbln_test_data): Likewise.
28371 (signbit_test_data): Likewise.
28372 (sin_test_data): Likewise.
28373 (sin_tonearest_test_data): Likewise.
28374 (sin_towardzero_test_data): Likewise.
28375 (sin_downward_test_data): Likewise.
28376 (sin_upward_test_data): Likewise.
28377 (sincos_test_data): Likewise.
28378 (sinh_test_data): Likewise.
28379 (sinh_tonearest_test_data): Likewise.
28380 (sinh_towardzero_test_data): Likewise.
28381 (sinh_downward_test_data): Likewise.
28382 (sinh_upward_test_data): Likewise.
28383 (sqrt_test_data): Likewise.
28384 (tan_test_data): Likewise.
28385 (tan_tonearest_test_data): Likewise.
28386 (tan_towardzero_test_data): Likewise.
28387 (tan_downward_test_data): Likewise.
28388 (tan_upward_test_data): Likewise.
28389 (tanh_test_data): Likewise.
28390 (tgamma_test_data): Likewise.
28391 (trunc_test_data): Likewise.
28392 (y0_test_data): Likewise.
28393 (y1_test_data): Likewise.
28394 (yn_test_data): Likewise.
28395 (significand_test_data): Likewise.
28396
b679a606
JM
28397 * math/gen-libm-test.pl (@functions): Remove variable.
28398 (generate_testfile): Don't handle START and END lines.
28399 * math/libm-test.inc (START): New macro.
28400 (END): Likewise.
28401 (END_COMPLEX): Likewise.
28402 (acos_test): Use END macro without arguments.
28403 (acos_test_tonearest): Likewise.
28404 (acos_test_towardzero): Likewise.
28405 (acos_test_downward): Likewise.
28406 (acos_test_upward): Likewise.
28407 (acosh_test): Likewise.
28408 (asin_test): Likewise.
28409 (asin_test_tonearest): Likewise.
28410 (asin_test_towardzero): Likewise.
28411 (asin_test_downward): Likewise.
28412 (asin_test_upward): Likewise.
28413 (asinh_test): Likewise.
28414 (atan_test): Likewise.
28415 (atanh_test): Likewise.
28416 (atan2_test): Likewise.
28417 (cabs_test): Likewise.
28418 (cacos_test): Use END_COMPLEX macro without arguments.
28419 (cacosh_test): Likewise.
28420 (carg_test): Use END macro without arguments.
28421 (casin_test): Use END_COMPLEX macro without arguments.
28422 (casinh_test): Likewise.
28423 (catan_test): Likewise.
28424 (catanh_test): Likewise.
28425 (cbrt_test): Use END macro without arguments.
28426 (ccos_test): Use END_COMPLEX macro without arguments.
28427 (ccosh_test): Likewise.
28428 (ceil_test): Use END macro without arguments.
28429 (cexp_test): Use END_COMPLEX macro without arguments.
28430 (cimag_test): Use END macro without arguments.
28431 (clog_test): Use END_COMPLEX macro without arguments.
28432 (clog10_test): Likewise.
28433 (conj_test): Likewise.
28434 (copysign_test): Use END macro without arguments.
28435 (cos_test): Likewise.
28436 (cos_test_tonearest): Likewise.
28437 (cos_test_towardzero): Likewise.
28438 (cos_test_downward): Likewise.
28439 (cos_test_upward): Likewise.
28440 (cosh_test): Likewise.
28441 (cosh_test_tonearest): Likewise.
28442 (cosh_test_towardzero): Likewise.
28443 (cosh_test_downward): Likewise.
28444 (cosh_test_upward): Likewise.
28445 (cpow_test): Use END_COMPLEX macro without arguments.
28446 (cproj_test): Likewise.
28447 (creal_test): Use END macro without arguments.
28448 (csin_test): Use END_COMPLEX macro without arguments.
28449 (csinh_test): Likewise.
28450 (csqrt_test): Likewise.
28451 (ctan_test): Likewise.
28452 (ctan_test_tonearest): Likewise.
28453 (ctan_test_towardzero): Likewise.
28454 (ctan_test_downward): Likewise.
28455 (ctan_test_upward): Likewise.
28456 (ctanh_test): Likewise.
28457 (ctanh_test_tonearest): Likewise.
28458 (ctanh_test_towardzero): Likewise.
28459 (ctanh_test_downward): Likewise.
28460 (ctanh_test_upward): Likewise.
28461 (erf_test): Use END macro without arguments.
28462 (erfc_test): Likewise.
28463 (exp_test): Likewise.
28464 (exp_test_tonearest): Likewise.
28465 (exp_test_towardzero): Likewise.
28466 (exp_test_downward): Likewise.
28467 (exp_test_upward): Likewise.
28468 (exp10_test): Likewise.
28469 (exp2_test): Likewise.
28470 (expm1_test): Likewise.
28471 (fabs_test): Likewise.
28472 (fdim_test): Likewise.
28473 (finite_test): Likewise.
28474 (floor_test): Likewise.
28475 (fma_test): Likewise.
28476 (fma_test_towardzero): Likewise.
28477 (fma_test_downward): Likewise.
28478 (fma_test_upward): Likewise.
28479 (fmax_test): Likewise.
28480 (fmin_test): Likewise.
28481 (fmod_test): Likewise.
28482 (fpclassify_test): Likewise.
28483 (frexp_test): Likewise.
28484 (gamma_test): Likewise.
28485 (hypot_test): Likewise.
28486 (ilogb_test): Likewise.
28487 (isfinite_test): Likewise.
28488 (isgreater_test): Likewise.
28489 (isgreaterequal_test): Likewise.
28490 (isinf_test): Likewise.
28491 (isless_test): Likewise.
28492 (islessequal_test): Likewise.
28493 (islessgreater_test): Likewise.
28494 (isnan_test): Likewise.
28495 (isnormal_test): Likewise.
28496 (issignaling_test): Likewise.
28497 (isunordered_test): Likewise.
28498 (j0_test): Likewise.
28499 (j1_test): Likewise.
28500 (jn_test): Likewise.
28501 (ldexp_test): Likewise.
28502 (lgamma_test): Likewise.
28503 (lrint_test): Likewise.
28504 (lrint_test_tonearest): Likewise.
28505 (lrint_test_towardzero): Likewise.
28506 (lrint_test_downward): Likewise.
28507 (lrint_test_upward): Likewise.
28508 (llrint_test): Likewise.
28509 (llrint_test_tonearest): Likewise.
28510 (llrint_test_towardzero): Likewise.
28511 (llrint_test_downward): Likewise.
28512 (llrint_test_upward): Likewise.
28513 (log_test): Likewise.
28514 (log10_test): Likewise.
28515 (log1p_test): Likewise.
28516 (log2_test): Likewise.
28517 (logb_test): Likewise.
28518 (logb_test_downward): Likewise.
28519 (lround_test): Likewise.
28520 (llround_test): Likewise.
28521 (modf_test): Likewise.
28522 (nearbyint_test): Likewise.
28523 (nextafter_test): Likewise.
28524 (nexttoward_test): Likewise.
28525 (pow_test): Likewise.
28526 (pow_test_tonearest): Likewise.
28527 (pow_test_towardzero): Likewise.
28528 (pow_test_downward): Likewise.
28529 (pow_test_upward): Likewise.
28530 (remainder_test): Likewise.
28531 (remainder_test_tonearest): Likewise.
28532 (remainder_test_towardzero): Likewise.
28533 (remainder_test_downward): Likewise.
28534 (remainder_test_upward): Likewise.
28535 (remquo_test): Likewise.
28536 (rint_test): Likewise.
28537 (rint_test_tonearest): Likewise.
28538 (rint_test_towardzero): Likewise.
28539 (rint_test_downward): Likewise.
28540 (rint_test_upward): Likewise.
28541 (round_test): Likewise.
28542 (scalb_test): Likewise.
28543 (scalbn_test): Likewise.
28544 (scalbln_test): Likewise.
28545 (signbit_test): Likewise.
28546 (sin_test): Likewise.
28547 (sin_test_tonearest): Likewise.
28548 (sin_test_towardzero): Likewise.
28549 (sin_test_downward): Likewise.
28550 (sin_test_upward): Likewise.
28551 (sincos_test): Likewise.
28552 (sinh_test): Likewise.
28553 (sinh_test_tonearest): Likewise.
28554 (sinh_test_towardzero): Likewise.
28555 (sinh_test_downward): Likewise.
28556 (sinh_test_upward): Likewise.
28557 (sqrt_test): Likewise.
28558 (tan_test): Likewise.
28559 (tan_test_tonearest): Likewise.
28560 (tan_test_towardzero): Likewise.
28561 (tan_test_downward): Likewise.
28562 (tan_test_upward): Likewise.
28563 (tanh_test): Likewise.
28564 (tgamma_test): Likewise.
28565 (trunc_test): Likewise.
28566 (y0_test): Likewise.
28567 (y1_test): Likewise.
28568 (yn_test): Likewise.
28569 (significand_test): Likewise.
28570
bae143d2
OB
285712013-05-24 Ondřej Bílka <neleai@seznam.cz>
28572
28573 [BZ #15381]
28574 * libio/genops.c (_IO_no_init): Initialize wide struct info.
28575
9323d39b
EM
285762013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
28577
d4ea44a0 28578 [BZ #14894]
9323d39b
EM
28579 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
28580 __ppc_mdoio and __ppc_mdoom.
28581 * manual/platform.texi: Document new functions __ppc_yield,
28582 __ppc_mdoio and __ppc_mdoom.
28583
13e23af7
CD
285842013-05-22 Carlos O'Donell <carlos@redhat.com>
28585
28586 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
28587 (main): Mention "tls" pseudo-hwcap is legacy.
28588 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
28589
351fe550
JM
285902013-05-22 Joseph Myers <joseph@codesourcery.com>
28591
28592 * math/gen-libm-test.pl (parse_args): Output only string of
28593 arguments as text for test name, not full call or descriptions of
28594 tests for extra outputs.
28595 (generate_testfile): Do not pass function name to parse_args.
28596 Generate this_func variable from START.
28597 * math/libm-test.inc (struct test_f_f_data): Rename test_name
28598 field to arg_str.
28599 (struct test_ff_f_data): Likewise.
28600 (test_ff_f_data_nexttoward): Likewise.
28601 (struct test_fi_f_data): Likewise.
28602 (struct test_fl_f_data): Likewise.
28603 (struct test_if_f_data): Likewise.
28604 (struct test_fff_f_data): Likewise.
28605 (struct test_c_f_data): Likewise.
28606 (struct test_f_f1_data): Likewise. Remove field extra_name.
28607 (struct test_fF_f1_data): Likewise.
28608 (struct test_ffI_f1_data): Likewise.
28609 (struct test_c_c_data): Rename test_name field to arg_str.
28610 (struct test_cc_c_data): Likewise.
28611 (struct test_f_i_data): Likewise.
28612 (struct test_ff_i_data): Likewise.
28613 (struct test_f_l_data): Likewise.
28614 (struct test_f_L_data): Likewise.
28615 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
28616 and extra2_name.
28617 (COMMON_TEST_SETUP): New macro.
28618 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
28619 (COMMON_TEST_CLEANUP): Likewise.
28620 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
28621 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
28622 macros.
28623 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
28624 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
28625 macros.
28626 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
28627 (RUN_TEST_fff_f): Take argument string. Call new setup and
28628 cleanup macros.
28629 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
28630 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
28631 macros.
28632 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
28633 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
28634 macros.
28635 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
28636 (RUN_TEST_fF_f1): Take argument string. Call new setup and
28637 cleanup macros.
28638 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
28639 (RUN_TEST_fI_f1): Take argument string. Call new setup and
28640 cleanup macros.
28641 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
28642 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
28643 cleanup macros.
28644 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
28645 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
28646 macros.
28647 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
28648 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
28649 macros.
28650 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
28651 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
28652 macros.
28653 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
28654 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
28655 cleanup macros.
28656 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
28657 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
28658 cleanup macros.
28659 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
28660 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
28661 macros.
28662 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
28663 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
28664 cleanup macros.
28665 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
28666 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
28667 macros.
28668 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
28669 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
28670 macros.
28671 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
28672 (RUN_TEST_fFF_11): Take argument string. Call new setup and
28673 cleanup macros.
28674 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
28675
85118d4d
EBM
286762013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
28677
28678 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
28679 to _sifields.sigfault.
28680 (si_addr_lsb): Define new macro.
28681 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
28682 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
28683 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
28684
7a44c18f
CD
286852013-05-03 Carlos O'Donell <carlos at redhat.com>
28686
28687 [BZ #15441]
28688 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
28689 returns -1.
28690 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
28691 null return -1.
28692 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
28693 loading the domain.
28694
b50a7181
JM
286952013-05-22 Joseph Myers <joseph@codesourcery.com>
28696
28697 * math/gen-libm-test.pl (parse_args): Do not include expected
28698 result in test name.
28699 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
28700 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28701 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28702 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
28703 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28704 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28705
051063c8
SP
287062013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
28707
3ce9e010
SP
28708 * benchtests/Makefile: Sort function entries.
28709
051063c8
SP
28710 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
28711 tanh, asinh, acosh, atanh.
28712 * benchtests/acos-inputs: New file.
28713 * benchtests/acosh-inputs: New file.
28714 * benchtests/asin-inputs: New file.
28715 * benchtests/asinh-inputs: New file.
28716 * benchtests/atanh-inputs: New file.
28717 * benchtests/cosh-inputs: New file.
28718 * benchtests/log-inputs: New file.
28719 * benchtests/sinh-inputs: New file.
28720 * benchtests/tanh-inputs: New file.
28721
47c22455
DL
287222013-05-21 Dmitry V. Levin <ldv@altlinux.org>
28723
28724 [BZ #15339]
28725 * posix/tst-getaddrinfo4.c: New test.
28726 * posix/Makefile (tests): Add it.
28727
3d04f5db
SP
287282013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28729
28730 [BZ #15339]
28731 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
28732 when no services were used.
28733 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
28734 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
28735
d5dd6189
AS
287362013-05-21 Andreas Schwab <schwab@suse.de>
28737
28738 [BZ #15014]
28739 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
28740 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
28741 successful.
28742 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
28743 redundant variable declarations and reallocation of buffer when
28744 parsing as IPv6 address. Always set NSS status when called from
28745 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
28746 buffer too small. Correct computation of needed size.
28747 * nss/Makefile (tests): Add test-digits-dots.
28748 * nss/test-digits-dots.c: New test.
28749
fef94eab
SP
287502013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28751
28752 * benchtests/Makefile: Remove instructions for adding
28753 benchmark tests.
28754 * benchtests/README: New file to explain how to execute and
28755 enhance the benchmark tests.
28756
e39adf43
AS
287572013-05-21 Andreas Schwab <schwab@suse.de>
28758
28759 [BZ #15493]
28760 * setjmp/Makefile (tests): Add tst-sigsetjmp.
28761 * setjmp/tst-sigsetjmp.c: New test.
28762
b2b671b6
OB
287632013-05-20 Ondřej Bílka <neleai@seznam.cz>
28764
28765 * sysdeps/x86_64/memset.S (memset): New implementation.
28766 (__bzero): Likewise.
28767 (__memset_tail): New function.
28768
2d48b41c
OB
287692013-05-20 Ondřej Bílka <neleai@seznam.cz>
28770
28771 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
28772 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
28773 __memcpy_sse2_unaligned ifunc selection.
28774 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
28775 Add memcpy-sse2-unaligned.S.
28776 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
28777 Add: __memcpy_sse2_unaligned.
28778
f16cc3eb
JM
287792013-05-19 Joseph Myers <joseph@codesourcery.com>
28780
3e694268
JM
28781 [BZ #15490]
28782 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
28783 math_force_eval before restoring floating-point envrionment.
28784 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
28785 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
28786 Likewise.
28787 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
28788 <math_private.h>.
28789 (__nearbyintl): Use math_force_eval before restoring
28790 floating-point environment.
28791 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
28792
db62a907
JM
28793 * math/gen-libm-test.pl (special_functions): Remove.
28794 (parse_args): Don't handle TEST_extra. Handle functions with no
28795 return value.
28796 * math/libm-test.inc (struct test_sincos_data): Replace with
28797 struct test_fFF_11_data.
28798 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
28799 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
28800 (sincos_test_data): Change element type to struct
28801 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
28802 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
28803 RUN_TEST_LOOP_sincos.
28804 * math/README.libm-test: Don't mention special handling of
28805 individual functions.
28806 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
28807 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28808 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28809 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
28810 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28811 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28812
f16cc3eb
JM
28813 * math/gen-libm-test.pl (get_variable): Remove function.
28814 (parse_args): Don't show pointer parameters to call in test
28815 names. Use "extra output N" in test names for extra outputs
28816 rather than naming variables.
28817
3779b5b6
JM
288182013-05-18 Joseph Myers <joseph@codesourcery.com>
28819
2ee094ff
JM
28820 [BZ #15488]
28821 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
28822 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
28823 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
28824 double tests.
28825 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
28826 disable.
28827 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
28828 check_long_double.
28829
3779b5b6
JM
28830 * math/gen-libm-test.pl (@tests): Remove variable.
28831 ($count): Likewise.
28832 (new_test): Remove function.
28833 (show_exceptions): New function.
28834 (special_functions): Use show_exceptions instead of new_test.
28835 (parse_args): Likewise.
28836 (generate_testfile): Pass only function name in generated call to
28837 print_max_error or print_complex_max_error.
28838 (get_ulps): Do not handle complex tests specially.
28839 (output_test): Rename to ...
28840 (get_all_ulps_for_test): ... this. Return a string rather than
28841 printing to a file. Require ulps to be present.
28842 (output_ulps): Generate arrays rather than #defines.
28843 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
28844 (struct ulp_data): New type.
28845 (BUILD_COMPLEX_ULP): Remove macro.
28846 (compare_ulp_data): New function.
28847 (find_ulps): Likewise.
28848 (find_test_ulps): Likewise.
28849 (find_function_ulps): Likewise.
28850 (find_complex_function_ulps): Likewise.
28851 (print_max_error): Determine allowed ulps using
28852 find_function_ulps.
28853 (print_complex_max_error): Determine allowed ulps using
28854 find_complex_function_ulps.
28855 (check_float_internal): Determine max ulps using find_test_ulps.
28856 (check_float): Do not take max_ulp parameter. Update call to
28857 check_float_internal.
28858 (check_complex): Likewise.
28859 (check_int): Do not take max_ulp parameter.
28860 (check_long): Likewise.
28861 (check_bool): Likewise.
28862 (check_longlong): Likewise.
28863 (struct test_f_f_data): Remove max_ulp field.
28864 (struct test_ff_f_data): Likewise.
28865 (struct test_ff_f_data_nexttoward): Likewise.
28866 (struct test_fi_f_data): Likewise.
28867 (struct test_fl_f_data): Likewise.
28868 (struct test_if_f_data): Likewise.
28869 (struct test_fff_f_data): Likewise.
28870 (struct test_c_f_data): Likewise.
28871 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
28872 (struct test_fF_f1_data): Likewise.
28873 (struct test_ffI_f1_data): Likewise.
28874 (struct test_c_c_data): Remove max_ulp field.
28875 (struct test_cc_c_data): Likewise.
28876 (struct test_f_i_data): Likewise.
28877 (struct test_ff_i_data): Likewise.
28878 (struct test_f_l_data): Likewise.
28879 (struct test_f_L_data): Likewise.
28880 (struct test_sincos_data): Likewise.
28881 (RUN_TEST_f_f): Do not handle ulps.
28882 (RUN_TEST_LOOP_f_f): Likewise.
28883 (RUN_TEST_2_f): Likewise.
28884 (RUN_TEST_LOOP_2_f): Likewise.
28885 (RUN_TEST_fff_f): Likewise.
28886 (RUN_TEST_LOOP_fff_f): Likewise.
28887 (RUN_TEST_c_f): Likewise.
28888 (RUN_TEST_LOOP_c_f): Likewise.
28889 (RUN_TEST_f_f1): Likewise.
28890 (RUN_TEST_LOOP_f_f1): Likewise.
28891 (RUN_TEST_fF_f1): Likewise.
28892 (RUN_TEST_LOOP_fF_f1): Likewise.
28893 (RUN_TEST_fI_f1): Likewise.
28894 (RUN_TEST_LOOP_fI_f1): Likewise.
28895 (RUN_TEST_ffI_f1): Likewise.
28896 (RUN_TEST_LOOP_ffI_f1): Likewise.
28897 (RUN_TEST_c_c): Likewise.
28898 (RUN_TEST_LOOP_c_c): Likewise.
28899 (RUN_TEST_cc_c): Likewise.
28900 (RUN_TEST_LOOP_cc_c): Likewise.
28901 (RUN_TEST_f_i): Likewise.
28902 (RUN_TEST_LOOP_f_i): Likewise.
28903 (RUN_TEST_f_i_tg): Likewise.
28904 (RUN_TEST_LOOP_f_i_tg): Likewise.
28905 (RUN_TEST_ff_i_tg): Likewise.
28906 (RUN_TEST_LOOP_ff_i_tg): Likewise.
28907 (RUN_TEST_f_b): Likewise.
28908 (RUN_TEST_LOOP_f_b): Likewise.
28909 (RUN_TEST_f_b_tg): Likewise.
28910 (RUN_TEST_LOOP_f_b_tg): Likewise.
28911 (RUN_TEST_f_l): Likewise.
28912 (RUN_TEST_LOOP_f_l): Likewise.
28913 (RUN_TEST_f_L): Likewise.
28914 (RUN_TEST_LOOP_f_L): Likewise.
28915 (RUN_TEST_sincos): Likewise.
28916 (RUN_TEST_LOOP_sincos): Likewise.
28917
8269107f
JM
289182013-05-17 Joseph Myers <joseph@codesourcery.com>
28919
bb38759d
JM
28920 [BZ #15480]
28921 [BZ #15485]
28922 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
28923 main case of finite arguments, set rounding mode to FE_TONEAREST
28924 and discard exceptions.
28925 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
28926 exceptions.
28927 (remainder_tonearest_test_data): New variable.
28928 (remainder_test_tonearest): New function.
28929 (remainder_towardzero_test_data): New variable.
28930 (remainder_test_towardzero): New function.
28931 (remainder_downward_test_data): New variable.
28932 (remainder_test_downward): New function.
28933 (remainder_upward_test_data): New variable.
28934 (remainder_test_upward): New function.
28935 (main): Call the new test functions.
28936
a00bdcf0
JM
28937 * math/libm-test.inc (struct test_f_f1_data): Remove field
28938 extra_init.
28939 (struct test_fF_f1_data): Likewise.
28940 (struct test_ffI_f1_data): Likewise.
28941 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
28942 based on value of EXTRA_EXPECTED.
28943 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
28944 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
28945 EXTRA_VAR based on value of EXTRA_EXPECTED.
28946 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
28947 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
28948 EXTRA_VAR based on value of EXTRA_EXPECTED.
28949 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
28950 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
28951 EXTRA_VAR based on value of EXTRA_EXPECTED.
28952 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
28953 * math/gen-libm-test.pl (parse_args): Don't output initializers
28954 for extra output values.
28955
de407f79
JM
28956 * math/libm-test.inc (check_int): Expect result to be exactly
28957 equal to expected value and do not handle ulps.
28958 (check_long): Likewise.
28959 (check_longlong): Likewise.
28960
8269107f
JM
28961 * math/libm-test.inc (ceil_test_data): Test for "inexact"
28962 exceptions.
28963 (cimag_test_data): Likewise.
28964 (conj_test_data): Likewise.
28965 (copysign_test_data): Likewise.
28966 (cproj_test_data): Likewise.
28967 (creal_test_data): Likewise.
28968 (fabs_test_data): Likewise.
28969 (fdim_test_data): Likewise.
28970 (finite_test_data): Likewise.
28971 (floor_test_data): Likewise.
28972 (fmax_test_data): Likewise.
28973 (fmin_test_data): Likewise.
28974 (fmod_test_data): Likewise.
28975 (fpclassify_test_data): Likewise.
28976 (frexp_test_data): Likewise.
28977 (ilogb_test_data): Likewise.
28978 (isfinite_test_data): Likewise.
28979 (isgreater_test_data): Likewise.
28980 (isgreaterequal_test_data): Likewise.
28981 (isinf_test_data): Likewise.
28982 (isless_test_data): Likewise.
28983 (islessequal_test_data): Likewise.
28984 (islessgreater_test_data): Likewise.
28985 (isnan_test_data): Likewise.
28986 (isnormal_test_data): Likewise.
28987 (issignaling_test_data): Likewise.
28988 (isunordered_test_data): Likewise.
28989 (ldexp_test_data): Likewise.
28990 (lrint_test_data): Likewise.
28991 (lrint_test_data) [TEST_FLOAT]: Disable one test.
28992 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
28993 (lrint_tonearest_test_data): Test for "inexact" exceptions.
28994 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
28995 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
28996 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
28997 test input.
28998 (lrint_towardzero_test_data): Test for "inexact" exceptions.
28999 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
29000 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
29001 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
29002 that test input.
29003 (lrint_downward_test_data): Test for "inexact" exceptions.
29004 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
29005 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
29006 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
29007 test input.
29008 (lrint_upward_test_data): Test for "inexact" exceptions.
29009 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
29010 test input.
29011 (llrint_test_data): Test for "inexact" exceptions.
29012 (llrint_test_data) [TEST_FLOAT]: Disable one test.
29013 (llrint_tonearest_test_data): Test for "inexact" exceptions.
29014 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
29015 (llrint_towardzero_test_data): Test for "inexact" exceptions.
29016 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
29017 (llrint_downward_test_data): Test for "inexact" exceptions.
29018 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
29019 (llrint_upward_test_data): Test for "inexact" exceptions.
29020 (logb_test_data): Likewise.
29021 (logb_downward_test_data): Likewise.
29022 (nextafter_test_data): Likewise.
29023 (nexttoward_test_data): Likewise.
29024 (remainder_test_data): Likewise.
29025 (remquo_test_data): Likewise.
29026 (scalbn_test_data): Likewise.
29027 (scalbln_test_data): Likewise.
29028 (signbit_test_data): Likewise.
29029 (sqrt_test_data): Likewise.
29030 (significand_test_data): Likewise.
29031
48a18de1
SP
290322013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
29033
29034 [BZ #15424]
29035 * benchtests/bench-modf.c (struct args): Mark arg0 as
29036 volatile.
29037 * scripts/bench.pl: Mark members of struct args as volatile.
29038
13d3b41a
AZ
290392013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29040
68191c1d 29041 [BZ # 15497]
13d3b41a
AZ
29042 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
29043 negative infinity on POWER6 or lower.
29044 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
29045
2848b105
MR
290462013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
29047
29048 [BZ #15442]
29049 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
29050 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
29051 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
29052 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
29053 (_FP_SETQNAN): New macro.
29054 (_FP_SETQNAN_SEMIRAW): Likewise.
29055 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
29056 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
29057 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
29058 (FP_EXTEND): Use _FP_FRAC_SNANP.
29059 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
29060 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
29061 into account.
29062 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
29063 New macro.
29064 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
29065 Likewise.
29066
323e5cb7
JM
290672013-05-16 Joseph Myers <joseph@codesourcery.com>
29068
c58b274f
JM
29069 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
29070 with DIVIDE_BY_ZERO_EXCEPTION.
29071 (gamma_test_data): Likewise.
29072 (lgamma_test_data): Likewise.
29073 (log_test_data): Likewise.
29074 (log10_test_data): Likewise.
29075 (log2_test_data): Likewise.
29076 (tgamma_test_data): Likewise.
29077
0ab34904
JM
29078 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
29079 (acos_test_tonearest): Likewise.
29080 (acos_test_towardzero): Likewise.
29081 (acos_test_downward): Likewise.
29082 (acos_test_upward): Likewise.
29083 (acosh_test): Likewise.
29084 (asin_test): Likewise.
29085 (asin_test_tonearest): Likewise.
29086 (asin_test_towardzero): Likewise.
29087 (asin_test_downward): Likewise.
29088 (asin_test_upward): Likewise.
29089 (asinh_test): Likewise.
29090 (atan_test): Likewise.
29091 (atanh_test): Likewise.
29092 (atan2_test): Likewise.
29093 (cabs_test): Likewise.
29094 (cacos_test): Likewise.
29095 (cacosh_test): Likewise.
29096 (casin_test): Likewise.
29097 (casinh_test): Likewise.
29098 (catan_test): Likewise.
29099 (catanh_test): Likewise.
29100 (cbrt_test): Likewise.
29101 (ccos_test): Likewise.
29102 (ccosh_test): Likewise.
29103 (cexp_test): Likewise.
29104 (clog_test): Likewise.
29105 (clog10_test): Likewise.
29106 (cos_test): Likewise.
29107 (cos_test_tonearest): Likewise.
29108 (cos_test_towardzero): Likewise.
29109 (cos_test_downward): Likewise.
29110 (cos_test_upward): Likewise.
29111 (cosh_test): Likewise.
29112 (cosh_test_tonearest): Likewise.
29113 (cosh_test_towardzero): Likewise.
29114 (cosh_test_downward): Likewise.
29115 (cosh_test_upward): Likewise.
29116 (cpow_test): Likewise.
29117 (csin_test): Likewise.
29118 (csinh_test): Likewise.
29119 (csqrt_test): Likewise.
29120 (ctan_test): Likewise.
29121 (ctan_test_tonearest): Likewise.
29122 (ctan_test_towardzero): Likewise.
29123 (ctan_test_downward): Likewise.
29124 (ctan_test_upward): Likewise.
29125 (ctanh_test): Likewise.
29126 (ctanh_test_tonearest): Likewise.
29127 (ctanh_test_towardzero): Likewise.
29128 (ctanh_test_downward): Likewise.
29129 (ctanh_test_upward): Likewise.
29130 (erf_test): Likewise.
29131 (erfc_test): Likewise.
29132 (exp_test): Likewise.
29133 (exp_test_tonearest): Likewise.
29134 (exp_test_towardzero): Likewise.
29135 (exp_test_downward): Likewise.
29136 (exp_test_upward): Likewise.
29137 (exp10_test): Likewise.
29138 (exp2_test): Likewise.
29139 (expm1_test): Likewise.
29140 (fmod_test): Likewise.
29141 (gamma_test): Likewise.
29142 (hypot_test): Likewise.
29143 (j0_test): Likewise.
29144 (j1_test): Likewise.
29145 (jn_test): Likewise.
29146 (lgamma_test): Likewise.
29147 (log_test): Likewise.
29148 (log10_test): Likewise.
29149 (log1p_test): Likewise.
29150 (log2_test): Likewise.
29151 (logb_test_downward): Likewise.
29152 (pow_test): Likewise.
29153 (pow_test_tonearest): Likewise.
29154 (pow_test_towardzero): Likewise.
29155 (pow_test_downward): Likewise.
29156 (pow_test_upward): Likewise.
29157 (remainder_test): Likewise.
29158 (remquo_test): Likewise.
29159 (sin_test): Likewise.
29160 (sin_test_tonearest): Likewise.
29161 (sin_test_towardzero): Likewise.
29162 (sin_test_downward): Likewise.
29163 (sin_test_upward): Likewise.
29164 (sincos_test): Likewise.
29165 (sinh_test): Likewise.
29166 (sinh_test_tonearest): Likewise.
29167 (sinh_test_towardzero): Likewise.
29168 (sinh_test_downward): Likewise.
29169 (sinh_test_upward): Likewise.
29170 (sqrt_test): Likewise.
29171 (tan_test): Likewise.
29172 (tan_test_tonearest): Likewise.
29173 (tan_test_towardzero): Likewise.
29174 (tan_test_downward): Likewise.
29175 (tan_test_upward): Likewise.
29176 (tanh_test): Likewise.
29177 (tgamma_test): Likewise.
29178 (y0_test): Likewise.
29179 (y1_test): Likewise.
29180 (yn_test): Likewise.
29181
323e5cb7
JM
29182 * math/gen-libm-test.pl (adjust_arg): Remove function.
29183 (special_function): Remove argument $in_func. Only handle
29184 generating output for tables of tests, not inside functions.
29185 (parse_args): Likewise.
29186 (generate_testfile): Remove variable $in_func. Update call to
29187 parse_args.
29188 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
29189 (MINUS_ZERO_INIT): Rename macro to minus_zero.
29190 (PLUS_INFTY_INIT): Rename macro to plus_infty.
29191 (MINUS_INFTY_INIT): Rename macro to minus_infty.
29192 (QNAN_VALUE_INIT): Rename macro to qnan_value.
29193 (MAX_VALUE_INIT): Rename macro to max_value.
29194 (MIN_VALUE_INIT): Rename macro to min_value.
29195 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
29196 (plus_zero): Remove variable.
29197 (minus_zero): Likewise.
29198 (plus_infty): Likewise.
29199 (minus_infty): Likewise.
29200 (qnan_value): Likewise.
29201 (max_value): Likewise.
29202 (min_value): Likewise.
29203 (min_subnorm_value): Likewise.
29204
e054f494
RA
292052013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
29206
29207 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
29208 uint64_t or uint32_t usage.
29209 * crypt/sha256-block.c: Likewise.
29210 * crypt/sha256-crypt.c: Likewise.
29211 * crypt/sha256.c: Likewise.
29212 * crypt/sha512-block.c: Likewise.
29213 * crypt/sha512-crypt.c: Likewise.
29214 * crypt/sha512.c: Likewise.
29215 * debug/backtrace-tst.c: Likewise.
29216 * debug/pcprofiledump.c: Likewise.
29217 * elf/cache.c: Likewise.
29218 * elf/dl-cache.c: Likewise.
29219 * elf/dl-misc.c: Likewise.
29220 * elf/dl-profile.c: Likewise.
29221 * elf/dl-support.c: Likewise.
29222 * elf/ldconfig.c: Likewise.
29223 * elf/sprof.c: Likewise.
29224 * iconv/dummy-repertoire.c: Likewise.
29225 * iconv/iconv_charmap.c: Likewise.
29226 * iconv/skeleton.c: Likewise.
29227 * iconvdata/8bit-generic.c: Likewise.
29228 * iconvdata/cp737.h: Likewise.
29229 * iconvdata/cp775.h: Likewise.
29230 * iconvdata/ibm1008.h: Likewise.
29231 * iconvdata/ibm1025.h: Likewise.
29232 * iconvdata/ibm1046.h: Likewise.
29233 * iconvdata/ibm1097.h: Likewise.
29234 * iconvdata/ibm1112.h: Likewise.
29235 * iconvdata/ibm1122.h: Likewise.
29236 * iconvdata/ibm1123.h: Likewise.
29237 * iconvdata/ibm1124.h: Likewise.
29238 * iconvdata/ibm1129.h: Likewise.
29239 * iconvdata/ibm1130.h: Likewise.
29240 * iconvdata/ibm1132.h: Likewise.
29241 * iconvdata/ibm1133.h: Likewise.
29242 * iconvdata/ibm1137.h: Likewise.
29243 * iconvdata/ibm1140.h: Likewise.
29244 * iconvdata/ibm1141.h: Likewise.
29245 * iconvdata/ibm1142.h: Likewise.
29246 * iconvdata/ibm1143.h: Likewise.
29247 * iconvdata/ibm1144.h: Likewise.
29248 * iconvdata/ibm1145.h: Likewise.
29249 * iconvdata/ibm1146.h: Likewise.
29250 * iconvdata/ibm1147.h: Likewise.
29251 * iconvdata/ibm1148.h: Likewise.
29252 * iconvdata/ibm1149.h: Likewise.
29253 * iconvdata/ibm1153.h: Likewise.
29254 * iconvdata/ibm1154.h: Likewise.
29255 * iconvdata/ibm1155.h: Likewise.
29256 * iconvdata/ibm1156.h: Likewise.
29257 * iconvdata/ibm1157.h: Likewise.
29258 * iconvdata/ibm1158.h: Likewise.
29259 * iconvdata/ibm1160.h: Likewise.
29260 * iconvdata/ibm1161.h: Likewise.
29261 * iconvdata/ibm1162.h: Likewise.
29262 * iconvdata/ibm1163.h: Likewise.
29263 * iconvdata/ibm1164.h: Likewise.
29264 * iconvdata/ibm1166.h: Likewise.
29265 * iconvdata/ibm1167.h: Likewise.
29266 * iconvdata/ibm12712.h: Likewise.
29267 * iconvdata/ibm1390.h: Likewise.
29268 * iconvdata/ibm1399.h: Likewise.
29269 * iconvdata/ibm16804.h: Likewise.
29270 * iconvdata/ibm4517.h: Likewise.
29271 * iconvdata/ibm4899.h: Likewise.
29272 * iconvdata/ibm4909.h: Likewise.
29273 * iconvdata/ibm4971.h: Likewise.
29274 * iconvdata/ibm5347.h: Likewise.
29275 * iconvdata/ibm803.h: Likewise.
29276 * iconvdata/ibm856.h: Likewise.
29277 * iconvdata/ibm901.h: Likewise.
29278 * iconvdata/ibm902.h: Likewise.
29279 * iconvdata/ibm9030.h: Likewise.
29280 * iconvdata/ibm9066.h: Likewise.
29281 * iconvdata/ibm921.h: Likewise.
29282 * iconvdata/ibm922.h: Likewise.
29283 * iconvdata/ibm9448.h: Likewise.
29284 * iconvdata/isiri-3342.h: Likewise.
29285 * iconvdata/jis0201.h: Likewise.
29286 * include/link.h: Likewise.
29287 * include/netdb.h: Likewise.
29288 * inet/check_native.c: Likewise.
29289 * inet/check_pf.c: Likewise.
29290 * inet/getipv4sourcefilter.c: Likewise.
29291 * inet/getnameinfo.c: Likewise.
29292 * inet/getsourcefilter.c: Likewise.
29293 * inet/htonl.c: Likewise.
29294 * inet/setipv4sourcefilter.c: Likewise.
29295 * inet/setsourcefilter.c: Likewise.
29296 * inet/test-inet6_opt.c: Likewise.
29297 * inet/tst-network.c: Likewise.
29298 * locale/C-collate.c: Likewise.
29299 * locale/C-ctype.c: Likewise.
29300 * locale/C-time.c: Likewise.
29301 * locale/C-translit.h: Likewise.
29302 * locale/loadarchive.c: Likewise.
29303 * locale/programs/3level.h: Likewise.
29304 * locale/programs/charmap.c: Likewise.
29305 * locale/programs/charmap.h: Likewise.
29306 * locale/programs/ld-address.c: Likewise.
29307 * locale/programs/ld-collate.c: Likewise.
29308 * locale/programs/ld-ctype.c: Likewise.
29309 * locale/programs/ld-identification.c: Likewise.
29310 * locale/programs/ld-measurement.c: Likewise.
29311 * locale/programs/ld-messages.c: Likewise.
29312 * locale/programs/ld-monetary.c: Likewise.
29313 * locale/programs/ld-name.c: Likewise.
29314 * locale/programs/ld-numeric.c: Likewise.
29315 * locale/programs/ld-paper.c: Likewise.
29316 * locale/programs/ld-telephone.c: Likewise.
29317 * locale/programs/ld-time.c: Likewise.
29318 * locale/programs/linereader.c: Likewise.
29319 * locale/programs/locale.c: Likewise.
29320 * locale/programs/locarchive.c: Likewise.
29321 * locale/programs/locfile.h: Likewise.
29322 * locale/programs/repertoire.c: Likewise.
29323 * locale/programs/simple-hash.c: Likewise.
29324 * locale/programs/simple-hash.h: Likewise.
29325 * malloc/memusage.c: Likewise.
29326 * malloc/memusagestat.c: Likewise.
29327 * nis/nis_defaults.c: Likewise.
29328 * nis/nis_hash.c: Likewise.
29329 * nis/nis_print.c: Likewise.
29330 * nis/nis_xdr.c: Likewise.
29331 * nscd/connections.c: Likewise.
29332 * nscd/hstcache.c: Likewise.
29333 * nscd/nscd_gethst_r.c: Likewise.
29334 * nscd/nscd_getserv_r.c: Likewise.
29335 * nscd/nscd_helper.c: Likewise.
29336 * nscd/servicescache.c: Likewise.
29337 * nss/makedb.c: Likewise.
29338 * nss/nss_db/db-XXX.c: Likewise.
29339 * nss/nss_db/db-initgroups.c: Likewise.
29340 * nss/nss_db/db-netgrp.c: Likewise.
29341 * nss/nss_files/files-network.c: Likewise.
29342 * nss/nss_files/files-parse.c: Likewise.
29343 * posix/bug-regex5.c: Likewise.
29344 * posix/fnmatch_loop.c: Likewise.
29345 * posix/regcomp.c: Likewise.
29346 * posix/regexec.c: Likewise.
29347 * posix/tst-rfc3484-2.c: Likewise.
29348 * posix/tst-rfc3484-3.c: Likewise.
29349 * posix/tst-rfc3484.c: Likewise.
29350 * resolv/nss_dns/dns-canon.c: Likewise.
29351 * resolv/nss_dns/dns-network.c: Likewise.
29352 * resolv/res_init.c: Likewise.
29353 * resolv/res_mkquery.c: Likewise.
29354 * resolv/tst-aton.c: Likewise.
29355 * stdlib/cxa_atexit.c: Likewise.
29356 * stdlib/cxa_finalize.c: Likewise.
29357 * stdlib/gen-fpioconst.c: Likewise.
29358 * stdlib/strtol_l.c: Likewise.
29359 * string/tst-endian.c: Likewise.
29360 * sunrpc/auth_des.c: Likewise.
29361 * sunrpc/clnt_udp.c: Likewise.
29362 * sunrpc/rtime.c: Likewise.
29363 * sunrpc/svcauth_des.c: Likewise.
29364 * sunrpc/xdr.c: Likewise.
29365 * sunrpc/xdr_intXX_t.c: Likewise.
29366 * sunrpc/xdr_rec.c: Likewise.
29367 * sysdeps/generic/ldconfig.h: Likewise.
29368 * sysdeps/generic/ldsodefs.h: Likewise.
29369 * sysdeps/generic/memusage.h: Likewise.
29370 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
29371 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
29372 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
29373 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
29374 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29375 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
29376 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
29377 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
29378 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
29379 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
29380 * sysdeps/posix/getaddrinfo.c: Likewise.
29381 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
29382 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29383 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
29384 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
29385 * sysdeps/powerpc/test-gettimebase.c: Likewise.
29386 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
29387 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
29388 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
29389 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
29390 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
29391 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
29392 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
29393 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
29394 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
29395 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
29396 * sysdeps/x86_64/dl-tls.h: Likewise.
29397 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
29398 * time/alt_digit.c: Likewise.
29399 * time/era.c: Likewise.
29400 * wcsmbs/tst-c16c32-1.c: Likewise.
29401
8c75f674
JM
294022013-05-16 Joseph Myers <joseph@codesourcery.com>
29403
29404 * math/libm-test.inc (struct test_sincos_data): New type.
29405 (RUN_TEST_LOOP_sincos): New macro.
29406 (sincos_test_data): New variable.
29407 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
29408
e6e49e59
RH
294092013-05-16 Richard Henderson <rth@redhat.com>
29410
29411 * math/atest-exp2.c (LIMB64): New macro.
29412 (CONSTSZ): New macro.
29413 (mp_exp1, mp_exp_m1, mp_log2): New variables.
29414 (hexdig): Move ...
29415 (print_mpn_fp): ... to function scope.
29416 (read_mpn_hex): Remove.
29417 (get_log2): Remove.
29418 (exp2_mpn): Use mp_log2.
29419 (main): Use mp_exp1.
29420
15c7c18d
JM
294212013-05-16 Joseph Myers <joseph@codesourcery.com>
29422
105a07df
JM
29423 * math/libm-test.inc: Remove comment about not testing "inexact"
29424 exceptions.
29425 (INEXACT_EXCEPTION): New macro.
29426 (NO_INEXACT_EXCEPTION): Likewise.
29427 (INVALID_EXCEPTION_OK): Update value.
29428 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
29429 (OVERFLOW_EXCEPTION_OK): Likewise.
29430 (UNDERFLOW_EXCEPTION_OK): Likewise.
29431 (IGNORE_ZERO_INF_SIGN): Likewise.
29432 (ERRNO_UNCHANGED): Likewise.
29433 (ERRNO_EDOM): Likewise.
29434 (ERRNO_ERANGE): Likewise.
29435 (test_exceptions): Handle testing "inexact" exceptions.
29436 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
29437 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
29438 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
29439 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
29440 INEXACT_EXCEPTION.
29441 (rint_towardzero_test_data): Likewise.
29442 (rint_downward_test_data): Likewise.
29443 (rint_upward_test_data): Likewise.
29444
e9eee333
JM
29445 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
29446 with OVERFLOW_EXCEPTION.
29447 (exp10_test_data): Likewise.
29448 (exp2_test_data): Likewise.
29449 (expm1_test_data): Likewise.
29450 (lgamma_test_data): Likewise.
29451 (pow_test_data): Likewise.
29452 (tgamma_test_data): Likewise.
29453 (yn_test_data): Remove duplicate test of overflow.
29454
1c38ff73
JM
29455 * math/libm-test.inc (struct test_cc_c_data): New type.
29456 (RUN_TEST_LOOP_cc_c): New macro.
29457 (cpow_test_data): New variable.
29458 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
29459
15c7c18d
JM
29460 * math/libm-test.inc (struct test_f_L_data): New type.
29461 (RUN_TEST_LOOP_f_L): New macro.
29462 (llrint_test_data): New variable.
29463 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
29464 (llrint_tonearest_test_data): New variable.
29465 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
29466 (llrint_towardzero_test_data): New variable.
29467 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
29468 (llrint_downward_test_data): New variable.
29469 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
29470 (llrint_upward_test_data): New variable.
29471 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
29472 (llround_test_data): New variable.
29473 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
29474
f137ff13
PC
294752013-05-13 Peter Collingbourne <pcc@google.com>
29476
29477 * math/atest-exp2.c (get_log2): Remove const attribute.
29478
3608cb24
JM
294792013-05-15 Joseph Myers <joseph@codesourcery.com>
29480
29481 * math/libm-test.inc (struct test_f_l_data): New type.
29482 (RUN_TEST_LOOP_f_l): New macro.
29483 (lrint_test_data): New variable.
29484 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
29485 (lrint_tonearest_test_data): New variable.
29486 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
29487 (lrint_towardzero_test_data): New variable.
29488 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
29489 (lrint_downward_test_data): New variable.
29490 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
29491 (lrint_upward_test_data): New variable.
29492 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
29493 (lround_test_data): New variable.
29494 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
29495
39b1f617
PC
294962013-05-15 Peter Collingbourne <pcc@google.com>
29497
1deff3dc
PC
29498 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
29499 (EXTRACT_WORDS64) Use where appropriate.
29500 (INSERT_WORDS64) Likewise.
29501
791f3ba0
PC
29502 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
29503 constraints with x constraints.
29504 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
29505
39b1f617
PC
29506 * malloc/obstack.c (_obstack_compat): Add initializer.
29507
12fba011
EM
295082013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
29509
29510 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
29511 si_trapno and add si_addr_lsb to _sifields.sigfault.
29512 (si_trapno): Remove macro.
29513 (si_addr_lsb): Define new macro.
29514 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
29515
d369f531
JM
295162013-05-15 Joseph Myers <joseph@codesourcery.com>
29517
b861c6c4
JM
29518 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
29519 instead of TEST_f_l.
29520 (llrint_test_tonearest): Likewise.
29521 (llrint_test_towardzero): Likewise.
29522 (llrint_test_downward): Likewise.
29523 (llrint_test_upward): Likewise.
29524 (llround_test): Likewise.
29525
7abeee12
JM
29526 * math/libm-test.inc (struct test_f_i_data): Add comment.
29527 (RUN_TEST_LOOP_f_b): New macro.
29528 (RUN_TEST_LOOP_f_b_tg): Likewise.
29529 (finite_test_data): New variable.
29530 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
29531 (isfinite_test_data): New variable.
29532 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
29533 (isinf_test_data): New variable.
29534 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
29535 (isnan_test_data): New variable.
29536 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
29537 (isnormal_test_data): New variable.
29538 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
29539 (issignaling_test_data): New variable.
29540 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
29541 (signbit_test_data): New variable.
29542 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
29543
cbe8c4d3
JM
29544 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
29545 with INVALID_EXCEPTION.
29546 (acosh_test_data): Likewise.
29547 (asin_test_data): Likewise.
29548 (atanh_test_data): Likewise.
29549 (fmod_test_data): Likewise.
29550 (log_test_data): Likewise.
29551 (log10_test_data): Likewise.
29552 (log2_test_data): Likewise.
29553 (pow_test_data): Likewise.
29554 (sqrt_test_data): Likewise.
29555 (y0_test_data): Likewise.
29556 (y1_test_data): Likewise.
29557 (yn_test_data): Likewise.
29558
5575c0e5
JM
29559 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
29560 function contents.
29561
d369f531
JM
29562 * math/libm-test.inc (struct test_ff_i_data): New type.
29563 (RUN_TEST_LOOP_ff_i_tg): New macro.
29564 (isgreater_test_data): New variable.
29565 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29566 (isgreaterequal_test_data): New variable.
29567 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29568 (isless_test_data): New variable.
29569 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29570 (islessequal_test_data): New variable.
29571 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29572 (islessgreater_test_data): New variable.
29573 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29574 (isunordered_test_data): New variable.
29575 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29576
781fd748
DM
295772013-05-14 David S. Miller <davem@davemloft.net>
29578
29579 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29580
87aa21df
JM
295812013-05-14 Joseph Myers <joseph@codesourcery.com>
29582
5e908270
JM
29583 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
29584
f71172e5
JM
29585 * math/libm-test.inc (struct test_fF_f1_data): Change type of
29586 extra_test to int.
29587 (struct test_f_i_data): Change type of max_ulp to int.
29588
8cfa635a
JM
29589 * math/libm-test.inc (test_ffI_f1_data): New type.
29590 (RUN_TEST_LOOP_ffI_f1): New macro.
29591 (remquo_test_data): New variable.
29592 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
29593
2bcb36b2
JM
29594 * setjmp/tst-setjmp-fp.c: New file.
29595 * setjmp/Makefile (tests): Add tst-setjmp-fp.
29596 (link-libm): New variable.
29597 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
29598
acbd839a
JM
29599 * math/libm-test.inc (struct test_f_i_data): New type.
29600 (RUN_TEST_LOOP_f_i): New macro.
29601 (RUN_TEST_LOOP_f_i_tg): Likewise.
29602 (fpclassify_test_data): New variable.
29603 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
29604 (ilogb_test_data): New variable.
29605 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
29606
e414d745
JM
29607 * math/libm-test.inc (scalbln_test): Correct function name in END
29608 call.
29609
d9c2a0fd
JM
29610 * math/libm-test.inc (struct test_f_f1_data): Add comment.
29611 (RUN_TEST_LOOP_fI_f1): New macro.
29612 (frexp_test_data): New variable.
29613 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
29614
9dc9095d
JM
29615 * math/libm-test.inc (struct test_fF_f1_data): New type.
29616 (RUN_TEST_LOOP_fF_f1): New macro.
29617 (modf_test_data): New variable.
29618 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
29619
87aa21df
JM
29620 * math/libm-test.inc (struct test_f_f1_data): New type.
29621 (RUN_TEST_LOOP_f_f1): New macro.
29622 (gamma_test_data): New variable.
29623 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
29624 (lgamma_test_data): New variable.
29625 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
29626
141af660
CD
296272013-05-13 Carlos O'Donell <carlos@redhat.com>
29628
29629 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
29630 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
29631 (main): Comment "tls" pseudo-hwcap.
29632
6d33265c
JM
296332013-05-13 Joseph Myers <joseph@codesourcery.com>
29634
68fc074c
JM
29635 * math/libm-test.inc (struct test_fl_f_data): New type.
29636 (RUN_TEST_LOOP_fl_f): New variable.
29637 (scalbln_test_data): New variable.
29638 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
29639
243216e1
JM
29640 * math/libm-test.inc (struct test_fi_f_data): New type.
29641 (RUN_TEST_LOOP_fi_f): New macro.
29642 (ldexp_test_data): New variable.
29643 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
29644 (scalbn_test_data): New variable.
29645 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
29646
6a1992e2
JM
29647 * math/libm-test.inc (struct test_c_f_data): New type.
29648 (RUN_TEST_LOOP_c_f): New macro.
29649 (cabs_test_data): New variable.
29650 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
29651 (carg_test_data): New variable.
29652 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
29653 (cimag_test_data): New variable.
29654 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
29655 (creal_test_data): New variable.
29656 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
29657
0e400df5
JM
29658 * math/libm-test.inc (struct test_if_f_data): New type.
29659 (RUN_TEST_LOOP_if_f): New macro.
29660 (jn_test_data): New variable.
29661 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
29662 (yn_test_data): New variable.
29663 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
29664
6d33265c
JM
29665 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
29666
f98ece5f
AZ
296672013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29668
29669 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
29670 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
29671
0f7d347b
SP
296722013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
29673
43fe811b
SP
29674 * benchtests/Makefile (CPPFLAGS-nonlib): Add
29675 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
29676 (bench-deps): Add bench-timing.h.
29677 * benchtests-bench-skeleton.c: Include bench-timing.h.
29678 (main): Use TIMING_* macros instead of clock_gettime.
29679 * benchtests/bench-timing.h: New file.
29680
0f7d347b
SP
29681 [BZ #14582]
29682 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
29683 Renamed from _LIB_VERSION.
29684 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
29685
601a3a5f
JM
296862013-05-12 Joseph Myers <joseph@codesourcery.com>
29687
4f184d30
JM
29688 * math/libm-test.inc (struct test_fff_f_data): New type.
29689 (RUN_TEST_LOOP_fff_f): New macro.
29690 (fma_test_data): New variable.
29691 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
29692 (fma_towardzero_test_data): New variable.
29693 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
29694 (fma_downward_test_data): New variable.
29695 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
29696 (fma_upward_test_data): New variable.
29697 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
29698
08198877
JM
29699 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
29700 (struct test_c_c_data): New type.
29701 (RUN_TEST_LOOP_c_c): New macro.
29702 (cacos_test_data): New variable.
29703 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
29704 (cacosh_test_data): New variable.
29705 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
29706 (casin_test_data): New variable.
29707 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
29708 (casinh_test_data): New variable.
29709 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
29710 (catan_test_data): New variable.
29711 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
29712 (catanh_test_data): New variable.
29713 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
29714 (ccos_test_data): New variable.
29715 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
29716 (ccosh_test_data): New variable.
29717 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
29718 (cexp_test_data): New variable.
29719 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
29720 (clog_test_data): New variable.
29721 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
29722 (clog10_test_data): New variable.
29723 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
29724 (conj_test_data): New variable.
29725 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
29726 (cproj_test_data): New variable.
29727 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
29728 (csin_test_data): New variable.
29729 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
29730 (csinh_test_data): New variable.
29731 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
29732 (csqrt_test_data): New variable.
29733 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
29734 (ctan_test_data): New variable.
29735 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
29736 (ctan_tonearest_test_data): New variable.
29737 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
29738 (ctan_towardzero_test_data): New variable.
29739 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
29740 (ctan_downward_test_data): New variable.
29741 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
29742 (ctan_upward_test_data): New variable.
29743 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
29744 (ctanh_test_data): New variable.
29745 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
29746 (ctanh_tonearest_test_data): New variable.
29747 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
29748 (ctanh_towardzero_test_data): New variable.
29749 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
29750 (ctanh_downward_test_data): New variable.
29751 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
29752 (ctanh_upward_test_data): New variable.
29753 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
29754 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
29755 of BUILD_COMPLEX.
29756
601a3a5f
JM
29757 * math/libm-test.inc (struct test_ff_f_data): New type.
29758 (struct test_ff_f_data_nexttoward): Likewise.
29759 (RUN_TEST_LOOP_2_f): New macro.
29760 (RUN_TEST_LOOP_ff_f): Likewise.
29761 (atan2_test_data): New variable.
29762 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
29763 (copysign_test_data): New variable.
29764 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
29765 (fdim_test_data): New variable.
29766 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
29767 (fmax_test_data): New variable.
29768 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
29769 (fmin_test_data): New variable.
29770 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
29771 (fmod_test_data): New variable.
29772 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
29773 (hypot_test_data): New variable.
29774 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
29775 (nextafter_test_data): New variable.
29776 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
29777 (nexttoward_test_data): New variable.
29778 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
29779 (pow_test_data): New variable.
29780 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
29781 (pow_tonearest_test_data): New variable.
29782 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
29783 (pow_towardzero_test_data): New variable.
29784 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
29785 (pow_downward_test_data): New variable.
29786 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
29787 (pow_upward_test_data): New variable.
29788 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
29789 (remainder_test_data): New variable.
29790 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
29791 (scalb_test_data): New variable.
29792 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
29793 * sysdeps/i386/fpu/libm-test-ulps: Update.
29794
74c57478
JM
297952013-05-11 Joseph Myers <joseph@codesourcery.com>
29796
8329e4da
JM
29797 * math/libm-test.inc (fma_test): Use max_value instead of local
29798 variable fltmax.
29799 (nextafter_test): Likewise.
29800
74c57478
JM
29801 * math/libm-test.inc (acos_towardzero_test_data): New variable.
29802 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29803 (acos_downward_test_data): New variable.
29804 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29805 (acos_upward_test_data): New variable.
29806 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29807 (acosh_test_data): New variable.
29808 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
29809 (asin_test_data): New variable.
29810 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
29811 (asin_tonearest_test_data): New variable.
29812 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29813 (asin_towardzero_test_data): New variable.
29814 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29815 (asin_downward_test_data): New variable.
29816 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29817 (asin_upward_test_data): New variable.
29818 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29819 (asinh_test_data): New variable.
29820 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
29821 (atan_test_data): New variable.
29822 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
29823 (atanh_test_data): New variable.
29824 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
29825 (cbrt_test_data): New variable.
29826 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
29827 (ceil_test_data): New variable.
29828 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
29829 (cos_test_data): New variable.
29830 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
29831 (cos_tonearest_test_data): New variable.
29832 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29833 (cos_towardzero_test_data): New variable.
29834 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29835 (cos_downward_test_data): New variable.
29836 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29837 (cos_upward_test_data): New variable.
29838 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29839 (cosh_test_data): New variable.
29840 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
29841 (cosh_tonearest_test_data): New variable.
29842 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29843 (cosh_towardzero_test_data): New variable.
29844 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29845 (cosh_downward_test_data): New variable.
29846 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29847 (cosh_upward_test_data): New variable.
29848 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29849 (erf_test_data): New variable.
29850 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
29851 (erfc_test_data): New variable.
29852 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
29853 (exp_test_data): New variable.
29854 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
29855 (exp_tonearest_test_data): New variable.
29856 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29857 (exp_towardzero_test_data): New variable.
29858 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29859 (exp_downward_test_data): New variable.
29860 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29861 (exp_upward_test_data): New variable.
29862 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29863 (exp10_test_data): New variable.
29864 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
29865 (exp2_test_data): New variable.
29866 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
29867 (expm1_test_data): New variable.
29868 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
29869 (fabs_test_data): New variable.
29870 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
29871 (floor_test_data): New variable.
29872 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
29873 (j0_test_data): New variable.
29874 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
29875 (j1_test_data): New variable.
29876 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
29877 (log_test_data): New variable.
29878 (log_test): Run tests with RUN_TEST_LOOP_f_f.
29879 (log10_test_data): New variable.
29880 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
29881 (log1p_test_data): New variable.
29882 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
29883 (log2_test_data): New variable.
29884 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
29885 (logb_test_data): New variable.
29886 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
29887 (logb_downward_test_data): New variable.
29888 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29889 (nearbyint_test_data): New variable.
29890 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
29891 (rint_test_data): New variable.
29892 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
29893 (rint_tonearest_test_data): New variable.
29894 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29895 (rint_towardzero_test_data): New variable.
29896 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29897 (rint_downward_test_data): New variable.
29898 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29899 (rint_upward_test_data): New variable.
29900 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29901 (round_test_data): New variable.
29902 (round_test): Run tests with RUN_TEST_LOOP_f_f.
29903 (sin_test_data): New variable.
29904 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
29905 (sin_tonearest_test_data): New variable.
29906 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29907 (sin_towardzero_test_data): New variable.
29908 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29909 (sin_downward_test_data): New variable.
29910 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29911 (sin_upward_test_data): New variable.
29912 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29913 (sinh_test_data): New variable.
29914 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
29915 (sinh_tonearest_test_data): New variable.
29916 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29917 (sinh_towardzero_test_data): New variable.
29918 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29919 (sinh_downward_test_data): New variable.
29920 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29921 (sinh_upward_test_data): New variable.
29922 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29923 (sqrt_test_data): New variable.
29924 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
29925 (tan_test_data): New variable.
29926 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
29927 (tan_tonearest_test_data): New variable.
29928 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29929 (tan_towardzero_test_data): New variable.
29930 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29931 (tan_downward_test_data): New variable.
29932 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29933 (tan_upward_test_data): New variable.
29934 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29935 (tanh_test_data): New variable.
29936 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
29937 (tgamma_test_data): New variable.
29938 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
29939 (trunc_test_data): New variable.
29940 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
29941 (y0_test_data): New variable.
29942 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
29943 (y1_test_data): New variable.
29944 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
29945 (significand_test_data): New variable.
29946 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
29947
7187d844
CG
299482013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
29949
29950 [BZ #12387]
29951 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
29952
f63fae73
PT
299532013-05-10 Pino Toscano <toscano.pino@tiscali.it>
29954
29955 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
29956
8a67a4b3
AJ
299572013-05-10 Andreas Jaeger <aj@suse.de>
29958
29959 [BZ #15448]
29960 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
29961 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
29962
51df539d
JM
299632013-05-10 Joseph Myers <joseph@codesourcery.com>
29964
29965 * math/gen-libm-test.pl (adjust_arg): New function.
29966 (special_functions): Handle generating output in both functions
29967 and arrays.
29968 (parse_args): Likewise.
29969 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
29970 $in_func argument to parse_args.
29971 * math/libm-test.inc (struct test_f_f_data): New type.
29972 (IF_ROUND_INIT_): New macro.
29973 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
29974 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
29975 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
29976 (IF_ROUND_INIT_FE_UPWARD): Likewise.
29977 (ROUND_RESTORE_): Likewise.
29978 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
29979 (ROUND_RESTORE_FE_TONEAREST): Likewise.
29980 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
29981 (ROUND_RESTORE_FE_UPWARD): Likewise.
29982 (RUN_TEST_LOOP_f_f): New macro.
29983 (acos_test_data): New variable.
29984 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
29985 (acos_tonearest_test_data): New variable.
29986 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29987
5c637fe5
SP
299882013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
29989
29990 * benchtests/bench-skeleton.c (startup): Fix coding style.
29991
ab2b9461
JM
299922013-05-10 Joseph Myers <joseph@codesourcery.com>
29993
29994 [BZ #6809]
29995 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
29996 negative infinity argument.
29997 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
29998 negative infinity argument.
29999 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
30000 negative infinity argument.
30001 * math/libm-test.inc (tgamma_test): Expect errno to be set for
30002 domain errors.
30003
4c0fe6fe
FW
300042013-05-10 Florian Weimer <fweimer@redhat.com>
30005
30006 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
30007 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
30008 * iconv/iconv_prog.c (main): Likewise.
30009 * locale/programs/charmap-dir.c (charmap_readdir)
30010 (fopen_uncompressed): Likewise.
30011 * locale/programs/locfile.c (siblings_uncached)
30012 (write_locale_data): Use lstat64 instead of lstat.
30013 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
30014 stat.
30015
a3375d29
AJ
300162013-05-10 Andreas Jaeger <aj@suse.de>
30017
30018 [BZ #15395]
30019 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
30020 localization.
30021 Include <locale.h>.
30022
36129722
CD
300232013-05-09 Carlos O'Donell <carlos@redhat.com>
30024
30025 * elf/dl-close.c (_dl_close_worker): Add comments.
30026
faa7f811
JM
300272013-05-09 Joseph Myers <joseph@codesourcery.com>
30028
ed41ffef
JM
30029 [BZ #15359]
30030 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
30031 high part of pi/2.
30032 (__ieee754_rem_pio2l): Update comments.
30033
d0213cd0
JM
30034 [BZ #15429]
30035 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
30036 high part of pi/2.
30037 (__ieee754_rem_pio2l): Update comments.
30038
0d3e777a
JM
30039 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
30040 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
30041
24f56066
JM
30042 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
30043 M_PI_4l.
30044
faa7f811
JM
30045 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
30046 (M_PI_34_LOG10El): Likewise.
30047 (M_PI2_LOG10El): Likewise.
30048 (M_PI4_LOG10El): Likewise.
30049 (M_PI_LOG10El): Likewise.
30050
e9a5e0fd
AZ
300512013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30052
30053 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30054
d8cd06db
JM
300552013-05-08 Joseph Myers <joseph@codesourcery.com>
30056
a0d9f9d7
JM
30057 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
30058 (MINUS_ZERO_INIT): Likewise.
30059 (PLUS_INFTY_INIT): Likewise.
30060 (MINUS_INFTY_INIT): Likewise.
30061 (QNAN_VALUE_INIT): Likewise.
30062 (MAX_VALUE_INIT): Likewise.
30063 (MIN_VALUE_INIT): Likewise.
30064 (MIN_SUBNORM_VALUE_INIT): Likewise.
30065 (plus_zero): Initialize with PLUS_ZERO_INIT.
30066 (minus_zero): Initialize with MINUS_ZERO_INIT.
30067 (plus_infty): Initialize with PLUS_INFTY_INIT.
30068 (minus_infty): Initialize with MINUS_INFTY_INIT.
30069 (qnan_value): Initialize with QNAN_VALUE_INIT.
30070 (max_value): Initialize with MAX_VALUE_INIT.
30071 (min_value): Initialize with MIN_VALUE_INIT.
30072 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
30073
ae08db3b
JM
30074 * math/libm-test.inc (RUN_TEST_if_f): New macro.
30075 (jn_test): Use TEST_if_f instead of TEST_ff_f.
30076 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
30077 (yn_test): Use TEST_if_f instead of TEST_ff_f.
30078
f44bf14a
JM
30079 * math/libm-test.inc (RUN_TEST_f_f): New macro.
30080 (RUN_TEST_2_f): Likewise.
30081 (RUN_TEST_ff_f): Likewise.
30082 (RUN_TEST_fi_f): Likewise.
30083 (RUN_TEST_fl_f): Likewise.
30084 (RUN_TEST_fff_f): Likewise.
30085 (RUN_TEST_c_f): Likewise.
30086 (RUN_TEST_f_f1): Likewise.
30087 (RUN_TEST_fF_f1): Likewise.
30088 (RUN_TEST_fI_f1): Likewise.
30089 (RUN_TEST_ffI_f1): Likewise.
30090 (RUN_TEST_c_c): Likewise.
30091 (RUN_TEST_cc_c): Likewise.
30092 (RUN_TEST_f_i): Likewise.
30093 (RUN_TEST_f_i_tg): Likewise.
30094 (RUN_TEST_ff_i_tg): Likewise.
30095 (RUN_TEST_f_b): Likewise.
30096 (RUN_TEST_f_b_tg): Likewise.
30097 (RUN_TEST_f_l): Likewise.
30098 (RUN_TEST_f_L): Likewise.
30099 (RUN_TEST_sincos): Likewise.
30100 * math/gen-libm-test.pl (new_test): Take new argument to indicate
30101 whether to show exceptions. Do not include ");\n" in return
30102 value.
30103 (special_functions): Output call to RUN_TEST_sincos instead of
30104 check_float calls. Update calls to new_test.
30105 (parse_args): Output call to single RUN_TEST_* macro instead of
30106 check_* calls and other assignments. Update calls to new_test.
30107
d8cd06db
JM
30108 [BZ #2546]
30109 [BZ #2560]
30110 [BZ #5159]
30111 [BZ #15426]
30112 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
30113 input to result for tgamma overflow.
30114 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
30115 (gamma_coeff): New variable.
30116 (NCOEFF): New macro.
30117 (gamma_positive): New function.
30118 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
30119 underflow here. Use gamma_positive instead of exp (lgamma) for
30120 other arguments.
30121 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
30122 (gamma_coeff): New variable.
30123 (NCOEFF): New macro.
30124 (gammaf_positive): New function.
30125 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
30126 underflow here. Use gamma_positive instead of exp (lgamma) for
30127 other arguments.
30128 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
30129 (gamma_coeff): New variable.
30130 (NCOEFF): New macro.
30131 (gammal_positive): New function.
30132 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
30133 underflow here. Use gamma_positive instead of exp (lgamma) for
30134 other arguments.
30135 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
30136 (gamma_coeff): New variable.
30137 (NCOEFF): New macro.
30138 (gammal_positive): New function.
30139 (__ieee754_gammal_r): Handle positive infinity, overflow and
30140 underflow here. Handle NaN the same as positive infinity. Remove
30141 check x < 0xffffffff for negative integers. Use gamma_positive
30142 instead of exp (lgamma) for other arguments.
30143 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
30144 (gamma_coeff): New variable.
30145 (NCOEFF): New macro.
30146 (gammal_positive): New function.
30147 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
30148 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
30149 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
30150 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
30151 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
30152 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
30153 * sysdeps/generic/math_private.h (__gamma_productf): New
30154 prototype.
30155 (__gamma_product): Likewise.
30156 (__gamma_productl): Likewise.
30157 * math/Makefile (libm-calls): Add gamma_product.
30158 * math/libm-test.inc (tgamma_test): Add more tests.
30159 * sysdeps/i386/fpu/libm-test-ulps: Update.
30160 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30161
bb7cf681
OB
301622013-05-08 Ondřej Bílka <neleai@seznam.cz>
30163
30164 * benchtests/bench-skeleton.c (main): Preheat CPU.
30165
ba853947
AJ
301662013-05-07 Aurelien Jarno <aurelien@aurel32.net>
30167
30168 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
30169
8347c74c
RM
301702013-05-07 Roland McGrath <roland@hack.frob.com>
30171
30172 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
30173 and _dl_skip_args_internal.
30174
e8dd4791
CD
301752013-05-07 Carlos O'Donell <carlos@redhat.com>
30176
30177 * manual/message.texi (Message Translation): Talk about users.
30178 Message to key mapping impacts design.
30179
c7405830
RM
301802013-05-06 Roland McGrath <roland@hack.frob.com>
30181
a9173057
RM
30182 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
30183
976e2f03
RM
30184 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
30185
9723ffc5
RM
30186 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
30187 * sysdeps/wordsize-64/glob64.c: ... here.
30188
962e6658
RM
30189 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
30190 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
30191 New macros.
30192
ee586a6d
RM
30193 * debug/getlogin_r_chk.c: Moved to ...
30194 * login/getlogin_r_chk.c: ... here.
30195 * debug/Makefile (routines): Move getlogin_r_chk to ...
30196 * login/Makefile (routines): ... here.
30197 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
30198 * login/Versions (libc: GLIBC_2.4): ... here.
30199
355f9165
RM
30200 * io/poll.c (__poll): Renamed from poll.
30201 Add libc_hidden_def.
30202 (poll): Define as weak alias.
30203
bd9ffde6
RM
30204 * debug/ptsname_r_chk.c: Moved to ...
30205 * login/ptsname_r_chk.c: ... here.
30206 * debug/Makefile (routines): Move ptsname_r_chk to ...
30207 * login/Makefile (routines): ... here.
30208 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
30209 * login/Versions (libc: GLIBC_2.4): ... here.
30210
8fb16a04
RM
30211 * posix/getlogin.c: Moved to ...
30212 * login/getlogin.c: ... here.
30213 * posix/getlogin_r.c: Moved to ...
30214 * login/getlogin_r.c: ... here.
30215 * posix/getlogin_r.c: Moved to ...
30216 * login/getlogin_r.c: ... here.
30217 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
30218 * login/Makefile (routines): ... here.
30219 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
30220 * login/Versions (libc: GLIBC_2.0): ... here.
30221
b99b892f
RM
30222 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
30223 (setrlimit): Define as weak alias.
30224
c7405830
RM
30225 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
30226 Call __ names for open, ftruncate, and close.
30227 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
30228 (truncate): Define as weak alias.
30229
5bf96de5
JM
302302013-05-06 Joseph Myers <joseph@codesourcery.com>
30231
9ea3513c
JM
30232 * math/gen-libm-test.pl (parse_args): Initialize x before each
30233 test of frexp, modf and remquo.
30234
5bf96de5
JM
30235 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
30236 test signgam value.
30237
16e616a7
AZ
302382013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30239
30240 [BZ #15418]
30241 [BZ #15419]
30242 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
30243 internal tests.
30244 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
30245
d5e82754
RM
302462013-05-06 Roland McGrath <roland@hack.frob.com>
30247
30248 * elf/dl-writev.h: New file.
30249 * elf/dl-misc.c: Include it.
30250 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
30251 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
30252
a7548d41
JM
302532013-05-04 Joseph Myers <joseph@codesourcery.com>
30254
b7dab1e4
JM
30255 * math/libm-test.inc (noXFails): Remove variable.
30256 (noXPasses): Likewise.
30257 (BUILD_COMPLEX_INT): Remove macro.
30258 (print_screen): Remove xfail argument.
30259 (print_screen_max_error): Likewise.
30260 (update_stats): Likewise.
30261 (print_max_error): Likewise. Update calls to other affected
30262 functions.
30263 (print_complex_max_error): Likewise.
30264 (test_single_exception): Update calls to print_screen.
30265 (test_single_errno): Likewise.
30266 (check_float_internal): Remove xfail argument. Update calls to
30267 other affected functions.
30268 (check_float): Likewise.
30269 (check_complex): Likewise.
30270 (check_int): Likewise.
30271 (check_long): Likewise.
30272 (check_bool): Likewise.
30273 (check_longlong): Likewise.
30274 (main): Don't print noXFails and noXPasses.
30275 * math/gen-libm-test.pl (top level): Don't mention expected
30276 failure handling in comment.
30277 (new_test): Don't handle expected failures.
30278 (parse_args): Don't mention expected failure handling in comment.
30279 (generate_testfile): Don't handle expected failures.
30280 (parse_ulps): Likewise.
30281 (print_ulps_file): Likewise.
30282 (get_failure): Remove function.
30283 (output_test): Don't handle expected failures.
30284 * make/README.libm-test: Don't mention expected failure handling.
30285
a7548d41
JM
30286 * math/libm-test.inc (plus_zero): Make const. Add initializer.
30287 (minus_zero): Likewise.
30288 (plus_infty): Likewise.
30289 (minus_infty): Likewise.
30290 (qnan_value): Likewise.
30291 (max_value): Likewise.
30292 (min_value): Likewise.
30293 (min_subnorm_value): Likewise.
30294 (initialize): Do not initialize those variables dynamically.
30295
60bfd54c
RM
302962013-05-03 Roland McGrath <roland@hack.frob.com>
30297
cc0e6ed8
RM
30298 * io/open.c (__open_2): Moved to ...
30299 * io/open_2.c: ... this new file.
30300 * io/open64.c (__open64_2): Moved to ...
30301 * io/open64_2.c: ... this new file.
30302 * io/openat.c (__openat_2): Moved to ...
30303 * io/openat_2.c: ... this new file.
30304 * io/openat64.c (__openat64_2): Moved to ...
30305 * io/openat64_2.c: ... this new file.
30306 * io/Makefile (routines): Add them.
30307 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
30308 * sysdeps/unix/sysv/linux/open_2.c: File removed.
30309 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
30310 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
30311 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
30312 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
30313 (__openat64): Add hidden_ver.
30314 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
30315 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
30316
60bfd54c
RM
30317 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
30318 Separately conditionalize setting of GLRO(dl_sysinfo) so
30319 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
30320 as well, but the actual setting is only under [NEED_DL_SYSINFO].
30321
83e7640f
AZ
303222013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30323
30324 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
30325 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
30326 definition.
30327 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
30328 * sysdeps/unix/sysv/linux/powerpc/init-first.c
30329 (_libc_vdso_platform_setup): Add __vdso_time initialization.
30330 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
30331 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
30332
d5dc2af3
JM
303332013-05-03 Joseph Myers <joseph@codesourcery.com>
30334
c31a5b1e
JM
30335 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
30336 test signgam value.
30337
d5dc2af3
JM
30338 * math/libm-test.inc (hypot_test): Do not use
30339 IGNORE_ZERO_INF_SIGN.
30340
164fd39d
AJ
303412013-05-03 Andreas Jaeger <aj@suse.de>
30342
30343 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
30344 Linux 3.9.
30345 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
30346 (PF_MAX): Adjust for VSOCK change.
30347
8237f48c
AZ
303482013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30349
30350 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30351
9df02941
CD
303522013-05-02 Carlos O'Donell <carlos@redhat.com>
30353
30354 [BZ #15264]
30355 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
30356 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
30357 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
30358
d422395e
DM
303592013-05-02 David S. Miller <davem@davemloft.net>
30360
30361 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30362
a07c5731
OB
303632013-05-01 Ondřej Bílka <neleai@seznam.cz>
30364
30365 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
30366
1324e37f
RM
303672013-05-01 Roland McGrath <roland@hack.frob.com>
30368
30369 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
30370
0695940b
RS
303712013-05-01 Richard Smith <richard@metafoo.co.uk>
30372
bb5f27ad 30373 [BZ #14952]
0695940b
RS
30374 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
30375 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
30376 Use __attribute__ ((__gnu_inline__)).
30377 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
30378 Don't use __attribute__ ((__gnu_inline__)).
30379
10de07f5
JM
303802013-05-01 Joseph Myers <joseph@codesourcery.com>
30381
30382 [BZ #15423]
30383 * math/s_catan.c (__catan): Handle small real or imaginary part of
30384 input specially to avoid spurious underflow.
30385 * math/s_catanf.c (__catanf): Likewise.
30386 * math/s_catanh.c (__catanh): Likewise.
30387 * math/s_catanhf.c (__catanhf): Likewise.
30388 * math/s_catanhl.c (__catanhl): Likewise.
30389 * math/s_catanl.c (__catanl): Likewise.
30390 * math/libm-test.inc (catan_test): Add more tests.
30391 (catanh_test): Likewise.
30392 * sysdeps/i386/fpu/libm-test-ulps: Update.
30393 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30394
cb4d5414
AZ
303952013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30396
30397 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30398
caf84319
JM
303992013-04-30 Joseph Myers <joseph@codesourcery.com>
30400
30401 [BZ #15416]
30402 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
30403 accurately for denominator in atan2.
30404 * math/s_catanf.c (__catanf): Likewise.
30405 * math/s_catanh.c (__catanh): Likewise.
30406 * math/s_catanhf.c (__catanhf): Likewise.
30407 * math/s_catanhl.c (__catanhl): Likewise.
30408 * math/s_catanl.c (__catanl): Likewise.
30409 * math/libm-test.inc (catan_test): Add more tests.
30410 (catanh_test): Likewise.
30411 * sysdeps/i386/fpu/libm-test-ulps: Update.
30412 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30413
d569c6ee
SP
304142013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
30415
6dbe713d
SP
30416 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
30417
f0ee064b
SP
30418 * benchtests/Makefile (bench): Remove slow benchmarks.
30419 * benchtests/atan-inputs: Add slow benchmark inputs.
30420 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
30421 (BENCH_FUNC): Accept variant offset.
30422 (VARIANT): Define.
30423 * benchtests/bench-skeleton.c (main): Run benchmark for each
30424 variant.
30425 * benchtests/cos-inputs: Add slow benchmark inputs.
30426 * benchtests/exp-inputs: Likewise.
30427 * benchtests/pow-inputs: Likewise.
30428 * benchtests/sin-inputs: Likewise.
30429 * benchtests/slowatan-inputs: Remove.
30430 * benchtests/slowatan.c: Remove.
30431 * benchtests/slowcos-inputs: Remove.
30432 * benchtests/slowcos.c: Remove.
30433 * benchtests/slowexp-inputs: Remove.
30434 * benchtests/slowexp.c: Remove.
30435 * benchtests/slowpow-inputs: Remove.
30436 * benchtests/slowpow.c: Remove.
30437 * benchtests/slowsin-inputs: Remove.
30438 * benchtests/slowsin.c: Remove.
30439 * benchtests/slowtan-inputs: Remove.
30440 * benchtests/slowtan.c: Remove.
30441 * benchtests/tan-inputs: Add slow benchmark inputs.
30442 * scripts/bench.pl: Parse comments and directives.
30443
d569c6ee
SP
30444 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
30445 in CPPFLAGS.
30446 ($(objpfx)bench-%.c): Remove *-ITER.
30447 * benchtests/bench-modf.c: Remove definition of ITER.
30448 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
30449 (main): Loop for DURATION seconds instead of fixed number of
30450 iterations.
30451 * scripts/bench.pl: Don't expect iterations in parameters.
30452
a6a242fe
RM
304532013-04-29 Roland McGrath <roland@hack.frob.com>
30454
30455 * io/fchdir.c (__fchdir): Renamed from fchdir.
30456 (fchdir): Define as weak alias.
30457
f2da7793
JM
304582013-04-29 Joseph Myers <joseph@codesourcery.com>
30459
30460 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
30461 (ERRNO_EDOM): Likewise.
30462 (ERRNO_ERANGE): Likewise.
30463 (noErrnoTests): New variable.
30464 (init_max_error): Set errno to 0.
30465 (test_single_errno): New function.
30466 (test_errno): Likewise.
30467 (check_float_internal): Call test_errno. Set errno to 0.
30468 (check_complex): Refer to errno tests in comment.
30469 (check_int): Call test_errno. Set errno to 0.
30470 (check_long): Likewise.
30471 (check_bool): Likewise.
30472 (check_longlong): Likewise.
30473 (cos_test): Use ERRNO_* flags for errno tests instead of
30474 check_int.
30475 (expm1_test): Likewise.
30476 (fmod_test): Likewise.
30477 (ilogb_test): Likewise.
30478 (lgamma_test): Likewise.
30479 (pow_test): Likewise.
30480 (remainder_test): Likewise.
30481 (sin_test): Likewise.
30482 (tan_test): Likewise.
30483 (yn_test): Likewise.
30484 (initialize): Set errno to 0.
30485 (main): Print number of errno tests.
30486 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
30487
b1a36ceb
AJ
304882013-04-29 Andreas Jaeger <aj@suse.de>
30489
c3ed8088
AJ
30490 [BZ #15084]
30491 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
30492 and RES_USEVC.
30493
f1a24198
AJ
30494 [BZ #15085]
30495 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
30496 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
30497 unimplemented.
30498
9ce3b2cb
AJ
30499 [BZ #15380]
30500 * stdlib/random.c (__initstate): Return NULL if
30501 __initstate fails.
30502
f1a24198 30503 [BZ #15086]
b1a36ceb
AJ
30504 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
30505 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
30506 RES_SNGLKUPREOP.
30507
7e7b6f36
AZ
305082013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30509
30510 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30511
4d14f449
JM
305122013-04-29 Joseph Myers <joseph@codesourcery.com>
30513
30514 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
30515 of individual tests.
30516 (casin_test): Likewise.
30517 (casinh_test): Likewise.
30518
5b4217d7
JM
305192013-04-27 Joseph Myers <joseph@codesourcery.com>
30520
30521 [BZ #15409]
30522 * math/s_catan.c (__catan): Handle arguments with large real or
30523 imaginary part separately without squaring.
30524 * math/s_catanf.c (__catanf): Likewise.
30525 * math/s_catanh.c (__catanh): Likewise.
30526 * math/s_catanhf.c (__catanhf): Likewise.
30527 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
30528 and redefine.
30529 (__catanhl): Handle arguments with large real or imaginary part
30530 separately without squaring.
30531 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
30532 and redefine.
30533 (__catanl): Handle arguments with large real or imaginary part
30534 separately without squaring.
30535 * math/libm-test.inc (catan_test): Add more tests.
30536 (catanh_test): Likewise.
30537 * sysdeps/i386/fpu/libm-test-ulps: Update.
30538 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30539
4220c3ef
AJ
305402013-04-27 Andreas Jaeger <aj@suse.de>
30541
30542 [BZ #15007]
30543 * stdlib/stdlib.h: Update guards for qecvt.
30544 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
30545 <stdlib.h>.
30546
4721b2d1
AM
305472013-04-27 Allan McRae <allan@archlinux.org>
30548
30549 * sysdeps/i386/fpu/libm-test-ulps: Update.
30550
f0302940
JM
305512013-04-26 Joseph Myers <joseph@codesourcery.com>
30552
9457fd95
JM
30553 [BZ #15406]
30554 * math/s_catan.c: Include <float.h>.
30555 (__catan): Ensure underflow exception occurs for underflowed
30556 result.
30557 * math/s_catanf.c: Include <float.h>.
30558 (__catanf): Ensure underflow exception occurs for underflowed
30559 result.
30560 * math/s_catanh.c: Include <float.h>.
30561 (__catanh): Ensure underflow exception occurs for underflowed
30562 result.
30563 * math/s_catanhf.c: Include <float.h>.
30564 (__catanhf): Ensure underflow exception occurs for underflowed
30565 result.
30566 * math/s_catanhl.c: Include <float.h>.
30567 (__catanhl): Ensure underflow exception occurs for underflowed
30568 result.
30569 * math/s_catanl.c: Include <float.h>.
30570 (__catanl): Ensure underflow exception occurs for underflowed
30571 result.
30572 * math/libm-test.inc (catan_test): Add more tests.
30573 (catanh_test): Likewise.
30574
f0302940
JM
30575 [BZ #15405]
30576 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
30577 underflowed result.
30578 * math/s_ccoshf.c (__ccoshf): Likewise.
30579 * math/s_ccoshl.c (__ccoshl): Likewise.
30580 * math/s_csin.c (__csin): Likewise.
30581 * math/s_csinf.c (__csinf): Likewise.
30582 * math/s_csinh.c (__csinh): Likewise.
30583 * math/s_csinhf.c (__csinhf): Likewise.
30584 * math/s_csinhl.c (__csinhl): Likewise.
30585 * math/s_csinl.c (__csinl): Likewise.
30586 * math/libm-test.inc (ccos_test): Add more tests.
30587 (ccosh_test): Likewise.
30588 (csin_test): Likewise.
30589 (csinh_test): Likewise.
30590
aa630f59
AZ
305912013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30592
30593 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
30594 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
30595 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
30596 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
30597 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
30598 powerpc/power5+/fpu folders.
30599 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
30600
30601
1b835983
MT
306022013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
30603
30604 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30605
73709b26
JM
306062013-04-25 Joseph Myers <joseph@codesourcery.com>
30607
30608 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
30609 additions to variable.
30610 [$(config-machine) = x86_64] (modules-names): Likewise.
30611 ($(objpfx)tst-audit3): Remove dependency.
30612 ($(objpfx)tst-audit3.out): Likewise.
30613 ($(objpfx)tst-audit4): Likewise.
30614 ($(objpfx)tst-audit4.out): Likewise.
30615 ($(objpfx)tst-audit5): Likewise.
30616 ($(objpfx)tst-audit5.out): Likewise.
30617 ($(objpfx)tst-audit6): Likewise.
30618 ($(objpfx)tst-audit6.out): Likewise.
30619 ($(objpfx)tst-audit7): Likewise.
30620 ($(objpfx)tst-audit7.out): Likewise.
30621 (tst-audit3-ENV): Remove variable.
30622 (tst-audit4-ENV): Likewise.
30623 (tst-audit5-ENV): Likewise.
30624 (tst-audit6-ENV): Likewise.
30625 (tst-audit7-ENV): Likewise.
30626 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
30627 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
30628 addition to variable.
30629 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
30630 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
30631 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
30632 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
30633 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
30634 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
30635 tst-audit3, tst-audit4 and tst-audit5.
30636 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
30637 tst-audit6 and tst-audit7.
30638 [$(subdir) = elf] (modules-names): Add audit modules for those
30639 tests.
30640 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
30641 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
30642 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
30643 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
30644 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
30645 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
30646 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
30647 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
30648 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
30649 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
30650 [$(subdir) = elf] (tst-audit3-ENV): New variable.
30651 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
30652 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
30653 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
30654 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
30655 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
30656 Likewise.
30657 [$(subdir) = elf && $(config-cflags-avx) = yes]
30658 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
30659 [$(subdir) = elf && $(config-cflags-avx) = yes]
30660 (CFLAGS-tst-auditmod4a.c): Likewise.
30661 [$(subdir) = elf && $(config-cflags-avx) = yes]
30662 (CFLAGS-tst-auditmod4b.c): Likewise.
30663 [$(subdir) = elf && $(config-cflags-avx) = yes]
30664 (CFLAGS-tst-auditmod6b.c): Likewise.
30665 [$(subdir) = elf && $(config-cflags-avx) = yes]
30666 (CFLAGS-tst-auditmod6c.c): Likewise.
30667 [$(subdir) = elf && $(config-cflags-avx) = yes]
30668 (CFLAGS-tst-auditmod7b.c): Likewise.
30669 * elf/tst-audit3.c: Move to ...
30670 * sysdeps/x86_64/tst-audit3.c: ... here.
30671 * elf/tst-audit4.c: Move to ...
30672 * sysdeps/x86_64/tst-audit4.c: ... here.
30673 * elf/tst-audit5.c: Move to ...
30674 * sysdeps/x86_64/tst-audit5.c: ... here.
30675 * elf/tst-audit6.c: Move to ...
30676 * sysdeps/x86_64/tst-audit6.c: ... here.
30677 * elf/tst-audit7.c: Move to ...
30678 * sysdeps/x86_64/tst-audit7.c: ... here.
30679 * elf/tst-auditmod3a.c: Move to ...
30680 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
30681 * elf/tst-auditmod3b.c: Move to ...
30682 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
30683 * elf/tst-auditmod4a.c: Move to ...
30684 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
30685 * elf/tst-auditmod4b.c: Move to ...
30686 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
30687 * elf/tst-auditmod5a.c: Move to ...
30688 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
30689 * elf/tst-auditmod5b.c: Move to ...
30690 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
30691 * elf/tst-auditmod6a.c: Move to ...
30692 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
30693 * elf/tst-auditmod6b.c: Move to ...
30694 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
30695 * elf/tst-auditmod6c.c: Move to ...
30696 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
30697 * elf/tst-auditmod7a.c: Move to ...
30698 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
30699 * elf/tst-auditmod7b.c: Move to ...
30700 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
30701
1ef74943
PP
307022013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
30703
30704 [BZ #15366]
30705 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
30706 define unconditionally.
30707 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
30708 define unconditionally.
30709 (INT8_C, INT16_C, etc.): Likewise.
30710
93fd48c5
MR
307112013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
30712
ae9552cf
MR
30713 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
30714 __ehdr_start with hidden visibility.
30715
93fd48c5
MR
30716 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
30717
418601aa
CD
307182013-04-24 Carlos O'Donell <carlos@redhat.com>
30719
30720 * math/libm-test.inc (cos_test): Use accurate hex constants.
30721 (sincost_test): Likewise.
30722
2f38fbfe
JM
307232013-04-24 Joseph Myers <joseph@codesourcery.com>
30724
5e221800
JM
30725 * math/libm-test.inc (catan_test): Add more tests.
30726 (catanh_test): Likewise.
30727
77f143fd
JM
30728 * math/s_catanf.c (__catanf): Use suffixed floating-point
30729 constants.
30730 * math/s_catanhf.c (__catanhf): Likewise.
30731 * math/s_catanhl.c (__catanhl): Likewise.
30732 * math/s_catanl.c (__catanl): Likewise.
30733
2f38fbfe
JM
30734 [BZ #15394]
30735 * math/s_catan.c (__catan): Calculate imaginary part of result
30736 with log1p not log unless computing log of number close to 0.
30737 * math/s_catanf.c (__catanf): Likewise.
30738 * math/s_catanl.c (__catanl): Likewise.
30739 * math/s_catanh.c (__catanh): Calculate real part of result with
30740 log1p not log unless computing log of number close to 0.
30741 * math/s_catanhf.c (__catanhf): Likewise.
30742 * math/s_catanhl.c (__catanhl): Likewise.
30743 * math/libm-test.inc (catan_test): Add more tests.
30744 (catanh_test): Likewise.
30745 * sysdeps/i386/fpu/libm-test-ulps: Update.
30746 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30747
45d69176
SP
307482013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
30749
30750 * benchtests/Makefile: Mention files in which fast and slow
30751 paths of math functions are implemented.
30752
87f51853
RM
307532013-04-23 Roland McGrath <roland@hack.frob.com>
30754
30755 * sysdeps/posix/timespec_get.c: New file.
30756
3c026539
AZ
307572013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30758
30759 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
30760 POWER.
30761 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
30762 for POWER.
30763 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
30764 powerpc/power5/fpu folders.
30765 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
30766 * benchtests/Makefile: Add modf testcase.
30767 * benchtests/bench-modf.c: New file: Benchmark test for mo
30768
ff491d14
SP
307692013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
30770
30771 [BZ #14888]
30772 * time/Makefile (tests): Add tst-strptime-whitespace.
30773 * time/strptime_l.c (get_number): Use ISSPACE.
30774 (__strptime_internal): Likewise.
30775 * time/tst-strptime-whitespace.c: New test case.
30776
7ed3f4e8
AS
307772013-04-23 Andreas Schwab <schwab@linux-m68k.org>
30778
30779 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
30780 member.
30781 (_nss_files_init): Set it here.
30782
5c95f7b6
HC
307832013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
30784
30785 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
30786 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
30787 unsigned.
30788
d34c9158
JBG
307892013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
30790
30791 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
30792
2169712d
SP
307932013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
30794
30795 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
30796 size just once.
30797
29c5de99
DM
307982013-04-21 David S. Miller <davem@davemloft.net>
30799
30800 * po/ru.po: Update Russion translation from translation project.
30801
ccdad15d
AC
308022013-04-17 Adam Conrad <adconrad@0c3.net>
30803
30804 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
30805 and setfsgid.
30806
0f122b8d
CD
308072013-04-17 Carlos O'Donell <carlos@redhat.com>
30808
5c5b07da 30809 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 30810 * configure: Regenerate.
5c5b07da 30811 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
30812 Add example to error message.
30813 * sysdeps/i386/configure: Regenerate.
30814
037714dd
SP
308152013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
30816
30817 * benchtests/Makefile (bench): Add cos, tan, slowcos and
30818 slowtan.
30819 * benchtests/cos-inputs: New file.
30820 * benchtests/slowcos-inputs: New file.
30821 * benchtests/slowcos.c: New file.
30822 * benchtests/slowtan-inputs: New file.
30823 * benchtests/slowtan.c: New file.
30824 * benchtests/tan-inputs: New file.
30825
e913141d
RM
308262013-04-16 Roland McGrath <roland@hack.frob.com>
30827
30828 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
30829 considered kosher.
30830
a2964074
SP
308312013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
30832
4856bcd2
SP
30833 * benchtests/Makefile: Include cppflags-iterator.mk to add
30834 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
30835
a2964074
SP
30836 * Makefile.in (bench-clean): New target.
30837 * benchtests/Makefile (bench-clean): Likewise.
30838
9fbf9aca
DH
308392013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
30840
30841 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
30842
207d1e2a
TS
308432013-04-15 Thomas Schwinge <thomas@codesourcery.com>
30844
30845 * stdio-common/tstdiomisc.c: Fix coding-style violation.
30846
306dfba9
AS
308472013-04-15 Andreas Schwab <schwab@suse.de>
30848
30849 * nscd/grpcache.c (cache_addgr): Properly check for short write.
30850 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30851 * nscd/pwdcache.c (cache_addpw): Likewise.
30852 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
30853 more than recsize.
30854
206a6699
SP
308552013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30856
30857 * benchtests/Makefile (bench): Write all output to
30858 bench-out.tmp together.
30859
0582f6b3
AS
308602013-04-15 Andreas Schwab <schwab@suse.de>
30861
30862 * nscd/nscd.c (main): Don't fork again after closing files.
30863
acb4325f
SP
308642013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30865
5cb26d0a
SP
30866 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
30867
acb4325f
SP
30868 * benchtests/Rules (bench-deps): Collect dependencies into a
30869 single variable. Add Makefile to dependencies.
30870 ($(objpfx)bench-%.c): Depend on bench-deps.
30871
47792506
RM
308722013-04-12 Roland McGrath <roland@hack.frob.com>
30873 Xavier Roche <roche+kml2@exalead.com>
30874
30875 [BZ #15361]
30876 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
30877 just that it's a file descriptor.
30878 * manual/llio.texi (Synchronizing AIO Operations): Update description
30879 for EBADF error from aio_fsync.
30880
8fc1bee5
SP
308812013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
30882
30883 * Rules (bench): Move target definition...
30884 * benchtests/Makefile: ... here.
30885
aba5e333
CD
308862013-04-11 Carlos O'Donell <carlos@redhat.com>
30887
30888 * math/libm-test.inc (cos_test): Fix PI/2 test.
30889 (sincos_test): Likewise.
30890 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
30891 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
30892
273cdee8
AS
308932013-04-11 Andreas Schwab <schwab@suse.de>
30894
6ecec3b6
AS
30895 [BZ #13988]
30896 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
30897 accept exponent character only when digits were seen.
30898 * stdio-common/Makefile (tests): Add bug26.
30899 * stdio-common/bug26.c: New file.
30900
273cdee8
AS
30901 [BZ #14293]
30902 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
30903 non-freeable.
30904
8da491f5
SP
309052013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
30906
01dc6df9
SP
30907 * Makeconfig (rtld-prefix): Define built linker prefix.
30908 * Rules (run-bench): Use it.
30909 * math/Makefile (run-regen-ulps): Likewise.
30910
8da491f5
SP
30911 * Rules (bench): Remove eval.
30912
abe7f530
SP
309132013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
30914 Roland McGrath <roland@hack.frob.com>
30915 Ondrej Bilka <neleai@seznam.cz>
30916
30917 [BZ #15346]
30918 * time/getdate.c: Include ctype.h and alloca.h.
30919 (__getdate_r): Trim leading and trailing spaces of input.
30920 * time/tst-getdate.c (tests): Add tests with leading and
30921 trailing spaces.
30922
61c23e62
RM
309232013-04-08 Roland McGrath <roland@hack.frob.com>
30924
30925 [BZ #14280]
30926 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
30927 when computing value.
30928
7208a313
CD
309292013-04-06 Carlos O'Donell <carlos@redhat.com>
30930
085b2d41
CD
30931 * math/README.libm-test (How can I generate "libm-test-ulps"?):
30932 Use testrun.sh to run libm tests.
30933
7208a313
CD
30934 [BZ #15309]
30935 * elf/dl-open.c (dl_open_worker): memset all of seen array.
30936
872c0acd
MM
309372013-04-06 Marko Myllynen <myllynen@redhat.com>
30938
30939 [BZ #15264]
30940 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
30941
26510bdd
CD
309422013-04-06 Carlos O'Donell <carlos@redhat.com>
30943
30944 * Makefile.in (regen-ulps): New target.
30945 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
30946 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
30947 [ifneq (no,$(PERL)] (regen-ulps): New target.
30948 [ifeq (no,$(PERL)] (regen-ulps): New target.
30949 * math/libm-test.inc (ulps_file_name): Define.
30950 (output_dir): New variable.
30951 (options): Add "output-dir" option.
30952 (parse_opt): Handle 'o' case.
30953 (main): If output_dir is non-NULL use it as a prefix
30954 otherwise use "".
30955 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
30956
a01f19c8
CD
309572013-04-06 Carlos O'Donell <carlos@redhat.com>
30958
30959 [BZ #10060, #10062]
30960 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
30961 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
30962 fail configure if __sync_val_compare_and_swap is not inlined.
30963 * sysdeps/i386/configure: Regenerate.
30964 * configure.in: Build for i686 when configured for i386.
30965 * configure: Regenerate.
30966 * README: Remove i386 reference.
30967
b7a329a5
CD
309682013-04-06 Carlos O'Donell <carlos@redhat.com>
30969
30970 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
30971 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30972
bf0f50df
TS
309732013-04-05 Thomas Schwinge <thomas@codesourcery.com>
30974
ee091edf
TS
30975 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
30976 (lmsnanval): New variables.
30977 (F): Add conversion tests.
30978 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
30979 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
30980
a8b792d6
TS
30981 * stdio-common/tstdiomisc.c (F): Properly collect individual
30982 tests' results.
30983
a1cbf437
TS
30984 [BZ #14686, #15336]
30985 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
30986 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
30987 Instead, use input NaN values or generate a qNaN by arithmetic
30988 operation. Also fix bugs to comply with the standard.
30989 * math/libm-test.inc (remainder_test): Add more tests.
30990
8b43a0c9
TS
30991 [BZ #15335, #15342]
30992 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
30993 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
30994 input NaN values or generate a qNaN by arithmetic operation.
30995
d91da4ce
TS
30996 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
30997 unreachable code.
30998
bf0f50df
TS
30999 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
31000 definitions.
31001
05e166c8
JM
310022013-04-03 Joseph Myers <joseph@codesourcery.com>
31003
31004 [BZ #14478]
31005 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
31006 underflowed result.
31007 * math/s_cexpf.c (__cexpf): Likewise.
31008 * math/s_cexpl.c (__cexpl): Likewise.
31009 * math/libm-test.inc (cexp_test): Add more tests.
31010
1cef1b19
AS
310112013-04-03 Andreas Schwab <schwab@suse.de>
31012
31013 [BZ #15330]
31014 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
31015 order arrays from heap if bigger than alloca cutoff.
31016
74d87055
TS
310172013-04-03 Thomas Schwinge <thomas@codesourcery.com>
31018
31019 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
31020 (SNAN_TESTS_double): Refer to GCC PR56831.
31021 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
31022 GCC PR56828.
31023
d755bba4
SP
310242013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
31025
90d5d5bb
SP
31026 * Rules (bench): Move bench.out after the run is complete.
31027
73e0cd5d
SP
31028 * Rules (bench): Echo currently running benchmark.
31029
64aabd4b
SP
31030 * benchtests/Makefile (bench): Add atan and slowatan.
31031 * benchtests/atan-inputs: New file.
31032 * benchtests/slowatan-inputs: New file.
31033 * benchtests/slowatan.c: New file.
31034
c871eccd
SP
31035 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
31036 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
31037 its value.
31038
d755bba4
SP
31039 [BZ #15305]
31040 * sysdeps/unix/sysv/linux/kernel-features.h
31041 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
31042 __ASSUME_XFS_RESTRICTED_CHOWN.
31043 * sysdeps/unix/sysv/linux/pathconf.c
31044 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
31045 Save and restore errno.
31046
52ce4860
JM
310472013-04-02 Joseph Myers <joseph@codesourcery.com>
31048
31049 [BZ #15327]
31050 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
31051 arguments using __kernel_casinh.
31052 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
31053 arguments using __kernel_casinhf.
31054 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
31055 arguments using __kernel_casinhl.
31056 * math/libm-test.inc (cacosh_test): Add more tests.
31057 * sysdeps/i386/fpu/libm-test-ulps: Update.
31058 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31059
81f311c2
SP
310602013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
31061
e7906a47
SP
31062 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
31063 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
31064
92e3664b
SP
31065 * bench/Makefile (bench): Add sin and slowsin.
31066 * benchtests/sin-inputs: New file.
31067 * benchtests/slowsin-inputs: New file.
31068 * benchtests/slowsin.c: New file.
31069
81f311c2
SP
31070 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
31071 (bench): Add slowexp and slowpow.
31072 (exp-ITER): Increase iterations.
31073 (pow-ITER): Likewise.
31074 * benchtests/exp-inputs: Change input.
31075 * benchtests/pow-inputs: Likewise.
31076 * benchtests/slowexp-inputs: New file.
31077 * benchtests/slowexp.c: New file.
31078 * benchtests/slowpow-inputs: New file.
31079 * benchtests/slowpow.c: New file.
31080
ab0f1aa9
AZ
310812013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31082
31083 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
31084 instructions.
31085 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
31086 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
31087 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
31088 * benchtests/Makefile: Add rint benchtest.
31089 * benchtests/rint-inputs: Input for rint benchtest.
31090
57267616
TS
310912013-04-02 Thomas Schwinge <thomas@codesourcery.com>
31092
31093 * Versions.def (libm): Add GLIBC_2.18.
31094 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
31095 hidden libm prototypes.
31096 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
31097 * math/Makefile (libm-calls): Add s_issignaling.
31098 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
31099 __issignalingf, __issignalingl. Adjust all libm.abilist files.
31100 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
31101 declaration.
31102 * math/math.h [__USE_GNU] (issignaling): New macro.
31103 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
31104 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
31105 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
31106 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
31107 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
31108 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
31109 * manual/arith.texi (issignaling): New section.
31110 * manual/libm-err-tab.pl (@all_functions): Update comment.
31111 * math/gen-libm-test.pl (parse_args): Apply special handling for
31112 issignaling.
31113 * math/libm-test.inc (print_float, issignaling_test): New
31114 functions.
31115 (check_float_internal): Add issignaling checks.
31116 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
31117 default definition.
31118 * sysdeps/powerpc/math-tests.h: New file.
31119 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
31120 tests.
31121 * math/test-snan.c (TEST_FUNC): Likewise.
31122
6142896d
DM
311232013-03-30 David S. Miller <davem@davemloft.net>
31124
31125 * po/de.po: Update from translation team.
31126
ccc8cadf
JM
311272013-03-30 Joseph Myers <joseph@codesourcery.com>
31128
31129 [BZ #10357]
31130 * math/k_casinh.c (__kernel_casinh): Handle arguments with
31131 imaginary part less than 1.0 and real part less than 0.5
31132 specially.
31133 * math/k_casinhf.c (__kernel_casinhf): Likewise.
31134 * math/k_casinhl.c (__kernel_casinhl): Likewise.
31135 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
31136 (cacos_test): Add more tests.
31137 (casin_test): Likewise.
31138 (casinh_test): Likewise.
31139 * sysdeps/i386/fpu/libm-test-ulps: Update.
31140 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31141
0f6a8d4b
SP
311422013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
31143
0d1029de
SP
31144 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
31145 ONE with its value.
31146
c2d94018
SP
31147 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
31148 (__pow_mp): Replace ONE and MONE with their values.
31149 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
31150 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
31151 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
31152 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
31153 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
31154 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
31155
27ec37f1
SP
31156 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
31157
a64d7e0e
SP
31158 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
31159 (__pow_mp): Replace ZERO and MZERO with their values.
31160 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
31161 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
31162 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
31163 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
31164 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
31165 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
31166 (__sqr): Likewise.
31167
d26dd3eb
SP
31168 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
31169
0f6a8d4b
SP
31170 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
31171
e57b0c61
RM
311722013-03-28 Roland McGrath <roland@hack.frob.com>
31173
31174 * include/stdlib.h [!SHARED] (__call_tls_dtors):
31175 Declare with __attribute__ ((weak)).
31176 * stdlib/exit.c (__libc_atexit) [!SHARED]:
31177 Call __call_tls_dtors only if it's not NULL.
31178
356b3480
RM
311792013-03-28 Roland McGrath <roland@hack.frob.com>
31180
288f7d79
RM
31181 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
31182 didn't do it already, then set _dl_phdr and _dl_phnum based on the
31183 magic __ehdr_start linker symbol if it's defined.
31184 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
31185 them up here if it was already done.
31186
dc0a0263
RM
31187 * elf/dl-support.c (_dl_phdr): Make pointer to const.
31188 (_dl_aux_init): Use const in cast when setting it.
31189 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
31190 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
31191 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
31192
3d3436ae
RM
31193 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
31194 Declare them here.
31195 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
31196 * csu/libc-tls.c: Nor here.
31197 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
31198
356b3480
RM
31199 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
31200 (__libc_message): Never call vsyslog.
31201
b0f1246a
AM
312022013-03-28 Alan Modra <amodra@gmail.com>
31203
31204 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
31205 Define as empty.
31206 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
31207 Likewise.
31208
fbbe2b9a
AZ
312092013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31210
31211 [BZ #15214]
31212 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
31213 underflow.
31214 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31215
1728ab37
SP
312162013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31217
7a86be6e
SP
31218 [BZ #15304]
31219 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
31220 Don't add gid passed as argument.
31221
1728ab37
SP
31222 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
31223
3a7182a1
JM
312242013-03-27 Joseph Myers <joseph@codesourcery.com>
31225
31226 [BZ #15307]
31227 * math/k_casinh.c (__kernel_casinh): Handle arguments with
31228 imaginary part between 1.0 and 1.5 and real part less than 0.5
31229 specially.
31230 * math/k_casinhf.c (__kernel_casinhf): Likewise.
31231 * math/k_casinhl.c (__kernel_casinhl): Likewise.
31232 * math/libm-test.inc (cacos_test): Add more tests.
31233 (casin_test): Likewise.
31234 (casinh_test): Likewise.
31235 * sysdeps/i386/fpu/libm-test-ulps: Update.
31236 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31237
6f2e90e7
SP
312382013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31239
5739f705
SP
31240 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
31241 constants.
31242 (norm): Likewise.
31243 (denorm): Likewise.
31244 (__dbl_mp): Likewise.
31245 (add_magnitudes): Likewise.
31246 (sub_magnitudes): Likewise.
31247 (__add): Likewise.
31248 (__sub): Likewise.
31249 (__mul): Likewise.
31250 (__sqr): Likewise.
31251 (__inv): Likewise.
31252 (__dvd): Likewise.
31253
e375e83d
SP
31254 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
31255 commented code.
31256 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
31257 (__dubcos): Likewise.
31258 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
31259 (__ieee754_acos): Likewise.
31260 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
31261 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
31262 (__exp1): Likewise.
31263 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
31264 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
31265 (log1): Likewise.
31266 (my_log2): Likewise.
31267 (checkint): Likewise.
31268 * sysdeps/ieee754/dbl-64/e_remainder.c
31269 (__ieee754_remainder): Likewise.
31270 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
31271 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
31272 (bsloww): Likewise.
31273 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
31274
6f2e90e7
SP
31275 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
31276 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
31277 MANTISSA_STORE_T to store computations on mantissa. Use
31278 macros for rounding and division.
31279 (denorm): Likewise.
31280 (__dbl_mp): Likewise.
31281 (add_magnitudes): Likewise.
31282 (sub_magnitudes): Likewise.
31283 (__mul): Likewise.
31284 (__sqr): Likewise.
31285 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
31286 powers of two in terms of TWOPOW macro.
31287 (mp_no): Make type of mantissa as MANTISSA_T.
31288 [!RADIXI]: Define RADIXI.
31289 [!TWO52]: Define TWO52.
31290 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
31291
fce14d4e
AZ
312922013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31293
31294 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
31295 llroundl symbol when building for PPC32.
31296
9ad027fb
MW
312972013-03-24 Mark H Weaver <mhw@netris.org>
31298
31299 * manual/arith.texi (Normalization Functions): Fix prototypes for
31300 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
31301
e42a38dd
AZ
313022013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31303
31304 [BZ #13889]
31305 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
31306 high value to check if expl overflow.
31307 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
31308 to check for underflow and overflow.
31309 * math/libm-test.inc: Add exp test.
31310
2e0fb521
DL
313112013-03-21 Dmitry V. Levin <ldv@altlinux.org>
31312
31313 [BZ #11120]
31314 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
31315 with NOT_IN_libc.
31316
b5784d95
AZ
313172013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31318
31319 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
31320 symbol.
31321
5aa4a1a1
TS
313222013-03-21 Thomas Schwinge <thomas@codesourcery.com>
31323
bdef0be7
TS
31324 * math/gen-libm-test.pl (parse_args, special_functions): Properly
31325 wrap blocks consisting of several statements.
31326
5aa4a1a1
TS
31327 * sysdeps/generic/math-tests.h: New file.
31328 * sysdeps/i386/fpu/math-tests.h: Likewise.
31329 * math/test-snan.c: Include it.
31330 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
31331
98c48fe5
JM
313322013-03-21 Joseph Myers <joseph@codesourcery.com>
31333
31334 [BZ #15285]
31335 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
31336 (__ieee754_j0l): Do not improve calculations using cos of twice
31337 input for inputs above LDBL_MAX / 2.0L.
31338 (__ieee754_y0l): Likewise.
31339 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
31340 (__ieee754_j1l): Do not improve calculations using cos of twice
31341 input for inputs above LDBL_MAX / 2.0L.
31342 (__ieee754_y1l): Likewise.
31343 * math/libm-test.inc (j0_test): Add another test.
31344 (j1_test): Likewise.
31345 (y0_test): Likewise.
31346 (y1_test): Likewise.
31347 * sysdeps/i386/fpu/libm-test-ulps: Update.
31348
3775a8bc
SP
313492013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
31350
31351 * Rules ($(objpfx)bench-%.c): Include code from a C source
31352 file.
31353
0a1b2ae6
JM
313542013-03-21 Joseph Myers <joseph@codesourcery.com>
31355
31356 [BZ #15287]
31357 * math/k_casinh.c (__kernel_casinh): Handle arguments with
31358 imaginary part 1.0 and real part less than 0.5 specially.
31359 * math/k_casinhf.c (__kernel_casinhf): Likewise.
31360 * math/k_casinhl.c (__kernel_casinhl): Likewise.
31361 * math/libm-test.inc (cacos_test): Add more tests.
31362 (casin_test): Likewise.
31363 (casinh_test): Likewise.
31364 * sysdeps/i386/fpu/libm-test-ulps: Update.
31365 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31366
b33d4ce4
SP
313672013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
31368
31369 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
31370 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
31371
bef0b507
JM
313722013-03-20 Joseph Myers <joseph@codesourcery.com>
31373
31374 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
31375 * config.make.in (config-cflags-sse4): Remove variable.
31376 (config-cflags-avx): Likewise.
31377 (config-cflags-sse2avx): Likewise.
31378 (config-cflags-novzeroupper): Likewise.
31379 (config-asflags-i686): Likewise.
31380 (have-mfma4): Likewise.
31381 (have-as-vis3): Likewise.
31382 (MIG): Likewise.
31383 * configure.in (MIG): Do not AC_SUBST.
31384 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
31385 (libc_cv_cc_sse4): Do not AC_SUBST.
31386 (libc_cv_cc_avx): Likewise.
31387 (libc_cv_cc_sse2avx): Likewise.
31388 (libc_cv_cc_novzeroupper): Likewise.
31389 (libc_cv_cc_fma4): Likewise.
31390 (libc_cv_as_i686): Likewise.
31391 (libc_cv_sparc_as_vis3): Likewise.
31392 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
31393 LIBC_CONFIG_VAR.
31394 (config-asflags-i686): Likewise.
31395 (config-cflags-avx): Likewise.
31396 (config-cflags-sse2avx): Likewise.
31397 (have-mfma4): Likewise.
31398 (config-cflags-novzeroupper): Likewise.
31399 * sysdeps/mach/configure.in (MIG): Likewise.
31400 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
31401 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
31402 LIBC_CONFIG_VAR.
31403 (config-cflags-avx): Likewise.
31404 (config-cflags-sse2avx): Likewise.
31405 (have-mfma4): Likewise.
31406 (config-cflags-novzeroupper): Likewise.
31407 * configure: Regenerated.
31408 * sysdeps/i386/configure: Likewise.
31409 * sysdeps/mach/configure: Likewise.
31410 * sysdeps/sparc/configure: Likewise.
31411 * sysdeps/x86_64/configure: Likewise.
31412
912cc4b3
RM
314132013-03-20 Roland McGrath <roland@hack.frob.com>
31414
31415 [BZ #14812]
31416 * locale/programs/localedef.c (options): Put N_ translation marker
31417 on argument names, not just descriptions.
31418
04eed2b0
MS
314192013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31420
31421 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
31422
a065ceff
OB
314232013-03-20 Ondřej Bílka <neleai@seznam.cz>
31424
9bb2a810 31425 [BZ #14176]
a065ceff
OB
31426 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
31427
a600e5ce
RM
314282013-03-19 Roland McGrath <roland@hack.frob.com>
31429
31430 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
31431 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
31432 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
31433 [!BEFORE_ABORT] (before_abort): New function.
31434 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
31435 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
31436 (writev_for_fatal): New function.
31437 (WRITEV_FOR_FATAL): New macro; call that.
31438 (backtrace_and_maps): New function.
31439 (BEFORE_ABORT): New macro; call that.
31440 (struct str_list): Type removed.
31441 (__libc_message, __libc_fatal): Functions removed.
31442 Include <sysdeps/posix/libc_fatal.c> instead.
31443
6b18bea6
JM
314442013-03-19 Joseph Myers <joseph@codesourcery.com>
31445
31446 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
31447 constants.
31448 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
31449 double constants.
31450
aaa8cb4b
AS
314512013-03-19 Andreas Schwab <schwab@suse.de>
31452
44673770
AS
31453 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
31454 * sysdeps/gnu/configure: Regenerate.
31455
aaa8cb4b
AS
31456 * configure.in: Substitute libc_cv_rtlddir.
31457 * configure: Regenerate.
31458 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
31459 * Makeconfig (rtlddir, inst_rtlddir): New variables.
31460 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
31461 * elf/Makefile (install-others, CFLAGS-interp.c)
31462 (ldso_install, common-ldd-rewrite): Likewise.
31463 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
31464 $(inst_slibdir)/$(rtld-installed-name).
31465 * scripts/rellns-sh: Add -p option.
31466 * Makerules (make-shlib-link): Use rellns-sh to get relative name
31467 for source.
31468
d3cfc668
SP
314692013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
31470
31471 * manual/nptl.texi: Renamed to ...
31472 * manual/threads.texi: ... this.
31473 * manual/Makefile (chapters): Update.
31474
0e2b9cdd
RM
314752013-03-18 Roland McGrath <roland@hack.frob.com>
31476
31477 [BZ #14812]
31478 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
31479 on argument names, not just descriptions.
0e2b9cdd
RM
31480 * malloc/memusagestat.c (options): Likewise.
31481 * nss/getent.c (options): Likewise.
63270c24
RM
31482
314832013-03-18 Benno Schulenberg <bensberg@justemail.net>
31484
31485 [BZ #14812]
31486 * iconv/iconv_prog.c (options): Put N_ translation marker
31487 on argument names, not just descriptions.
31488 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 31489
b2e1393c
OB
314902013-03-18 Ondrej Bilka <neleai@seznam.cz>
31491
31492 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
31493 implementation which is faster on all x86_64 architectures.
31494 Tested on AMD, Intel Nehalem, SNB, IVB.
31495 * sysdeps/x86_64/strnlen.S: Likewise.
31496
31497 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
31498 Remove all multiarch strlen and strnlen versions.
31499 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
31500 Remove strlen and strnlen related parts.
31501
31502 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
31503 Inline strlen part.
31504 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
31505
31506 * sysdeps/x86_64/multiarch/strlen.S: Remove.
31507 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
31508 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
31509 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
31510 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
31511 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
31512
ec4ff04d
CD
315132013-03-17 Carlos O'Donell <carlos@redhat.com>
31514
31515 * manual/memory.texi (Malloc Tunable Parameters):
31516 Sort parameters alphabetically. Add comments for missing entries.
31517
cd18e90a
DM
315182013-03-17 David S. Miller <davem@davemloft.net>
31519
31520 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31521
2a185d32
JM
315222013-03-16 Joseph Myers <joseph@codesourcery.com>
31523
d2f9799e
JM
31524 [BZ #15283]
31525 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
31526 for arguments at most half maximum finite value.
31527 * math/libm-test.inc (j0_test): Add more tests.
31528 (j1_test): Likewise.
31529 (y0_test): Likewise.
31530 (y1_test): Likewise.
31531 * sysdeps/i386/fpu/libm-test-ulps: Update.
31532 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31533
2a185d32
JM
31534 [BZ #14155]
31535 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
31536 1 / x and functions P and Q for arguments above 0x1p256L.
31537 (__ieee754_y0l): Likewise.
31538 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
31539 (__ieee754_y1l): Likewise.
31540 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
31541 (j1_test): Likewise.
31542 (y0_test): Likewise.
31543 (y1_test): Likewise.
31544
6cbec759
TS
315452013-03-16 Thomas Schwinge <thomas@codesourcery.com>
31546
31547 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
31548 variable.
31549
bc16e260
RM
315502013-03-15 Roland McGrath <roland@hack.frob.com>
31551
aefc9b8c
RM
31552 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
31553 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
31554 zero since it's initialized to EXEC_PAGESIZE.
31555
bc16e260
RM
31556 * sysdeps/unix/sysv/linux/ldsodefs.h
31557 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
31558 * sysdeps/generic/ldsodefs.h: ... here.
31559
a57da955
TS
315602013-03-15 Thomas Schwinge <thomas@codesourcery.com>
31561
af00a34d
TS
31562 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
31563
495ded2c
TS
31564 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
31565 math/test-snan.c.
31566 * math/test-snan.c: Renamed from
31567 sysdeps/powerpc/fpu/test-powerpc-snan.c.
31568 * math/Makefile (tests): Add test-snan.
31569 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
31570 test-powerpc-snan.
31571
777b0332
TS
31572 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
31573 SUFFIX. Initialize qNaN_var with __builtin_nan family of
31574 functions.
31575 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
31576 __builtin_nan family of functions.
31577 * math/libm-test.inc (initialize): Initialize qnan_value with
31578 __builtin_nan family of functions.
31579 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
31580 Remove variables.
31581 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
31582 Remove functions.
31583 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
31584 storage class. Initialize qNaN_var and sNaN_var with
31585 __builtin_nan and __builtin_nans families of functions,
31586 respectively.
31587
64d063b8
TS
31588 * math/libm-test.inc (acosh_test): Also test with qNaN input.
31589 (sqrt_test): Remove duplicate test with qNaN input.
31590 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
31591 (round_test, signbit_test, significand_test): Note missing +/-Inf
31592 as well as qNaN tests.
31593
67e971f1
TS
31594 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
31595 qNaN_var. Fix a few strings, too.
31596 * math/libm-test.inc (nan_value): Rename to qnan_value.
31597 * math/gen-libm-test.pl (%beautify): Adjust to that.
31598 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
31599 * math/test-misc.c (main): Likewise.
31600 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
31601 to __qnan_bytes, and __qnan_union, respectively.
31602 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
31603 Likewise.
31604 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
31605 and lqnanval, respectively.
31606 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
31607 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
31608 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
31609 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
31610
64487e12
TS
31611 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
31612 * math/test-misc.c (main) [__x86_64__]: Enable test for long
31613 doubles.
31614
e015e27b
TS
31615 * math/test-misc.c (main): Fix copy'n'pastos.
31616 * misc/tst-efgcvt.c (special): Likewise.
31617
a57da955
TS
31618 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
31619 Remove declarations.
31620
1e380345
SP
316212013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
31622
31623 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
31624 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
31625 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
31626 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
31627
ef26eece
AZ
316282013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31629
31630 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
31631 macro to return vdso values correctly in IFUNC implementations.
31632 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
31633 Optimization by using IFUNC.
31634
8cfdb7e0
SP
316352013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
31636 Richard Henderson <rth@redhat.com>
31637 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31638
31639 * Makefile.in (bench): New target.
31640 * NEWS: Mention the benchmark framework.
31641 * Rules (bench): Likewise.
31642 (binaries-bench): Generate binaries for functions to
31643 benchmark.
31644 * benchtests/Makefile: New makefile for benchmark tests.
31645 * benchtests/bench-skeleton.c: New skeleton file for benchmark
31646 programs.
31647 * benchtests/exp-inputs: New input file for EXP function.
31648 * benchtests/pow-inputs: New input file for POW function.
31649 * scripts/bench.pl: New script to generate source files for
31650 benchmark programs.
31651
bcda9880
SP
316522013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
31653
d22ca8cd
SP
31654 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
31655 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
31656 computations on mantissa. Use macros for rounding and
31657 division.
31658 (denorm): Likewise.
31659 (__dbl_mp): Likewise.
31660 (add_magnitudes): Likewise.
31661 (sub_magnitudes): Likewise.
31662 (__mul): Likewise.
31663 (__sqr): Likewise.
31664 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
31665 powers of two in terms of TWOPOW macro.
31666 (mp_no): Make type of mantissa as MANTISSA_T.
31667 [!RADIXI]: Define RADIXI.
31668 [!TWO52]: Define TWO52.
31669 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
31670
bcda9880
SP
31671 * manual/nptl.texi (cindex): Modify threads to pthreads.
31672
06d5adfb
JM
316732013-03-15 Joseph Myers <joseph@codesourcery.com>
31674
31675 * sysdeps/x86_64/preconfigure: Regenerated.
31676
41c7328e
JM
316772013-03-14 Joseph Myers <joseph@codesourcery.com>
31678
31679 [BZ #14155]
31680 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
31681 0x1p28 and above.
31682 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
31683 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
31684 0x1p28 and above.
31685 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
31686 * math/libm-test.inc (j0_test): Do not allow one spurious
31687 underflow exception.
31688 (y1_test): Likewise.
31689
e25cfa60
SP
316902013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
31691
0409959c
SP
31692 * manual/Makefile (chapters): Add nptl.
31693 * manual/debug.texi (Debugging Support): Add link to Threads
31694 chapter.
31695 * manual/nptl.texi: New file.
31696
e25cfa60
SP
31697 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
31698
58a1335e
PB
316992013-03-14 Petr Baudis <pasky@ucw.cz>
31700
31701 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
31702 for non-NULL pointer before the memory validity test. Pointed
31703 out by Holger Brunck <holger.brunck@keymile.com>.
31704
9dc7c64f
AS
317052013-03-13 Andreas Schwab <schwab@suse.de>
31706
31707 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
31708 instead of .os.
31709
54206aa6
JM
317102013-03-13 Joseph Myers <joseph@codesourcery.com>
31711
31712 * timezone/zic.c: Update from tzcode 2013b.
31713
e98cdb38
CD
317142013-03-12 Carlos O'Donell <carlos@redhat.com>
31715
31716 * manual/install.texi (Configuring and compiling):
31717 Mention i686 and i586.
31718 * INSTALL: Regenerate.
31719
9967e003
RM
317202013-03-12 Roland McGrath <roland@hack.frob.com>
31721
31722 * sysdeps/init_array/elf-init.c: New file.
31723 * csu/elf-init.c
31724 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
31725 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
31726
31727 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
31728 __gmon_start__ as global, but as static with a .preinit_array pointer.
31729 * sysdeps/init_array/gmon-start.c: New file. Use that.
31730 * sysdeps/init_array/crti.S: New file, empty except for comments.
31731 * sysdeps/init_array/crtn.S: Likewise.
31732
e6b5a293 317332013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
31734
31735 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
31736 definining bcopy.
80f844c9
OB
31737 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31738 Remove Prefer_SSE_for_memop.
31739 * sysdeps/x86_64/multiarch/init-arch.h: Remove
31740 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
31741 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
31742 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
31743 memset-x86-64.
80f844c9 31744 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 31745 Remove bzero, memset ifunc support.
80f844c9
OB
31746 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
31747 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
31748 * sysdeps/x86_64/multiarch/memset.S: Likewise.
31749 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
31750
fb6b0fcb
AS
317512013-03-11 Andreas Schwab <schwab@suse.de>
31752
31753 [BZ #15234]
31754 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
31755 by SHLIB_COMPAT.
31756 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
31757 (GLIBC_2.16): Remove pthread_atfork.
31758
3e6bd4b1
PP
317592013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
31760
31761 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
31762 (ptestcases.h): Likewise.
31763
222d7f00
RM
317642013-03-08 Roland McGrath <roland@hack.frob.com>
31765
31766 * Makeconfig ($(common-objpfx)config.status): Depend on
31767 sysdeps/*/preconfigure{,.in} too.
31768
1ba4f030
JM
317692013-03-08 Joseph Myers <joseph@codesourcery.com>
31770
a222d91a
JM
31771 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
31772 (__free_hook): Use void * instead of __malloc_ptr_t.
31773 (__malloc_hook): Likewise.
31774 (__realloc_hook): Likewise.
31775 (__memalign_hook): Likewise.
31776 (__after_morecore_hook): Likewise.
31777 * malloc/arena.c (save_malloc_hook): Likewise.
31778 (save_free_hook): Likewise.
31779 * malloc/hooks.c (malloc_hook_ini): Likewise.
31780 (realloc_hook_ini): Likewise.
31781 (memalign_hook_ini): Likewise.
31782 * malloc/malloc.c (malloc_hook_ini): Likewise.
31783 (realloc_hook_ini): Likewise.
31784 (memalign_hook_ini): Likewise.
31785 (__free_hook): Likewise.
31786 (__malloc_hook): Likewise.
31787 (__realloc_hook): Likewise.
31788 (__memalign_hook): Likewise.
31789 (__libc_malloc): Likewise.
31790 (__libc_free): Likewise.
31791 (__libc_realloc): Likewise.
31792 (__libc_memalign): Likewise.
31793 (__libc_valloc): Likewise.
31794 (__libc_pvalloc): Likewise.
31795 (__libc_calloc): Likewise.
31796 (__posix_memalign): Likewise.
31797 * malloc/morecore.c (__sbrk): Likewise.
31798 (__default_morecore): Likewise.
31799
5cc45e10
JM
31800 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
31801
dd54b864
JM
31802 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
31803 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
31804 __malloc_ptrdiff_t.
31805
1ba4f030
JM
31806 * malloc/malloc.h (__malloc_size_t): Remove macro.
31807 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
31808 __malloc_size_t.
31809 (old_memalign_hook): Likewise.
31810 (old_realloc_hook): Likewise.
31811 (struct hdr): Likewise.
31812 (flood): Likewise.
31813 (mallochook): Likewise.
31814 (memalignhook): Likewise.
31815 (reallochook): Likewise.
31816 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
31817 (tr_old_realloc_hook): Likewise.
31818 (tr_old_memalign_hook): Likewise.
31819 (tr_mallochook): Likewise.
31820 (tr_reallochook): Likewise.
31821 (tr_memalignhook): Likewise.
31822
edf66e57
AZ
318232013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31824
31825 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
31826 default_ldbl_pack and using as default implementation.
31827 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
31828 implementation.
31829 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
31830 redundant definition.
31831 (ldbl_insert_mantissa): Likewise.
31832 (ldbl_canonicalize): Likewise.
31833 (ldbl_nearbyint): Likewise.
31834 (ldbl_pack): Rename to ldbl_pack_ppc.
31835 (ldbl_unpack): Rename to ldbl_unpack_ppc.
31836 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
31837 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
31838
6d9145d8
SP
318392013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
31840
31841 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
31842 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
31843 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
31844 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
31845 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
31846 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
31847 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
31848 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
31849
4dd4e157
AJ
318502013-03-07 Andreas Jaeger <aj@suse.de>
31851
31852 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31853 bits/mman-linux.h.
31854
adbb8027
SP
318552013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
31856
ce544b5b
SP
31857 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
31858 Include mpa.h and declare __MPEXP.
31859 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
31860 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
31861 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
31862 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
31863 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
31864 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
31865 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
31866
4cc149fd
SP
31867 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
31868 (__slowpow): Use long double EXPL and LOGL functions to
31869 compute POW.
31870 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
31871 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
31872 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
31873 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
31874 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
31875 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
31876
e6ebd4a7
SP
31877 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
31878 intermediate variable to calculate exponent.
31879 (__sqr): Likewise.
31880 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
31881 Likewise.
31882 (__sqr): Likewise.
31883
82a9811d
SP
31884 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
31885 [!NO__SQR]: Define __sqr.
31886 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
31887 and NO__SQR. Remove all code except __mul and __sqr. Include
31888 sysdeps/ieee754/dbl-64/mpa.c.
31889 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31890
adbb8027
SP
31891 [BZ #12723]
31892 * posix/Makefile (tests): Add tst-pathconf.
31893 * posix/tst-pathconf.c: New test case.
31894 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
31895 _PC_PIPE_BUF.
31896 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
31897
39120df9
PF
318982013-03-06 Patsy Franklin <pfrankli@redhat.com>
31899
31900 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
31901
67525cb8
AJ
319022013-03-06 Andreas Jaeger <aj@suse.de>
31903
664a9ce4
AJ
31904 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
31905 definition via __MAP_ANONYMOUS.
31906
8e39047d
AJ
31907 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
31908 it's not part of Linux headers.
31909
67525cb8
AJ
31910 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
31911 (MAP_HUGE_MASK): Define.
31912
31913 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
31914 Define.
31915 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31916 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
31917 Define.
31918 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31919 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
31920 Define.
31921 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31922 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
31923 Define.
31924 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31925
31926 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
31927 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
31928 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
31929 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
31930 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
31931 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
31932
31933 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
31934 Handle f2fs.
31935
31936 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31937 Handle f2fs and efivarfs.
31938
31939 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
31940 f2fs.
31941
31942 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
31943 (EFIVARFS_MAGIC): Add.
31944 (F2FS_LINK_MAX): Add.
31945
e1b42695
PP
319462013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
31947
31948 * stdio-common/vfprintf.c: Replace __builtin_expect with
31949 __glibc_unlikely.
31950
2d67d91a
JM
319512013-03-06 Joseph Myers <joseph@codesourcery.com>
31952
31953 [BZ #13550]
31954 * sysdeps/generic/bp-sym.h: Remove file.
31955 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
31956 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
31957 <bp-sym.h> and <bp-asm.h>.
31958 (__longjmp): Don't use BP_SYM.
31959 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
31960 and <bp-asm.h>.
31961 (memcpy): Don't use BP_SYM.
31962 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
31963 <bp-sym.h> and <bp-asm.h>.
31964 (memcpy): Don't use BP_SYM.
31965 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
31966 <bp-asm.h>.
31967 (memcpy): Don't use BP_SYM.
31968 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
31969 <bp-asm.h>.
31970 (memset): Don't use BP_SYM.
31971 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31972 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31973 (__bzero): Don't use BP_SYM.
31974 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31975 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31976 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
31977 <bp-sym.h> and <bp-asm.h>.
31978 (memcmp): Don't use BP_SYM. Remove comment about bounded
31979 pointers.
31980 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
31981 <bp-sym.h> and <bp-asm.h>.
31982 (memcpy): Don't use BP_SYM.
31983 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
31984 <bp-sym.h> and <bp-asm.h>.
31985 (memset): Don't use BP_SYM.
31986 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31987 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31988 (__bzero): Don't use BP_SYM.
31989 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31990 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31991 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
31992 <bp-sym.h> and <bp-asm.h>.
31993 (strncmp): Don't use BP_SYM. Remove comment about bounded
31994 pointers.
31995 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
31996 <bp-sym.h> and <bp-asm.h>.
31997 (memcpy): Don't use BP_SYM.
31998 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
31999 <bp-sym.h> and <bp-asm.h>.
32000 (memset): Don't use BP_SYM.
32001 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
32002 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
32003 (__bzero): Don't use BP_SYM.
32004 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
32005 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
32006 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
32007 <bp-sym.h> and <bp-asm.h>.
32008 (__memchr): Don't use BP_SYM.
32009 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
32010 <bp-sym.h> and <bp-asm.h>.
32011 (memcmp): Don't use BP_SYM. Remove comment about bounded
32012 pointers.
32013 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
32014 <bp-sym.h> and <bp-asm.h>.
32015 (memcpy): Don't use BP_SYM.
32016 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
32017 <bp-sym.h> and <bp-asm.h>.
32018 (__mempcpy): Don't use BP_SYM.
32019 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
32020 <bp-sym.h> and <bp-asm.h>.
32021 (__memrchr): Don't use BP_SYM.
32022 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
32023 <bp-sym.h> and <bp-asm.h>.
32024 (memset): Don't use BP_SYM.
32025 (__bzero): Likewise.
32026 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
32027 <bp-sym.h> and <bp-asm.h>.
32028 (__rawmemchr): Don't use BP_SYM.
32029 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
32030 <bp-sym.h> and <bp-asm.h>.
32031 (__STRCMP): Don't use BP_SYM.
32032 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
32033 <bp-sym.h> and <bp-asm.h>.
32034 (strchr): Don't use BP_SYM.
32035 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
32036 <bp-sym.h> and <bp-asm.h>.
32037 (__strchrnul): Don't use BP_SYM.
32038 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
32039 <bp-sym.h> and <bp-asm.h>.
32040 (strlen): Don't use BP_SYM.
32041 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
32042 <bp-sym.h> and <bp-asm.h>.
32043 (strncmp): Don't use BP_SYM. Remove comment about bounded
32044 pointers.
32045 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
32046 <bp-sym.h> and <bp-asm.h>.
32047 (__strnlen): Don't use BP_SYM.
32048 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
32049 <bp-sym.h> and <bp-asm.h>.
32050 (__GI__setjmp): Don't use BP_SYM.
32051 (_setjmp): Likewise.
32052 (__sigsetjmp): Likewise.
32053 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
32054 (L(start_addresses)): Don't use BP_SYM.
32055 (_start): Likewise.
32056 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
32057 <bp-asm.h>.
32058 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
32059 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
32060 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
32061 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
32062 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
32063 <bp-asm.h>.
32064 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
32065 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
32066 about bounded pointers.
32067 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
32068 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
32069 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
32070 <bp-asm.h>.
32071 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
32072 about bounded pointers. Remove GKM FIXME comments.
32073 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
32074 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
32075 <bp-asm.h>.
32076 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
32077 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
32078 Remove GKM FIXME comments.
32079 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
32080 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
32081 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
32082 <bp-asm.h>.
32083 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
32084 about bounded pointers. Remove GKM FIXME comment.
32085 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
32086 and <bp-asm.h>.
32087 (strncmp): Don't use BP_SYM. Remove comment about bounded
32088 pointers.
32089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
32090 <bp-sym.h> and <bp-asm.h>.
32091 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
32092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
32093 <bp-sym.h> and <bp-asm.h>.
32094 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
32095 comment.
32096
cdcf361f
PP
320972013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
32098
32099 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
32100 call free(NULL).
32101
3c4a2b15
DM
321022013-03-05 David S. Miller <davem@davemloft.net>
32103
32104 * po/es.po: Update from translation team.
32105
cdcf361f 321062013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
32107
32108 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
32109 <bits/mman-linux.h>.
32110 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
32111 is fine.
32112 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
32113 <bits/mman-linux.h> to end of file.
32114 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
32115 is fine.
32116 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
32117 <bits/mman-linux.h> to end of file.
32118 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
32119 is fine.
32120 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
32121 <bits/mman-linux.h> to end of file.
32122
32123 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
32124 (MCL_CURRENT, MCL_FUTURE): Define here.
32125
5f67c04f
AK
321262013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32127
8a4473cc 32128 [BZ #15232]
5f67c04f
AK
32129 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
32130 attribute_hidden.
32131 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
32132
c3e94a95
AK
321332013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32134
32135 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
32136 fourth parameter needed for rt_sigprocmask syscall.
32137 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
32138 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
32139 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
32140 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
32141 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
32142 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
32143
cfb6382a
JM
321442013-03-04 Joseph Myers <joseph@codesourcery.com>
32145
32146 [BZ #13550]
32147 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
32148 comment about bounded pointers.
32149 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
32150 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
32151
539d8e01
AJ
321522013-03-04 Andreas Jaeger <aj@suse.de>
32153
32154 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
32155 common definitions.
32156
32157 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
32158 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
32159 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
32160 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
32161 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
32162 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
32163
2e167a70 321642013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
32165
32166 [BZ #15055]
32167 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
32168 __ieee754_sqrl instead of __sqrl.
32169
68508633
JM
321702013-03-01 Joseph Myers <joseph@codesourcery.com>
32171
32172 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
32173 * sysdeps/powerpc/fpu_control.h: ... here.
32174 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
32175 * sysdeps/powerpc/bits/fenvinline.h: ... here.
32176 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
32177 * sysdeps/powerpc/bits/mathinline.h: ... here.
32178
7775448e
RM
321792013-03-01 Roland McGrath <roland@hack.frob.com>
32180
32181 * elf/dl-hwcaps.c (_dl_important_hwcaps):
32182 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
32183 to just [NEED_DL_SYSINFO_DSO].
32184 * elf/dl-support.c: Likewise.
32185 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
32186 * elf/rtld.c (dl_main): Likewise.
32187 * elf/setup-vdso.h (setup_vdso): Likewise.
32188 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
32189 * sysdeps/unix/sysv/linux/dl-sysdep.c
32190 (_dl_discover_osversion): Likewise.
32191
4e9b5995
CD
321922013-03-01 Carlos O'Donell <carlos@redhat.com>
32193
32194 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
32195 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
32196
e23872c8
SP
321972013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
32198
e5c74c63
SP
32199 * NEWS: Mention libm performance improvements and non-x86 PI
32200 futex support.
32201
e23872c8
SP
32202 * csu/libc-start.c (__pthread_initialize_minimal): Change
32203 function arguments.
32204 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
32205
b5510883
JM
322062013-02-28 Joseph Myers <joseph@codesourcery.com>
32207
32208 [BZ #13550]
32209 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
32210 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
32211 <bp-sym.h> and <bp-asm.h>.
32212 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
32213 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
32214 and <bp-asm.h>.
32215 (memcpy): Don't use BP_SYM.
32216 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
32217 <bp-asm.h>.
32218 (__mpn_add_n): Don't use BP_SYM.
32219 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
32220 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
32221 and <bp-asm.h>.
32222 (__mpn_addmul_1): Don't use BP_SYM.
32223 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32224 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
32225 <bp-sym.h>.
32226 (_setjmp): Don't use BP_SYM.
32227 (__novmx_setjmp): Likewise.
32228 (__GI__setjmp): Likewise.
32229 (__vmx_setjmp): Likewise.
32230 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
32231 <bp-sym.h>.
32232 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
32233 (__bzero): Don't use BP_SYM.
32234 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
32235 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
32236 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
32237 <bp-sym.h> and <bp-asm.h>.
32238 (memcpy): Don't use BP_SYM.
32239 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
32240 <bp-sym.h> and <bp-asm.h>.
32241 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
32242 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
32243 <bp-sym.h> and <bp-asm.h>.
32244 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
32245 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
32246 <bp-asm.h>.
32247 (__mpn_lshift): Don't use BP_SYM.
32248 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32249 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
32250 <bp-asm.h>.
32251 (memset): Don't use BP_SYM.
32252 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
32253 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
32254 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
32255 <bp-asm.h>.
32256 (__mpn_mul_1): Don't use BP_SYM.
32257 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32258 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
32259 <bp-sym.h> and <bp-asm.h>.
32260 (memcmp): Don't use BP_SYM.
32261 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
32262 <bp-sym.h> and <bp-asm.h>.
32263 (memcpy): Don't use BP_SYM.
32264 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
32265 <bp-sym.h> and <bp-asm.h>.
32266 (memset): Don't use BP_SYM.
32267 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
32268 <bp-sym.h> and <bp-asm.h>.
32269 (strncmp): Don't use BP_SYM.
32270 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
32271 <bp-sym.h> and <bp-asm.h>.
32272 (memcpy): Don't use BP_SYM.
32273 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
32274 <bp-sym.h> and <bp-asm.h>.
32275 (memset): Don't use BP_SYM.
32276 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
32277 <bp-sym.h> and <bp-asm.h>.
32278 (__memchr): Don't use BP_SYM.
32279 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
32280 <bp-sym.h> and <bp-asm.h>.
32281 (memcmp): Don't use BP_SYM.
32282 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
32283 <bp-sym.h> and <bp-asm.h>.
32284 (memcpy): Don't use BP_SYM.
32285 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
32286 <bp-sym.h> and <bp-asm.h>.
32287 (__mempcpy): Don't use BP_SYM.
32288 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
32289 <bp-sym.h> and <bp-asm.h>.
32290 (__memrchr): Don't use BP_SYM.
32291 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
32292 <bp-sym.h> and <bp-asm.h>.
32293 (memset): Don't use BP_SYM.
32294 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
32295 <bp-sym.h> and <bp-asm.h>.
32296 (__rawmemchr): Don't use BP_SYM.
32297 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
32298 <bp-sym.h> and <bp-asm.h>.
32299 (__STRCMP): Don't use BP_SYM.
32300 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
32301 <bp-sym.h> and <bp-asm.h>.
32302 (strchr): Don't use BP_SYM.
32303 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
32304 <bp-sym.h> and <bp-asm.h>.
32305 (__strchrnul): Don't use BP_SYM.
32306 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
32307 <bp-sym.h> and <bp-asm.h>.
32308 (strlen): Don't use BP_SYM.
32309 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
32310 <bp-sym.h> and <bp-asm.h>.
32311 (strncmp): Don't use BP_SYM.
32312 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
32313 <bp-sym.h> and <bp-asm.h>.
32314 (__strnlen): Don't use BP_SYM.
32315 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
32316 <bp-asm.h>.
32317 (__mpn_rshift): Don't use BP_SYM.
32318 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32319 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
32320 <bp-sym.h> and <bp-asm.h>.
32321 (__sigsetjmp): Don't use BP_SYM.
32322 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
32323 (L(start_addresses)): Don't use BP_SYM.
32324 (_start): Likewise.
32325 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
32326 <bp-asm.h>.
32327 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
32328 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
32329 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
32330 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
32331 <bp-asm.h>.
32332 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
32333 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
32334 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
32335 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
32336 <bp-asm.h>.
32337 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
32338 comments.
32339 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
32340 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
32341 <bp-asm.h>.
32342 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
32343 FIXME comments.
32344 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
32345 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
32346 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
32347 <bp-asm.h>.
32348 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
32349 comment.
32350 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
32351 and <bp-asm.h>.
32352 (strncmp): Don't use BP_SYM,
32353 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
32354 <bp-asm.h>.
32355 (__mpn_sub_n): Don't use BP_SYM.
32356 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32357 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
32358 and <bp-asm.h>.
32359 (__mpn_submul_1): Don't use BP_SYM.
32360 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
32362 <bp-sym.h> and <bp-asm.h>.
32363 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
32364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
32365 <bp-sym.h> and <bp-asm.h>.
32366 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
32367 comment.
32368
8d19fe64
SP
323692013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32370
32371 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
32372 Use ZK to minimize writes to Z.
32373 (sub_magnitudes): Simplify code a bit.
32374 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
32375 Use ZK to minimize writes to Z.
32376 (sub_magnitudes): Simplify code a bit.
32377
85bd816a
RM
323782013-02-27 Roland McGrath <roland@hack.frob.com>
32379
32380 * csu/gmon-start.c: Add special exception to license text.
32381
b5977bf2
RH
323822013-02-27 Richard Henderson <rth@redhat.com>
32383
32384 * scripts/config.guess: Update from config.git.
32385 * scripts/config.sub: Likewise.
32386
11d6e2f2
SP
323872013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
32388
09c14ed2
SP
32389 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
32390
a688864e
SP
32391 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
32392
6295157a
SP
32393 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
32394
b8de2202
SP
32395 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
32396
11d6e2f2
SP
32397 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
32398
7e80ddb8
RM
323992013-02-26 Roland McGrath <roland@hack.frob.com>
32400
32401 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
32402 [$(build-shared = yes].
7e80ddb8 32403
7da6d9ed
SP
324042013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
32405
45f05884
SP
32406 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
32407 (__mul): Reduce iterations for calculating mantissa.
32408
2236d359
SP
32409 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
32410 MPTWO.
32411 (__mpranred): Likewise.
32412
7da6d9ed
SP
32413 [BZ #15160]
32414 * malloc/memusagestat.c (main): Draw graphs for heap and stack
32415 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
32416
b7688c42
PE
324172013-02-26 Paul Eggert <eggert@cs.ucla.edu>
32418
32419 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
32420 Define __attribute__.
32421
53a5c423
SP
324222013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
32423
32424 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
32425 unused.
32426 * posix/regex_internal.h (__attribute): Remove.
32427 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
32428 (re_string_context_at): Likewise.
32429 (bitset_not): Use __attribute__ and mark function as possibly
32430 unused.
32431 (bitset_merge): Likewise.
32432 (bitset_mask): Likewise.
32433 (re_string_char_size_at): Likewise.
32434 (re_string_wchar_at): Likewise.
32435 (re_string_elem_size_at): Likewise.
32436
60f5a8b5
SP
324372013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
32438
2a983a2e
SP
32439 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
32440 code.
32441 (cc32): Likewise.
32442
e69804d1
SP
32443 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
32444 (__acr): Likewise.
32445 (__cpy): Likewise.
32446 (norm): Likewise.
32447 (denorm): Likewise.
32448 (__dbl_mp): Likewise.
32449 (add_magnitudes): Likewise.
32450 (sub_magnitudes): Likewise.
32451 (__mul): Likewise.
32452 (__inv): Likewise.
32453
2f22a1e8
SP
32454 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
32455 style.
32456
8930ddc7
SP
32457 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
32458 style.
32459
dc60cb11
SP
32460 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
32461 code.
32462
60f5a8b5
SP
32463 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
32464 up changes with default code.
32465 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
32466 Likewise.
32467
b4d1fd33
AM
324682013-02-24 Allan McRae <allan@archlinux.org>
32469
faf6f8bc
AM
32470 * manual/socket.texi (The Internet Namespace): Order menu items
32471 to match that in the file.
32472
b4d1fd33
AM
32473 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
32474 node listing of the info page menu.
32475
2366713d
JM
324762013-02-21 Joseph Myers <joseph@codesourcery.com>
32477
32478 [BZ #13550]
32479 * sysdeps/i386/bp-asm.h: Remove file.
32480 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
32481 (PARMS): Do not use macros from bp-asm.h.
32482 (S1): Likewise.
32483 (S2): Likewise.
32484 (SIZE): Likewise.
32485 (__mpn_add_n): Do not use BP_SYM
32486 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
32487 "bp-asm.h".
32488 (PARMS): Do not use macros from bp-asm.h.
32489 (S1): Likewise.
32490 (SIZE): Likewise.
32491 (__mpn_addmul_1): Do not use BP_SYM
32492 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
32493 "bp-asm.h".
32494 (PARMS): Do not use macros from bp-asm.h.
32495 (SIGMSK): Likewise.
32496 (_setjmp): Likewise. Do not use BP_SYM.
32497 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
32498 "bp-asm.h".
32499 (PARMS): Do not use macros from bp-asm.h.
32500 (SIGMSK): Likewise.
32501 (setjmp): Likewise. Do not use BP_SYM.
32502 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
32503 "bp-asm.h".
32504 (PARMS): Do not use macros from bp-asm.h.
32505 (__frexp): Do not use BP_SYM.
32506 (frexp): Likewise.
32507 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
32508 "bp-asm.h".
32509 (PARMS): Do not use macros from bp-asm.h.
32510 (__frexpf): Do not use BP_SYM.
32511 (frexpf): Likewise.
32512 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
32513 "bp-asm.h".
32514 (PARMS): Do not use macros from bp-asm.h.
32515 (__frexpl): Do not use BP_SYM.
32516 (frexpl): Likewise.
32517 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
32518 "bp-asm.h".
32519 (PARMS): Do not use macros from bp-asm.h.
32520 (__remquo): Do not use BP_SYM.
32521 (remquo): Likewise.
32522 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
32523 "bp-asm.h".
32524 (PARMS): Do not use macros from bp-asm.h.
32525 (__remquof): Do not use BP_SYM.
32526 (remquof): Likewise.
32527 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
32528 "bp-asm.h".
32529 (PARMS): Do not use macros from bp-asm.h.
32530 (__remquol): Do not use BP_SYM.
32531 (remquol): Likewise.
32532 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
32533 "bp-asm.h".
32534 (PARMS): Do not use macros from bp-asm.h.
32535 (DEST): Likewise.
32536 (SRC): Likewise.
32537 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
32538 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
32539 "bp-asm.h".
32540 (PARMS): Do not use macros from bp-asm.h.
32541 (strlen): Do not use BP_SYM.
32542 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
32543 "bp-asm.h".
32544 (PARMS): Do not use macros from bp-asm.h.
32545 (S1): Likewise.
32546 (S2): Likewise.
32547 (SIZE): Likewise.
32548 (__mpn_add_n): Do not use BP_SYM.
32549 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
32550 "bp-asm.h".
32551 (PARMS): Do not use macros from bp-asm.h.
32552 (S1): Likewise.
32553 (SIZE): Likewise.
32554 (__mpn_addmul_1): Do not use BP_SYM.
32555 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
32556 weak_alias.
32557 (bzero): Likewise.
32558 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
32559 "bp-asm.h".
32560 (PARMS): Do not use macros from bp-asm.h.
32561 (S): Likewise.
32562 (SIZE): Likewise.
32563 (__mpn_lshift): Do not use BP_SYM.
32564 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
32565 "bp-asm.h".
32566 (PARMS): Do not use macros from bp-asm.h.
32567 (DEST): Likewise.
32568 (SRC): Likewise.
32569 (LEN): Likewise.
32570 (memcpy): Likewise. Do not use BP_SYM.
32571 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
32572 libc_hidden_def and weak_alias.
32573 (mempcpy): Do not use BP_SYM in weak_alias.
32574 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
32575 "bp-asm.h".
32576 (PARMS): Do not use macros from bp-asm.h.
32577 (DEST): Likewise.
32578 (LEN): Likewise.
32579 [!BZERO_P] (CHR): Likewise.
32580 (memset): Likewise. Do not use BP_SYM.
32581 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
32582 "bp-asm.h".
32583 (PARMS): Do not use macros from bp-asm.h.
32584 (S1): Likewise.
32585 (SIZE): Likewise.
32586 (__mpn_mul_1): Do not use BP_SYM.
32587 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
32588 "bp-asm.h".
32589 (PARMS): Do not use macros from bp-asm.h.
32590 (S): Likewise.
32591 (SIZE): Likewise.
32592 (__mpn_rshift): Do not use BP_SYM.
32593 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
32594 "bp-asm.h".
32595 (PARMS): Do not use macros from bp-asm.h.
32596 (STR): Likewise.
32597 (CHR): Likewise.
32598 (strchr): Likewise. Do not use BP_SYM.
32599 (index): Do not use BP_SYM in weak_alias.
32600 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
32601 "bp-asm.h".
32602 (PARMS): Do not use macros from bp-asm.h.
32603 (DEST): Likewise.
32604 (SRC): Likewise.
32605 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
32606 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
32607 "bp-asm.h".
32608 (PARMS): Do not use macros from bp-asm.h.
32609 (strlen): Do not use BP_SYM.
32610 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
32611 "bp-asm.h".
32612 (PARMS): Do not use macros from bp-asm.h.
32613 (S1): Likewise.
32614 (S2): Likewise.
32615 (SIZE): Likewise.
32616 (__mpn_sub_n): Do not use BP_SYM.
32617 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
32618 "bp-asm.h".
32619 (PARMS): Do not use macros from bp-asm.h.
32620 (S1): Likewise.
32621 (SIZE): Likewise.
32622 (__mpn_submul_1): Do not use BP_SYM.
32623 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
32624 "bp-asm.h".
32625 (PARMS): Do not use macros from bp-asm.h.
32626 (S1): Likewise.
32627 (S2): Likewise.
32628 (SIZE): Likewise.
32629 (__mpn_add_n): Do not use BP_SYM.
32630 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
32631 weak_alias.
32632 (bzero): Likewise.
32633 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
32634 "bp-asm.h".
32635 (PARMS): Do not use macros from bp-asm.h.
32636 (BLK2): Likewise.
32637 (LEN): Likewise.
32638 (memcmp): Do not use BP_SYM.
32639 (bcmp): Do not use BP_SYM in weak_alias.
32640 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
32641 "bp-asm.h".
32642 (PARMS): Do not use macros from bp-asm.h.
32643 (DEST): Likewise.
32644 (SRC): Likewise.
32645 (LEN): Likewise.
32646 (memcpy): Likewise. Do not use BP_SYM.
32647 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
32648 "bp-asm.h".
32649 (PARMS): Do not use macros from bp-asm.h.
32650 (DEST): Likewise.
32651 (SRC): Likewise.
32652 (LEN): Likewise.
32653 (memmove): Likewise. Do not use BP_SYM.
32654 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
32655 "bp-asm.h".
32656 (PARMS): Do not use macros from bp-asm.h.
32657 (DEST): Likewise.
32658 (SRC): Likewise.
32659 (LEN): Likewise.
32660 (__mempcpy): Likewise. Do not use BP_SYM.
32661 (mempcpy): Do not use BP_SYM in weak_alias.
32662 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
32663 "bp-asm.h".
32664 (PARMS): Do not use macros from bp-asm.h.
32665 (DEST): Likewise.
32666 (LEN): Likewise.
32667 [!BZERO_P] (CHR): Likewise.
32668 (memset): Likewise. Do not use BP_SYM.
32669 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
32670 "bp-asm.h".
32671 (PARMS): Do not use macros from bp-asm.h.
32672 (STR2): Likewise.
32673 (strcmp): Do not use BP_SYM.
32674 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
32675 "bp-asm.h".
32676 (PARMS): Do not use macros from bp-asm.h.
32677 (STR): Likewise.
32678 (DELIM): Likewise.
32679 [USE_AS_STRTOK_R] (SAVE): Likewise.
32680 (FUNCTION): Likewise. Do not use BP_SYM.
32681 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
32682 aliases.
32683 (strtok_r): Likewise.
32684 (__GI___strtok_r): Likewise.
32685 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
32686 (PARMS): Do not use macros from bp-asm.h.
32687 (S): Likewise.
32688 (SIZE): Likewise.
32689 (__mpn_lshift): Do not use BP_SYM.
32690 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
32691 (PARMS): Do not use macros from bp-asm.h.
32692 (STR): Likewise.
32693 (CHR): Likewise.
32694 (__memchr): Do not use BP_SYM.
32695 (memchr): Do not use BP_SYM in weak_alias.
32696 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
32697 (PARMS): Do not use macros from bp-asm.h.
32698 (BLK2): Likewise.
32699 (LEN): Likewise.
32700 (memcmp): Do not use BP_SYM.
32701 (bcmp): Do not use BP_SYM in weak_alias.
32702 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
32703 (PARMS): Do not use macros from bp-asm.h.
32704 (S1): Likewise.
32705 (SIZE): Likewise.
32706 (__mpn_mul_1): Do not use BP_SYM.
32707 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
32708 "bp-asm.h".
32709 (PARMS): Do not use macros from bp-asm.h.
32710 (STR): Likewise.
32711 (CHR): Likewise.
32712 (__rawmemchr): Do not use BP_SYM.
32713 (rawmemchr): Do not use BP_SYM in weak_alias.
32714 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
32715 (PARMS): Do not use macros from bp-asm.h.
32716 (S): Likewise.
32717 (SIZE): Likewise.
32718 (__mpn_rshift): Do not use BP_SYM.
32719 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
32720 (PARMS): Do not use macros from bp-asm.h.
32721 (SIGMSK): Likewise.
32722 (__sigsetjmp): Likewise. Do not use BP_SYM.
32723 * sysdeps/i386/start.S: Do not include "bp-sym.h".
32724 (_start): Do not use BP_SYM.
32725 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
32726 (PARMS): Do not use macros from bp-asm.h.
32727 (DEST): Likewise.
32728 (SRC): Likewise.
32729 (__stpcpy): Likewise. Do not use BP_SYM.
32730 (stpcpy): Do not use BP_SYM in weak_alias.
32731 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
32732 "bp-asm.h".
32733 (PARMS): Do not use macros from bp-asm.h.
32734 (DEST): Likewise.
32735 (SRC): Likewise.
32736 (LEN): Likewise.
32737 (__stpncpy): Likewise. Do not use BP_SYM.
32738 (stpncpy): Do not use BP_SYM in weak_alias.
32739 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
32740 (PARMS): Do not use macros from bp-asm.h.
32741 (STR): Likewise.
32742 (CHR): Likewise.
32743 (strchr): Likewise. Do not use BP_SYM.
32744 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
32745 "bp-asm.h".
32746 (PARMS): Do not use macros from bp-asm.h.
32747 (STR): Likewise.
32748 (CHR): Likewise.
32749 (__strchrnul): Likewise. Do not use BP_SYM.
32750 (strchrnul): Do not use BP_SYM in weak_alias.
32751 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
32752 "bp-asm.h".
32753 (PARMS): Do not use macros from bp-asm.h.
32754 (STOP): Likewise.
32755 (strcspn): Do not use BP_SYM.
32756 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
32757 "bp-asm.h".
32758 (PARMS): Do not use macros from bp-asm.h.
32759 (STR): Likewise.
32760 (STOP): Likewise.
32761 (strpbrk): Likewise. Do not use BP_SYM.
32762 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
32763 "bp-asm.h".
32764 (PARMS): Do not use macros from bp-asm.h.
32765 (STR): Likewise.
32766 (CHR): Likewise.
32767 (strrchr): Likewise. Do not use BP_SYM.
32768 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
32769 (PARMS): Do not use macros from bp-asm.h.
32770 (SKIP): Likewise.
32771 (strspn): Do not use BP_SYM.
32772 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
32773 (PARMS): Do not use macros from bp-asm.h.
32774 (STR): Likewise.
32775 (DELIM): Likewise.
32776 (SAVE): Likewise.
32777 (FUNCTION): Likewise. Do not use BP_SYM.
32778 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
32779 aliases.
32780 (strtok_r): Likewise.
32781 (__GI___strtok_r): Likewise.
32782 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
32783 (PARMS): Do not use macros from bp-asm.h.
32784 (S1): Likewise.
32785 (S2): Likewise.
32786 (SIZE): Likewise.
32787 (__mpn_sub_n): Do not use BP_SYM.
32788 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
32789 "bp-asm.h".
32790 (PARMS): Do not use macros from bp-asm.h.
32791 (S1): Likewise.
32792 (SIZE): Likewise.
32793 (__mpn_submul_1): Do not use BP_SYM.
32794 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
32795 <bp-sym.h>.
32796 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
32797 and <bp-asm.h>.
32798 (PARMS): Do not use macros from bp-asm.h.
32799 (FLAGS): Likewise.
32800 (PTID): Likewise.
32801 (TLS): Likewise.
32802 (CTID): Likewise.
32803 (__clone): Do not use BP_SYM.
32804 (clone): Do not use BP_SYM in weak_alias.
32805 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
32806 and <bp-asm.h>.
32807 (PARMS): Do not use macros from bp-asm.h.
32808 (LEN): Likewise.
32809 (__mmap64): Do not use BP_SYM.
32810 (mmap64): Do not use BP_SYM in weak_alias.
32811 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
32812 <bp-sym.h> and <bp-asm.h>.
32813 (PARMS): Do not use macros from bp-asm.h.
32814 (__posix_fadvise64_l64): Do not use BP_SYM.
32815 * sysdeps/unix/sysv/linux/i386/semtimedop.S
32816 (PARMS): Do not use macros from bp-asm.h.
32817 (NSOPS): Likewise.
32818 (semtimedop): Do not use BP_SYM.
32819 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
32820 and <bp-asm.h>.
32821
582a3cff
AM
328222013-02-21 Allan McRae <allan@archlinux.org>
32823
32824 * manual/message.texi (Charset conversion in gettext):
32825 Move @end statement to beginning of line.
32826
bab8a695
SP
328272013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
32828
80945231
SP
32829 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
32830 static.
32831 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
32832 Likewise.
32833
bab8a695
SP
32834 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
32835 (denorm): Likewise.
32836 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
32837 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
32838
e21d7aa7
AK
328392013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32840
32841 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
32842 tail-call to the resolved function if pltexit isn't needed.
32843
4c7a4263
SP
328442013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
32845
32846 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
32847 or Y being zero as being unlikely.
32848 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
32849 Likewise.
32850
41f49342
CD
328512013-02-20 Carlos O'Donell <carlos@redhat.com>
32852
32853 * manual/nss.texi (System Databases and Name Service Switch):
32854 Remove frobnicate @pxref.
32855
50022a93
TS
328562013-02-20 Thomas Schwinge <thomas@codesourcery.com>
32857
32858 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
32859 __attribute__ ((unused)) to __attribute__ ((__unused__)).
32860
08cbd996
PM
328612013-02-20 Petr Machata <pmachata@redhat.com>
32862
32863 * elf/elf.h (R_ARM_TARGET1): New macro.
32864 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
32865 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
32866 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
32867 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
32868 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
32869 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
32870 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
32871 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
32872 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
32873 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
32874 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
32875 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
32876 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
32877 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
32878 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
32879 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
32880 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
32881 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
32882 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
32883 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
32884 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
32885 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
32886 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
32887 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
32888 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
32889 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
32890 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
32891 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
32892 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
32893 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
32894 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
32895 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
32896 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
32897 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
32898 (R_ARM_THM_GOT_BREL12): Likewise.
32899 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
32900 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
32901 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
32902 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
32903 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
32904 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
32905 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
32906 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
32907 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
32908
c7b275d6
TS
329092013-02-20 Thomas Schwinge <thomas@codesourcery.com>
32910
32911 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
32912 __attribute_used__ to __attribute__ ((unused)).
32913
20cd7fb3
SP
329142013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
32915
32916 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
32917 powerpc mpa.c.
32918 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
32919 comment formatting.
32920 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
32921
92945b52
JM
329222013-02-19 Joseph Myers <joseph@codesourcery.com>
32923
32924 [BZ #13550]
32925 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
32926 Remove macro.
32927 (ENTER): Remove both macro definitions.
32928 (LEAVE): Likewise.
32929 (CHECK_BOUNDS_LOW): Likewise.
32930 (CHECK_BOUNDS_HIGH): Likewise.
32931 (CHECK_BOUNDS_BOTH): Likewise.
32932 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
32933 (RETURN_BOUNDED_POINTER): Likewise.
32934 (RETURN_NULL_BOUNDED_POINTER): Likewise.
32935 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
32936 (POP_ERRNO_LOCATION_RETURN): Likewise.
32937 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
32938 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32939 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
32940 macros.
32941 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32942 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
32943 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
32944 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
32945 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
32946 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
32947 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
32948 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
32949 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
32950 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
32951 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
32952 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
32953 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32954 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
32955 removed macros.
32956 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32957 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
32958 macros.
32959 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32960 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
32961 * sysdeps/i386/i586/memset.S (memset): Likewise.
32962 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
32963 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32964 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
32965 macros.
32966 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32967 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
32968 Change uses of L(2) to L(out).
32969 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
32970 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
32971 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
32972 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32973 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
32974 removed macros.
32975 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32976 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
32977 macros.
32978 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32979 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
32980 (RETURN): Do not use macro LEAVE.
32981 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
32982 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
32983 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
32984 * sysdeps/i386/i686/memset.S (memset): Likewise.
32985 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
32986 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
32987 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
32988 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
32989 Likewise.
32990 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
32991 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
32992 L(1_2) and L(1_3) into L(1).
32993 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
32994 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
32995 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32996 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
32997 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
32998 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
32999 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
33000 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33001 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
33002 macros.
33003 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
33004 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
33005 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
33006 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
33007 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
33008 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
33009 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
33010 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
33011 * sysdeps/i386/strcspn.S (strcspn): Likewise.
33012 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
33013 * sysdeps/i386/strrchr.S (strrchr): Likewise.
33014 * sysdeps/i386/strspn.S (strspn): Likewise.
33015 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
33016 conditional code.
33017 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
33018 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
33019 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
33020 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
33021 L(1_3) into L(1_1).
33022 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
33023 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
33024 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
33025 macros.
33026 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33027
2389741a
JJ
330282013-02-19 Jakub Jelinek <jakub@redhat.com>
33029
33030 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
33031 macro.
33032
2016b3cd
SP
330332013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
33034
e4f22324
SP
33035 * math/atest-exp.c (exp_mpn): Remove ROUND.
33036 * math/atest-exp2.c (exp_mpn): Likewise.
33037 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
33038
2016b3cd
SP
33039 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
33040 * stdlib/tst-tls-atexit-lib.c: Likewise.
33041 * stdlib/tst-tls-atexit.c: Likewise.
33042
4be9b544
MF
330432013-02-18 Mike Frysinger <vapier@gentoo.org>
33044
33045 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
33046 and __attribute_alloc_size__.
33047
2f62b9ee
MF
330482013-02-18 Mike Frysinger <vapier@gentoo.org>
33049
33050 * include/programs/xmalloc.h: Change __attribute_alloc_size to
33051 __attribute_alloc_size__.
33052 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
33053 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
33054
6ff444c4
MF
330552013-02-18 Mike Frysinger <vapier@gentoo.org>
33056
33057 * include/programs/xmalloc.h: New file.
33058 * catgets/gencat.c: Include it.
33059 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
33060 * elf/pldd.c: Likewise.
33061 * iconv/iconv_charmap.c: Likewise.
33062 * iconv/iconvconfig.c: Likewise.
33063 * iconv/strtab.c: Likewise.
33064 * locale/programs/locale.c: Likewise.
33065 * locale/programs/localedef.h: Likewise.
33066 * locale/programs/simple-hash.c: Likewise.
33067 * nscd/nscd.h: Likewise.
33068 * nss/makedb.c: Likewise.
33069 * sysdeps/generic/ldconfig.h: Likewise.
33070
be179c8a
SP
330712013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
33072
ba384f6e
SP
33073 * Versions.def: Add GLIBC_2.18.
33074 * include/link.h (struct link_map): New member l_tls_dtor_count.
33075 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
33076 (__call_tls_dtors): Likewise.
33077 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
33078 __cxa_thread_atexit_impl.
33079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33080 Likewise.
33081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33082 Likewise.
33083 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
33084 Likewise.
33085 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
33086 Likewise.
33087 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
33088 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
33089 Likewise.
33090 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
33091 Likewise.
33092 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
33093 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
33094 Likewise.
33095 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
33096 (tests): Add test case tst-tls-atexit.
33097 (modules-names): Add shared library for tst-tls-atexit.
85891aca 33098 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
33099 (GLIBC_PRIVATE): Add __call_tls_dtors.
33100 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
33101 for libstdc++.
33102 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
33103 * stdlib/tst-tls-atexit.c: New test case.
33104 * stdlib/tst-tls-atexit-lib.c: New test case.
33105
ffaa74cf 33106 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 33107
be179c8a
SP
33108 * elf/Versions (ld): Add _dl_find_dso_for_object.
33109 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
33110 * elf/dl-open.c (_dl_find_dso_for_object): New function.
33111 (dl_open_worker): Use _dl_find_dso_for_object.
33112 * elf/dl-sym.c (do_sym): Likewise.
33113 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
33114
f78b5caa
AK
331152013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33116
33117 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
33118 Syntactic changes only.
33119 (_dl_runtime_profile): Do a tail-call to the resolved function.
33120
29691210
JM
331212013-02-17 Joseph Myers <joseph@codesourcery.com>
33122
33123 [BZ #13550]
33124 * sysdeps/x86_64/bp-asm.h: Remove file.
33125 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
33126 <bp-sym.h> and <bp-asm.h>.
33127 (__clone): Do not use BP_SYM.
33128 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
33129 <bp-sym.h> and <bp-asm.h>.
33130 * sysdeps/unix/x86_64/sysdep.S: Likewise.
33131 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
33132 "bp-asm.h".
33133 (_setjmp): Do not use BP_SYM.
33134 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
33135 "bp-asm.h".
33136 (setjmp): Do not use BP_SYM.
33137 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
33138 libc_hidden_def.
33139 (mempcpy): Do not use BP_SYM in weak_alias.
33140 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
33141 "bp-asm.h".
33142 (strchr): Do not use BP_SYM.
33143 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
33144 "bp-asm.h".
33145 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
33146 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
33147 (_start): Do not use BP_SYM.
33148 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
33149 "bp-asm.h".
33150 (strcat): Do not use BP_SYM.
33151 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
33152 "bp-asm.h".
33153 (STRCMP): Do not use BP_SYM.
33154 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
33155 "bp-asm.h".
33156 (STRCPY): Do not use BP_SYM.
33157 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
33158 "bp-asm.h".
33159 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
33160 "bp-asm.h".
33161 (FUNCTION): Do not use BP_SYM.
33162 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
33163 weak_alias.
33164 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
33165
f238fd19
AJ
331662013-02-17 Andreas Jaeger <aj@suse.de>
33167
33168 * time/Versions: Sort entries.
33169 * string/Versions: Likewise.
33170 * resolv/Versions: Likewise.
33171 * posix/Versions: Likewise.
33172 * iconv/Versions: Likewise.
33173 * elf/Versions: Likewise.
33174 * wcsmbs/Versions: Likewise.
33175
bd07f23c 331762013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 33177
22af19f9
SP
33178 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
33179 loop termination condition.
33180
4709fe76
SP
33181 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
33182 variable to calculate EZ.
33183 (__sqr): Likewise.
2d0e0f29
SP
33184
33185 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
33186 the lower precision input.
33187
daaa7713
JM
331882013-02-15 Joseph Myers <joseph@codesourcery.com>
33189
33190 [BZ #13550]
33191 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
33192 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
33193 (run-via-rtld-prefix): Do not handle %-bp tests.
33194 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
33195 (all-object-suffixes): Remove .ob.
33196 (bppfx): Remove variable.
33197 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
33198 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
33199 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
33200 [$(build-bounded) = yes] (libtype.ob): Likewise.
33201 * Makerules (elide-routines.ob): Remove variable.
33202 (do-tests-clean): Do not handle *-bp.out.
33203 (common-mostlyclean): Do not handle *-bp and *-bp.out.
33204 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
33205 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
33206 (tests): Do not include $(tests-bp.out).
33207 (xtests): Do not include $(xtests-bp.out).
33208 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
33209 [$(build-bounded) = yes] ($(addprefix
33210 $(objpfx),$(binaries-bounded))): Remove rule.
33211 ($(objpfx)%-bp.out): Remove rule.
33212 * config.make.in (build-bounded): Remove variable.
33213 * crypt/Makefile [$(build-bounded) = yes]
33214 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
33215 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
33216 append to variable.
33217 [$(build-bounded) = yes] (install-lib): Likewise.
33218 [$(build-bounded) = yes] (generated): Likewise.
33219 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
33220 Remove rule.
33221 * intl/Makefile [$(build-bounded) = yes]
33222 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
33223 * math/Makefile [$(build-bounded) = yes]
33224 ($(tests:%=$(objpfx)%-bp): Likewise.
33225 * misc/Makefile [$(build-bounded) = yes]
33226 ($(objpfx)tst-tsearch-bp): Likewise.
33227 * nptl/Makeconfig (bounded-thread-library): Remove variable.
33228 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
33229 Remove dependency.
33230 * string/Makefile (o-objects.ob): Remove variable.
33231 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
33232 (CFLAGS-.ob): Remove variable.
33233 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
33234 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
33235 both definitions of variable.
33236 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
33237 (ASFLAGS-.ob): Remove variable.
33238
e97ed6dd
JM
332392013-02-14 Joseph Myers <joseph@codesourcery.com>
33240
2bdd4ca6
JM
33241 [BZ #13550]
33242 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
33243 Remove __BOUNDED_POINTERS__ from condition.
33244 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
33245 * string/bits/string2.h [!__NO_STRING_INLINES &&
33246 !__BOUNDED_POINTERS__]: Likewise.
33247 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
33248 Likewise.
33249 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
33250 Remove conditional code.
33251 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
33252 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
33253 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
33254 condition.
33255
e97ed6dd
JM
33256 [BZ #13550]
33257 * csu/libc-start.c: Do not include <bp-sym.h>.
33258 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
33259 * elf/dl-open.c: Do not include <bp-sym.h>.
33260 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
33261 * math/fegetenv.c: Do not include <bp-sym.h>.
33262 (fegetenv): Do not use BP_SYM in versioned symbols.
33263 * nptl/sysdeps/pthread/bits/libc-lockP.h
33264 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
33265 <bp-sym.h>.
33266 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33267 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
33268 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33269 (__pthread_mutex_destroy): Likewise.
33270 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33271 (__pthread_mutex_lock): Likewise.
33272 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33273 (__pthread_mutex_trylock): Likewise.
33274 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33275 (__pthread_mutex_unlock): Likewise.
33276 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33277 (__pthread_mutexattr_init): Likewise.
33278 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33279 (__pthread_mutexattr_destroy): Likewise.
33280 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33281 (__pthread_mutexattr_settype): Likewise.
33282 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33283 (__pthread_rwlock_init): Likewise.
33284 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33285 (__pthread_rwlock_destroy): Likewise.
33286 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33287 (__pthread_rwlock_rdlock): Likewise.
33288 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33289 (__pthread_rwlock_tryrdlock): Likewise.
33290 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33291 (__pthread_rwlock_wrlock): Likewise.
33292 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33293 (__pthread_rwlock_trywrlock): Likewise.
33294 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33295 (__pthread_rwlock_unlock): Likewise.
33296 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33297 (__pthread_key_create): Likewise.
33298 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33299 (__pthread_setspecific): Likewise.
33300 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33301 (__pthread_getspecific): Likewise.
33302 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
33303 Likewise.
33304 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33305 (_pthread_cleanup_push_defer): Likewise.
33306 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33307 (_pthread_cleanup_pop_restore): Likewise.
33308 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33309 (pthread_setcancelstate): Likewise.
33310 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
33311 <bp-sym.h>.
33312 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
33313 (memchr): Do not use BP_SYM in weak_alias.
33314 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
33315 (fegetenv): Do not use BP_SYM in versioned symbols.
33316 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
33317 (fesetenv): Do not use BP_SYM in versioned symbols.
33318 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
33319 (feupdateenv): Do not use BP_SYM in versioned symbols.
33320 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
33321 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
33322 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
33323 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
33324 (open64): Do not use BP_SYM in weak_alias.
33325 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
33326 (fegetenv): Do not use BP_SYM in versioned symbols.
33327 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
33328 (fesetenv): Do not use BP_SYM in versioned symbols.
33329 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
33330 (feupdateenv): Do not use BP_SYM in versioned symbols.
33331 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
33332 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
33333 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
33334 (feraiseexcept): Do not use BP_SYM in versioned symbols.
33335 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
33336 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
33337 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
33338 <bp-sym.h>.
33339 (__libc_start_main): Do not use BP_SYM.
33340
d6752ccd
SP
333412013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
33342
cb57ce60
SP
33343 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
33344 redundant return line.
33345 (norm): Likewise.
33346 (denorm): Likewise.
33347 (dbl_mp): Likewise.
33348 (sub_magnitudes): Likewise.
33349 (__add): Likewise.
33350 (__sub): Likewise.
33351 (__mul): Likewise.
33352 (__inv): Likewise.
33353 (__dvd): Likewise.
33354 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
33355 (norm): Likewise.
33356 (denorm): Likewise.
33357 (dbl_mp): Likewise.
33358 (sub_magnitudes): Likewise.
33359 (__add): Likewise.
33360 (__sub): Likewise.
33361 (__mul): Likewise.
33362 (__inv): Likewise.
33363 (__dvd): Likewise.
33364
f414520d
SP
33365 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
33366 instead of __mul.
33367 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
33368 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
33369 (cc32): Likewise.
33370
d6752ccd
SP
33371 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
33372 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
33373 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
33374 of __mul for squares.
33375 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
33376 function
33377 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
33378 Likewise.
33379 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
33380 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
33381
70d9946a
JM
333822013-02-13 Joseph Myers <joseph@codesourcery.com>
33383
33384 [BZ #13550]
33385 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
33386 code.
33387 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
33388 prototype or function definition. Rename ubp_* variables and
33389 parameters. Remove argv definitions conditional on
33390 [__BOUNDED_POINTERS__].
33391 * debug/backtrace.c (__backtrace): Do not use __unbounded.
33392 * elf/dl-runtime.c (_dl_fixup): Likewise.
33393 * include/set-hooks.h (RUN_HOOK): Likewise.
33394 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
33395 definition.
33396 * string/strcpy.c (strcpy): Do not use __unbounded.
33397 * sysdeps/generic/frame.h (struct layout): Likewise.
33398 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
33399 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
33400 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
33401 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
33402 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
33403 (__backtrace): Likewise.
33404 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
33405 use __ptrvalue.
33406 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
33407 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
33408 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
33409 Likewise.
33410 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
33411 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
33412 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
33413 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
33414 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
33415 Do not use __unbounded.
33416 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
33417 Rename __unboundedrlimits parameter to rlimits in prototype.
33418 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
33419 Do not use __unbounded.
33420 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
33421 not use __ptrvalue.
33422 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
33423 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
33424 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
33425 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
33426 __ptrvalue or __unbounded.
33427 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
33428 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
33429 use __unbounded.
33430 (__new_msgctl): Do not use __ptrvalue.
33431 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
33432 __unbounded.
33433 (__libc_msgrcv): Do not use __ptrvalue.
33434 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
33435 startup_info): Do not use __unbounded.
33436 (__libc_start_main): Likewise. Rename ubp_* variables and
33437 parameters. Remove argv definitions conditional on
33438 [__BOUNDED_POINTERS__].
33439 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
33440 __ptrvalue.
33441 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
33442 use __unbounded.
33443 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
33444 or __ptrvalue.
33445 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
33446 use __unbounded.
33447 (__new_shmctl): Do not use __ptrvalue.
33448 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
33449 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
33450 Likewise.
33451 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
33452 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
33453 (__libc_sigaction): Likewise.
33454 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
33455 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
33456 Likewise.
33457 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
33458
cc7834d6
OB
334592013-02-13 Ondřej Bílka <neleai@seznam.cz>
33460
ffb1ec7b 33461 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
33462
33463 * string/mempcpy.c: Implement by calling memcpy.
33464
bdf02814
SP
334652013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
33466
c2af38aa
SP
33467 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
33468
4e92d59e
SP
33469 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
33470 evaluation.
33471
909279a5
SP
33472 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
33473 values in the mantissa.
33474
bdf02814
SP
33475 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
33476 minimize writes to Z.
33477 (sub_magnitudes): Simplify code a bit.
33478
cd525923
RM
334792013-02-12 Roland McGrath <roland@hack.frob.com>
33480
33481 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
33482 from the message. The linker prefixes all warnings with that already.
33483
7e2f0d2d
AS
334842013-02-12 Andreas Schwab <schwab@suse.de>
33485
a445af0b
AS
33486 [BZ #15078]
33487 * posix/regexec.c (extend_buffers): Add parameter min_len.
33488 (check_matching): Pass minimum needed length.
33489 (clean_state_log_if_needed): Likewise.
33490 (get_subexp): Likewise.
33491 * posix/Makefile (tests): Add bug-regex34.
33492 (bug-regex34-ENV): Define.
33493 * posix/bug-regex34.c: New file.
33494
7e2f0d2d
AS
33495 [BZ #11561]
33496 * posix/regcomp.c (parse_bracket_exp): When looking up collating
33497 elements compare against the byte sequence of it, not its name.
33498 * posix/Makefile (tests): Add bug-regex35.
33499 (bug-regex35-ENV): Define.
33500 * posix/bug-regex35.c: New file.
33501
a175b684
TV
335022013-02-11 Tom de Vries <tom@codesourcery.com>
33503
33504 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
33505 comment.
33506 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
33507 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
33508 (CHECK_EOL): Add undef.
33509
310998fe 335102013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
33511
33512 * bits/stdlib-bsearch.h: New file.
33513 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 33514 * stdlib/stdlib.h: Likewise.
41eda41d 33515
8ded91fb
RM
335162013-02-11 Roland McGrath <roland@hack.frob.com>
33517
33518 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
33519 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
33520 declaration.
33521 * manual/search.texi (Array Search Function): Add missing const in
33522 lfind prototype.
33523 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
33524 declaration to use rlim_t.
33525 (Basic Scheduling Functions): Remove erroneous const from
33526 sched_getparam prototype. Remove erroneous * from
33527 sched_get_priority_max and sched_get_priority_min prototypes.
33528 (Resource Usage): Fix summary @comment on vtimes to refer to
33529 sys/vtimes.h rather than vtimes.h.
33530 Add missing *s in vtimes prototype.
33531 (Limits on Resources): Fix ulimit prototype to return long int.
33532 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
33533 prototypes to use long int rather than double.
33534 (BSD Random): Fix initstate and setstate to use char *, not void *.
33535 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
33536 prototype to make second argument 'struct aiocb64 *const[]'.
33537 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
33538 (Status of AIO Operations): Remove erroneous const in aio_return and
33539 aio_return64 prototypes.
33540 (Synchronizing I/O): Fix sync prototype to return void.
33541 * manual/startup.texi (Suboptions): Remove an erroneous const in
33542 getsubopt prototype.
33543 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
33544 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
33545 use size_t rather than int.
33546 (Scanning All Users): Likewise for getpwent_r.
33547 (Setting Groups): Add missing const to setgroups prototype.
33548 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
33549 * manual/socket.texi (Host Names): Fix gethostbyaddr and
33550 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
33551 'const void *' rather than 'const char *'.
33552 (Host Address Functions): Likewise for inet_ntop.
33553 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
33554 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
33555 ssize_t for return value.
33556 (Sending Data): Likewise for send, sendto, sendmsg.
33557 (Socket Option Functions): Add a missing const in setsockopt prototype.
33558 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
33559 use wchar_t for the argument.
33560 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
33561 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
33562 take no arguments.
33563 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
33564 double/float/long double for second argument.
33565 Fix return types of significand, significandf, significandl.
33566 * manual/filesys.texi (Setting Permissions): Use mode_t for second
33567 argument in fchmod prototype.
33568 (File Owner): Use uid_t and gid_t in fchown prototype.
33569 (File Times): Add const to utimes, futimes, and lutimes prototypes.
33570 (Making Special Files): Use mode_t and dev_t in mknod prototype.
33571 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
33572 use 'const struct dirent **' as argument types to CMP function pointer
33573 argument.
33574 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
33575 (File Times): Fix summary magic @comment for struct utimbuf and utime
33576 to refer to utime.h, not time.h.
33577 * manual/string.texi (Argz Functions): Add missing const in
33578 argz_extract and argz_next prototypes.
33579 (Finding Tokens in a String): Likewise for basename.
33580 (String/Array Comparison): Fix typo in wcscasecmp prototype.
33581 (Copying and Concatenation): Fix typo in wmemmove prototype.
33582 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
33583 (Signal Stack): Remove erroneous const in sigstack prototype.
33584 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
33585 prototype.
33586 (Simple Calendar Time): Likewise for stime.
33587 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
33588 prototype.
33589 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
33590 say sys/sysctl.h instead.
33591 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
33592 and vsyslog prototypes.
33593
fe77fe6d
TV
335942013-02-11 Tom de Vries <tom@codesourcery.com>
33595
33596 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
33597 Remove.
33598
3a09b620
RM
335992013-02-11 Roland McGrath <roland@hack.frob.com>
33600
33601 * misc/sys/mman.h: Fix typo in mremap comment.
33602
550a0b89
RM
336032013-02-08 Roland McGrath <roland@hack.frob.com>
33604
33605 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
33606 the '\0' terminator.
33607
a2da1673
JM
336082013-02-08 Joseph Myers <joseph@codesourcery.com>
33609
33610 [BZ #13550]
33611 * debug/segfault.c: Don't include <bp-checks.h>.
33612 * sysdeps/generic/bp-checks.h: Remove file.
33613 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
33614 (__GETDENTS): Don't use CHECK_N.
33615 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
33616 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
33617 (__getgroups): Don't use CHECK_N.
33618 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
33619 (setgroups): Don't use CHECK_N.
33620 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
33621 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
33622 (__libc_msgrcv): Don't use CHECK_N.
33623 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
33624 (__libc_msgsnd): Don't use CHECK_N.
33625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
33626 <bp-checks.h>.
33627 (__libc_pread): Don't use CHECK_N.
33628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
33629 include <bp-checks.h>.
33630 (__libc_pread64): Don't use CHECK_N.
33631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
33632 include <bp-checks.h>.
33633 (__libc_pwrite): Don't use CHECK_N.
33634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
33635 include <bp-checks.h>.
33636 (__libc_pwrite64): Don't use CHECK_N.
33637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
33638 <bp-checks.h>.
33639 (__libc_pread): Don't use CHECK_N.
33640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
33641 include <bp-checks.h>.
33642 (__libc_pread64): Don't use CHECK_N.
33643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
33644 include <bp-checks.h>.
33645 (__libc_pwrite): Don't use CHECK_N.
33646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
33647 include <bp-checks.h>.
33648 (__libc_pwrite64): Don't use CHECK_N.
33649 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
33650 (do_pread): Don't use CHECK_N.
33651 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
33652 (do_pread64): Don't use CHECK_N.
33653 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
33654 (do_pwrite): Don't use CHECK_N.
33655 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
33656 (do_pwrite64): Don't use CHECK_N.
33657 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
33658 (__libc_readv): Don't use CHECK_N.
33659 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
33660 (semop): Don't use CHECK_N.
33661 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
33662 <bp-checks.h>.
33663 (semtimedop): Don't use CHECK_N.
33664 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
33665 (__libc_pread): Don't use CHECK_N.
33666 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
33667 <bp-checks.h>.
33668 (__libc_pread64): Don't use CHECK_N.
33669 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
33670 <bp-checks.h>.
33671 (__libc_pwrite): Don't use CHECK_N.
33672 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
33673 <bp-checks.h>.
33674 (__libc_pwrite64): Don't use CHECK_N.
33675 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
33676 <bp-checks.h>.
33677 (__libc_msgrcv): Don't use CHECK_N.
33678 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
33679 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
33680 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
33681 (__libc_writev): Don't use CHECK_N.
33682
b84660a8
RM
336832013-02-08 Roland McGrath <roland@hack.frob.com>
33684
7f3e75f8
RM
33685 * string/strcpy.c: Removed unused variable.
33686
b84660a8
RM
33687 * Makeconfig (+sysdep-includes): Define with := rather than =.
33688 Use an existing include/ subdir of each sysdeps dir before it.
33689
471514d3
CD
336902013-02-08 Carlos O'Donell <carlos@redhat.com>
33691
33692 * nscd/connection.c (register_traced_file): Comment function.
33693 [HAVE_INOTIFY] (union __inev): Define.
33694 [HAVE_INOTIFY] (inotify_check_files): New function.
33695 [HAVE_INOTIFY] (clear_db_cache): Likewise.
33696 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
33697 clear_db_cache.
33698 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
33699
b2d3c3be
CD
337002013-02-08 Carlos O'Donell <carlos@redhat.com>
33701
33702 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
33703 loaded if not already and that a failure is permanent.
33704
b39949d2
CD
337052013-02-08 Carlos O'Donell <carlos@redhat.com>
33706
ddacd1db 33707 [BZ #15006]
b39949d2
CD
33708 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
33709 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
33710
b2c9eff4
JM
337112013-02-08 Joseph Myers <joseph@codesourcery.com>
33712
f3aae3f3
JM
33713 [BZ #13550]
33714 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
33715 (CHECK_1_NULL_OK): Likewise.
33716 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
33717 (__fxstat): Do not use CHECK_1.
33718 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
33719 <bp-checks.h>.
33720 (___fxstat64): Do not use CHECK_1.
33721 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
33722 <bp-checks.h>.
33723 (__fxstatat): Do not use CHECK_1.
33724 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
33725 <bp-checks.h>.
33726 (__fxstatat64): Do not use CHECK_1.
33727 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
33728 <bp-checks.h>.
33729 (__fxstat): Do not use CHECK_1.
33730 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
33731 <bp-checks.h>.
33732 (__fxstatat): Do not use CHECK_1.
33733 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
33734 <bp-checks.h>.
33735 (__getresgid): Do not use CHECK_1.
33736 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
33737 <bp-checks.h>.
33738 (__getresuid): Do not use CHECK_1.
33739 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
33740 <bp-checks.h>.
33741 (__lxstat): Do not use CHECK_1.
33742 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
33743 <bp-checks.h>.
33744 (__old_msgctl): Do not use CHECK_1.
33745 (__new_msgctl): Likewise.
33746 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
33747 <bp-checks.h>.
33748 (__new_setrlimit): Do not use CHECK_1.
33749 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
33750 <bp-checks.h>.
33751 (__old_shmctl): Do not use CHECK_1.
33752 (__new_shmctl): Likewise.
33753 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
33754 <bp-checks.h>.
33755 (__xstat): Do not use CHECK_1.
33756 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
33757 (__lxstat): Do not use CHECK_1.
33758 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
33759 <bp-checks.h>.
33760 (___lxstat64): Do not use CHECK_1.
33761 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
33762 (__old_msgctl): Do not use CHECK_1.
33763 (__new_msgctl): Likewise.
33764 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
33765 <bp-checks.h>.
33766 (__gettimeofday): Do not use CHECK_1.
33767 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
33768 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
33769 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
33770 <bp-checks.h>.
33771 (__gettimeofday): Do not use CHECK_1.
33772 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
33773 (__old_shmctl): Do not use CHECK_1_NULL_OK.
33774 (__new_shmctl): Do not use CHECK_1.
33775 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
33776 <bp-checks.h>.
33777 (do_sigtimedwait): Do not use CHECK_1.
33778 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
33779 <bp-checks.h>.
33780 (do_sigwaitinfo): Do not use CHECK_1.
33781 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
33782 <bp-checks.h>.
33783 (msgctl): Do not use CHECK_1.
33784 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
33785 <bp-checks.h>.
33786 (shmctl): Do not use CHECK_1.
33787 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
33788 (ustat): Do not use CHECK_1.
33789 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
33790 <bp-checks.h>.
33791 (__fxstat): Do not use CHECK_1.
33792 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
33793 <bp-checks.h>.
33794 (__fxstatat): Do not use CHECK_1.
33795 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
33796 <bp-checks.h>.
33797 (__lxstat): Do not use CHECK_1.
33798 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
33799 <bp-checks.h>.
33800 (__xstat): Do not use CHECK_1.
33801 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
33802 (__xstat): Do not use CHECK_1.
33803 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
33804 (___xstat64): Do not use CHECK_1.
33805
b2c9eff4
JM
33806 [BZ #13550]
33807 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
33808 definitions.
33809 (CHECK_BOUNDS_HIGH): Likewise.
33810 * string/strcpy.c: Do not include <bp-checks.h>.
33811 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
33812
f1d70dad
RM
338132013-02-07 Roland McGrath <roland@hack.frob.com>
33814
33815 * nscd/nscd-client.h (__nscd_drop_map_ref):
33816 Add __attribute__ ((unused)).
33817 * nis/nss-nisplus.h (niserr2nss): Likewise.
33818
33819 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
33820 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
33821
33822 * csu/libc-tls.c (init_static_tls, init_slotinfo):
33823 Remove inline keyword.
33824 * include/rounding-mode.h (round_away): Likewise.
33825 * libio/wfileops.c (adjust_wide_data): Likewise.
33826 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
33827 (__m128i_strloadu_tolower): Likewise.
33828 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
33829 (__m128i_strloadu_tolower): Likewise.
33830 * time/mktime.c (ydhms_diff): Likewise.
33831 * locale/elem-hash.h (elem_hash): Likewise.
33832 * locale/setlocale.c (setdata): Likewise.
33833 * posix/regex_internal.h (re_string_char_size_at): Likewise.
33834 (re_string_wchar_at): Likewise.
33835 (bitset_not, bitset_merge, bitset_mask): Likewise.
33836 [!(__GNUC__ > 3)] (inline): Remove macro.
33837 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
33838 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
33839 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
33840 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
33841 * string/memcmp.c (memcmp_bytes): Likewise.
33842 * locale/programs/locarchive.c (compute_hashval): Likewise.
33843 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
33844 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
33845 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
33846 * nss/getent.c (print_rpc, print_protocols): Likewise.
33847 (print_passwd, print_group, print_aliases): Likewise.
33848 * nis/nss-nisplus.h (niserr2nss): Likewise.
33849 * nscd/connections.c (restart_p): Likewise.
33850 Change return type to bool.
33851
eab55bfb
RM
338522013-02-05 Roland McGrath <roland@hack.frob.com>
33853
7bd642f5
RM
33854 * Makeconfig (all-Depend-files): Add existing
33855 $(sorted-subdirs:=/Depend) files.
33856 (all-subdirs): Remove nss.
33857 * sysdeps/unix/inet/Subdirs: Add it here instead.
33858 * hesiod/Depend: New file.
33859
573c29b2
RM
33860 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
33861 instead of calling alloca.
33862
b2e25af0
RM
33863 * io/lseek.c (__lseek): Rename to __libc_lseek.
33864 Define __lseek as an alias.
33865
eab55bfb
RM
33866 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
33867
9a0d1941
CD
338682013-02-04 Carlos O'Donell <carlos@redhat.com>
33869
33870 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
33871 else clause and remove check for non-standard endianness.
33872
b83bbec4
DM
338732013-02-04 David S. Miller <davem@davemloft.net>
33874
33875 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33876
6277fdab
JM
338772013-02-04 Joseph Myers <joseph@codesourcery.com>
33878
33879 [BZ #13550]
33880 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
33881 (__ubp_memchr): Remove prototype.
33882 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
33883 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
33884 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
33885 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
33886 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
33887 Remove alias.
33888 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
33889 (__ubp_memchr): Likewise.
33890 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
33891 (__ubp_memchr): Likewise.
33892 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
33893 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
33894 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
33895 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
33896 CHECK_STRING.
33897 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
33898 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
33899 (__getcwd): Do not use CHECK_STRING.
33900 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
33901 <bp-checks.h>.
33902 (__real_chown): Do not use CHECK_STRING.
33903 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
33904 <bp-checks.h>.
33905 (fchownat): Do not use CHECK_STRING.
33906 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
33907 CHECK_STRING.
33908 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
33909 <bp-checks.h>.
33910 (__lchown): Do not use CHECK_STRING.
33911 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
33912 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
33913 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
33914 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
33915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
33916 include <bp-checks.h>.
33917 (truncate64): Do not use CHECK_STRING.
33918 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
33919 <bp-checks.h>.
33920 (__real_chown): Do not use CHECK_STRING.
33921 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
33922 <bp-checks.h>.
33923 (__lchown): Do not use CHECK_STRING.
33924 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
33925 <bp-checks.h>.
33926 (__chown): Do not use CHECK_STRING.
33927 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
33928 <bp-checks.h>.
33929 (truncate64): Do not use CHECK_STRING.
33930 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
33931 Likewise.
33932 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
33933 (__xmknod): Do not use CHECK_STRING.
33934 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
33935 <bp-checks.h>.
33936 (__xmknodat): Do not use CHECK_STRING.
33937 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
33938 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
33939
903ae060
AS
339402013-02-04 Andreas Schwab <schwab@suse.de>
33941
33942 [BZ #14142]
33943 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
33944 * include/netdb.h: Likewise for h_errno.
33945 * elf/tst-stackguard1.c: Include <tls.h>.
33946
542f9466
JK
339472013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
33948
33949 * elf/link.h (struct link_map): Extend the l_addr comment.
33950 * include/link.h (struct link_map): Likewise.
33951
e782a927
JM
339522013-02-01 Joseph Myers <joseph@codesourcery.com>
33953
33954 [BZ #13550]
33955 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
33956 (BOUNDED_1): Remove macro.
33957 * debug/backtrace.c: Don't include <bp-checks.h>.
33958 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
33959 (__backtrace): Likewise.
33960 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
33961 <bp-checks.h>.
33962 (__backtrace): Don't use BOUNDED_1.
33963 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
33964 <bp-checks.h>.
33965 (__backtrace): Don't use BOUNDED_1.
33966 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
33967 (__backtrace): Don't use BOUNDED_1.
33968 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
33969 (shmat): Don't use BOUNDED_N.
33970
8cf28c5e
JM
339712013-01-31 Joseph Myers <joseph@codesourcery.com>
33972
3a7ac8a0
JM
33973 [BZ #13550]
33974 * sysdeps/generic/bp-start.h: Remove file.
33975 * csu/libc-start.c: Don't include <bp-start.h>.
33976 (LIBC_START_MAIN): Set up __environ directly instead of using
33977 INIT_ARGV_and_ENVIRON.
33978 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
33979 <bp-start.h>.
33980
f3499f95
JM
33981 [BZ #13550]
33982 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
33983 definitions.
33984 (CHECK_FCNTL): Likewise.
33985 (CHECK_N_PAGES): Likewise.
33986
32a45bea
JM
33987 [BZ #13550]
33988 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
33989 definitions.
33990 (CHECK_SIGSET_NULL_OK): Likewise.
33991 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
33992 <bp-checks.h>.
33993 (sigpending): Don't use CHECK_SIGSET.
33994 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
33995 <bp-checks.h>.
33996 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
33997 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
33998 <bp-checks.h>.
33999 (do_sigsuspend): Don't use CHECK_SIGSET.
34000 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
34001 use CHECK_SIGSET.
34002 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
34003 (do_sigwait): Don't use CHECK_SIGSET.
34004 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
34005 use CHECK_SIGSET.
34006 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
34007 include <bp-checks.h>.
34008 (sigpending): Don't use CHECK_SIGSET.
34009 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
34010 include <bp-checks.h>.
34011 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
34012 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
34013 <bp-checks.h>.
34014 (sigpending): Don't use CHECK_SIGSET.
34015 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
34016 <bp-checks.h>.
34017 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
34018
2e8a5c8c
JM
34019 [BZ #13550]
34020 * sysdeps/generic/bp-semctl.h: Remove file.
34021 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
34022 <bp-checks.h> and <bp-semctl.h>.
34023 (__old_semctl): Don't use CHECK_SEMCTL.
34024 (__new_semctl): Likewise.
34025 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
34026 and <bp-semctl.h>.
34027 (__old_semctl): Don't use CHECK_SEMCTL.
34028 (__new_semctl): Likewise.
34029 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
34030 <bp-checks.h> and <bp-semctl.h>.
34031 (__old_semctl): Don't use CHECK_SEMCTL.
34032 (__new_semctl): Likewise.
34033 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
34034 <bp-checks.h> and <bp-semctl.h>.
34035 (semctl): Don't use CHECK_SEMCTL.
34036
c2d54929
JM
34037 [BZ #13550]
34038 * Makerules (elide-bp-thunks): Remove variable.
34039 (elide-routines.oS): Don't use $(elide-bp-thunks).
34040 (elide-routines.os): Likewise.
34041 (elide-routines.o): Likewise.
34042 (elide-routines.op): Likewise.
34043 (elide-routines.og): Likewise.
34044 (objects): Don't use $(bp-thunks).
34045 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
34046 include.
34047 (common-generated): Do not add s-proto-bp.d.
34048 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
34049 (int): Likewise.
34050 (typ): Likewise.
34051 Do not generate makefile rules for bounded-pointer thunks.
34052 * sysdeps/generic/bp-thunks.h: Remove file.
34053 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
34054 * sysdeps/unix/s-proto-bp.S: Likewise.
34055
8cf28c5e
JM
34056 [BZ #15062]
34057 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
34058 parts of result separately when argument is not close to line from
34059 -i to i and one part of argument is small.
34060 * math/k_casinhf.c (__kernel_casinhf): Likewise.
34061 * math/k_casinhl.c (__kernel_casinhl): Likewise.
34062 * math/libm-test.inc (cacos_test): Add more tests.
34063 (casin_test): Likewise.
34064 (casinh_test): Likewise.
34065 * sysdeps/i386/fpu/libm-test-ulps: Update.
34066 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34067
c4e33b8d
DM
340682013-01-31 David S. Miller <davem@davemloft.net>
34069
34070 * po/de.po: Update from translation team.
34071
3b60b421
MK
340722013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
34073
34074 * time/tzfile.c: Include stdint.h for SIZE_MAX.
34075
bb931195
TS
340762013-01-25 Thomas Schwinge <thomas@codesourcery.com>
34077
b5a5da23
TS
34078 * configure.in (_AC_PROG_CC_C89): New definition.
34079 * configure: Regenerate.
34080
bb931195
TS
34081 * configure.in (AC_PROG_CPP): New definition.
34082 * configure: Regenerate.
34083
8c53a12c
JM
340842013-01-23 Joseph Myers <joseph@codesourcery.com>
34085
34086 * debug/tst-backtrace.h: New file.
34087 * debug/tst-backtrace2.c: Include tst-backtrace.h.
34088 (ret): Remove variable.
34089 (x): Likewise.
34090 (FAIL): Remove macro.
34091 (NO_INLINE): Likewise.
34092 (fn1): Use match function instead of strstr.
34093 * debug/tst-backtrace3.c: Include tst-backtrace.h.
34094 (ret): Remove variable.
34095 (x): Likewise.
34096 (FAIL): Remove macro.
34097 (NO_INLINE): Likewise.
34098 (fn): Use match function instead of strstr.
34099 * debug/tst-backtrace4.c: Include tst-backtrace.h.
34100 (ret): Remove variable.
34101 (x): Likewise.
34102 (FAIL): Remove macro.
34103 (NO_INLINE): Likewise.
34104 (handle_signal): Use match function instead of strstr.
34105 * debug/tst-backtrace5.c: Include tst-backtrace.h.
34106 (ret): Remove variable.
34107 (x): Likewise.
34108 (FAIL): Remove macro.
34109 (NO_INLINE): Likewise.
34110 (handle_signal): Use match function instead of strstr.
34111
4858fa2a
RM
341122013-01-23 Roland McGrath <roland@hack.frob.com>
34113
34114 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
34115
bae8e7f5
DM
341162013-01-23 David S. Miller <davem@davemloft.net>
34117
34118 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
34119 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
34120 argument of CAS if possible.
34121 * sysdeps/sparc/sparc64/bits/atomic.h
34122 (__arch_compare_and_exchange_val_32_acq): Likewise.
34123 (__arch_compare_and_exchange_val_64_acq): Likewise.
34124
9cbbc4ae
PT
341252013-01-23 Pino Toscano <toscano.pino@tiscali.it>
34126
34127 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
34128 * sysdeps/posix/ulimit.c: ... this.
92a601b8 34129 Include <limits.h>.
67b3f58c 34130 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 34131
5655a0b5
AC
341322013-01-23 Adam Conrad <adconrad@0c3.net>
34133
34134 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
34135 (LDFLAGS-tst-array5): Likewise.
34136
052aff95
JM
341372013-01-23 Joseph Myers <joseph@codesourcery.com>
34138
34139 [BZ #15036]
34140 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
34141 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
34142 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
34143 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
34144
7c1e01aa
DM
341452013-01-21 David S. Miller <davem@davemloft.net>
34146
34147 * sysdeps/sparc/backtrace.c: New file.
34148 * sysdeps/sparc/sparc32/backtrace.h: New file.
34149 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
34150 * sysdeps/sparc/sparc64/backtrace.h: New file.
34151 * sysdeps/sparc/sparc64/backtrace.c: Delete.
34152 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
34153 -funwind-tables.
34154
ab087e0a
AS
341552013-01-21 Andreas Schwab <schwab@suse.de>
34156
34157 [BZ #15020]
34158 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
34159 closed its stdout.
34160
ed689c2f
AS
341612013-01-20 Andreas Schwab <schwab@linux-m68k.org>
34162
34163 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
34164 "mpa2.h".
34165 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
34166
31d470ac
JM
341672013-01-18 Joseph Myers <joseph@codesourcery.com>
34168 Mark Mitchell <mark@codesourcery.com>
34169 Tom de Vries <tom@codesourcery.com>
34170 Paul Pluzhnikov <ppluzhnikov@google.com>
34171
34172 * debug/tst-backtrace2.c: New file.
34173 * debug/tst-backtrace3.c: Likewise.
34174 * debug/tst-backtrace4.c: Likewise.
34175 * debug/tst-backtrace5.c: Likewise.
34176 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
34177 (CFLAGS-tst-backtrace3.c): Likewise.
34178 (CFLAGS-tst-backtrace4.c): Likewise.
34179 (CFLAGS-tst-backtrace5.c): Likewise.
34180 (LDFLAGS-tst-backtrace2): Likewise.
34181 (LDFLAGS-tst-backtrace3): Likewise.
34182 (LDFLAGS-tst-backtrace4): Likewise.
34183 (LDFLAGS-tst-backtrace5): Likewise.
34184 (tests): Add new tests tst-backtrace2, tst-backtrace3,
34185 tst-backtrace4 and tst-backtrace5.
34186
90567f30 341872013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
34188 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
34189
34190 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
34191 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
34192 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
34193 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
34194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
34195 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
34196 "+r" and remove output regs list as redundant. Add explicit inline
34197 asm to specify register of return val to work around compiler codegen
34198 bug. Remove (int) cast on return value. Add return type parameter to
34199 use in macro so that this macro does not truncate return value for
34200 64-bit values.
34201 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
34202 pass to INTERNAL_VSYSCALL_NCS.
34203 (INLINE_VSYSCALL): Add 'long int' as return type to
34204 INTERNAL_VSYSCALL_NCS macro invocation.
34205 (INTERNAL_VSYSCALL): Add 'long int' as return type to
34206 INTERNAL_VSYSCALL_NCS macro invocation.
34207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
34208
d3b9ea61
SP
342092013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
34210
0b57daeb
SP
34211 [BZ #14496]
34212 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
34213 Fix application of SIMD FP exception mask.
34214
caa99d06
SP
34215 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
34216 mp_no from a power of two.
34217 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
34218 __mpexp_twomm1. Use __pow_mp.
34219
d3b9ea61
SP
34220 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
34221 multiplication.
34222
1dbaee3c
DM
342232013-01-17 David S. Miller <davem@davemloft.net>
34224
34225 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34226
728d7b43
JM
342272013-01-17 Joseph Myers <joseph@codesourcery.com>
34228
34229 [BZ #15023]
34230 * include/complex.h: Condition contents on [!_COMPLEX_H].
34231 (__kernel_casinhf): New prototype.
34232 (__kernel_casinh): Likewise.
34233 (__kernel_casinhl): Likewise.
34234 * math/Makefile (libm_calls): Add k_casinh.
34235 * math/k_casinh.c: New file.
34236 * math/k_casinhf.c: Likewise.
34237 * math/k_casinhl.c: Likewise.
34238 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
34239 finite nonzero arguments.
34240 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
34241 finite nonzero arguments.
34242 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
34243 finite nonzero arguments.
34244 * math/s_casinh.c: Do not include <float.h>.
34245 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
34246 * math/s_casinhf.c: Do not include <float.h>.
34247 (__casinhf): Move code for finite nonzero arguments to
34248 k_casinhf.c.
34249 * math/s_casinhl.c: Do not include <float.h>.
34250 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
34251 redefine.
34252 (__casinhl): Move code for finite nonzero arguments to
34253 k_casinhl.c.
34254 * math/libm-test.inc (cacos_test): Add more tests.
34255 * sysdeps/i386/fpu/libm-test-ulps: Update.
34256 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34257
2a26ef3a
PT
342582013-01-17 Pino Toscano <toscano.pino@tiscali.it>
34259
34260 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
34261 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
34262 [!HAVE_MREMAP]: Remove [defined linux] case.
34263 * malloc/arena.c: Do not include <malloc-sysdep.h>.
34264
a897655d
SP
342652013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
34266
34267 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
34268
881ebe89 342692013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
34270
34271 * elf/elf.h (R_386_SIZE32): New relocation.
34272 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
34273 R_386_SIZE32.
34274 (elf_machine_rela): Likewise.
34275 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
34276 R_X86_64_SIZE64 and R_X86_64_SIZE32.
34277
59981e9b
JM
342782013-01-17 Joseph Myers <joseph@codesourcery.com>
34279
34280 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
34281 (FP_FAST_FMA): Do not define.
34282 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
34283 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
34284 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
34285 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
34286 !_SOFT_FLOAT]: Likewise.
34287 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
34288 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
34289 value.
34290 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
34291 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
34292 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
34293 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
34294 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
34295 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
34296 file.
34297
cfa8054f
AS
342982013-01-16 Andreas Schwab <schwab@suse.de>
34299
34300 [BZ #14327]
34301 * include/stdlib.h (__mktemp): Add declaration.
34302 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
34303 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
34304
dd930cc5
SP
343052013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
34306
881ebe89
SP
34307 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
34308 definitions.
34309 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
34310 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
34311 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
34312 definitions here.
34313 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
34314 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
34315 definitions.
34316 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
34317 and ONE.
34318 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
34319 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
34320 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
34321 definitions.
34322 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
34323 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
34324 definitions.
34325 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 34326
dd930cc5
SP
34327 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
34328
c19a9f89
DM
343292013-01-15 David S. Miller <davem@davemloft.net>
34330
1aa61767
DM
34331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
34332 trunc{,f} to libm-sysdep_routes.
34333 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
34334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
34335 file.
34336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
34337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
34338 file.
34339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
34340 file.
34341 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
34342 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
34343 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
34344 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
34345 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
34346 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
34347 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
34348 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
34349
c42d5e98
DM
34350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
34351 nearbyint{,f} to libm-sysdep_routes.
34352 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
34353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
34354 New file.
34355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
34356 file.
34357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
34358 New file.
34359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
34360 file.
34361 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
34362 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
34363 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
34364 file.
34365 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
34366 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
34367 file.
34368 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
34369 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
34370 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
34371
c19a9f89
DM
34372 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
34373 libc_feholdexcept and libc_fesetenv.
34374
357679d2
MF
343752013-01-15 Mike Frysinger <vapier@gentoo.org>
34376
34377 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
34378
65a82e3d
DM
343792013-01-14 David S. Miller <davem@davemloft.net>
34380
8b954ab9
DM
34381 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
34382 (SPARC_ASM_VIS2_IFUNC): Likewise.
34383 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
34384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
34385 use of 'siam' instruction.
34386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
34387 Likewise.
34388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
34389 Likewise.
34390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
34391 Likewise.
34392 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
34393 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
34394 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
34395 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
34396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
34397 file.
34398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
34399 file.
34400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
34401 file.
34402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
34403 file.
34404 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
34405 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
34406 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
34407 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
34408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
34409 new VIS2 routines.
34410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
34411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
34412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
34413 Likewise.
34414 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
34415 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
34416 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
34417 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
34418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
34419 routines to libm-sysdep_routines.
34420 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
34421
65a82e3d
DM
34422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
34423 fdim/fdimf to libm-sysdep_routines.
34424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
34425 file.
34426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
34427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
34428 file.
34429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
34430 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
34431 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
34432 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
34433 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
34434 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
34435 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
34436
e34ab705
SP
344372013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
34438
2a91b573
SP
34439 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
34440 to optimize copies.
34441
1066a534
SP
34442 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
34443 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
34444 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
34445
e34ab705
SP
34446 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
34447 local variable MPTWO.
34448 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
34449 Likewise.
34450
aba5e596
MF
344512013-01-13 Mike Frysinger <vapier@gentoo.org>
34452
34453 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
34454 GLOB_NOESCAPE.
34455
e557e9e5
MF
344562013-01-13 Mike Frysinger <vapier@gentoo.org>
34457
34458 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
34459
0428cec9
MF
344602013-01-13 Mike Frysinger <vapier@gentoo.org>
34461
34462 * manual/pattern.texi (glob_t): Document gl_flags.
34463 (glob64_t): Likewise.
34464
8794a964
DM
344652013-01-11 David S. Miller <davem@davemloft.net>
34466
66438c3f
RM
34467 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
34468 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
34469 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
34470 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
34471 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
34472 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
34473 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
34474 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
34475 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
34476 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
34477 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
34478 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
34479 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
34480
4ae4244d
DM
34481 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
34482 sparc V9 rather than using V8 code.
34483 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
34484 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
34485
8794a964
DM
34486 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
34487 Move to...
34488 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
34489 Here.
34490
6270516e
RM
344912013-01-11 Roland McGrath <roland@hack.frob.com>
34492
34493 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
34494 not in the main loop.
34495 * configure: Regenerated.
34496
6a57d931
JM
344972013-01-11 Joseph Myers <joseph@codesourcery.com>
34498
34499 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
34500 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
34501 to just #else.
34502 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
34503 [!__GLIBC_HAVE_LONG_LONG] case.
34504 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
34505 condition to just #else.
34506 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
34507 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
34508 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
34509 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
34510 unconditional.
34511 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
34512 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
34513 #elif condition to just #else.
34514 * sysdeps/unix/sysv/linux/sys/sysmacros.h
34515 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
34516 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
34517 #elif condition to just #else.
34518
0e8529e9
SE
345192013-01-11 Steve Ellcey <sellcey@mips.com>
34520
34521 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
34522 (EF_MIPS_ARCH_64): Fix value.
34523 (EF_MIPS_ARCH_32R2): New.
34524 (EF_MIPS_ARCH_64R2): New.
34525
740b3dbe
L
345262013-01-11 H.J. Lu <hongjiu.lu@intel.com>
34527
34528 * Makeconfig (+link-pie-before-libc): New.
34529 (+link-pie-after-libc): Likewise.
34530 (+link-pie-tests): Likewise.
34531 (+link-pie): Rewritten.
34532 (link-before-libc): Remove $(config-LDFLAGS).
34533 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
34534 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
34535 (config-LDFLAGS): Renamed to ...
34536 (rtld-LDFLAGS): This.
34537 (rtld-tests-LDFLAGS): New macro.
34538 (link-libc-rpath-link): Likewise.
34539 (link-libc-tests-rpath-link): Likewise.
34540 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
34541 (link-libc): Prepand $(link-libc-rpath-link).
34542 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
34543 (test-program-prefix): New macro.
34544 (test-via-rtld-prefix): Likewise.
34545 (test-program-cmd): Likewise.
34546 (host-test-program-cmd): Likewise.
34547 * Makefile ($(common-objpfx)testrun.sh): Replace
34548 $(run-program-prefix) with $(test-program-prefix).
34549 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
34550 $(rtld-LDFLAGS).
34551 ($(common-objpfx)shlib.lds): Likewise.
34552 (build-module-helper): Likewise.
34553 ($(common-objpfx)format.lds): Likewise.
34554 * Rules (binaries-pie-tests): New.
34555 (binaries-pie-notests): Likewise.
34556 (binaries-pie): Rewritten.
34557 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
34558 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
34559 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
34560 (make-test-out): Replace $(host-built-program-cmd) with
34561 $(host-test-program-cmd).
34562 * config.make.in (build-hardcoded-path-in-tests): New variable.
34563 * configure.in (--enable-hardcoded-path-in-tests): New configure
34564 option.
34565 (hardcoded_path_in_tests): New AC_SUBST.
34566 * configure: Regenerated.
34567 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
34568 $(built-program-cmd) with $(test-program-cmd).
34569 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
34570 (test_program_cmd): This.
34571 * elf/Makefile ($(objpfx)order.out): Run test with
34572 $(test-program-prefix).
34573 ($(objpfx)order2.out): Likewise.
34574 ($(objpfx)tst-initorder.out): Likewise.
34575 ($(objpfx)tst-initorder2.out): Likewise.
34576 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
34577 $(test-program-cmd).
34578 ($(objpfx)tst-array1-static.out): Likewise.
34579 ($(objpfx)tst-array2.out): Likewise.
34580 ($(objpfx)tst-array3.out): Likewise.
34581 ($(objpfx)tst-array4.out): Likewise.
34582 ($(objpfx)tst-array5.out): Likewise.
34583 ($(objpfx)tst-array5-static.out): Likewise.
34584 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
34585 $(test-program-cmd).
34586 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
34587 $(run-program-prefix) with $(test-program-prefix).
34588 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
34589 (test_program_prefix): This.
34590 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
34591 $(run-program-prefix) with $(test-program-prefix).
34592 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
34593 (test_program_prefix): This.
34594 * iconvdata/tst-tables.sh: Likewise.
34595 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
34596 $(run-program-prefix) with $(test-program-prefix).
34597 ($(objpfx)tst-translit.out): Likewise.
34598 ($(objpfx)tst-gettext2.out): Likewise.
34599 ($(objpfx)tst-gettext4.out): Likewise.
34600 ($(objpfx)tst-gettext6.out): Likewise.
34601 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
34602 (test_program_prefix): This.
34603 * intl/tst-gettext2.sh: Likewise.
34604 * intl/tst-gettext4.sh Likewise.
34605 * intl/tst-gettext6.sh: Likewise.
34606 * intl/tst-translit.sh: Likewise.
34607 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
34608 with $(test-program-cmd).
34609 * libio/Makefile ($(objpfx)test-freopen.out): Replace
34610 $(run-program-prefix) with $(test-program-prefix).
34611 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
34612 (test_program_prefix): This.
34613 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
34614 $(run-program-prefix) with $(test-program-prefix).
34615 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
34616 (test_program_prefix): This.
34617 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
34618 * posix/Makefile ($(objpfx)globtest.out): Replace
34619 $(run-via-rtld-prefix) and $(test-wrapper) with
34620 $(test-program-prefix) and $(test-via-rtld-prefix).
34621 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
34622 $(test-program-prefix).
34623 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
34624 $(host-test-program-cmd).
34625 (tst-spawn-ARGS): Likewise.
34626 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
34627 $(test-program-prefix).
34628 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
34629 (test_via_rtld_prefix): This.
34630 (test_wrapper): Renamed to ...
34631 (test_program_prefix): This.
34632 (run_program_prefix): Replaced by test_program_prefix.
34633 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
34634 (test_program_prefix): This.
34635 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
34636 with $(host-test-program-cmd).
34637 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
34638 $(run-program-prefix) with $(test-program-prefix).
34639 ($(objpfx)tst-printf.out): Likewise.
34640 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
34641 $(test-program-cmd).
34642 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
34643 (test_program_prefix): This.
34644 * stdio-common/tst-unbputc.sh: Likewise.
34645 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
34646 $(run-program-prefix) with $(test-program-prefix).
34647 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
34648 (test_program_prefix): This.
34649 * string/Makefile ($(objpfx)tst-svc.out): Replace
34650 $(built-program-cmd) with $(test-program-cmd).
34651
c6fe55cf
AJ
346522013-01-11 Andreas Jaeger <aj@suse.de>
34653
34654 [BZ #15003]
34655 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
34656 value. Sync with Linux 3.7.
34657
9e6919c8
DM
346582013-01-10 David S. Miller <davem@davemloft.net>
34659
34660 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
34661 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
34662 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
34663
1c9f1a02
RM
346642013-01-10 Roland McGrath <roland@hack.frob.com>
34665
34666 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
34667 never set.
34668 * configure: Regenerated.
34669
b9de2dde
DM
346702013-01-10 David S. Miller <davem@davemloft.net>
34671
34672 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
34673 sparc V9 rather than using V8 code.
34674 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
34675 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
34676
e7f68ef4
RM
346772013-01-10 Roland McGrath <roland@hack.frob.com>
34678
34679 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
34680 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
34681 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
34682 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
34683 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
34684 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
34685 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
34686 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
34687 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
34688 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
34689 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
34690 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
34691 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
34692 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
34693 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
34694 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
34695 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
34696 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
34697 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
34698 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
34699 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
34700 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
34701 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
34702 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
34703 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
34704 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
34705 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
34706
5a47cc9c
DM
347072013-01-10 David S. Miller <davem@davemloft.net>
34708
34709 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34710
4cf8f209
L
347112013-01-10 H.J. Lu <hongjiu.lu@intel.com>
34712
34713 * posix/Makefile (tests-static): New variable.
34714 (tests): Add $(tests-static).
34715 (tst-exec-static-ARGS): New variable.
34716 (tst-spawn-static-ARGS): Likewise.
34717 * posix/tst-exec-static.c: New file.
34718 * posix/tst-spawn-static.c: Likewise.
34719 * posix/tst-exec.c: Support run directly.
34720 * posix/tst-spawn.c: Likewise.
34721
fed0faa1
JM
347222013-01-10 Joseph Myers <joseph@codesourcery.com>
34723
828beb13
JM
34724 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
34725 long.
34726 * math/bits/mathcalls.h (llrint): Likewise.
34727 (llround): Likewise.
34728 * stdlib/stdlib.h (struct drand48_data): Likewise.
34729 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
34730 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
34731 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
34732 Likewise.
34733 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
34734 Likewise.
34735 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
34736 (elf_greg_t): Likewise.
34737 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
34738 (__jmp_buf): Likewise.
34739 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
34740 definitions.
34741 (llrint): Likewise, for all definitions.
34742 (llrintl): Likewise.
34743
fed0faa1
JM
34744 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
34745 Remove [__GNUC__] condition.
34746 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
34747 condition to just [__USE_ISOC99].
34748 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
34749
1a20cb20
L
347502013-01-10 H.J. Lu <hongjiu.lu@intel.com>
34751
34752 [BZ #14200]
34753 * sysdeps/unix/sysv/linux/x86/bits/environments.h
34754 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
34755 defined.
34756 (_POSIX_V6_ILP32_OFF32): Likewise.
34757 (_XBS5_ILP32_OFF32): Likewise.
34758 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
34759 (__ILP32_OFFBIG_LDFLAGS): Likewise.
34760
751b85f7
SP
347612013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
34762
7490eb81
SP
34763 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
34764
751b85f7
SP
34765 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
34766 doubles __mpexp_twomm1. Adjust usage.
34767 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
34768 Remove.
34769
988197f0
AS
347702013-01-10 Andreas Schwab <schwab@suse.de>
34771
34772 [BZ #14964]
34773 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
34774 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
34775
e83d7298
DM
347762013-01-09 David S. Miller <davem@davemloft.net>
34777
034ed64b 34778 [BZ #15003]
57f41c40
AS
34779 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
34780 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
34781 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
34782 (TCP_FASTOPEN): Define.
e83d7298
DM
34783 (tcp_repair_opt): New structure.
34784 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
34785 enum values.
57f41c40
AS
34786 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
34787 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
34788 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
34789 (tcp_cookie_transactions): New structure.
34790
d5e0b9bd
AB
347912013-01-09 Anton Blanchard <anton@samba.org>
34792
34793 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
34794 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
34795 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
34796 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
34797
0c07e3ea
JM
347982013-01-09 Joseph Myers <joseph@codesourcery.com>
34799
34800 * include/features.h (__USE_ANSI): Remove.
34801
232f7002
RM
348022013-01-09 Roland McGrath <roland@hack.frob.com>
34803
ad98e30c
RM
34804 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
34805
232f7002
RM
34806 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
34807
950c99ca
SP
348082013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
34809
b5792741
SP
34810 * sysdeps/s390/fpu/libm-test-ulps: Update.
34811
47cf2278
SP
34812 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34813
950c99ca
SP
34814 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
34815 (__acr): Likewise.
34816 (__cpy): Likewise.
34817 (norm): Likewise.
34818 (denorm): Likewise.
34819 (__mp_dbl): Likewise.
34820 (__dbl_mp): Likewise.
34821 (add_magnitudes): Likewise.
34822 (sub_magnitudes): Likewise.
34823 (__add): Likewise.
34824 (__sub): Likewise.
34825 (__mul): Likewise.
34826 (__inv): Likewise.
34827 (__dvd): Likewise.
34828 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
34829 (__acr): Likewise.
34830 (__cpy): Likewise.
34831 (norm): Likewise.
34832 (denorm): Likewise.
34833 (__mp_dbl): Likewise.
34834 (__dbl_mp): Likewise.
34835 (add_magnitudes): Likewise.
34836 (sub_magnitudes): Likewise.
34837 (__add): Likewise.
34838 (__sub): Likewise.
34839 (__mul): Likewise.
34840 (__inv): Likewise.
34841 (__dvd): Likewise.
34842 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
34843 (__acr): Likewise.
34844 (__cpy): Likewise.
34845 (norm): Likewise.
34846 (denorm): Likewise.
34847 (__mp_dbl): Likewise.
34848 (__dbl_mp): Likewise.
34849 (add_magnitudes): Likewise.
34850 (sub_magnitudes): Likewise.
34851 (__add): Likewise.
34852 (__sub): Likewise.
34853 (__mul): Likewise.
34854 (__inv): Likewise.
34855 (__dvd): Likewise.
34856
eede9df9
JM
348572013-01-08 Joseph Myers <joseph@codesourcery.com>
34858
34859 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
34860 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
34861 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
34862 2 && __USE_EXTERN_INLINES]: Likewise.
34863
c40ea3d9
AJ
348642013-01-08 Andreas Jaeger <aj@suse.de>
34865
34866 [BZ# 14985]
34867 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
34868 Remove.
34869 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
34870 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
34871
2ccdea26
AB
348722013-01-07 Anton Blanchard <anton@samba.org>
34873
34874 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
34875 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
34876 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
34877 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
34878 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
34879 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
34880 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
34881 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
34882 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
34883 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
34884 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
34885 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
34886 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
34887 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
34888 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
34889 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
34890 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
34891 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
34892 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
34893 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
34894 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
34895 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
34896 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
34897 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
34898 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
34899 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
34900 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
34901 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
34902 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
34903 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
34904 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
34905 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
34906 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
34907 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
34908 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
34909 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
34910 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
34911 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
34912 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
34913 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
34914 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
34915 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
34916 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
34917
a9708fed
JM
349182013-01-07 Joseph Myers <joseph@codesourcery.com>
34919
375607b9
JM
34920 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
34921 (__MALLOC_PMT): Likewise.
34922 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
34923 [__GNUC__], only on [_LIBC].
34924 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
34925 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
34926 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
34927 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
34928 forward declaration.
34929 (realloc_hook_ini): Likewise.
34930 (memalign_hook_ini): Likewise.
34931 (__libc_memalign): Do not use __MALLOC_PMT in variable
34932 declaration.
34933 (__libc_valloc): Likewise.
34934 (__libc_pvalloc): Likewise.
34935 (__libc_calloc): Likewise.
34936 (__posix_memalign): Likewise.
34937
a9708fed
JM
34938 [BZ #14996]
34939 * math/s_casinh.c: Include <float.h>.
34940 (__casinh): Do not do computation with squaring and square root
34941 for large arguments.
34942 * math/s_casinhf.c: Include <float.h>.
34943 (__casinhf): Do not do computation with squaring and square root
34944 for large arguments.
34945 * math/s_casinhl.c: Include <float.h>.
34946 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
34947 (__casinhl): Do not do computation with squaring and square root
34948 for large arguments.
34949 * math/libm-test.inc (casin_test): Add more tests.
34950 (casinh_test): Likewise.
34951 * sysdeps/i386/fpu/libm-test-ulps: Update.
34952 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34953
afec409a
L
349542013-01-04 H.J. Lu <hongjiu.lu@intel.com>
34955
34956 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
34957 (__x86_64_raw_data_cache_size): Likewise.
34958 (__x86_64_data_cache_size_half): Likewise.
34959 (__x86_64_raw_data_cache_size_half): Likewise.
34960 (__x86_64_shared_cache_size): Likewise.
34961 (__x86_64_raw_shared_cache_size): Likewise.
34962 (__x86_64_shared_cache_size_half): Likewise.
34963 (__x86_64_raw_shared_cache_size_half): Likewise.
34964 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
34965 to ...
34966 (__x86_data_cache_size): This.
34967 (__x86_64_raw_data_cache_size): Renamed to ...
34968 (__x86_raw_data_cache_size): This.
34969 (__x86_64_data_cache_size_half): Renamed to ...
34970 (__x86_data_cache_size_half): This.
34971 (__x86_64_raw_data_cache_size_half): Renamed to ...
34972 (__x86_raw_data_cache_size_half): This.
34973 (__x86_64_shared_cache_size): Renamed to ...
34974 (__x86_shared_cache_size): This.
34975 (__x86_64_raw_shared_cache_size): Renamed to ...
34976 (__x86_raw_shared_cache_size): This.
34977 (__x86_64_shared_cache_size_half): Renamed to ...
34978 (__x86_shared_cache_size_half): This.
34979 (__x86_64_raw_shared_cache_size_half): Renamed to ...
34980 (__x86_raw_shared_cache_size_half): This.
34981 * sysdeps/x86_64/memcpy.S: Updated.
34982 * sysdeps/x86_64/memset.S: Likewise.
34983 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
34984 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
34985 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
34986
0b3986d0
DM
349872013-01-04 David S. Miller <davem@davemloft.net>
34988
34989 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34990
e47686e9
AS
349912013-01-04 Andreas Schwab <schwab@linux-m68k.org>
34992
d643bac1
AS
34993 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
34994 1 to avoid redefinition warning.
34995 (__USE_GNU): Don't define.
34996 (init_signaling_nan): Protoize.
34997
e47686e9
AS
34998 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34999
b18decba
SP
350002013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
35001
fffb407f
SP
35002 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
35003 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
35004 (__cpymn): Likewise.
35005 (norm): Remove commented code.
35006 (denorm): Likewise.
35007 (__mp_dbl): Likewise.
35008 (__inv): Likewise.
35009 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
35010 (__cpymn): Likewise.
35011 (norm): Remove commented code.
35012 (denorm): Likewise.
35013 (__mp_dbl): Likewise.
35014 (__inv): Likewise.
35015
b18decba
SP
35016 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
35017 mp_no value for 1.0 and 2.0.
35018 (norm): Use RADIXI instead of radixi.d.
35019 (denorm): Likewise.
35020 (__mul): Use 0.0 instead of zero.d.
35021 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
35022 mp_no value for 1.0 and 2.0.
35023 (norm): Use RADIXI instead of radixi.d.
35024 (denorm): Likewise.
35025 (__mul): Use 0.0 instead of zero.d.
35026
cdc1c96f
JM
350272013-01-04 Joseph Myers <joseph@codesourcery.com>
35028
35029 [BZ #14994]
35030 * math/s_casinh.c (__casinh): Reduce finite argument to first
35031 quadrant then set signs of results at the end.
35032 * math/s_casinhf.c (__casinhf): Likewise.
35033 * math/s_casinhl.c (__casinhl): Likewise.
35034 * math/libm-test.inc (casin_test): Add more tests.
35035 (casinh_test): Likewise.
35036 * sysdeps/i386/fpu/libm-test-ulps: Update.
35037 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35038
302913e1
SP
350392013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
35040
6420d207
SP
35041 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
35042
a9e48ab4
SP
35043 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
35044
b7837264
SP
35045 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
35046 declarations.
35047 (denorm): Likewise.
35048 (__mp_dbl): Likewise.
35049 (__inv): Likewise.
35050
f8af25d2
SP
35051 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
35052 and adjust the header comment.
35053
302913e1
SP
35054 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
35055 variable name from declaration.
35056
5d7dd1ca
L
350572013-01-03 H.J. Lu <hongjiu.lu@intel.com>
35058
35059 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35060 Initialize COMMON_CPUID_INDEX_7 element.
35061 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
35062 (CPUID_RTM): Likewise.
35063 (HAS_RTM): Likewise.
35064 (COMMON_CPUID_INDEX_7): New enum.
35065
2f5f40f4
AS
350662013-01-03 Andreas Schwab <schwab@linux-m68k.org>
35067
35068 [BZ #14981]
35069 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
35070 size is zero, record memory as freed.
35071
4056f4a0
AJ
350722013-01-03 Andreas Jaeger <aj@suse.de>
35073
35074 * po/ia.po: Add new Interlingua translation.
35075
ab15736f 350762012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
35077
35078 * locale/programs/localedef.c: Fix description of '--posix' flag.
35079
568035b7
JM
350802013-01-02 Joseph Myers <joseph@codesourcery.com>
35081
e6898b8d
JM
35082 * NEWS: Update dates in second copyright notice.
35083 * README: Update copyright dates in example.
35084 * manual/libc.texinfo: Update copyright dates.
35085 * scripts/test-installation.pl: Update copyright date in --version
35086 output.
35087
0e2f9562
JM
35088 * hurd/ctty-input.c: Fix copyright notice formatting.
35089 * hurd/ctty-output.c: Likewise.
35090 * hurd/dtable.c: Likewise.
35091 * hurd/hurd-raise.c: Likewise.
35092 * hurd/hurdprio.c: Likewise.
35093 * hurd/msgportdemux.c: Likewise.
35094 * misc/sys/file.h: Likewise.
35095 * misc/sys/ioctl.h: Likewise.
35096 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
35097 * sysdeps/mach/hurd/chdir.c: Likewise.
35098 * sysdeps/mach/hurd/fchdir.c: Likewise.
35099 * sysdeps/mach/hurd/rename.c: Likewise.
35100 * sysdeps/mach/hurd/rmdir.c: Likewise.
35101 * sysdeps/mach/hurd/seekdir.c: Likewise.
35102 * sysdeps/mach/hurd/setsid.c: Likewise.
35103 * sysdeps/posix/wait3.c: Likewise.
35104
568035b7
JM
35105 * All files with FSF copyright notices: Update copyright dates
35106 using scripts/update-copyrights.
35107 * intl/plural.c: Regenerated.
35108 * locale/programs/charmap-kw.h: Likewise.
35109 * locale/programs/locfile-kw.h: Likewise.
35110
da08f647
SP
351112013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
35112
0f5477af
SP
35113 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
35114 four values.
35115
44e0d4c2
SP
35116 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
35117 calculation loop and add branch prediction.
35118
4d55b4e5
SP
35119 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
35120 check access beyond bounds of m1np.
35121
da08f647
SP
35122 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
35123 MPTWO.
35124 (__inv): Remove local variable MPTWO to use the global
35125 constant.
35126 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
35127 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
35128 variable MPTWO.
35129 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
35130 MP3HALFS static const.
35131
8e051029
DM
351322013-01-01 David S. Miller <davem@davemloft.net>
35133
35134 * po/ca.po: Update from translation team.
35135
f4cf5f2d
JM
351362013-01-01 Joseph Myers <joseph@codesourcery.com>
35137
35138 * scripts/update-copyrights: New file.
35139 * Makeconfig: Reformat copyright notice.
35140 * ctype/ctype.h: Likewise.
35141 * debug/swprintf_chk.c: Likewise.
35142 * elf/dl-cache.c: Likewise.
35143 * elf/dl-debug.c: Likewise.
35144 * elf/dl-object.c: Likewise.
35145 * grp/initgroups.c: Likewise.
35146 * hurd/Makefile: Likewise.
35147 * hurd/hurd/signal.h: Likewise.
35148 * hurd/hurdfault.c: Likewise.
35149 * hurd/hurdioctl.c: Likewise.
35150 * hurd/hurdlookup.c: Likewise.
35151 * hurd/intr-msg.c: Likewise.
35152 * iconv/gconv_open.c: Likewise.
35153 * libio/swprintf.c: Likewise.
35154 * locale/lc-ctype.c: Likewise.
35155 * locale/nl_langinfo.c: Likewise.
35156 * mach/Machrules: Likewise.
35157 * mach/Makefile: Likewise.
35158 * malloc/obstack.h: Likewise.
35159 * manual/Makefile: Likewise.
35160 * manual/tsort.awk: Likewise.
35161 * misc/bits/stab.def: Likewise.
35162 * nis/nis_print_group_entry.c: Likewise.
35163 * nis/nis_table.c: Likewise.
35164 * nis/nss_compat/compat-pwd.c: Likewise.
35165 * nis/nss_compat/compat-spwd.c: Likewise.
35166 * po/Makefile: Likewise.
35167 * posix/fnmatch.c: Likewise.
35168 * posix/regex.h: Likewise.
35169 * resolv/Makefile: Likewise.
35170 * resolv/nss_dns/dns-network.c: Likewise.
35171 * resolv/res_hconf.c: Likewise.
35172 * scripts/gen-sorted.awk: Likewise.
35173 * soft-fp/soft-fp.h: Likewise.
35174 * stdio-common/printf.h: Likewise.
35175 * stdlib/monetary.h: Likewise.
35176 * stdlib/random.c: Likewise.
35177 * stdlib/random_r.c: Likewise.
35178 * sysdeps/generic/Makefile: Likewise.
35179 * sysdeps/gnu/Makefile: Likewise.
35180 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
35181 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
35182 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
35183 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
35184 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
35185 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
35186 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
35187 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
35188 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
35189 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
35190 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
35191 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
35192 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
35193 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
35194 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
35195 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
35196 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
35197 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
35198 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
35199 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
35200 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
35201 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
35202 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
35203 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
35204 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
35205 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
35206 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
35207 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
35208 * sysdeps/mach/hurd/errnos.awk: Likewise.
35209 * sysdeps/mach/hurd/fork.c: Likewise.
35210 * sysdeps/mach/hurd/getcwd.c: Likewise.
35211 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
35212 * sysdeps/mach/hurd/mmap.c: Likewise.
35213 * sysdeps/mach/hurd/utimes.c: Likewise.
35214 * sysdeps/mach/hurd/xmknod.c: Likewise.
35215 * sysdeps/posix/profil.c: Likewise.
35216 * sysdeps/posix/readdir_r.c: Likewise.
35217 * sysdeps/powerpc/bits/mathdef.h: Likewise.
35218 * sysdeps/powerpc/bits/setjmp.h: Likewise.
35219 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
35220 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
35221 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
35222 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
35223 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
35224 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
35225 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
35226 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
35227 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
35228 * sysdeps/pthread/lio_listio.c: Likewise.
35229 * sysdeps/sparc/dl-procinfo.h: Likewise.
35230 * sysdeps/unix/i386/sysdep.S: Likewise.
35231 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
35232 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
35233 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
35234 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
35235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
35236 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
35237 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
35238 * sysdeps/unix/sysv/linux/speed.c: Likewise.
35239 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
35240 * sysdeps/wordsize-32/divdi3.c: Likewise.
35241 * time/sys/time.h: Likewise.
35242 * wcsmbs/Makefile: Likewise.
35243
0549fbba
DM
352442013-01-01 David S. Miller <davem@davemloft.net>
35245
a141f1a7
DM
35246 * po/fr.po: Update from translation team.
35247
0549fbba
DM
35248 * catgets/gencat.c: Update copyright year.
35249 * csu/version.c: Likewise.
35250 * debug/catchsegv.sh: Likewise.
35251 * debug/pcprofiledump.c: Likewise.
35252 * debug/xtrace.sh: Likewise.
35253 * elf/ldconfig.c: Likewise.
35254 * elf/ldd.bash.in: Likewise.
35255 * elf/pldd.c: Likewise.
35256 * elf/sotruss.ksh: Likewise.
35257 * elf/sprof.c: Likewise.
35258 * iconv/iconv_prog.c: Likewise.
35259 * iconv/iconvconfig.c: Likewise.
35260 * locale/programs/locale.c: Likewise.
35261 * locale/programs/localedef.c: Likewise.
35262 * login/programs/pt_chown.c: Likewise.
35263 * malloc/memusage.sh: Likewise.
35264 * malloc/memusagestat.c: Likewise.
35265 * malloc/mtrace.pl: Likewise.
35266 * nscd/nscd.c: Likewise.
35267 * nss/getent.c: Likewise.
35268 * nss/makedb.c: Likewise.
35269 * posix/getconf.c: Likewise.
35270
18ea052c
SP
352712012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
35272
35273 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
35274 numbers.
35275
9c89fca6
MF
352762012-12-30 Mike Frysinger <vapier@gentoo.org>
35277
35278 * math/bits/mathcalls.h (modf): Use __nonnull.
35279
085ec079
SP
352802012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
35281
35282 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
35283 (split): Use macro CN instead of the bare value.
35284 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
35285 could be used.
35286 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
35287 instead of the bare value.
35288 (power1): Likewise.
35289
6d9f97e1
SP
352902012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35291
d63f73be
SP
35292 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
35293 __ATAN_TWOM.
35294 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
35295
6d9f97e1
SP
35296 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
35297 their values.
35298 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
35299 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
35300 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
35301 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
35302
4c4febf5
AJ
353032012-12-28 Andreas Jaeger <aj@suse.de>
35304
af5843ef
AJ
35305 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
35306 values are from Linux 3.7.
35307
4c4febf5
AJ
35308 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
35309 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
35310
99136f82
SP
353112012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35312
2f216c3c 35313 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
35314 TRUE case.
35315
99136f82
SP
35316 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
35317 (norm): Likewise.
35318 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
35319 variables with preprocessor constants.
35320 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
35321 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
35322 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
35323
7fffbdff
BH
353242012-12-27 Bruno Haible <bruno@clisp.org>
35325
35326 [BZ #14317]
35327 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
35328 only if needed.
35329
b76eb5f0
SP
353302012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
35331
31a7fe5c
SP
35332 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
35333 and use variable directly.
35334 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
35335
b76eb5f0
SP
35336 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
35337 MPONE.
35338 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
35339 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
35340 variable MPONE.
35341 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
35342 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
35343 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
35344 include directive. Remove local variable MPONE.
35345 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
35346 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
35347 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
35348
2c8bfe7d
DM
353492012-12-25 David S. Miller <davem@davemloft.net>
35350
35351 * version.h (RELEASE): Set to "development".
35352 (VERSION): Set to "2.17.90".
35353 * NEWS: Add 2.18 section.
35354
147d03b0
DM
353552012-12-21 David S. Miller <davem@davemloft.net>
35356
35357 * po/hr.po: Update from translation team.
35358
a8ebb2b9
AK
353592012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35360
35361 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
35362
95b4f1b6
SE
353632012-12-19 Steve Ellcey <sellcey@mips.com>
35364
b2d94007 35365 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 35366
cedb2a90
MS
353672012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35368
35369 * manual/contrib.texi (Contributors): Spelling correction.
35370
bbf527d6
DM
353712012-12-15 David S. Miller <davem@davemloft.net>
35372
35373 * po/ru.po: Update from translation team.
35374
bc38c906
DM
353752012-12-13 David S. Miller <davem@davemloft.net>
35376
85429b1a
DM
35377 * NEWS: Mention IFUNC testsuite enhancements.
35378
d283e353
DM
35379 * po/pl.po: Update from translation team.
35380 * po/bg.po: Likewise.
35381
bc38c906
DM
35382 * manual/contrib.texi (Contributors): Update entries for Hongjiu
35383 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
35384
a181b0d7
DM
353852012-12-11 David S. Miller <davem@davemloft.net>
35386
4641d57e
DM
35387 * po/sv.po: Update from translation team.
35388
f7bc6495
DM
35389 * po/vi.po: Update from translation team.
35390
6fc9048f
DM
35391 * po/cs.po: Update from translation team.
35392
a181b0d7
DM
35393 * po/de.po: Update from translation team.
35394 * po/eo.po: Likewise.
35395 * po/nl.po: Likewise.
35396
f70bfe80
SP
353972012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
35398
3c8b4190
SP
35399 [BZ #14246]
35400 * manual/argp.texi (Argp Helper Functions): Move node to follow
35401 Argp Parsing State.
35402
f70bfe80
SP
35403 [BZ #14872]
35404 * manual/conf.texi (Limits on File System Capacity): Mention if
35405 terminating null is included in the max size.
35406
188f0adf
AJ
354072012-12-10 Andreas Jaeger <aj@suse.de>
35408
35409 * po/cs.po: Update from translation team.
35410
56e7d3ad
SP
354112012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
35412
35413 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
35414 void pointer and cast to uintptr_t.
35415 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
35416 path.
35417 * sysdeps/s390/s390-64/memcpy.S: Likewise.
35418 * sysdeps/s390/s390-64/memset.S: Likewise.
35419
76f2d2ea 354202012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
35421
35422 [BZ #14833]
35423 * menual/message.texi (Message Translation): Fix typos.
35424 (Helper programs for gettext): Likewise.
35425
67cbf9a2
AS
354262012-12-07 Andreas Schwab <schwab@linux-m68k.org>
35427
35428 [BZ #14898]
35429 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
35430 Change to -1.
35431
682d0e9a
DM
354322012-12-07 David S. Miller <davem@davemloft.net>
35433
35434 * po/libc.pot: Update.
35435
573cd484
RH
354362012-12-07 Richard Henderson <rth@redhat.com>
35437
7e9da188 35438 [BZ #10114]
573cd484
RH
35439 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
35440 normal/normal case to before the switch.
35441 (_FP_DIV): Likewise.
35442
e933a943
MF
354432012-12-06 Carlos O'Donell <carlos@systemhalted.org>
35444 Mike Frysinger <vapier@gentoo.org>
35445
35446 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
35447 check for __NR_fadvise64_64.
35448
82123268
CM
354492012-12-06 Chris Metcalf <cmetcalf@tilera.com>
35450
35451 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
35452 0, not just to plain "0" as a statement.
35453 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
35454 with cw.
35455
d9814526
JM
354562012-12-06 Joseph Myers <joseph@codesourcery.com>
35457
35458 * NEWS: Use sourceware.org in Bugzilla URL.
35459
7728c574
SP
354602012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
35461
f16946dd
SP
35462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
35463 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
35464
5704bbcb
SP
35465 * stdio-common/tst-put-error.c (do_test): Add newline to the
35466 padded test to ensure flush.
35467
17aa0516
JL
354682012-12-05 Jeff Law <law@redhat.com>
35469
35470 * sunrpc/etc.rpc (fedfs_admin): Add entry.
35471
363313b5
JM
354722012-12-05 Joseph Myers <joseph@codesourcery.com>
35473
effbd42a
JM
35474 * README: Don't refer to ports add-on as distributed separately.
35475 Mention AArch64 in list of systems supported in the ports add-on.
35476
87600365
JM
35477 * LICENSES: Add more non-FSF copyright and license notices.
35478
a0d7066a
JM
35479 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
35480 ((unused)).
35481
66ca5a5b
JM
35482 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
35483
363313b5
JM
35484 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
35485 10000 as width of padded output.
35486
b37984ad
JM
354872012-12-04 Joseph Myers <joseph@codesourcery.com>
35488
9003570a
JM
35489 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
35490
b37984ad
JM
35491 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
35492 variable LX with __attribute__ ((unused)).
35493 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
35494 Likewise.
35495 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
35496 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
35497 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
35498 with __attribute__ ((unused)).
35499
c8df52ec
DM
355002012-12-04 David S. Miller <davem@abraco.davemloft.net>
35501
35502 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
35503
b3b099af
JM
355042012-12-04 Joseph Myers <joseph@codesourcery.com>
35505
c33aa6e3
JM
35506 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
35507 (CFLAGS-nldbl-acos.c): New variable.
35508 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
35509 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
35510 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
35511 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
35512 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
35513 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
35514 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
35515 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
35516 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
35517 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
35518 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
35519 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
35520 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
35521 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
35522 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
35523 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
35524 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
35525 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
35526 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
35527 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
35528 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
35529 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
35530 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
35531 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
35532 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
35533 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
35534 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
35535 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
35536 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
35537 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
35538 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
35539 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
35540 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
35541 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
35542 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
35543 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
35544 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
35545 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
35546 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
35547 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
35548 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
35549 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
35550 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
35551 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
35552 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
35553 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
35554 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
35555 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
35556 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
35557 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
35558 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
35559 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
35560 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
35561 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
35562 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
35563 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
35564 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
35565 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
35566 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
35567 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
35568 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
35569 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
35570 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
35571 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
35572 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
35573 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
35574 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
35575 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
35576 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
35577 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
35578 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
35579 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
35580 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
35581 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
35582 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
35583 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
35584 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
35585 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
35586 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
35587 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
35588 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
35589 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
35590 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
35591 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
35592 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
35593 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
35594 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
35595 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
35596 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
35597 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
35598 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
35599 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
35600 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
35601 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
35602 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
35603 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
35604 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
35605
20f0018d
JM
35606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
35607 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
35608
b3b099af
JM
35609 [BZ #14914]
35610 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
35611 whole low double instead of just low 47 bits when splitting values
35612 into two parts.
35613
029264d1
AM
356142012-12-03 Allan McRae <allan@archlinux.org>
35615
35616 * manual/stdio.texi (Predefined Printf Handlers): Remove
35617 @hsep and @vsep usage.
35618
c9d6789e
MF
356192012-12-03 Mike Frysinger <vapier@gentoo.org>
35620
35621 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
35622 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
35623
4b7634a5
JL
356242012-12-03 Jeff Law <law@redhat.com>
35625
35626 * time/sys/time.h (settimeofday): Do not mark TV argument
35627 as __nonnull.
35628
eb6cbd24
MF
356292012-12-01 Mike Frysinger <vapier@gentoo.org>
35630
35631 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
35632 when currently writing and seek to current position when not.
35633 * libio/Makefile (tests): Remove bug-fclose1.
35634 * libio/bug-fclose1.c: Delete.
35635
f638872a
JM
356362012-12-01 Joseph Myers <joseph@codesourcery.com>
35637
35638 * manual/arith.texi (feenableexcept): Fix typo.
35639 (fedisableexcept): Likewise.
35640
48085d14
RM
356412012-11-30 Roland McGrath <roland@hack.frob.com>
35642
35643 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
35644 second, differently-typed declaration, rather than a cast.
35645
1a538b9f
SP
356462012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
35647
35648 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
35649 * include/rpc/svc.h: ... here.
35650
d07f2ff1 356512012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
35652
35653 [BZ #13013]
35654 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
35655 depending n and resplen2 to catch cases where answer
35656 equals answerp2.
35657
c93ec1f0
CD
356582012-11-29 Carlos O'Donell <carlos@systemhalted.org>
35659
35660 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
35661 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
35662
37db69de
MF
356632012-11-29 Mike Frysinger <vapier@gentoo.org>
35664
35665 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
35666
e10c4e4f
RM
356672012-11-29 Roland McGrath <roland@hack.frob.com>
35668
35669 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
35670
2af1b328
JL
356712012-11-28 Jeff Law <law@redhat.com>
35672
35673 [BZ #13761]
35674 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
35675 dataset_temporary. Track alloca usage into alloca_used.
35676 If dataset is large allocate and release it via malloc/free.
35677
111db5b1
FW
356782012-06-04 Florian Weimer <fweimer@redhat.com>
35679
f06cc227 35680 [BZ #14197]
111db5b1
FW
35681 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
35682
dd694abd
DM
356832012-11-28 David S. Miller <davem@davemloft.net>
35684
35685 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35686
9984dd01
JM
356872012-11-28 Joseph Myers <joseph@codesourcery.com>
35688
35689 [BZ #14803]
35690 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
35691 of pi/2 rounded to nearest to 64 bits.
35692 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
35693 nearest to 64 bits.
35694 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
35695 bits.
35696
14bc93a9
JL
356972012-11-28 Jeff Law <law@redhat.com>
35698 Martin Osvald <mosvald@redhat.com>
35699
35700 [BZ #14889]
35701 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
35702 * sunrpc/svc.c: Include time.h.
35703 (__svc_accept_failed): New function.
35704 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
35705 any reason other than EINTR, call __svc_accept_failed.
35706 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
35707 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
35708
e3c6aa3a
AS
357092012-11-28 Andreas Schwab <schwab@suse.de>
35710
35711 * scripts/abilist.awk: Also handle indirect functions in .opd
35712 section.
35713
1bead169
JM
357142012-11-28 Joseph Myers <joseph@codesourcery.com>
35715
35716 [BZ #13881]
35717 * sysdeps/x86/fpu/powl_helper.c: New file.
35718 * sysdeps/x86/fpu/Makefile: Likewise.
35719 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
35720 (p3): New object.
35721 (__ieee754_powl): Use __powl_helper for finite arguments except
35722 integer exponents below 8.
35723 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
35724 (p3): New object.
35725 (__ieee754_powl): Use __powl_helper for finite arguments except
35726 integer exponents below 8.
35727 * math/libm-test.inc (pow_test): Add more tests and enable some
35728 previously disabled tests.
35729 * sysdeps/i386/fpu/libm-test-ulps: Update.
35730 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35731
0817d63d
SP
357322012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35733 Carlos O'Donell <carlos_odonell@mentor.com>
35734
35735 * nss/makedb.c (is_prime): Assert that input is odd and greater
35736 than 4. Note that fact in a comment too.
35737 (next_prime): Add 4 to input.
35738
de2fd463
SP
357392012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
35740
35741 [BZ #11741]
35742 * libio/Makefile (tests): Add test case tst-fwrite-error.
35743 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
35744 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
35745 * libio/tst-fwrite-error.c: New test case.
35746
c515fb51
L
357472012-11-26 H.J. Lu <hongjiu.lu@intel.com>
35748
35749 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
35750 before casting to void *.
35751 * include/libc-internal.h (__pointer_type): New macro.
35752 (__integer_if_pointer_type_sub): Likewise.
35753 (__integer_if_pointer_type): Likewise.
35754 (cast_to_integer): Likewise.
35755 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
35756 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
35757 before casting to atomic64_t.
35758 (atomic_exchange_acq): Likewise.
35759 (__arch_exchange_and_add_body): Likewise.
35760 (__arch_add_body): Likewise.
35761 (atomic_add_negative): Likewise.
35762 (atomic_add_zero): Likewise.
35763
4cf77aa9
JM
357642012-11-26 Joseph Myers <joseph@codesourcery.com>
35765
35766 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
35767 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
35768 (add_fdes): Likewise.
35769 (linear_search_fdes): Likewise.
35770 (binary_search_unencoded_fdes): Likewise.
35771
d260b3b4
AS
357722012-11-26 Andreas Schwab <schwab@linux-m68k.org>
35773
35774 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
35775
67060746
AC
357762012-11-24 Adam Conrad <adconrad@0c3.net>
35777
35778 * configure.in: Autodetect C++ header directories.
35779 * configure: Regenerated.
35780
800938a1
MF
357812012-11-23 Mike Frysinger <vapier@gentoo.org>
35782
35783 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
35784
4e6e34e6
AS
357852012-11-23 Andreas Schwab <schwab@linux-m68k.org>
35786
35787 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35788
7c7feb47
JM
357892012-11-22 Joseph Myers <joseph@codesourcery.com>
35790
7184dcdf
JM
35791 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
35792 LDBL_MANT_DIG == 106]: Disable some tests.
35793 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
35794 Likewise.
35795 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
35796 Likewise.
35797
0a42601f
JM
35798 [BZ #14871]
35799 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
35800 input for small inputs. Return +/- pi/2 for large inputs.
35801 * math/libm-test.inc (atan_test): Add more tests.
35802
79c9b9fe
JM
35803 * sysdeps/generic/unwind-dw2-fde-glibc.c
35804 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
35805 __attribute__ ((unused)).
35806
c60d3bf2
JM
35807 [BZ #14645]
35808 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
35809 x * y if x and y are nonzero and z is zero.
35810
ef1e0867
JM
35811 [BZ #14811]
35812 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
35813 nonzero exponents with absolute value below 0x1p-117 to +/-
35814 0x1p-117.
35815
1468ded3
JM
35816 [BZ #14869]
35817 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
35818 up arguments below 2**-450, not just those below 2**-500.
35819 * math/libm-test.inc (hypot_test): Add another test.
35820
8e27e3cc
JM
35821 [BZ #14868]
35822 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
35823 Return a+b for ratio over 2**120, not 2**60.
35824 * math/libm-test.inc (hypot_test): Add another test.
35825
c9c0279b
JM
35826 * math/libm-test.inc (clog_test): Use
35827 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
35828 (clog10_test): Likewise.
35829
7c7feb47
JM
35830 [BZ #6778]
35831 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
35832
fff1530e
AS
358332012-11-22 Andreas Schwab <schwab@suse.de>
35834
35835 * sysdeps/i386/fpu/libm-test-ulps: Update.
35836
94558d30
PT
358372012-11-22 Pino Toscano <toscano.pino@tiscali.it>
35838
35839 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
35840 printf output with newline.
35841
7e1be741
L
358422012-11-21 H.J. Lu <hongjiu.lu@intel.com>
35843
6bfea974
L
35844 [BZ #14865]
35845 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
35846 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
35847 -z nodlopen, -z initfirst and -z execstack support.
35848 * configure: Regenerated.
35849
7e1be741
L
35850 * elf/elf.h (DF_1_NODIRECT): New macro.
35851 (DF_1_IGNMULDEF): Likewise.
35852 (DF_1_NOKSYMS): Likewise.
35853 (DF_1_NOHDR): Likewise.
35854 (DF_1_EDITED): Likewise.
35855 (DF_1_NORELOC): Likewise.
35856 (DF_1_SYMINTPOSE): Likewise.
35857 (DF_1_GLOBAUDIT): Likewise.
35858 (DF_1_SINGLETON): Likewise.
35859 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
35860 DT_1_SUPPORTED_MASK bits.
35861 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
35862
105ce2ce
CD
358632012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
35864
35865 * sysdeps/unix/make-syscalls.sh: Document prefixes.
35866
123be9de
TS
358672012-11-20 Thomas Schwinge <thomas@codesourcery.com>
35868
d072f3f7
TS
35869 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
35870 macro.
35871
123be9de
TS
35872 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
35873 (sendmmsg): Move declarations...
35874 * socket/sys/socket.h: ... here.
35875 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
35876 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
35877 include it from...
35878 * socket/recvmmsg.c: ... this new file.
35879 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
35880 (sendmmsg): Rename to __sendmmsg, create weak alias and make
35881 definition of __sendmmsg hidden.
35882 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
35883 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
35884 Move ENOSYS stub into and include it from...
35885 * socket/sendmmsg.c: ... this new file.
35886 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
35887 (sysdep_routines): Move recvmmsg and sendmmsg...
35888 * socket/Makefile (routines): ... here.
35889 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
35890 (GLIBC_PRIVATE): Add __sendmmsg.
35891 * include/sys/socket.h (__sendmmsg): Add declarations.
35892 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
35893 sendmmsg.
35894
cf9a5d18
JM
358952012-11-20 Joseph Myers <joseph@codesourcery.com>
35896
35897 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
35898 variable I1 with __attribute__ ((unused)).
35899 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
35900
ecd4caf9
JM
359012012-11-19 Joseph Myers <joseph@codesourcery.com>
35902
be14d48f
JM
35903 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
35904 DUMMY variables with __attribute__ ((unused)).
35905
ecd4caf9
JM
35906 * bits/byteswap.h: Include <bits/types.h>.
35907 (__bswap_64): Use __uint64_t instead of unsigned long long int.
35908
986cab95
PT
359092012-11-19 Pino Toscano <toscano.pino@tiscali.it>
35910
35911 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
35912 string_t. Do not manually set errno.
35913 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
35914 length with __strnlen. Make sure to both set errno and return it on
35915 failure.
35916
6d33cc9d
DM
359172012-11-19 David S. Miller <davem@davemloft.net>
35918
35919 With help from Joseph Myers.
35920 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
35921 very large arguments properly.
35922 * math/libm-test.inc (atan_test): New tests.
35923 (atan2_test): New tests.
35924 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35925 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35926
ee663277
JM
359272012-11-19 Joseph Myers <joseph@codesourcery.com>
35928
877f2d8e
JM
35929 [BZ #14856]
35930 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
35931 Define to 3.
35932
116fc08a
JM
35933 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
35934 [POSIX] (EADDRNOTAVAIL): Likewise.
35935 [POSIX] (EAFNOSUPPORT): Likewise.
35936 [POSIX] (EALREADY): Likewise.
35937 [POSIX] (ECONNABORTED): Likewise.
35938 [POSIX] (ECONNREFUSED): Likewise.
35939 [POSIX] (ECONNRESET): Likewise.
35940 [POSIX] (EDESTADDRREQ): Likewise.
35941 [POSIX] (EDQUOT): Likewise.
35942 [POSIX] (EHOSTUNREACH): Likewise.
35943 [POSIX] (EIDRM): Likewise.
35944 [POSIX] (EISCONN): Likewise.
35945 [POSIX] (ELOOP): Likewise.
35946 [POSIX] (EMULTIHOP): Likewise.
35947 [POSIX] (ENETDOWN): Likewise.
35948 [POSIX] (ENETUNREACH): Likewise.
35949 [POSIX] (ENOBUFS): Likewise.
35950 [POSIX] (ENODATA): Likewise.
35951 [POSIX] (ENOLINK): Likewise.
35952 [POSIX] (ENOMSG): Likewise.
35953 [POSIX] (ENOPROTOOPT): Likewise.
35954 [POSIX] (ENOSR): Likewise.
35955 [POSIX] (ENOSTR): Likewise.
35956 [POSIX] (ENOTCONN): Likewise.
35957 [POSIX] (ENOTSOCK): Likewise.
35958 [POSIX] (EOPNOTSUPP): Likewise.
35959 [POSIX] (EOVERFLOW): Likewise.
35960 [POSIX] (EPROTO): Likewise.
35961 [POSIX] (EPROTONOSUPPORT): Likewise.
35962 [POSIX] (EPROTOTYPE): Likewise.
35963 [POSIX] (ESTALE): Likewise.
35964 [POSIX] (ETIME): Likewise.
35965 [POSIX] (ETXTBSY): Likewise.
35966 [POSIX] (EWOULDBLOCK): Likewise.
35967 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
35968 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
35969 [POSIX] (SEEK_CUR): Likewise.
35970 [POSIX] (SEEK_END): Likewise.
35971 [POSIX || UNIX98] (mode_t): Do not require.
35972 [POSIX] (off_t): Likewise.
35973 [POSIX] (pid_t): Likewise.
35974 [POSIX] (sys/stat.h): Do not allow header.
35975 [POSIX] (unistd.h): Likewise.
35976 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
35977 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
35978 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
35979 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
35980 require.
35981 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
35982 sigevent): Specify elements.
35983 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
35984 entry.
35985 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
35986 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
35987
a483863f
JM
35988 * conform/data/cpio.h-data [POSIX]: Disable whole file.
35989 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
35990 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
35991 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
35992 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
35993 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
35994 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
35995 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
35996 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
35997 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
35998 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
35999 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
36000 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
36001 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
36002 Likewise.
36003 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
36004 Likewise.
36005 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
36006 Likewise.
36007 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
36008 Likewise.
36009 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
36010 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
36011 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
36012 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
36013 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
36014 Specify lower bound on value.
36015 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
36016 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
36017 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
36018 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
36019 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
36020 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
36021 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
36022 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
36023 value.
36024 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
36025 as optional.
36026 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
36027 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
36028 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
36029 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
36030 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
36031 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
36032 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
36033 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
36034 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
36035 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
36036 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
36037 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
36038 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
36039 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
36040 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
36041 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
36042 entry.
36043 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
36044 optional.
36045 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
36046 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
36047 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
36048 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
36049 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
36050 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
36051 Likewise.
36052 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
36053 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
36054 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
36055 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
36056 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
36057 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
36058 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
36059 as optional.
36060 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
36061 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
36062 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
36063 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
36064 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
36065 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
36066 specify as optional.
36067 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
36068 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
36069 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
36070 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
36071 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
36072 [XPG3] (NL_LANGMAX): Likewise.
36073 [POSIX || XPG3] (NL_MSGMAX): Likewise.
36074 [POSIX || XPG3] (NL_NMAX): Likewise.
36075 [POSIX || XPG3] (NL_SETMAX): Likewise.
36076 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
36077 [XPG3] (NZERO): Likewise.
36078 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
36079 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
36080 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
36081 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
36082 (REG_ERANGE): Expect.
36083 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
36084 optional-constant.
36085 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
36086 Use (void) in prototype.
36087 [POSIX] (*_t): Allow.
36088 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
36089 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
36090 (WRDE_BADVAL): Expect.
36091
5ba924e3
JM
36092 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
36093 expect.
36094 [XPG3 || XPG4] (O_RSYNC): Likewise.
36095 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
36096 Likewise.
36097 [XPG3 || XPG4] (pthread_sigmask): Likewise.
36098 [XPG3 || XPG4] (sigqueue): Likewise.
36099 [XPG3 || XPG4] (sigtimedwait): Likewise.
36100 [XPG3 || XPG4] (sigwaitinfo): Likewise.
36101 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
36102 [XPG3 || XPG4] (vsnprintf): Likewise.
36103 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
36104 Likewise.
36105 [XPG3 || XPG4] (blksize_t): Likewise.
36106 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
36107 Likewise.
36108 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
36109 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
36110 [XPG3 || XPG4] (struct itimerspec): Likewise.
36111 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
36112 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
36113 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
36114 [XPG3 || XPG4] (clockid_t): Likewise.
36115 [XPG3 || XPG4] (timer_t): Likewise.
36116 [XPG3 || XPG4] (clock_getres): Likewise.
36117 [XPG3 || XPG4] (clock_gettime): Likewise.
36118 [XPG3 || XPG4] (clock_settime): Likewise.
36119 [XPG3 || XPG4] (nanosleep): Likewise.
36120 [XPG3 || XPG4] (timer_create): Likewise.
36121 [XPG3 || XPG4] (timer_delete): Likewise.
36122 [XPG3 || XPG4] (timer_gettime): Likewise.
36123 [XPG3 || XPG4] (timer_getoverrun): Likewise.
36124 [XPG3 || XPG4] (timer_settime): Likewise.
36125 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
36126 [XPG3 || XPG4] (getlogin_r): Likewise.
36127 [XPG3 || XPG4] (pread): Likewise.
36128 [XPG3 || XPG4] (pthread_atfork): Likewise.
36129 [XPG3 || XPG4] (pwrite): Likewise.
36130
ee663277
JM
36131 [BZ #14835]
36132 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
36133 <bits/siginfo.h>.
36134
942caa16
PT
361352012-11-19 Pino Toscano <toscano.pino@tiscali.it>
36136
e19af380
PT
36137 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
36138 finalizing MALLSTREAM.
36139
942caa16
PT
36140 * sysdeps/mach/hurd/syncfs.c: New file.
36141
cfde9b46
SP
361422012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
36143
36144 [BZ #14719]
36145 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
36146 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
36147 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
36148 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
36149 (_nss_dns_gethostbyname4_r): Likewise.
36150 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
36151 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
36152
f6da27e5
PH
361532012-11-19 Peng Haitao <penght@cn.fujitsu.com>
36154
36155 [BZ #13763]
36156 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
36157
6665d4a2
SM
361582012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
36159
1f51ee92
SM
36160 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
36161 * elf/cache.c (print_entry): Print ",AArch64" for
36162 FLAG_AARCH64_LIB64
36163
6665d4a2
SM
36164 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
36165 * elf/cache.c (print_entry): Print ",hard-float" for
36166 FLAG_ARM_LIBHF.
36167
05b227bd
DM
361682012-11-18 David S. Miller <davem@davemloft.net>
36169
36170 With help from Joseph Myers.
36171 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
36172 cutoff to 2**-13.
36173 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
36174 cutoff to 2**-25.
36175 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
36176 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
36177 small.
36178 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
36179 * math/libm-test.inc (y0_test): New tests.
36180 (y1_test): New tests.
36181 * sysdeps/i386/fpu/libm-test-ulps: Update.
36182 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36183 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36184
786b0b67
AS
361852012-11-18 Andreas Schwab <schwab@linux-m68k.org>
36186
36187 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
36188 64-bit targets.
36189 * configure: Regenerated.
36190
8e18b86d
DM
361912012-11-17 David S. Miller <davem@davemloft.net>
36192
36193 [BZ #14811]
36194 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
36195 nonzero exponents with absolute value below 0x1p-128 to +/-
36196 0x1p-128.
36197
531f1ae0
JM
361982012-11-17 Joseph Myers <joseph@codesourcery.com>
36199
12df29e2
JM
36200 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
36201
150dc1a0
JM
36202 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
36203
531f1ae0
JM
36204 * posix/getconf-speclist.c: New file.
36205 * posix/posix-envs.def: Likewise.
36206 * posix/confstr.c (START_ENV_GROUP): New macro.
36207 (END_ENV_GROUP): Likewise.
36208 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
36209 (KNOWN_PRESENT_ENV_STRING): Likewise.
36210 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
36211 (UNKNOWN_ENVIRONMENT): Likewise.
36212 (confstr): Include posix-envs.def instead of handling
36213 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
36214 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
36215 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
36216 (END_ENV_GROUP): Likewise.
36217 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
36218 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
36219 (UNKNOWN_ENVIRONMENT): Likewise.
36220 (__sysconf): Include posix-envs.def instead of handling associated
36221 cases directly here.
36222 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
36223 preprocessing getconf-speclist.c rather than running getconf or
36224 generating empty file.
36225
a93f9cbc
PT
362262012-11-16 Pino Toscano <toscano.pino@tiscali.it>
36227
36228 * scripts/check-local-headers.sh: Ignore 'mach' headers.
36229
d64d9f87
AL
362302012-11-16 Andrej Lajovic <natrij@gmail.com>
36231
36232 [BZ #14672]
36233 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
36234
447885eb
DM
362352012-11-16 David S. Miller <davem@davemloft.net>
36236
36237 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
36238 smaller than LDBL_EPSILON/2.0L, just return xm1.
36239
bcbf9830
L
362402012-11-16 H.J. Lu <hongjiu.lu@intel.com>
36241
36242 * elf/tst-array1.c (init): Set constructor priority to 1000.
36243 (fini): Set destructor priority to 1000.
36244 * elf/tst-array2dep.c: Likewise.
36245
2b766585
SP
362462012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
36247
36248 [BZ #11741]
36249 * libio/fileops.c (_IO_new_file_write): Correctly return error.
36250 (_IO_new_file_xsputn): Also return EOF if none of the input
36251 data was written when overflow failed.
36252 * libio/iopadn.c (_IO_padn): Likewise.
36253 * libio/iowpadn.c (_IO_wpadn): Likewise.
36254 * stdio-common/tst-put-error.c: Add copyright notice.
36255 (do_test): Add case for printing padded string.
36256 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
36257 _IO_padn returned error.
36258 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
36259 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
36260 return EOF.
36261
b1848fde
SP
362622012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
36263
36264 * libio/libioP.h: Add comment note that the references to C++
36265 bits are now obsolete.
36266
2fd89785
MS
362672012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
36268
36269 * math/libm-test.inc (check_complex): Use asprintf.
36270
e3ea5409
JM
362712012-11-14 Joseph Myers <joseph@codesourcery.com>
36272
36273 * debug/pcprofiledump.c (print_version): Update copyright year.
36274 * malloc/memusagestat.c (print_version): Likewise.
36275
2e64d265
L
362762012-11-14 H.J. Lu <hongjiu.lu@intel.com>
36277
36278 [BZ #14831]
36279 * elf/Makefile (tests): Add tst-audit8.
36280 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
36281 ($(objpfx)tst-audit8.out): New target.
36282 (tst-audit8-ENV): New variable.
36283 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
36284 audit if l_reloc_result is NULL.
36285 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
36286 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
36287 * elf/tst-audit8.c: New file.
36288
c485e4d2
MS
362892012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
36290
36291 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
36292 * misc/Makefile (CFLAGS-select.c): Define.
36293 * posix/Makefile (CFLAGS-pause.c): Define.
36294
3a0d900a
DM
362952012-11-13 David S. Miller <davem@davemloft.net>
36296
36297 * crypt/Makefile: Move test targets after toplevel Rules
36298 inclusion. Grab any necessary sysdep routines when linking.
36299 * crypt/md5.c (md5_process_block): Remove define, we will always
36300 name it __md5_process_block.
36301 (md5_finish_ctx): Update md5_process_block call.
36302 (md5_stream): Likewise.
36303 (md5_process_bytes): Likewise.
36304 (md5_process_block): Rename to __md5_process_block and move to ...
36305 * crypt/md5-block.c: ... here.
36306 * crypt/sha256.c (sha256_process_block): Move to ...
36307 * crypt/sha256-block.c: ... here.
36308 * crypt/sha512.c (sha512_process_block): Move to ...
36309 * crypt/sha512-block.c: ... here.
36310 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
36311 path.
36312 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
36313 * sysdeps/sparc/sparc64/multiarch/Makefile
36314 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
36315 crypt subdir.
36316 (localedef-aux): Add md5 crypto assembler when in locale subdir.
36317 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
36318 multiarch changes.
36319 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
36320 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
36321 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
36322 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
36323 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
36324 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
36325 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
36326 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
36327 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
36328 file.
36329 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
36330 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
36331 file.
36332 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
36333
8ca89318
JM
363342012-11-13 Joseph Myers <joseph@codesourcery.com>
36335
e27d476a
JM
36336 * timezone/tzselect.ksh: Update from tzcode git revision
36337 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
36338 * timezone/zdump.c: Likewise.
36339 * timezone/zic.c: Likewise.
36340 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
36341 in TZVERSION setting, not $(PKGVERSION).
36342 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
36343 REPORT_BUGS_TO settings.
36344
8ca89318
JM
36345 [BZ #14838]
36346 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
36347 macro.
36348
47594329
MS
363492012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
36350
36351 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
36352 detection to immediately after _FP_ROUND().
36353 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
36354 bits are 0.
36355
640ac3f1
DM
363562012-11-11 David S. Miller <davem@davemloft.net>
36357
36358 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
36359 inttypes.h
36360 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
36361 __close rather than their public counterparts.
36362
3d2577bb
JM
363632012-11-10 Joseph Myers <joseph@codesourcery.com>
36364
36365 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
36366 file.
36367 [UNIX98] (sem_timedwait): Do not expect.
36368 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
36369 [XPG4 || UNIX98] (sockatmark): Do not expect.
36370 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
36371 (clock_getcpuclockid): Do not expect.
36372 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
36373 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
36374 Do not expect.
36375 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
36376 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
36377 [UNIX98] (vwscanf): Likewise.
36378 [UNIX98] (vswscanf): Likewise.
36379
fb1ae1ee
JM
363802012-11-09 Joseph Myers <joseph@codesourcery.com>
36381
9ec6f8bd
JM
36382 * timezone/version.h: Remove file.
36383 * timezone/README: Do not refer to version.h.
36384 * timezone/Makefile ($(objpfx)zic.o): New dependency on
36385 $(objpfx)version.h.
36386 ($(objpfx)zdump.o): Likewise.
c3f81911 36387 ($(objpfx)version.h): New target.
9ec6f8bd 36388
0aa8f8a1
JM
36389 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
36390 2012i.
36391 * timezone/README: Don't mention modification to tzselect.ksh.
36392 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
36393 work on unmodified tzselect.ksh. Substitute version numbers in
36394 tzselect.ksh.
36395
4e87147f
JM
36396 * Makefile (format-me): Remove.
36397 (INSTALL): Adjust indentation. Use commands directly instead of
36398 using $(format-me).
36399
8b748aed
JM
36400 * aclocal.m4 (ACX_PKGVERSION): New macro.
36401 (ACX_BUGURL): Likewise.
36402 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
36403 (PKGVERSION): New AC_DEFINE_UNQUOTED.
36404 (REPORT_BUGS_TO): Likewise.
36405 * configure: Regenerated.
36406 * config.h.in (PKGVERSION): New macro.
36407 (REPORT_BUGS_TO): Likewise.
36408 * config.make.in (PKGVERSION): New variable.
36409 (PKGVERSION_TEXI): Likewise.
36410 (REPORT_BUGS_TO): Likewise.
36411 (REPORT_BUGS_TEXI): Likewise.
36412 * Makefile (format-me): Use -I$(common-objpfx)manual.
36413 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
36414 ($(common-objpfx)manual/%): New target.
36415 (manual/%): Remove target.
36416 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
36417 (print_version): Use PKGVERSION.
36418 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
36419 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
36420 and REPORT_BUGS_TO.
36421 ($(objpfx)xtrace): Likewise.
36422 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
36423 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
36424 (print_version): Use PKGVERSION.
36425 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
36426 (do_version): Use PKGVERSION.
36427 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
36428 REPORT_BUGS_TO.
36429 (common-ldd-rewrite): Likewise.
36430 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
36431 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
36432 (print_version): Use PKGVERSION.
36433 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
36434 * elf/pldd.c (argp_program_bug_address): Remove variable.
36435 (more_help): New function.
36436 (argp): Use more_help.
36437 (print_version): Use PKGVERSION.
36438 * elf/sln.c (main): Use PKGVERSION.
36439 (usage): Use REPORT_BUGS_TO.
36440 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
36441 (top level): Use PKGVERSION.
36442 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
36443 (print_version): Use PKGVERSION.
36444 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
36445 (print_version): Use PKGVERSION.
36446 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
36447 (print_version): Use PKGVERSION.
36448 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
36449 (print_version): Use PKGVERSION.
36450 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
36451 (print_version): Use PKGVERSION.
36452 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
36453 (print_version): Use PKGVERSION.
36454 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
36455 and BUGURL.
36456 ($(objpfx)memusage): Likewise.
36457 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
36458 (do_version): Use PKGVERSION.
36459 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
36460 (print_version): Use PKGVERSION.
36461 * malloc/mtrace.pl ($PACKAGE): Remove variable.
36462 ($PKGVERSION): New variable.
36463 ($REPORT_BUGS_TO): Likewise.
36464 (usage): Use $REPORT_BUGS_TO.
36465 (top level): Use $PKGVERSION.
36466 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
36467 ($(objpfx)pkgvers.texi): New rule.
36468 ($(objpfx)stamp-pkgvers): Likewise.
36469 * manual/install.texi: Include pkgvers.texi.
36470 (--with-pkgversion): Document new configure option.
36471 (--with-bugurl): Likewise.
36472 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
36473 than necessarily for this particular distribution. Use
36474 REPORT_BUGS_TO for where to report bugs.
36475 * INSTALL: Regenerated.
36476 * manual/libc.texinfo: Include pkgvers.texi.
36477 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
36478 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
36479 (print_version): Use PKGVERSION.
36480 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
36481 (print_version): Use PKGVERSION.
36482 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
36483 (print_version): Use PKGVERSION.
36484 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
36485 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
36486 macro.
36487 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
36488 (print_version): Use PKGVERSION.
36489 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
36490 (print_version): Use PKGVERSION.
36491 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
36492 and PKGVERSION.
36493
92e4b6a9
JM
36494 * timezone/checktab.awk: Update from tzcode 2012i.
36495 * timezone/ialloc.c: Likewise.
36496 * timezone/private.h: Likewise.
36497 * timezone/scheck.c: Likewise.
36498 * timezone/tzfile.h: Likewise.
36499 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
36500 (TZVERSION): Hardcode tzcode version number.
36501 * timezone/zdump.c: Update from tzcode 2012i.
36502 * timezone/zic.c: Likewise.
36503 * timezone/version.h: New file.
36504 * timezone/README: Describe version.h. Update upstream location.
36505
9bde902c
JM
36506 [BZ #14824]
36507 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
36508 (mktemp): Enable declaration.
36509 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
36510 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
36511 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
36512 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
36513 Likewise.
36514 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
36515 Likewise.
36516 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
36517 Likewise.
36518 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
36519 Likewise.
36520 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
36521 Likewise.
36522 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
36523 Likewise.
36524
fb1ae1ee
JM
36525 [BZ #14821]
36526 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
36527 offset in buffer as u_int32_t not u_long. Consistently use memcpy
36528 for copies of such integer values.
36529 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
36530 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
36531
2c1adbcb
AJ
365322012-11-09 Andreas Jaeger <aj@suse.de>
36533
36534 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
36535 definitions and declarations that are provided by
36536 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
36537
d0f8457e
AK
365382012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36539
3a235abb 36540 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
36541 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
36542 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
36543 definition.
36544
57241e26
MS
365452012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
36546
36547 * elf/elf.h: Update comment before AArch64 relocations.
36548
60e8270d
DM
365492012-11-07 David S. Miller <davem@davemloft.net>
36550
36551 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
36552 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
36553 (__start_context): Declare.
36554 (__makecontext_ret): Delete.
36555 (__makecontext): Hook up __start_context instead of
36556 __makecontext_ret.
36557 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
36558 (sysdep_routines): Add __start_context when in stdlib.
36559
0fbb0fbc
JM
365602012-11-07 Joseph Myers <joseph@codesourcery.com>
36561
36562 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
36563 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
36564 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
36565 hardcoded "nm".
36566 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
36567 (READELF): New variable. Use it instead of hardcoded "readelf".
36568
eb48db7e
L
365692012-11-07 H.J. Lu <hongjiu.lu@intel.com>
36570
36571 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
36572 * sysdeps/x86/Makefile: Here.
36573 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
36574 * sysdeps/x86/tst-xmmymm.sh: This.
36575
05bcf62a
JM
365762012-11-07 Joseph Myers <joseph@codesourcery.com>
36577
c4b6cf53
JM
36578 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
36579 expectations.
36580 [UNIX98] (pthread_barrier_t): Do not expect.
36581 [UNIX98] (pthread_barrierattr_t): Likewise.
36582 [UNIX98] (pthread_spinlock_t): Likewise.
36583 [UNIX98] (pthread_barrier_destroy): Likewise.
36584 [UNIX98] (pthread_barrier_init): Likewise.
36585 [UNIX98] (pthread_barrier_wait): Likewise.
36586 [UNIX98] (pthread_barrierattr_destroy): Likewise.
36587 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
36588 [UNIX98] (pthread_barrierattr_init): Likewise.
36589 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
36590 [UNIX98] (pthread_getcpuclockid): Likewise.
36591 [UNIX98] (pthread_mutex_timedlock): Likewise.
36592 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
36593 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
36594 [UNIX98] (pthread_sigmask): Likewise.
36595 [UNIX98] (pthread_spin_destroy): Likewise.
36596 [UNIX98] (pthread_spin_init): Likewise.
36597 [UNIX98] (pthread_spin_lock): Likewise.
36598 [UNIX98] (pthread_spin_trylock): Likewise.
36599 [UNIX98] (pthread_spin_unlock): Likewise.
36600 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
36601 Do not expect.
36602 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
36603 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
36604 [XPG3 || XPG4] (pthread_cond_t): Likewise.
36605 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
36606 [XPG3 || XPG4] (pthread_key_t): Likewise.
36607 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
36608 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
36609 [XPG3 || XPG4] (pthread_once_t): Likewise.
36610 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
36611 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
36612 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
36613 [XPG3 || XPG4] (pthread_t): Likewise.
36614
cbe6e120
JM
36615 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
36616 not expect.
36617 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
36618
1b126443
JM
36619 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
36620 Change function return type to int.
36621
b961a573
JM
36622 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
36623 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
36624 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
36625 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
36626 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
36627 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
36628 [!POSIX] (posix_madvise): Likewise.
36629 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
36630 && !UNIX98].
36631 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
36632 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
36633 (mode_t): Likewise.
36634 (posix_mem_offset): Likewise.
36635 (posix_typed_mem_get_info): Likewise.
36636 (posix_typed_mem_open): Likewise.
36637
9e188909
JM
36638 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
36639 Change condition to [XOPEN2K8].
36640
05bcf62a
JM
36641 * conform/conformtest.pl: Preprocess allow-header data with -x c
36642 instead of from stdin.
36643 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
36644 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
36645 [C99-based standards] (cerfc): Likewise.
36646 [C99-based standards] (cexp2): Likewise.
36647 [C99-based standards] (cexpm1): Likewise.
36648 [C99-based standards] (clog10): Likewise.
36649 [C99-based standards] (clog1p): Likewise.
36650 [C99-based standards] (clog2): Likewise.
36651 [C99-based standards] (clgamma): Likewise.
36652 [C99-based standards] (ctgamma): Likewise.
36653 [C99-based standards] (cerff): Likewise.
36654 [C99-based standards] (cerfcf): Likewise.
36655 [C99-based standards] (cexp2f): Likewise.
36656 [C99-based standards] (cexpm1f): Likewise.
36657 [C99-based standards] (clog10f): Likewise.
36658 [C99-based standards] (clog1pf): Likewise.
36659 [C99-based standards] (clog2f): Likewise.
36660 [C99-based standards] (clgammaf): Likewise.
36661 [C99-based standards] (ctgammaf): Likewise.
36662 [C99-based standards] (cerfl): Likewise.
36663 [C99-based standards] (cerfcl): Likewise.
36664 [C99-based standards] (cexp2l): Likewise.
36665 [C99-based standards] (cexpm1l): Likewise.
36666 [C99-based standards] (clog10l): Likewise.
36667 [C99-based standards] (clog1pl): Likewise.
36668 [C99-based standards] (clog2l): Likewise.
36669 [C99-based standards] (clgammal): Likewise.
36670 [C99-based standards] (ctgammal): Likewise.
36671 * conform/data/inttypes.h-data [C99-based standards]: Include
36672 stdint.h-data. Remove all expectations for stdint.h contents.
36673 [C99-based standards] (PRI*): Do not allow.
36674 [C99-based standards] (SCN*): Likewise.
36675 [C99-based standards] (*_t): Likewise.
36676 [C99-based-standards] (PRId8): Expect macro.
36677 [C99-based-standards] (PRIi8): Likewise.
36678 [C99-based-standards] (PRIo8): Likewise.
36679 [C99-based-standards] (PRIu8): Likewise.
36680 [C99-based-standards] (PRIx8): Likewise.
36681 [C99-based-standards] (PRIX8): Likewise.
36682 [C99-based-standards] (SCNd8): Likewise.
36683 [C99-based-standards] (SCNi8): Likewise.
36684 [C99-based-standards] (SCNo8): Likewise.
36685 [C99-based-standards] (SCNu8): Likewise.
36686 [C99-based-standards] (SCNx8): Likewise.
36687 [C99-based-standards] (PRIdLEAST8): Likewise.
36688 [C99-based-standards] (PRIiLEAST8): Likewise.
36689 [C99-based-standards] (PRIoLEAST8): Likewise.
36690 [C99-based-standards] (PRIuLEAST8): Likewise.
36691 [C99-based-standards] (PRIxLEAST8): Likewise.
36692 [C99-based-standards] (PRIXLEAST8): Likewise.
36693 [C99-based-standards] (SCNdLEAST8): Likewise.
36694 [C99-based-standards] (SCNiLEAST8): Likewise.
36695 [C99-based-standards] (SCNoLEAST8): Likewise.
36696 [C99-based-standards] (SCNuLEAST8): Likewise.
36697 [C99-based-standards] (SCNxLEAST8): Likewise.
36698 [C99-based-standards] (PRIdFAST8): Likewise.
36699 [C99-based-standards] (PRIiFAST8): Likewise.
36700 [C99-based-standards] (PRIoFAST8): Likewise.
36701 [C99-based-standards] (PRIuFAST8): Likewise.
36702 [C99-based-standards] (PRIxFAST8): Likewise.
36703 [C99-based-standards] (PRIXFAST8): Likewise.
36704 [C99-based-standards] (SCNdFAST8): Likewise.
36705 [C99-based-standards] (SCNiFAST8): Likewise.
36706 [C99-based-standards] (SCNoFAST8): Likewise.
36707 [C99-based-standards] (SCNuFAST8): Likewise.
36708 [C99-based-standards] (SCNxFAST8): Likewise.
36709 [C99-based-standards] (PRId16): Likewise.
36710 [C99-based-standards] (PRIi16): Likewise.
36711 [C99-based-standards] (PRIo16): Likewise.
36712 [C99-based-standards] (PRIu16): Likewise.
36713 [C99-based-standards] (PRIx16): Likewise.
36714 [C99-based-standards] (PRIX16): Likewise.
36715 [C99-based-standards] (SCNd16): Likewise.
36716 [C99-based-standards] (SCNi16): Likewise.
36717 [C99-based-standards] (SCNo16): Likewise.
36718 [C99-based-standards] (SCNu16): Likewise.
36719 [C99-based-standards] (SCNx16): Likewise.
36720 [C99-based-standards] (PRIdLEAST16): Likewise.
36721 [C99-based-standards] (PRIiLEAST16): Likewise.
36722 [C99-based-standards] (PRIoLEAST16): Likewise.
36723 [C99-based-standards] (PRIuLEAST16): Likewise.
36724 [C99-based-standards] (PRIxLEAST16): Likewise.
36725 [C99-based-standards] (PRIXLEAST16): Likewise.
36726 [C99-based-standards] (SCNdLEAST16): Likewise.
36727 [C99-based-standards] (SCNiLEAST16): Likewise.
36728 [C99-based-standards] (SCNoLEAST16): Likewise.
36729 [C99-based-standards] (SCNuLEAST16): Likewise.
36730 [C99-based-standards] (SCNxLEAST16): Likewise.
36731 [C99-based-standards] (PRIdFAST16): Likewise.
36732 [C99-based-standards] (PRIiFAST16): Likewise.
36733 [C99-based-standards] (PRIoFAST16): Likewise.
36734 [C99-based-standards] (PRIuFAST16): Likewise.
36735 [C99-based-standards] (PRIxFAST16): Likewise.
36736 [C99-based-standards] (PRIXFAST16): Likewise.
36737 [C99-based-standards] (SCNdFAST16): Likewise.
36738 [C99-based-standards] (SCNiFAST16): Likewise.
36739 [C99-based-standards] (SCNoFAST16): Likewise.
36740 [C99-based-standards] (SCNuFAST16): Likewise.
36741 [C99-based-standards] (SCNxFAST16): Likewise.
36742 [C99-based-standards] (PRId32): Likewise.
36743 [C99-based-standards] (PRIi32): Likewise.
36744 [C99-based-standards] (PRIo32): Likewise.
36745 [C99-based-standards] (PRIu32): Likewise.
36746 [C99-based-standards] (PRIx32): Likewise.
36747 [C99-based-standards] (PRIX32): Likewise.
36748 [C99-based-standards] (SCNd32): Likewise.
36749 [C99-based-standards] (SCNi32): Likewise.
36750 [C99-based-standards] (SCNo32): Likewise.
36751 [C99-based-standards] (SCNu32): Likewise.
36752 [C99-based-standards] (SCNx32): Likewise.
36753 [C99-based-standards] (PRIdLEAST32): Likewise.
36754 [C99-based-standards] (PRIiLEAST32): Likewise.
36755 [C99-based-standards] (PRIoLEAST32): Likewise.
36756 [C99-based-standards] (PRIuLEAST32): Likewise.
36757 [C99-based-standards] (PRIxLEAST32): Likewise.
36758 [C99-based-standards] (PRIXLEAST32): Likewise.
36759 [C99-based-standards] (SCNdLEAST32): Likewise.
36760 [C99-based-standards] (SCNiLEAST32): Likewise.
36761 [C99-based-standards] (SCNoLEAST32): Likewise.
36762 [C99-based-standards] (SCNuLEAST32): Likewise.
36763 [C99-based-standards] (SCNxLEAST32): Likewise.
36764 [C99-based-standards] (PRIdFAST32): Likewise.
36765 [C99-based-standards] (PRIiFAST32): Likewise.
36766 [C99-based-standards] (PRIoFAST32): Likewise.
36767 [C99-based-standards] (PRIuFAST32): Likewise.
36768 [C99-based-standards] (PRIxFAST32): Likewise.
36769 [C99-based-standards] (PRIXFAST32): Likewise.
36770 [C99-based-standards] (SCNdFAST32): Likewise.
36771 [C99-based-standards] (SCNiFAST32): Likewise.
36772 [C99-based-standards] (SCNoFAST32): Likewise.
36773 [C99-based-standards] (SCNuFAST32): Likewise.
36774 [C99-based-standards] (SCNxFAST32): Likewise.
36775 [C99-based-standards] (PRId64): Likewise.
36776 [C99-based-standards] (PRIi64): Likewise.
36777 [C99-based-standards] (PRIo64): Likewise.
36778 [C99-based-standards] (PRIu64): Likewise.
36779 [C99-based-standards] (PRIx64): Likewise.
36780 [C99-based-standards] (PRIX64): Likewise.
36781 [C99-based-standards] (SCNd64): Likewise.
36782 [C99-based-standards] (SCNi64): Likewise.
36783 [C99-based-standards] (SCNo64): Likewise.
36784 [C99-based-standards] (SCNu64): Likewise.
36785 [C99-based-standards] (SCNx64): Likewise.
36786 [C99-based-standards] (PRIdLEAST64): Likewise.
36787 [C99-based-standards] (PRIiLEAST64): Likewise.
36788 [C99-based-standards] (PRIoLEAST64): Likewise.
36789 [C99-based-standards] (PRIuLEAST64): Likewise.
36790 [C99-based-standards] (PRIxLEAST64): Likewise.
36791 [C99-based-standards] (PRIXLEAST64): Likewise.
36792 [C99-based-standards] (SCNdLEAST64): Likewise.
36793 [C99-based-standards] (SCNiLEAST64): Likewise.
36794 [C99-based-standards] (SCNoLEAST64): Likewise.
36795 [C99-based-standards] (SCNuLEAST64): Likewise.
36796 [C99-based-standards] (SCNxLEAST64): Likewise.
36797 [C99-based-standards] (PRIdFAST64): Likewise.
36798 [C99-based-standards] (PRIiFAST64): Likewise.
36799 [C99-based-standards] (PRIoFAST64): Likewise.
36800 [C99-based-standards] (PRIuFAST64): Likewise.
36801 [C99-based-standards] (PRIxFAST64): Likewise.
36802 [C99-based-standards] (PRIXFAST64): Likewise.
36803 [C99-based-standards] (SCNdFAST64): Likewise.
36804 [C99-based-standards] (SCNiFAST64): Likewise.
36805 [C99-based-standards] (SCNoFAST64): Likewise.
36806 [C99-based-standards] (SCNuFAST64): Likewise.
36807 [C99-based-standards] (SCNxFAST64): Likewise.
36808 [C99-based-standards] (PRIdMAX): Likewise.
36809 [C99-based-standards] (PRIiMAX): Likewise.
36810 [C99-based-standards] (PRIoMAX): Likewise.
36811 [C99-based-standards] (PRIuMAX): Likewise.
36812 [C99-based-standards] (PRIxMAX): Likewise.
36813 [C99-based-standards] (PRIXMAX): Likewise.
36814 [C99-based-standards] (SCNdMAX): Likewise.
36815 [C99-based-standards] (SCNiMAX): Likewise.
36816 [C99-based-standards] (SCNoMAX): Likewise.
36817 [C99-based-standards] (SCNuMAX): Likewise.
36818 [C99-based-standards] (SCNxMAX): Likewise.
36819 [C99-based-standards] (PRIdPTR): Likewise.
36820 [C99-based-standards] (PRIiPTR): Likewise.
36821 [C99-based-standards] (PRIoPTR): Likewise.
36822 [C99-based-standards] (PRIuPTR): Likewise.
36823 [C99-based-standards] (PRIxPTR): Likewise.
36824 [C99-based-standards] (PRIXPTR): Likewise.
36825 [C99-based-standards] (SCNdPTR): Likewise.
36826 [C99-based-standards] (SCNiPTR): Likewise.
36827 [C99-based-standards] (SCNoPTR): Likewise.
36828 [C99-based-standards] (SCNuPTR): Likewise.
36829 [C99-based-standards] (SCNxPTR): Likewise.
36830 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
36831 allow.
36832 * conform/data/stdint.h-data: Update comments to clarify
36833 requirements.
36834 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
36835 type.
36836 [C99-based standards] (INT8_MAX): Likewise.
36837 [C99-based standards] (INT16_MIN): Likewise.
36838 [C99-based standards] (INT16_MAX): Likewise.
36839 [C99-based standards] (INT32_MIN): Likewise.
36840 [C99-based standards] (INT32_MAX): Likewise.
36841 [C99-based standards] (INT64_MIN): Likewise.
36842 [C99-based standards] (INT64_MAX): Likewise.
36843 [C99-based standards] (UINT8_MAX): Likewise.
36844 [C99-based standards] (UINT16_MAX): Likewise.
36845 [C99-based standards] (UINT32_MAX): Likewise.
36846 [C99-based standards] (UINT64_MAX): Likewise.
36847 [C99-based standards] (INT_LEAST8_MIN): Likewise.
36848 [C99-based standards] (INT_LEAST8_MAX): Likewise.
36849 [C99-based standards] (INT_LEAST16_MIN): Likewise.
36850 [C99-based standards] (INT_LEAST16_MAX): Likewise.
36851 [C99-based standards] (INT_LEAST32_MIN): Likewise.
36852 [C99-based standards] (INT_LEAST32_MAX): Likewise.
36853 [C99-based standards] (INT_LEAST64_MIN): Likewise.
36854 [C99-based standards] (INT_LEAST64_MAX): Likewise.
36855 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
36856 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
36857 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
36858 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
36859 [C99-based standards] (INT_FAST8_MIN): Likewise.
36860 [C99-based standards] (INT_FAST8_MAX): Likewise.
36861 [C99-based standards] (INT_FAST16_MIN): Likewise.
36862 [C99-based standards] (INT_FAST16_MAX): Likewise.
36863 [C99-based standards] (INT_FAST32_MIN): Likewise.
36864 [C99-based standards] (INT_FAST32_MAX): Likewise.
36865 [C99-based standards] (INT_FAST64_MIN): Likewise.
36866 [C99-based standards] (INT_FAST64_MAX): Likewise.
36867 [C99-based standards] (UINT_FAST8_MAX): Likewise.
36868 [C99-based standards] (UINT_FAST16_MAX): Likewise.
36869 [C99-based standards] (UINT_FAST32_MAX): Likewise.
36870 [C99-based standards] (UINT_FAST64_MAX): Likewise.
36871 [C99-based standards] (INTPTR_MIN): Likewise.
36872 [C99-based standards] (INTPTR_MAX): Likewise.
36873 [C99-based standards] (UINTPTR_MAX): Likewise.
36874 [C99-based standards] (INTMAX_MIN): Likewise.
36875 [C99-based standards] (INTMAX_MAX): Likewise.
36876 [C99-based standards] (UINTMAX_MAX): Likewise.
36877 [C99-based standards] (PTRDIFF_MIN): Likewise.
36878 [C99-based standards] (PTRDIFF_MAX): Likewise.
36879 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
36880 [C99-based standards] (SIZE_MAX): Likewise.
36881 [C99-based standards] (WCHAR_MAX): Likewise.
36882 [C99-based standards] (WINT_MAX): Likewise.
36883 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
36884 constraint on value.
36885 [C99-based standards] (WCHAR_MIN): Likewise.
36886 [C99-based standards] (WINT_MIN): Likewise.
36887 [C99-based standards] (*_t): Allow.
36888 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
36889 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
36890 Include math.h-data and complex.h-data. Remove all expectations
36891 of math.h and complex.h contents.
36892 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
36893 at end of line.
36894 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
36895 (struct tm): Expect tag.
36896 [C99-based-standards] (wcstof): Expect function.
36897 [C99-based-standards] (wcstold): Likewise.
36898 [C99-based-standards] (wcstoll): Likewise.
36899 [C99-based-standards] (wcstoull): Likewise.
36900 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
36901 macro-int-constant. Specify type.
36902 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
36903 constraint on value.
36904 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
36905 Specify type.
36906 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
36907 Specify value.
36908 [ISO C standards]: Do not allow headers.
36909 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
36910 wcs[abcdefghijklmnopqrstuvwxyz]*.
36911 [ISO C standards] (*_t): Do not allow.
36912 * conform/data/wctype.h-data [C99-based standards] (iswblank):
36913 Expect function.
36914 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
36915 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
36916 Specify type.
36917 [ISO C standards]: Do not allow headers.
36918 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
36919 is[abcdefghijklmnopqrstuvwxyz]*.
36920 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
36921 to[abcdefghijklmnopqrstuvwxyz]*.
36922 [ISO C standards] (*_t): Do not allow.
36923 * conform/data/stdalign.h-data: New file.
36924 * conform/data/stdbool.h-data: Likewise.
36925 * conform/data/stdnoreturn.h-data: Likewise.
36926
7514feb8
RM
369272012-11-07 Roland McGrath <roland@hack.frob.com>
36928
36929 [BZ #14815]
36930 * manual/filesys.texi (Directory Entries): Typo fix.
36931 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
36932
19b2ecfc
MS
369332012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
36934
36935 * elf/elf.h (EM_AARCH64): New macro.
36936 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
36937 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
36938 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
36939 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
36940 (R_AARCH64_TLSDESC): Likewise.
36941 (NT_ARM_TLS): Likewise.
36942 (NT_ARM_HW_BREAK): Likewise.
36943 (NT_ARM_HW_WATCH): Likewise.
36944
60e235ee
JM
369452012-11-07 Joseph Myers <joseph@codesourcery.com>
36946
36947 [BZ #14811]
36948 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
36949 (__ieee754_powl): Saturate nonzero exponents with absolute value
36950 below 0x1p-79 to +/- 0x1p-79.
36951 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
36952 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
36953 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
36954 nonzero exponents with absolute value below 0x1p-32 to +/-
36955 0x1p-32.
36956 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
36957 (__ieee754_powl): Saturate nonzero exponents with absolute value
36958 below 0x1p-79 to +/- 0x1p-79.
36959 * math/libm-test.inc (pow_test): Add more tests.
36960
0ab234b7
AK
369612012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36962
36963 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
36964 _dl_s390_cap_flags with kernel. Increase string length.
36965 (_dl_s390_platforms): Add z196 and zEC12.
36966
45832f74
JM
369672012-11-07 Joseph Myers <joseph@codesourcery.com>
36968
36969 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
36970 Change XOPEN21K to XOPEN2K.
36971
19218757
MK
369722012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
36973
36974 * string/memmove.c: Use memcpy when possible.
36975
c5f45721
AJ
369762012-11-06 Andreas Jaeger <aj@suse.de>
36977
36978 * po/eo.po: Update from translation team.
36979
82477c28
JM
369802012-11-06 Joseph Myers <joseph@codesourcery.com>
36981
36982 [BZ #14793]
36983 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
36984 exponent and small x and y exponents, scale x or y up. Increase
36985 by 2 the exponent used in scaling up.
36986 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36987 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36988 * math/libm-test.inc (fma_test): Add more tests.
36989 (fma_test_towardzero): Likewise.
36990 (fma_test_downward): Likewise.
36991 (fma_test_upward): Likewise.
36992
99252c8c
JM
369932012-11-05 Joseph Myers <joseph@codesourcery.com>
36994
acfa885f
JM
36995 [BZ #14805]
36996 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
36997 fenv_t *.
36998
99252c8c
JM
36999 [BZ #14801]
37000 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
37001 namespace for names of struct fields.
37002 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
37003 fenv_t fields.
37004 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
37005 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
37006
d6d98dea
ST
370072012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
37008
37009 [BZ #3665]
37010 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
37011
e10bb107
TS
370122012-11-04 Thomas Schwinge <thomas@codesourcery.com>
37013
37014 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
37015 PTR_DEMANGLE.
37016
37017 [BZ #5246]
37018 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
37019 PTR_DEMANGLE.
37020
a0c2940d
JM
370212012-11-04 Joseph Myers <joseph@codesourcery.com>
37022
37023 [BZ #14797]
37024 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
37025 definitely overflow as x * y not x * y + z.
37026 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37027 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37028 * math/libm-test.inc (fma_test): Add more tests.
37029 (fma_test_towardzero): Likewise.
37030 (fma_test_downward): Likewise.
37031 (fma_test_upward): Likewise.
37032
b830319d
TS
370332012-11-04 Thomas Schwinge <thomas@codesourcery.com>
37034
37035 [BZ #157]
37036
37037 * include/stub-tag.h: Remove file.
37038 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
37039 '#include' of it.
37040 * manual/maint.texi (Porting): Don't reference it.
37041 * Makerules ($(objpfx)stubs): Likewise.
37042 * dirent/closedir.c: Don't include <stub-tag.h>.
37043 * dirent/dirfd.c: Likewise.
37044 * dirent/fdopendir.c: Likewise.
37045 * dirent/getdents.c: Likewise.
37046 * dirent/getdents64.c: Likewise.
37047 * dirent/opendir.c: Likewise.
37048 * dirent/readdir.c: Likewise.
37049 * dirent/readdir64.c: Likewise.
37050 * dirent/readdir64_r.c: Likewise.
37051 * dirent/readdir_r.c: Likewise.
37052 * dirent/rewinddir.c: Likewise.
37053 * dirent/seekdir.c: Likewise.
37054 * dirent/telldir.c: Likewise.
37055 * gmon/profil.c: Likewise.
37056 * grp/setgroups.c: Likewise.
37057 * inet/if_index.c: Likewise.
37058 * io/access.c: Likewise.
37059 * io/chdir.c: Likewise.
37060 * io/chmod.c: Likewise.
37061 * io/chown.c: Likewise.
37062 * io/close.c: Likewise.
37063 * io/dup.c: Likewise.
37064 * io/dup2.c: Likewise.
37065 * io/dup3.c: Likewise.
37066 * io/euidaccess.c: Likewise.
37067 * io/faccessat.c: Likewise.
37068 * io/fchdir.c: Likewise.
37069 * io/fchmod.c: Likewise.
37070 * io/fchmodat.c: Likewise.
37071 * io/fchown.c: Likewise.
37072 * io/fchownat.c: Likewise.
37073 * io/fcntl.c: Likewise.
37074 * io/flock.c: Likewise.
37075 * io/fstatfs.c: Likewise.
37076 * io/fstatfs64.c: Likewise.
37077 * io/fstatvfs.c: Likewise.
37078 * io/fstatvfs64.c: Likewise.
37079 * io/futimens.c: Likewise.
37080 * io/fxstat.c: Likewise.
37081 * io/fxstat64.c: Likewise.
37082 * io/fxstatat.c: Likewise.
37083 * io/fxstatat64.c: Likewise.
37084 * io/getcwd.c: Likewise.
37085 * io/isatty.c: Likewise.
37086 * io/lchmod.c: Likewise.
37087 * io/lchown.c: Likewise.
37088 * io/link.c: Likewise.
37089 * io/linkat.c: Likewise.
37090 * io/lseek.c: Likewise.
37091 * io/lseek64.c: Likewise.
37092 * io/lxstat64.c: Likewise.
37093 * io/mkdir.c: Likewise.
37094 * io/mkdirat.c: Likewise.
37095 * io/mkfifo.c: Likewise.
37096 * io/mkfifoat.c: Likewise.
37097 * io/open.c: Likewise.
37098 * io/open64.c: Likewise.
37099 * io/openat.c: Likewise.
37100 * io/openat64.c: Likewise.
37101 * io/pipe.c: Likewise.
37102 * io/pipe2.c: Likewise.
37103 * io/poll.c: Likewise.
37104 * io/posix_fadvise.c: Likewise.
37105 * io/posix_fadvise64.c: Likewise.
37106 * io/posix_fallocate.c: Likewise.
37107 * io/posix_fallocate64.c: Likewise.
37108 * io/read.c: Likewise.
37109 * io/readlink.c: Likewise.
37110 * io/readlinkat.c: Likewise.
37111 * io/rmdir.c: Likewise.
37112 * io/sendfile.c: Likewise.
37113 * io/sendfile64.c: Likewise.
37114 * io/statfs.c: Likewise.
37115 * io/statfs64.c: Likewise.
37116 * io/statvfs.c: Likewise.
37117 * io/statvfs64.c: Likewise.
37118 * io/symlink.c: Likewise.
37119 * io/symlinkat.c: Likewise.
37120 * io/ttyname.c: Likewise.
37121 * io/ttyname_r.c: Likewise.
37122 * io/umask.c: Likewise.
37123 * io/unlink.c: Likewise.
37124 * io/unlinkat.c: Likewise.
37125 * io/utime.c: Likewise.
37126 * io/utimensat.c: Likewise.
37127 * io/write.c: Likewise.
37128 * io/xmknod.c: Likewise.
37129 * io/xmknodat.c: Likewise.
37130 * io/xstat.c: Likewise.
37131 * io/xstat64.c: Likewise.
37132 * login/getpt.c: Likewise.
37133 * login/grantpt.c: Likewise.
37134 * login/unlockpt.c: Likewise.
37135 * math/e_acoshl.c: Likewise.
37136 * math/e_acosl.c: Likewise.
37137 * math/e_asinl.c: Likewise.
37138 * math/e_atan2l.c: Likewise.
37139 * math/e_atanhl.c: Likewise.
37140 * math/e_coshl.c: Likewise.
37141 * math/e_expl.c: Likewise.
37142 * math/e_fmodl.c: Likewise.
37143 * math/e_gammal_r.c: Likewise.
37144 * math/e_hypotl.c: Likewise.
37145 * math/e_j0l.c: Likewise.
37146 * math/e_j1l.c: Likewise.
37147 * math/e_jnl.c: Likewise.
37148 * math/e_lgammal_r.c: Likewise.
37149 * math/e_log10l.c: Likewise.
37150 * math/e_log2l.c: Likewise.
37151 * math/e_logl.c: Likewise.
37152 * math/e_powl.c: Likewise.
37153 * math/e_rem_pio2l.c: Likewise.
37154 * math/e_sinhl.c: Likewise.
37155 * math/e_sqrtl.c: Likewise.
37156 * math/fclrexcpt.c: Likewise.
37157 * math/fedisblxcpt.c: Likewise.
37158 * math/feenablxcpt.c: Likewise.
37159 * math/fegetenv.c: Likewise.
37160 * math/fegetexcept.c: Likewise.
37161 * math/fegetround.c: Likewise.
37162 * math/feholdexcpt.c: Likewise.
37163 * math/fesetenv.c: Likewise.
37164 * math/fesetround.c: Likewise.
37165 * math/feupdateenv.c: Likewise.
37166 * math/fgetexcptflg.c: Likewise.
37167 * math/fraiseexcpt.c: Likewise.
37168 * math/fsetexcptflg.c: Likewise.
37169 * math/ftestexcept.c: Likewise.
37170 * math/k_cosl.c: Likewise.
37171 * math/k_rem_pio2l.c: Likewise.
37172 * math/k_sinl.c: Likewise.
37173 * math/k_tanl.c: Likewise.
37174 * math/s_asinhl.c: Likewise.
37175 * math/s_atanl.c: Likewise.
37176 * math/s_cbrtl.c: Likewise.
37177 * math/s_erfl.c: Likewise.
37178 * math/s_expm1l.c: Likewise.
37179 * math/s_log1pl.c: Likewise.
37180 * math/s_tanhl.c: Likewise.
37181 * misc/acct.c: Likewise.
37182 * misc/brk.c: Likewise.
37183 * misc/chflags.c: Likewise.
37184 * misc/chroot.c: Likewise.
37185 * misc/fchflags.c: Likewise.
37186 * misc/fgetxattr.c: Likewise.
37187 * misc/flistxattr.c: Likewise.
37188 * misc/fremovexattr.c: Likewise.
37189 * misc/fsetxattr.c: Likewise.
37190 * misc/fsync.c: Likewise.
37191 * misc/ftruncate.c: Likewise.
37192 * misc/futimes.c: Likewise.
37193 * misc/futimesat.c: Likewise.
37194 * misc/getdomain.c: Likewise.
37195 * misc/getdtsz.c: Likewise.
37196 * misc/gethostid.c: Likewise.
37197 * misc/gethostname.c: Likewise.
37198 * misc/getloadavg.c: Likewise.
37199 * misc/getpagesize.c: Likewise.
37200 * misc/getsysstats.c: Likewise.
37201 * misc/getxattr.c: Likewise.
37202 * misc/gtty.c: Likewise.
37203 * misc/ioctl.c: Likewise.
37204 * misc/lgetxattr.c: Likewise.
37205 * misc/listxattr.c: Likewise.
37206 * misc/llistxattr.c: Likewise.
37207 * misc/lremovexattr.c: Likewise.
37208 * misc/lsetxattr.c: Likewise.
37209 * misc/lutimes.c: Likewise.
37210 * misc/madvise.c: Likewise.
37211 * misc/mincore.c: Likewise.
37212 * misc/mlock.c: Likewise.
37213 * misc/mlockall.c: Likewise.
37214 * misc/mmap.c: Likewise.
37215 * misc/mprotect.c: Likewise.
37216 * misc/msync.c: Likewise.
37217 * misc/munlock.c: Likewise.
37218 * misc/munlockall.c: Likewise.
37219 * misc/munmap.c: Likewise.
37220 * misc/preadv.c: Likewise.
37221 * misc/preadv64.c: Likewise.
37222 * misc/ptrace.c: Likewise.
37223 * misc/pwritev.c: Likewise.
37224 * misc/pwritev64.c: Likewise.
37225 * misc/readv.c: Likewise.
37226 * misc/reboot.c: Likewise.
37227 * misc/remap_file_pages.c: Likewise.
37228 * misc/removexattr.c: Likewise.
37229 * misc/revoke.c: Likewise.
37230 * misc/select.c: Likewise.
37231 * misc/setdomain.c: Likewise.
37232 * misc/setegid.c: Likewise.
37233 * misc/seteuid.c: Likewise.
37234 * misc/sethostid.c: Likewise.
37235 * misc/sethostname.c: Likewise.
37236 * misc/setregid.c: Likewise.
37237 * misc/setreuid.c: Likewise.
37238 * misc/setxattr.c: Likewise.
37239 * misc/sstk.c: Likewise.
37240 * misc/stty.c: Likewise.
37241 * misc/swapoff.c: Likewise.
37242 * misc/swapon.c: Likewise.
37243 * misc/sync.c: Likewise.
37244 * misc/syncfs.c: Likewise.
37245 * misc/syscall.c: Likewise.
37246 * misc/truncate.c: Likewise.
37247 * misc/ualarm.c: Likewise.
37248 * misc/usleep.c: Likewise.
37249 * misc/ustat.c: Likewise.
37250 * misc/utimes.c: Likewise.
37251 * misc/vhangup.c: Likewise.
37252 * misc/writev.c: Likewise.
37253 * posix/_exit.c: Likewise.
37254 * posix/alarm.c: Likewise.
37255 * posix/execve.c: Likewise.
37256 * posix/fexecve.c: Likewise.
37257 * posix/fork.c: Likewise.
37258 * posix/fpathconf.c: Likewise.
37259 * posix/getaddrinfo.c: Likewise.
37260 * posix/getegid.c: Likewise.
37261 * posix/geteuid.c: Likewise.
37262 * posix/getgid.c: Likewise.
37263 * posix/getgroups.c: Likewise.
37264 * posix/getlogin.c: Likewise.
37265 * posix/getlogin_r.c: Likewise.
37266 * posix/getpgid.c: Likewise.
37267 * posix/getpid.c: Likewise.
37268 * posix/getppid.c: Likewise.
37269 * posix/getresgid.c: Likewise.
37270 * posix/getresuid.c: Likewise.
37271 * posix/getsid.c: Likewise.
37272 * posix/getuid.c: Likewise.
37273 * posix/glob64.c: Likewise.
37274 * posix/nanosleep.c: Likewise.
37275 * posix/pathconf.c: Likewise.
37276 * posix/pause.c: Likewise.
37277 * posix/posix_madvise.c: Likewise.
37278 * posix/pread.c: Likewise.
37279 * posix/pread64.c: Likewise.
37280 * posix/pwrite.c: Likewise.
37281 * posix/pwrite64.c: Likewise.
37282 * posix/sched_getaffinity.c: Likewise.
37283 * posix/sched_getp.c: Likewise.
37284 * posix/sched_gets.c: Likewise.
37285 * posix/sched_primax.c: Likewise.
37286 * posix/sched_primin.c: Likewise.
37287 * posix/sched_rr_gi.c: Likewise.
37288 * posix/sched_setaffinity.c: Likewise.
37289 * posix/sched_setp.c: Likewise.
37290 * posix/sched_sets.c: Likewise.
37291 * posix/sched_yield.c: Likewise.
37292 * posix/setgid.c: Likewise.
37293 * posix/setlogin.c: Likewise.
37294 * posix/setpgid.c: Likewise.
37295 * posix/setresgid.c: Likewise.
37296 * posix/setresuid.c: Likewise.
37297 * posix/setsid.c: Likewise.
37298 * posix/setuid.c: Likewise.
37299 * posix/sleep.c: Likewise.
37300 * posix/spawni.c: Likewise.
37301 * posix/sysconf.c: Likewise.
37302 * posix/times.c: Likewise.
37303 * posix/wait.c: Likewise.
37304 * posix/wait3.c: Likewise.
37305 * posix/wait4.c: Likewise.
37306 * posix/waitpid.c: Likewise.
37307 * resolv/gai_sigqueue.c: Likewise.
37308 * resource/getpriority.c: Likewise.
37309 * resource/getrlimit.c: Likewise.
37310 * resource/getrusage.c: Likewise.
37311 * resource/nice.c: Likewise.
37312 * resource/setpriority.c: Likewise.
37313 * resource/setrlimit.c: Likewise.
37314 * resource/ulimit.c: Likewise.
37315 * rt/aio_cancel.c: Likewise.
37316 * rt/aio_fsync.c: Likewise.
37317 * rt/aio_read.c: Likewise.
37318 * rt/aio_sigqueue.c: Likewise.
37319 * rt/aio_suspend.c: Likewise.
37320 * rt/aio_write.c: Likewise.
37321 * rt/clock_getres.c: Likewise.
37322 * rt/clock_gettime.c: Likewise.
37323 * rt/clock_nanosleep.c: Likewise.
37324 * rt/clock_settime.c: Likewise.
37325 * rt/lio_listio.c: Likewise.
37326 * rt/mq_close.c: Likewise.
37327 * rt/mq_getattr.c: Likewise.
37328 * rt/mq_notify.c: Likewise.
37329 * rt/mq_open.c: Likewise.
37330 * rt/mq_receive.c: Likewise.
37331 * rt/mq_send.c: Likewise.
37332 * rt/mq_setattr.c: Likewise.
37333 * rt/mq_timedreceive.c: Likewise.
37334 * rt/mq_timedsend.c: Likewise.
37335 * rt/mq_unlink.c: Likewise.
37336 * rt/shm_open.c: Likewise.
37337 * rt/shm_unlink.c: Likewise.
37338 * rt/timer_create.c: Likewise.
37339 * rt/timer_delete.c: Likewise.
37340 * rt/timer_getoverr.c: Likewise.
37341 * rt/timer_gettime.c: Likewise.
37342 * rt/timer_settime.c: Likewise.
37343 * setjmp/__longjmp.c: Likewise.
37344 * setjmp/setjmp.c: Likewise.
37345 * signal/kill.c: Likewise.
37346 * signal/killpg.c: Likewise.
37347 * signal/raise.c: Likewise.
37348 * signal/sigaction.c: Likewise.
37349 * signal/sigaltstack.c: Likewise.
37350 * signal/sigblock.c: Likewise.
37351 * signal/sigignore.c: Likewise.
37352 * signal/sigintr.c: Likewise.
37353 * signal/signal.c: Likewise.
37354 * signal/sigpause.c: Likewise.
37355 * signal/sigpending.c: Likewise.
37356 * signal/sigqueue.c: Likewise.
37357 * signal/sigreturn.c: Likewise.
37358 * signal/sigset.c: Likewise.
37359 * signal/sigsetmask.c: Likewise.
37360 * signal/sigstack.c: Likewise.
37361 * signal/sigsuspend.c: Likewise.
37362 * signal/sigtimedwait.c: Likewise.
37363 * signal/sigvec.c: Likewise.
37364 * signal/sigwait.c: Likewise.
37365 * signal/sigwaitinfo.c: Likewise.
37366 * signal/sysv_signal.c: Likewise.
37367 * socket/accept.c: Likewise.
37368 * socket/accept4.c: Likewise.
37369 * socket/bind.c: Likewise.
37370 * socket/connect.c: Likewise.
37371 * socket/getpeername.c: Likewise.
37372 * socket/getsockname.c: Likewise.
37373 * socket/getsockopt.c: Likewise.
37374 * socket/isfdtype.c: Likewise.
37375 * socket/listen.c: Likewise.
37376 * socket/recv.c: Likewise.
37377 * socket/recvfrom.c: Likewise.
37378 * socket/recvmsg.c: Likewise.
37379 * socket/send.c: Likewise.
37380 * socket/sendmsg.c: Likewise.
37381 * socket/sendto.c: Likewise.
37382 * socket/setsockopt.c: Likewise.
37383 * socket/shutdown.c: Likewise.
37384 * socket/sockatmark.c: Likewise.
37385 * socket/socket.c: Likewise.
37386 * socket/socketpair.c: Likewise.
37387 * stdio-common/ctermid.c: Likewise.
37388 * stdio-common/cuserid.c: Likewise.
37389 * stdio-common/remove.c: Likewise.
37390 * stdio-common/rename.c: Likewise.
37391 * stdio-common/renameat.c: Likewise.
37392 * stdio-common/tempname.c: Likewise.
37393 * stdlib/getcontext.c: Likewise.
37394 * stdlib/makecontext.c: Likewise.
37395 * stdlib/setcontext.c: Likewise.
37396 * stdlib/swapcontext.c: Likewise.
37397 * stdlib/system.c: Likewise.
37398 * streams/fattach.c: Likewise.
37399 * streams/fdetach.c: Likewise.
37400 * streams/getmsg.c: Likewise.
37401 * streams/getpmsg.c: Likewise.
37402 * streams/putmsg.c: Likewise.
37403 * streams/putpmsg.c: Likewise.
37404 * sysdeps/unix/bsd/getpt.c: Likewise.
37405 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
37406 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
37407 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
37408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
37409 Likewise.
37410 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
37411 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
37412 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
37413 * sysvipc/msgctl.c: Likewise.
37414 * sysvipc/msgget.c: Likewise.
37415 * sysvipc/msgrcv.c: Likewise.
37416 * sysvipc/msgsnd.c: Likewise.
37417 * sysvipc/semctl.c: Likewise.
37418 * sysvipc/semget.c: Likewise.
37419 * sysvipc/semop.c: Likewise.
37420 * sysvipc/semtimedop.c: Likewise.
37421 * sysvipc/shmat.c: Likewise.
37422 * sysvipc/shmctl.c: Likewise.
37423 * sysvipc/shmdt.c: Likewise.
37424 * sysvipc/shmget.c: Likewise.
37425 * termios/tcdrain.c: Likewise.
37426 * termios/tcflow.c: Likewise.
37427 * termios/tcflush.c: Likewise.
37428 * termios/tcgetattr.c: Likewise.
37429 * termios/tcgetpgrp.c: Likewise.
37430 * termios/tcsendbrk.c: Likewise.
37431 * termios/tcsetattr.c: Likewise.
37432 * termios/tcsetpgrp.c: Likewise.
37433 * time/adjtime.c: Likewise.
37434 * time/clock.c: Likewise.
37435 * time/getitimer.c: Likewise.
37436 * time/gettimeofday.c: Likewise.
37437 * time/setitimer.c: Likewise.
37438 * time/settimeofday.c: Likewise.
37439 * time/stime.c: Likewise.
37440 * time/time.c: Likewise.
37441
374422012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 37443
a20492cf
PT
37444 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
37445 /usr/old/bin.
37446
72e182e3
PT
37447 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
37448 instead of spaces.
37449 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
37450
fbeafede
JM
374512012-11-03 Joseph Myers <joseph@codesourcery.com>
37452
5b5b04d6
JM
37453 [BZ #14796]
37454 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
37455 FE_TONEAREST before applying Dekker multiplication and Knuth
37456 addition. Clear inexact exceptions and check for exact zero
37457 results afterwards.
37458 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37459 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
37460 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37461 * math/libm-test.inc (fma_test): Add more tests.
37462 (fma_test_towardzero): Likewise.
37463 (fma_test_downward): Likewise.
37464 (fma_test_upward): Likewise.
37465 * sysdeps/generic/math_private.h (default_libc_fesetround): New
37466 function.
37467 (libc_fesetround): New macro.
37468 (libc_fesetroundf): Likewise.
37469 (libc_fesetroundl): Likewise.
37470 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
37471 function.
37472 (libc_fesetround_387): Likewise.
37473 (libc_fesetroundf): New macro.
37474 (libc_fesetround): Likewise.
37475 (libc_fesetroundl): Likewise.
37476 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
37477 function.
37478 (libc_fesetroundf): New macro.
37479 (libc_fesetround): Likewise.
37480 (libc_fesetroundl): Likewise.
37481 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
37482 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
37483 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
37484 libm_hidden_ver.
37485 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
37486 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
37487 libm_hidden_def.
37488 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
37489 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
37490 libm_hidden_ver.
37491 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
37492 libm_hidden_def.
37493
fbeafede
JM
37494 [BZ #3439]
37495 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
37496 integer constant usable in #if and use that to give value to enum
37497 constant.
37498 (FE_DIVBYZERO): Likewise.
37499 (FE_UNDERFLOW): Likewise.
37500 (FE_OVERFLOW): Likewise.
37501 (FE_INVALID): Likewise.
37502 (FE_INVALID_SNAN): Likewise.
37503 (FE_INVALID_ISI): Likewise.
37504 (FE_INVALID_IDI): Likewise.
37505 (FE_INVALID_ZDZ): Likewise.
37506 (FE_INVALID_IMZ): Likewise.
37507 (FE_INVALID_COMPARE): Likewise.
37508 (FE_INVALID_SOFTWARE): Likewise.
37509 (FE_INVALID_SQRT): Likewise.
37510 (FE_INVALID_INTEGER_CONVERSION): Likewise.
37511 (FE_TONEAREST): Likewise.
37512 (FE_TOWARDZERO): Likewise.
37513 (FE_UPWARD): Likewise.
37514 (FE_DOWNWARD): Likewise.
37515 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
37516 (FE_DIVBYZERO): Likewise.
37517 (FE_OVERFLOW): Likewise.
37518 (FE_UNDERFLOW): Likewise.
37519 (FE_INEXACT): Likewise.
37520 (FE_TONEAREST): Likewise.
37521 (FE_DOWNWARD): Likewise.
37522 (FE_UPWARD): Likewise.
37523 (FE_TOWARDZERO): Likewise.
37524 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
37525 (FE_UNDERFLOW): Likewise.
37526 (FE_OVERFLOW): Likewise.
37527 (FE_DIVBYZERO): Likewise.
37528 (FE_INVALID): Likewise.
37529 (FE_TONEAREST): Likewise.
37530 (FE_TOWARDZERO): Likewise.
37531 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
37532 (FE_OVERFLOW): Likewise.
37533 (FE_UNDERFLOW): Likewise.
37534 (FE_DIVBYZERO): Likewise.
37535 (FE_INEXACT): Likewise.
37536 (FE_TONEAREST): Likewise.
37537 (FE_TOWARDZERO): Likewise.
37538 (FE_UPWARD): Likewise.
37539 (FE_DOWNWARD): Likewise.
37540 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
37541 (FE_DIVBYZERO): Likewise.
37542 (FE_OVERFLOW): Likewise.
37543 (FE_UNDERFLOW): Likewise.
37544 (FE_INEXACT): Likewise.
37545 (FE_TONEAREST): Likewise.
37546 (FE_DOWNWARD): Likewise.
37547 (FE_UPWARD): Likewise.
37548 (FE_TOWARDZERO): Likewise.
37549
105ca950
CM
375502012-11-02 Chris Metcalf <cmetcalf@tilera.com>
37551
37552 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
37553
a542b389
AS
375542012-11-03 Andreas Schwab <schwab@linux-m68k.org>
37555
37556 * scripts/cross-test-ssh.sh (command): Use newlines to separate
37557 commands. Quote $PWD.
37558 (blacklist_exports): Don't use remove_newlines. Replace "declare
37559 -x" by "export".
37560 (remove_newlines): Remove.
37561
f62c8abc
L
375622012-11-02 H.J. Lu <hongjiu.lu@intel.com>
37563
37564 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
37565 * stdlib/stdlib.h (atof): Moved to ...
37566 * include/bits/stdlib-float.h: Here. New file.
37567 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
37568 * stdlib/bits/stdlib-float.h: New file.
37569 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
37570 -mno-sse -mno-mmx.
37571 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
37572 <xmmintrin.h>.
37573
0155d5b2
JM
375742012-11-02 Joseph Myers <joseph@codesourcery.com>
37575
a68d0680
JM
37576 * conform/conformtest.pl (@headers): Add fenv.h.
37577 * conform/data/fenv.h-data: New file.
37578 * include/fenv.h [_ISOMAC]: Disable all contents of file except
37579 include of <math/fenv.h>.
37580
caf7f573
JM
37581 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
37582 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
37583 && !UNIX98]. Enables tests for XOPEN2K8.
37584 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
37585 POSIX2008]: Likewise.
37586
6c073ad6
JM
37587 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
37588 (struct rusage): Do not expect type or its members.
37589
0155d5b2
JM
37590 [BZ #3439]
37591 * math/math.h (FP_NAN): Define macro to integer constant usable in
37592 #if and use that to give value to enum constant.
37593 (FP_INFINITE): Likewise.
37594 (FP_ZERO): Likewise.
37595 (FP_SUBNORMAL): Likewise.
37596 (FP_NORMAL): Likewise.
37597
b5dcacb4
AS
375982012-11-02 Andreas Schwab <schwab@linux-m68k.org>
37599
37600 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
37601 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
37602 arguments.
37603
f7934be8
RM
376042012-11-02 Roland McGrath <roland@hack.frob.com>
37605
37606 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
37607 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
37608 autoconf-time if not.
37609 * configure.in: Remove AC_PREREQ.
37610
d7d08bde
TMQMF
376112012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37612
37613 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
37614 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
37615 of the internal implementation.
37616
dcdae19a
JM
376172012-11-02 Joseph Myers <joseph@codesourcery.com>
37618
37619 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
37620 except include of <misc/sys/syslog.h>.
37621
d6cffd3e
AS
376222012-11-01 Andreas Schwab <schwab@linux-m68k.org>
37623
37624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
37625 function returns with a NULL context exit with zero.
37626
b3563932
TMQMF
376272012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37628
37629 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
37630
b288a93d
L
376312012-11-01 H.J. Lu <hongjiu.lu@intel.com>
37632
37633 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
37634 (run_program_cmd): This.
37635 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
37636 (tst_langinfo): New variable. Use it.
37637
a2421a68
SAS
376382012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
37639
37640 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
37641 floating point opcodes.
37642
6f796e1b
TS
376432012-11-01 Thomas Schwinge <thomas@codesourcery.com>
37644
7402596b
TS
37645 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
37646 variable.
37647
d0d4f868
TS
37648 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
37649
6f796e1b
TS
37650 * sysdeps/mach/hurd/powerpc: Remove directory.
37651 * sysdeps/mach/powerpc: Likewise.
37652
4da224a2
AS
376532012-11-01 Andreas Schwab <schwab@linux-m68k.org>
37654
37655 * scripts/check-local-headers.sh: Ignore c++ headers.
37656
341dd673
TS
376572012-11-01 Thomas Schwinge <thomas@codesourcery.com>
37658
37659 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
37660 __libc_cleanup_region_start argument.
37661
473611b2
JM
376622012-11-01 Joseph Myers <joseph@codesourcery.com>
37663
37664 [BZ #14784]
37665 [BZ #14785]
37666 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
37667 x * y using scaling, not as x * y + z.
37668 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37669 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37670 * math/libm-test.inc (fma_test): Add more tests.
37671 (fma_test_towardzero): Likewise.
37672 (fma_test_downward): Likewise.
37673 (fma_test_upward): Likewise.
37674
4078da3d
TS
376752012-11-01 Thomas Schwinge <thomas@codesourcery.com>
37676
37677 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
37678
903252aa
JM
376792012-10-31 Joseph Myers <joseph@codesourcery.com>
37680
37681 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
37682 New variable.
37683
cbc818d0
TS
376842012-10-31 Thomas Schwinge <thomas@codesourcery.com>
37685
37686 * rt/tst-shm.c (worker): Correct checking for mmap failure.
37687
5a03cb1e
AS
376882012-10-31 Andreas Schwab <schwab@linux-m68k.org>
37689
37690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37691 Fix sort order.
37692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37693 Likewise.
37694
90aff2ff
TMQMF
376952012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37696
37697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37698 Fix the order of the list for glibc 2.17.
37699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37700 Likewise.
37701
1818fcb7
AS
377022012-10-31 Andreas Schwab <schwab@linux-m68k.org>
37703
37704 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37705
ef82f4da
JM
377062012-10-31 Joseph Myers <joseph@codesourcery.com>
37707
16a0e2ec
JM
37708 [BZ #14610]
37709 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
37710 for low part of x being zero before using __atanl (y).
37711 * math/libm-test.inc (atan2_test): Add another test.
37712
0eb69512
JM
37713 * manual/install.texi (Configuring and compiling): Document
37714 general use of test-wrapper and test-wrapper-env.
37715 * INSTALL: Regenerated.
37716
ef82f4da
JM
37717 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
37718 (__fma): Do not extract and scale down low bits on after-rounding
37719 systems when result rounded to normal precision would have normal
37720 exponent.
37721 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
37722 (__fmal): Do not extract and scale down low bits on after-rounding
37723 systems when result rounded to normal precision would have normal
37724 exponent.
37725 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
37726 (__fmal): Do not extract and scale down low bits on after-rounding
37727 systems when result rounded to normal precision would have normal
37728 exponent.
37729 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
37730 macro.
37731 (fma_test): Add more tests.
37732 (fma_test_towardzero): Likewise.
37733 (fma_test_downward): Likewise.
37734 (fma_test_upward): Likewise.
37735
954ef0d9
L
377362012-10-30 H.J. Lu <hongjiu.lu@intel.com>
37737
37738 * sysdeps/i386/tininess.h: Renamed to ...
37739 * sysdeps/x86/tininess.h: This.
37740 * sysdeps/x86_64/tininess.h: Removed.
37741
df61ffb2
JM
377422012-10-30 Joseph Myers <joseph@codesourcery.com>
37743
37744 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
37745 input. Use $(build-program-cmd).
37746 ($(objpfx)tst-array1-static.out): Likewise.
37747 ($(objpfx)tst-array2.out): Likewise.
37748 ($(objpfx)tst-array3.out): Likewise.
37749 ($(objpfx)tst-array4.out): Likewise.
37750 ($(objpfx)tst-array5.out): Likewise.
37751 ($(objpfx)tst-array5-static.out): Likewise.
37752
01767843
CM
377532012-10-30 Chris Metcalf <cmetcalf@tilera.com>
37754
47cc1490
CM
37755 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
37756 if defined.
37757
01767843
CM
37758 * nss/nsswitch.h (nss_interface_function): Provide new
37759 macro for use with NSS functions.
37760 * grp/initgroups.c: Use new macro.
37761 * nss/getXXbyYY.c: Likewise.
37762 * nss/getXXbyYY_r.c: Likewise.
37763 * nss/getXXent.c: Likewise.
37764 * nss/getXXent_r.c: Likewise.
37765 * sysdeps/posix/getaddrinfo.c: Likewise.
37766
8321aa97
AJ
377672012-10-30 Andreas Jaeger <aj@suse.de>
37768
37769 * po/ru.po: Update Russion translation from translation project.
37770
2a27fd6d
JM
377712012-10-30 Joseph Myers <joseph@codesourcery.com>
37772
8627a232
JM
37773 [BZ #14152]
37774 [BZ #14783]
37775 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
37776 result and shift together with sticky bit instead of replicating
37777 round-to-nearest rounding.
37778 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37779 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37780 * math/libm-test.inc (fma_test): Add more tests. Do not permit
37781 missing underflow exceptions.
37782 (fma_test_towardzero): Add more tests.
37783 (fma_test_downward): Likewise.
37784 (fma_test_upward): Likewise.
37785
2a27fd6d
JM
37786 [BZ #14047]
37787 * sysdeps/generic/tininess.h: New file.
37788 * sysdeps/i386/tininess.h: Likewise.
37789 * sysdeps/sh/tininess.h: Likewise.
37790 * sysdeps/x86_64/tininess.h: Likewise.
37791 * stdlib/tst-strtod-underflow.c: Likewise.
37792 * stdlib/tst-tininess.c: Likewise.
37793 * stdlib/strtod_l.c: Include <tininess.h>.
37794 (round_and_return): Do not set errno for exact underflow cases.
37795 Force an underflow exception when setting errno for underflow.
37796 Determine underflow based on rounding to normal precision if
37797 TININESS_AFTER_ROUNDING.
37798 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
37799 ERANGE for exact underflow cases.
37800 * stdlib/Makefile (tests): Add tst-tininess and
37801 tst-strtod-underflow.
37802 ($(objpfx)tst-tininess): Use $(link-libm).
37803 ($(objpfx)tst-strtod-underflow): Likewise.
37804
e7170363
AJ
378052012-10-30 Andreas Jaeger <aj@suse.de>
37806
e5088dc6
AJ
37807 [BZ#14767]
37808 * elf/Makefile (tests): Remove conditional for have-initfini-array
37809 since this is now always required and the variable does not exist
37810 anymore.
37811 (tests-static): Likewise.
37812 (modules-names): Likewise.
37813
e7170363 37814 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
37815
37816 * elf/tst-array1.c (fini_array): Make writeable so that it can be
37817 merged with constructor/destructor.
37818 (init_array): Likewise.
37819 * elf/tst-array2dep.c (fini_array): Likewise.
37820 (init_array): Likewise.
37821
60457d8a
MF
378222012-10-29 Mike Frysinger <vapier@gentoo.org>
37823
37824 * manual/message.texi: Delete @cartouche tags.
37825
8bece752
PT
378262012-10-29 Pino Toscano <toscano.pino@tiscali.it>
37827
94ce799f
PT
37828 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
37829 EOPNOTSUPP.
37830 * sysdeps/mach/hurd/fsync.c: Likewise.
37831
8bece752
PT
37832 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
37833 [_POSIX_REALTIME_SIGNALS]: Change condition to
37834 [_POSIX_REALTIME_SIGNALS > 0].
37835
86ebe6b1
AJ
378362012-10-27 Andreas Jaeger <aj@suse.de>
37837
37838 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
37839 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
37840 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
37841 [__WORDSIZE != 64]: Likewise.
37842
54399c08
L
378432012-10-26 H.J. Lu <hongjiu.lu@intel.com>
37844
37845 * iconvdata/tst-table.sh: Remove ${SHELL}.
37846 * iconvdata/tst-tables.sh: Likewise.
37847
e2211bed
DM
378482012-10-25 David S. Miller <davem@davemloft.net>
37849
37850 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37851 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
37852 of strtoull.
37853
f303f97c
DM
37854 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
37855 ifunc-impl-list.c
37856 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
37857 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
37858 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
37859 file.
37860
1e9d84cd
RM
378612012-10-25 Roland McGrath <roland@hack.frob.com>
37862
37863 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37864 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
37865 __getdirentries.
37866
df381762
JM
378672012-10-25 Joseph Myers <joseph@codesourcery.com>
37868 Jim Blandy <jimb@codesourcery.com>
37869
37870 * scripts/cross-test-ssh.sh: New file.
37871 * manual/install.texi (Configuring and compiling): Document use of
37872 cross-test-ssh.sh.
37873 * INSTALL: Regenerated.
37874
bff64913
PT
378752012-10-25 Pino Toscano <toscano.pino@tiscali.it>
37876
37877 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
37878 EOPNOTSUPP.
37879
25fe8932
JM
378802012-10-25 Joseph Myers <joseph@codesourcery.com>
37881
37882 * Makeconfig (run-program-prefix): Fix comment.
37883
cc1290d0
JM
378842012-10-24 Joseph Myers <joseph@codesourcery.com>
37885 Jim Blandy <jimb@codesourcery.com>
37886
37887 * Makeconfig (test-wrapper): New variable,
37888 (test-wrapper-env): Likewise.
37889 [$(cross-compiling) = yes && $(test-wrapper) != ""]
37890 (run-built-tests): Define to yes.
37891 (run-program-prefix): Use $(test-wrapper).
37892 (built-program-cmd): Likewise.
37893 * Rules (make-test-out): Use $(test-wrapper-env) and
37894 $(host-built-program-cmd).
37895 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
37896 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
37897 tst-pathopt.sh.
37898 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
37899 $(test-wrapper-env) to tst-rtld-load-self.sh.
37900 ($(objpfx)order2.out): Use $(test-wrapper).
37901 ($(objpfx)tst-initorder.out): Likewise.
37902 ($(objpfx)tst-initorder2.out): Likewise.
37903 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
37904 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
37905 (test_wrapper_env): New variable. Use it to run ld.so.
37906 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
37907 Use it to run ld.so.
37908 (test_wrapper_env): Likewise.
37909 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
37910 $(test-wrapper) to run-iconv-test.sh.
37911 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
37912 (ICONV): Use $test_wrapper.
37913 * posix/Makefile ($(objpfx)globtest.out): Pass
37914 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
37915 globtest.sh, not $(run-program-prefix).
37916 * posix/globtest.sh (run_via_rtld_prefix): New variable.
37917 (test_wrapper): Likewise.
37918 (test_wrapper_env): Likewise. Use it to run globtest with HOME
37919 set together with run_via_rtld_prefix.
37920 (run_program_prefix): Define in terms of test_wrapper and
37921 run_via_rtld_prefix.
37922
6e6249d0
RM
379232012-10-24 Roland McGrath <roland@hack.frob.com>
37924
37925 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
37926 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
37927 Targets removed.
37928
37929 [BZ #14743]
37930 * include/time.h: Remove librt_hidden_proto (clock_gettime).
37931 Declare __clock_getres, __clock_gettime, __clock_settime,
37932 __clock_nanosleep, and __clock_getcpuclockid.
37933 * rt/clock_gettime.c: Define __clock_gettime as an alias.
37934 Remove librt_hidden_def (clock_gettime).
37935 * sysdeps/unix/clock_gettime.c: Likewise.
37936 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
37937 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
37938 * rt/clock_getres.c: Define __clock_getres as an alias.
37939 * sysdeps/posix/clock_getres.c: Likewise.
37940 * rt/clock_settime.c: Define __clock_settime as an alias.
37941 * sysdeps/unix/clock_settime.c: Likewise.
37942 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
37943 * sysdeps/unix/clock_nanosleep.c: Likewise.
37944 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
37945 * rt/clock-compat.c: New file.
37946 * rt/Makefile (librt-routines): Add clock-compat and move
37947 $(clock-routines) to ...
37948 (routines): ... here, new variable.
37949 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
37950 Don't add get_clockfreq here.
37951 * rt/Versions (libc: GLIBC_2.17): New version set.
37952 Add clock_* symbols here.
37953 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
37954 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
37955 (GLIBC_2.17): Add clock_* symbols.
37956 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
37957 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
37958 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
37959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37960 Likewise.
37961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37962 Likewise.
37963 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
37964 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
37965 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
37966 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
37967 * NEWS: Mention the move.
37968
37969 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
37970 Use __open, __read, __close rather than their public counterparts.
37971 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37972 (__get_clockfreq_via_cpuinfo): Likewise.
37973 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
37974 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
37975
37976 * config.h.in (HAVE_IFUNC): New #undef.
37977 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
37978 was successful.
37979 * configure: Regenerated.
37980
0cae3f4b
MF
379812012-10-24 Mike Frysinger <vapier@gentoo.org>
37982
37983 * configure.in: Move READELF check to start of file.
37984 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
37985 libc_cv_asm_gnu_indirect_function in the process.
37986 * configure: Regenerated.
37987
8175a253
MF
379882012-10-24 Mike Frysinger <vapier@gentoo.org>
37989
37990 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
37991 send the output to /dev/null.
37992 (libc_cv_cc_with_libunwind): Likewise.
37993 (libc_cv_as_noexecstack): Likewise.
37994 * configure: Regenerate.
37995
0708a7d1
JM
379962012-10-24 Joseph Myers <joseph@codesourcery.com>
37997
10b40d85
JM
37998 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
37999
0708a7d1
JM
38000 * posix/globtest.sh (TMPDIR): Do not set.
38001 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
38002 (testout): Likewise.
38003
9fddec1a
AJ
380042012-10-24 Andreas Jaeger <aj@suse.de>
38005
3a8db22f
AJ
38006 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
38007 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
38008 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
38009 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
38010 posix_fadvise64, posix_fallocate64.
38011
9fddec1a
AJ
38012 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
38013 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
38014 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
38015 Likewise.
38016 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
38017 Likewise.
38018 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
38019
38020 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
38021 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
38022 <bits/fcntl-linux.h>.
38023 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
38024
38025 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
38026 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
38027 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
38028 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
38029 [__WORDSIZE != 64]: Likewise.
38030
ebfd1bbd
JM
380312012-10-23 Joseph Myers <joseph@codesourcery.com>
38032
03ac099f
JM
38033 * Makeconfig (run-built-tests): New variable.
38034 * Rules [$(cross-compiling) = yes]: Change condition to
38035 [$(run-built-tests) = no].
38036 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
38037 to [$(run-built-tests) = yes].
38038 * elf/Makefile [$(cross-compiling) = no]: Likewise
38039 * grp/Makefile [$(cross-compiling) = no]: Likewise.
38040 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
38041 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
38042 * intl/Makefile [$(cross-compiling) = no]: Likewise.
38043 * io/Makefile [$(cross-compiling) = no]: Likewise.
38044 * libio/Makefile [$(cross-compiling) = no]: Likewise.
38045 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
38046 * misc/Makefile [$(cross-compiling) = no]: Likewise.
38047 * posix/Makefile [$(cross-compiling) = no]: Likewise.
38048 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
38049 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
38050 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
38051 * string/Makefile [$(cross-compiling) = no]: Likewise.
38052
ebfd1bbd
JM
38053 * posix/Makefile ($(objpfx)globtest.out): Pass
38054 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
38055 $(rtld-installed-name).
38056 * posix/globtest.sh (elf_objpfx): Remove variable.
38057 (rtld_installed_name): Likewise.
38058 (library_path): Likewise.
38059 (run_program_prefix): New variable. Use for running globtest
38060 binary.
38061
166bca24
JB
380622012-10-23 Jim Blandy <jimb@codesourcery.com>
38063 Joseph Myers <joseph@codesourcery.com>
38064
38065 * Makeconfig (host-built-program-cmd): New variable.
38066 * elf/Makefile (tst-stackguard1-ARGS): Use
38067 $(host-built-program-cmd).
38068 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
38069 (tst-spawn-ARGS): Likewise.
38070 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
38071
88866099
JM
380722012-10-23 Joseph Myers <joseph@codesourcery.com>
38073 Jim Blandy <jimb@codesourcery.com>
38074
38075 * Makeconfig (run-via-rtld-prefix): New variable.
38076 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
38077 (built-program-cmd): Likewise.
38078
b4b4c296
AJ
380792012-10-22 Andreas Jaeger <aj@suse.de>
38080
38081 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
38082 __O_RSYNC if it exists, otherwise to O_SYNC.
38083
6fb54a22
JB
380842012-10-22 Jim Blandy <jimb@codesourcery.com>
38085 Joseph Myers <joseph@codesourcery.com>
38086
38087 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
38088 /dev/null.
38089 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
38090 from /dev/null
38091 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
38092 /dev/null.
38093
481b90b9
AJ
380942012-10-22 Andreas Jaeger <aj@suse.de>
38095
2a0e2669
AJ
38096 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
38097 Define always.
38098 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
38099
76e38f9a
AJ
38100 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38101 bits/fcntl-linux.h.
38102
7cd37b43
AJ
38103 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
38104 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
38105
481b90b9
AJ
38106 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
38107 to __O_LARGEFILE.
38108 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
38109 to __O_LARGEFILE.
38110
aba75984
JB
381112012-10-21 Jim Blandy <jimb@codesourcery.com>
38112 Joseph Myers <joseph@codesourcery.com>
38113
38114 * config.make.in (NM): New variable.
38115
88d4247f
AJ
381162012-10-21 Andreas Jaeger <aj@suse.de>
38117
38118 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
38119 definitions and declarations that are provided by
38120 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
38121
f2eed205
L
381222012-10-20 H.J. Lu <hongjiu.lu@intel.com>
38123
38124 [BZ #14683]
38125 * elf/Makefile (tests-static): Add tst-leaks1-static.
38126 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
38127 ($(objpfx)tst-leaks1-static): New rule.
38128 ($(objpfx)tst-leaks1-static-mem): Likewise.
38129 (tst-leaks1-static-ENV): New macro.
38130 * elf/dl-open.c (dl_open_worker): Check the main application
38131 only if SHARED is defined.
38132 * elf/tst-leaks1-static.c: New file.
38133
335e6931
AJ
381342012-10-20 Andreas Jaeger <aj@suse.de>
38135
38136 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
38137 generic values for Linux.
38138 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
38139 and declarations that are provided by <bits/fcntl-linux.h> and
38140 include <bits/fcntl-linux.h>.
38141 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38142 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38143
ac5c94d3
RM
381442012-10-20 Roland McGrath <roland@hack.frob.com>
38145
38146 * io/fcntl.h: Move include of <bits/types.h> to the top and
38147 include it unconditionally.
38148
de54b33a
L
381492012-10-20 H.J. Lu <hongjiu.lu@intel.com>
38150
228cfb01
L
38151 * wcsmbs/Makefile (tests-ifunc): New variable.
38152 (tests): Add $(tests-ifunc).
38153 * wcsmbs/test-wcschr-ifunc.c: New file.
38154 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
38155 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
38156 * wcsmbs/test-wcslen-ifunc.c: Likewise.
38157 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
38158 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
38159
69f07e5f
L
38160 * string/Makefile (tests-ifunc): New variable.
38161 (tests): Add $(tests-ifunc).
38162 * string/test-memccpy.c (TEST_NAME): New macro.
38163 * string/test-memchr.c (TEST_NAME): Likewise.
38164 * string/test-memcmp.c (TEST_NAME): Likewise.
38165 * string/test-memcpy.c (TEST_NAME): Likewise.
38166 * string/test-memmem.c (TEST_NAME): Likewise.
38167 * string/test-memmove.c (TEST_NAME): Likewise.
38168 * string/test-memset.c (TEST_NAME): Likewise.
38169 * string/test-rawmemchr.c (TEST_NAME): Likewise.
38170 * string/test-stpcpy.c (TEST_NAME): Likewise.
38171 * string/test-stpncpy.c (TEST_NAME): Likewise.
38172 * string/test-strcasecmp.c (TEST_NAME): Likewise.
38173 * string/test-strcasestr.c (TEST_NAME): Likewise.
38174 * string/test-strcat.c (TEST_NAME): Likewise.
38175 * string/test-strchr.c (TEST_NAME): Likewise.
38176 * string/test-strcmp.c(TEST_NAME): Likewise.
38177 * string/test-strcpy.c (TEST_NAME): Likewise.
38178 * string/test-strcspn.c (TEST_NAME): Likewise.
38179 * string/test-strlen.c (TEST_NAME): Likewise.
38180 * string/test-strncasecmp.c (TEST_NAME): Likewise.
38181 * string/test-strncmp.c (TEST_NAME): Likewise.
38182 * string/test-strncpy.c (TEST_NAME): Likewise.
38183 * string/test-strnlen.c (TEST_NAME): Likewise.
38184 * string/test-strpbrk.c (TEST_NAME): Likewise.
38185 * string/test-strrchr.c (TEST_NAME): Likewise.
38186 * string/test-strspn.c (TEST_NAME): Likewise.
38187 * string/test-strstr.c (TEST_NAME): Likewise.
38188 * string/test-bcopy-ifunc.c: New file.
38189 * string/test-bzero-ifunc.c: Likewise.
38190 * string/test-memccpy-ifunc.c: Likewise.
38191 * string/test-memchr-ifunc.c: Likewise.
38192 * string/test-memcmp-ifunc.c: Likewise.
38193 * string/test-memcpy-ifunc.c: Likewise.
38194 * string/test-memmem-ifunc.c: Likewise.
38195 * string/test-memmove-ifunc.c: Likewise.
38196 * string/test-mempcpy-ifunc.c: Likewise.
38197 * string/test-memset-ifunc.c: Likewise.
38198 * string/test-rawmemchr-ifunc.c: Likewise.
38199 * string/test-stpcpy-ifunc.c: Likewise.
38200 * string/test-stpncpy-ifunc.c: Likewise.
38201 * string/test-strcasecmp-ifunc.c: Likewise.
38202 * string/test-strcasestr-ifunc.c: Likewise.
38203 * string/test-strcat-ifunc.c: Likewise.
38204 * string/test-strchr-ifunc.c: Likewise.
38205 * string/test-strchrnul-ifunc.c: Likewise.
38206 * string/test-strcmp-ifunc.c: Likewise.
38207 * string/test-strcpy-ifunc.c: Likewise.
38208 * string/test-strcspn-ifunc.c: Likewise.
38209 * string/test-strlen-ifunc.c: Likewise.
38210 * string/test-strncasecmp-ifunc.c: Likewise.
38211 * string/test-strncat-ifunc.c: Likewise.
38212 * string/test-strncmp-ifunc.c: Likewise.
38213 * string/test-strncpy-ifunc.c: Likewise.
38214 * string/test-strnlen-ifunc.c: Likewise.
38215 * string/test-strpbrk-ifunc.c: Likewise.
38216 * string/test-strrchr-ifunc.c: Likewise.
38217 * string/test-strspn-ifunc.c: Likewise.
38218 * string/test-strstr-ifunc.c: Likewise.
38219
de54b33a
L
38220 * debug/Makefile (tests-ifunc): New variable.
38221 (tests): Add $(tests-ifunc).
38222 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
38223 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
38224 * debug/test-stpcpy_chk-ifunc.c: New file.
38225 * debug/test-strcpy_chk-ifunc.c: Likewise.
38226
88481c16
SP
382272012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
38228
38229 [BZ #13601]
38230 * elf/dl-load.c (open_verify): Retry read if the entire ELF
38231 header is not read in.
38232
135948bd
JM
382332012-10-19 Joseph Myers <joseph@codesourcery.com>
38234
89f1c388
JM
38235 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
38236 script to $(SHELL) as $<. Pass $(common-objpfx) to script
38237 directly. Pass built executable to script as
38238 $(built-program-cmd).
38239 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
38240 $testprogram without using LD_LIBRARY_PATH and $ldso.
38241
e40a0d21
JM
38242 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
38243 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
38244 $(rtld-installed-name).
38245 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
38246 (rtld_installed_name): Likewise.
38247 (library_path): Likewise.
38248 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
38249 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
38250 $(run-program-prefix) to tst-tables.sh.
38251 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
38252 it to run tst-table-from and tst-table-to.
38253 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
38254 Pass it to tst-table.sh.
38255 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
38256 $(run-program-prefix) to tst-gettext.sh.
38257 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
38258 tst-translit.sh.
38259 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
38260 tst-gettext2.sh.
38261 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
38262 to run tst-gettext.
38263 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
38264 to run tst-gettext2.
38265 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
38266 to run tst-translit.
38267 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
38268 $(run-program-prefix) to tst-mtrace.sh.
38269 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
38270 to run tst-mtrace.
38271 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
38272 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
38273 $(rtld-installed-name).
38274 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
38275 (rtld_installed_name): Likewise.
38276 (run_program_prefix): New variable. Use it to run wordexp-test.
38277
728e272a
JM
38278 * Makeconfig (ARCH): Remove all definitions.
38279 (machine): Likewise.
38280 [ARCH]: Remove conditional code.
38281 [!objdir]: Give error.
38282 [!objdir] (objpfx): Remove.
38283 [!objdir] (common-objpfx): Likewise.
38284 [!objdir] (common-objdir): Likewise.
38285 * configure.in (config_makefile): Remove. Hardcode Makefile in
38286 AC_CONFIG_FILES call.
38287 * configure: Regenerated.
38288
d528cdcf
JM
38289 [BZ #13888]
38290 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
38291 or TMPDIR.
38292 (testout): Likewise.
38293
135948bd
JM
38294 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
38295 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
38296 $(rtld-installed-name).
38297 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
38298 (rtld_installed_name): Likwise.
38299 (runit): Remove function.
38300 (run_getconf): New variable, Use it for running getconf binary.
38301
38c78296
L
383022012-10-18 H.J. Lu <hongjiu.lu@intel.com>
38303
38304 [BZ #14716]
38305 * string/test-memmem.c (check_result): New function.
38306 (do_one_test): Use it.
38307 (check1): New function.
38308 (test_main): Use it.
38309
d077f65f
MT
383102012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
38311
38312 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
38313
ced52c71
JM
383142012-10-18 Joseph Myers <joseph@codesourcery.com>
38315
38316 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
38317 (_G_LSEEK64): Likewise.
38318 (_G_MMAP64): Likewise.
38319 (_G_FSTAT64): Likewise.
38320 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
38321 (_G_LSEEK64): Likewise.
38322 (_G_MMAP64): Likewise.
38323 (_G_FSTAT64): Likewise.
38324 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
38325 unconditional. Call __mmap64 directly.
38326 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
38327 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
38328 __lseek64 directly.
38329 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
38330 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
38331 __mmap64 directly.
38332 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
38333 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
38334 __lseek64 directly.
38335 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
38336 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
38337 __lseek64 directly.
38338 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
38339 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
38340 __lseek64 directly.
38341 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
38342 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
38343 __fxstat64 directly.
38344 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
38345 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
38346 unconditional.
38347 (freopen64) [!_G_OPEN64]: Remove conditional code.
38348 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
38349 unconditional.
38350 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
38351 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
38352 unconditional.
38353 (ftello64) [!_G_LSEEK64]: Remove conditional code.
38354 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
38355 unconditional.
38356 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
38357 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
38358 unconditional.
38359 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
38360 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
38361 unconditional.
38362 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
38363 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
38364 unconditional.
38365 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
38366 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
38367 unconditional.
38368 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
38369
b741de23
SP
383702012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
38371
38372 [BZ #12140]
38373 * manual/memory.texi (Malloc Tunable Parameters): Add note
38374 about free list pointers overwriting some perturb bytes.
38375 Wording suggested by Roland McGrath.
38376
f9b9d9c9
JM
383772012-10-17 Joseph Myers <joseph@codesourcery.com>
38378
38379 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
38380 (lgamma_test): Likewise.
38381 (tgamma_test): Likewise.
38382
172a631a
FW
383832012-10-16 Florian Weimer <fweimer@redhat.com>
38384
38385 [BZ #14700]
38386 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
38387 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
38388
e9f37252
MK
383892012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
38390
38391 * NEWS: Mention BZ #14716.
38392 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
38393 when removing AVAILABLE1_USES_J macro.
38394
d394eb74
L
383952012-10-12 H.J. Lu <hongjiu.lu@intel.com>
38396
38397 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
38398 (__bswap_64): __uint64_t for unsigned 64-bit int.
38399
ca38dc17
AS
384002012-10-12 Andreas Schwab <schwab@linux-m68k.org>
38401
38402 * include/string.h (memmem): Declare libc hidden alias.
38403 * string/memmem.c (memmem): Define libc hidden alias.
38404 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
38405 __read, __close instead of open, read, close.
38406
9a387d1f
L
384072012-10-11 H.J. Lu <hongjiu.lu@intel.com>
38408
ac49ecaf
L
38409 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
38410 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
38411 global and hidden.
38412 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
38413 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
38414 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
38415 Likewise.
38416 (__rawmemchr_sse2): Likewise.
38417 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
38418 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
38419 (__strchr_sse2): Likewise.
38420 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
38421 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
38422 (__strcasecmp_sse2): Likewise.
38423 (__strncasecmp_sse2): Likewise.
38424 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
38425 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
38426 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
38427 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
38428 (__strrchr_sse2): Likewise.
38429 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
38430 ifunc-impl-list.c.
38431 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
38432 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
38433 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
38434 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
38435 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
38436 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
38437 * sysdeps/x86_64/multiarch/memset.S: Likewise.
38438 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
38439 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
38440 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
38441 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
38442 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
38443 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
38444 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
38445 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
38446 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
38447 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
38448 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
38449 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
38450 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
38451 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
38452 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
38453 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
38454 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
38455 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
38456 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
38457 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
38458 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
38459 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
38460 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
38461
b090e8ea
L
38462 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
38463 global and hidden.
38464 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
38465 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
38466 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
38467 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
38468 Likewise.
38469 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
38470 Likewise.
38471 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
38472 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
38473 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
38474 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
38475 ifunc-impl-list.c.
38476 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
38477 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
38478 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
38479 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
38480 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
38481 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
38482 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
38483 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
38484 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
38485 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
38486 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
38487 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
38488 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
38489 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
38490 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
38491 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
38492 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
38493 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
38494 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
38495 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
38496 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
38497 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
38498 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
38499 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
38500 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
38501 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
38502 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
38503 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
38504 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
38505 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
38506 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
38507 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
38508 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
38509 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
38510 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
38511 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
38512 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
38513 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
38514 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
38515 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
38516 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
38517
11dd4af6
L
38518 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
38519 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
38520 * include/ifunc-impl-list.h: New file.
38521 * misc/ifunc-impl-list.c: Likewise.
38522 * misc/Makefile (routines): Add ifunc-impl-list.
38523 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
38524 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
38525 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
38526 TEST_NAME]: New variables.
11dd4af6
L
38527 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
38528 are defined.
38529 (test_init): Call __libc_ifunc_impl_list to initialize
38530 func_list if TEST_IFUNC and TEST_NAME are defined.
38531
9a387d1f
L
38532 * string/Makefile (strop-tests): Add bcopy and bzero.
38533 * string/test-bcopy.c: New file.
38534 * string/test-bzero.c: Likewise.
38535 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
38536 defined.
38537 * string/test-memset.c: Support bzero test if TEST_BZERO is
38538 defined.
38539 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
38540 __libc_memmove.
38541 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
38542 __libc_memset.
38543 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
38544 of memset.
38545
472371b9
JM
385462012-10-10 Joseph Myers <joseph@codesourcery.com>
38547
1e4a9536
JM
38548 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
38549 * configure: Regenerated.
38550
d173d12e
JM
38551 * Makeconfig (+link-static-before-libc): Don't include
38552 $(link-static-libc).
38553
472371b9
JM
38554 * libio/libio.h (_IO_pos_t): Remove.
38555
89a3ad0b
AO
385562012-10-10 Alexandre Oliva <aoliva@redhat.com>
38557
38558 * NEWS: Add note about FIPS mode. Wording suggested by Roland
38559 McGrath.
38560
e7451425
AO
385612012-10-10 Alexandre Oliva <aoliva@redhat.com>
38562
38563 * crypt/crypt-entry.c: Include fips-private.h.
38564 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
38565 * crypt/md5c-test.c (main): Tolerate disabled MD5.
38566 * sysdeps/unix/sysv/linux/fips-private.h: New file.
38567 * sysdeps/generic/fips-private.h: New file, dummy fallback.
38568
4ba74a35
AO
385692012-10-10 Alexandre Oliva <aoliva@redhat.com>
38570
38571 * crypt/crypt-private.h: Include stdbool.h.
38572 (_ufc_setup_salt_r): Return bool.
38573 * crypt/crypt-entry.c: Include errno.h.
38574 (__crypt_r): Return NULL with EINVAL for bad salt.
38575 * crypt/crypt_util.c (bad_for_salt): New.
38576 (_ufc_setup_salt_r): Check that salt is long enough and within
38577 the specified alphabet.
38578 * crypt/badsalttest.c: New file.
38579 * crypt/Makefile (tests): Add it.
38580 ($(objpfx)badsalttest): New.
38581
f96f1242
MK
385822012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
38583
38584 * NEWS: Add entry for BZ #14602.
38585
0e8e0c1c
JM
385862012-10-09 Joseph Myers <joseph@codesourcery.com>
38587
38588 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
38589 type-generic.
38590 * math/libm-test.inc: Update comment listing what functions and
38591 macros are tested.
38592 (isgreater_test): New function.
38593 (isgreaterequal_test): Likewise.
38594 (isless_test): Likewise.
38595 (islessequal_test): Likewise.
38596 (islessgreater_test): Likewise.
38597 (isunordered_test): Likewise.
38598 (main): Call the new functions.
38599
273edc5e
RM
386002012-10-09 Roland McGrath <roland@hack.frob.com>
38601
b8493de0
RM
38602 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
38603 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
38604 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
38605 * sysdeps/i386/configure: Regenerated.
38606 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
38607 * sysdeps/mach/configure: Regenerated.
38608 * sysdeps/mach/hurd/configure: Regenerated.
38609 * sysdeps/powerpc/configure: Regenerated.
38610 * sysdeps/powerpc/powerpc32/configure: Regenerated.
38611 * sysdeps/powerpc/powerpc64/configure: Regenerated.
38612 * sysdeps/s390/s390-32/configure: Regenerated.
38613 * sysdeps/s390/s390-64/configure: Regenerated.
38614 * sysdeps/sh/configure: Regenerated.
38615 * sysdeps/sparc/configure: Regenerated.
38616 * sysdeps/unix/sysv/linux/configure: Regenerated.
38617 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
38618 * sysdeps/x86_64/configure: Regenerated.
38619
273edc5e
RM
38620 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
38621 defined. Don't check if MAP is NULL.
38622
c8450f70
JM
386232012-10-09 Joseph Myers <joseph@codesourcery.com>
38624
38625 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
38626 (_G_stat64): Likewise.
38627 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
38628 (_G_stat64): Likewise.
38629 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
38630 instead of struct _G_stat64.
38631 * libio/fileops.c (mmap_remap_check): Likewise.
38632 (decide_maybe_mmap): Likewise.
38633 (_IO_new_file_seekoff): Likewise.
38634 (_IO_file_stat): Likewise.
38635 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
38636 _G_off64_t.
38637 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
38638 instead of struct _G_stat64.
38639 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
38640
57e605ba
MK
386412012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
38642
38643 [BZ #14602]
38644 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
38645 Replace with ...
38646 (CHECK_EOL): New macro.
38647 (two_way_short_needle): Check beginning of haystack for EOL. Use
38648 CHECK_EOL.
38649 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
38650 Replace with CHECK_EOL.
38651 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
38652 Replace with CHECK_EOL.
38653
ef1bb361
JM
386542012-10-08 Joseph Myers <joseph@codesourcery.com>
38655
38656 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
38657 type-generic.
38658 * math/libm-test.inc: Update comment listing what functions and
38659 macros are tested.
38660 (finite_test): New function.
38661 (isinf_test): Likewise.
38662 (isnan_test): Likewise.
38663 (fpclassify_test): Test subnormal input.
38664 (isfinite_test): Likewise.
38665 (isnormal_test): Likewise.
38666 (main): Call the new functions.
38667
55f11534
JN
386682012-10-08 Jonathan Nieder <jrnieder@gmail.com>
38669
38670 [BZ #14660]
38671 * Makerules (%.dynsym): Force C locale when running
38672 $(OBJDUMP) --dynamic-syms.
38673
1ab29350
AS
386742012-10-08 Andreas Schwab <schwab@linux-m68k.org>
38675
38676 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
38677 <stdint.h>.
38678
f1ecb7ef
DM
386792012-10-06 David S. Miller <davem@davemloft.net>
38680
38681 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
38682 upper 32-bits of the length value in %o2 since we use branch-on-register
38683 tests which consider the entire 64-bit register.
38684
5d41d91a
L
386852012-10-06 H.J. Lu <hongjiu.lu@intel.com>
38686
38687 * string/test-strstr.c (check2): Add a test for page boundary.
38688
3baddb72
DM
386892012-10-05 David S. Miller <davem@davemloft.net>
38690
38691 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
38692 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
38693 file.
38694 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
38695 sysdep_routines.
38696 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
38697 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
38698 and bzero when HWCAP_SPARC_CRYPTO is present.
38699
9cee5585
L
387002012-10-05 H.J. Lu <hongjiu.lu@intel.com>
38701
d7e0dab9
L
38702 [BZ #14602]
38703 * string/test-strstr.c (check2): New function.
38704 (test_main): Call check2.
38705
03759f47
L
38706 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
38707 and bug-strchr1.
38708 * string/bug-strcasestr1.c (do_test): Moved to ...
38709 * string/test-strcasestr.c (check1): Here. New function.
38710 (do_one_test): Break out result checking code into ...
38711 (check_result): This. New function.
38712 (do_one_test): Call check_result.
38713 (test_main): Call check1.
38714 * string/bug-strchr1.c (do_test): Moved to ...
38715 * string/test-strchr.c (check1): Here. New function.
38716 (do_one_test): Break out result checking code into ...
38717 (check_result): This. New function.
38718 (do_one_test): Call check_result.
38719 (test_main): Call check1.
38720 * string/bug-strstr1.c (main): Moved to ...
046f153e 38721 * string/test-strstr.c (check1): Here. New function.
03759f47
L
38722 (do_one_test): Break out result checking code into ...
38723 (check_result): This. New function.
38724 (do_one_test): Call check_result.
38725 (test_main): Call check1.
38726 * string/bug-strcasestr1.c: Removed.
38727 * string/bug-strchr1.c: Likewise.
38728 * string/bug-strstr1.c: Likewise.
38729
53cea63e
L
38730 * elf/Makefile (dl-routines): Add hwcaps.
38731 * elf/dl-support.c (_dl_important_hwcaps): Removed.
38732 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
38733 (_dl_important_hwcaps): Moved to ...
38734 * elf/dl-hwcaps.c: Here. New file.
38735 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
38736
9cee5585 38737 [BZ #14557]
bb859b06
L
38738 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
38739 if IS_IN_rtld isn't defined.
38740
9cee5585
L
38741 * elf/dl-support.c (_dl_sysinfo_map): New.
38742 Include "get-dynamic-info.h" and "setup-vdso.h".
38743 (_dl_non_dynamic_init): Call setup_vdso.
38744 * elf/dynamic-link.h: Don't include <assert.h>.
38745 (elf_get_dynamic_info): Moved to ...
38746 * elf/get-dynamic-info.h: Here. New file.
38747 * elf/dynamic-link.h: Include "get-dynamic-info.h".
38748 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
38749 * elf/setup-vdso.h: Here. New file.
38750 * elf/rtld.c: Include "setup-vdso.h".
38751 (dl_main): Call setup_vdso.
38752
23c31b76
JM
387532012-10-05 Joseph Myers <joseph@codesourcery.com>
38754
28234b07
JM
38755 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
38756 creal in comment listing functions tested. List finite, isinf,
38757 isnan, isless, islessequal, isgreater, isgreaterequal,
38758 islessgreater, isunordered, lgamma_r and pow10 as functions and
38759 macros not tested. Mention which functions not tested are aliases
38760 for other functions. Fix typo. Note that signs of NaNs are not
38761 tested.
38762
23c31b76
JM
38763 * scripts/config.guess: Update from config.git.
38764 * scripts/config.sub: Likewise.
38765
9043e228
RM
387662012-10-04 Roland McGrath <roland@hack.frob.com>
38767
38768 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
38769 * misc/madvise.c (madvise): Renamed to __madvise.
38770 Make madvise a weak alias.
38771 * include/sys/mman.h: Declare __madvise.
38772 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
38773 * sysdeps/unix/syscalls.list
38774 (madvise): Make __madvise the strong name, and madvise a weak alias.
38775 * sysdeps/unix/sysv/linux/syscalls.list
38776 (madvise, mmap): Remove redundant entries.
38777 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
38778 * malloc/malloc.c (mtrim): Likewise.
38779 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
38780
f57f8055
RM
387812012-10-03 Roland McGrath <roland@hack.frob.com>
38782
38783 * sysdeps/mach/hurd/dl-cache.c: File removed.
38784 * config.h.in (USE_LDCONFIG): New #undef.
38785 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
38786 * configure: Regenerated.
38787 * elf/Makefile (dl-routines): Add dl-cache only under
38788 [$(use-ldconfig) = yes].
38789 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
38790 cache on [USE_LDCONFIG].
38791 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
38792 [USE_LDCONFIG].
38793 * elf/rtld.c (dl_main): Likewise.
38794
5bb0c10a
PT
387952012-10-03 Pino Toscano <toscano.pino@tiscali.it>
38796
38797 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
38798 _SC_LEVEL4_CACHE_LINESIZE.
38799
010188c6
RM
388002012-10-03 Roland McGrath <roland@hack.frob.com>
38801
38802 * sysdeps/unix/bsd/confstr.h: File removed.
38803
b6c5ec07
AO
388042012-10-02 Alexandre Oliva <aoliva@redhat.com>
38805
38806 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
38807 sys/sdt-config.h.
38808
408223d4
RM
388092012-10-02 Roland McGrath <roland@hack.frob.com>
38810
38811 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
38812 Make 'mapoff' field ElfW(Off) rather than off_t.
38813
bb9510dc
DL
388142012-10-02 Dmitry V. Levin <ldv@altlinux.org>
38815
fc997c6e
DL
38816 * nscd/Makefile: Remove nscd-cflags and all its users.
38817 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
38818 (CFLAGS-nonlib): Add compiler flags for nscd modules.
38819
bb9510dc
DL
38820 [BZ #10631]
38821 * malloc.c (malloc_printerr): Clarify error message.
38822
05699367
L
388232012-10-02 H.J. Lu <hongjiu.lu@intel.com>
38824
38825 [BZ #14648]
38826 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38827 Set bit_FMA_Usable if FMA is supported.
38828 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
38829 macro.
38830 (bit_FMA4_Usable): Updated.
38831 (index_FMA_Usable): New macro.
38832 (CPUID_FMA): Likewise
38833 (HAS_FMA): Defined with bit_FMA_Usable.
38834
51367701
RM
388352012-10-01 Roland McGrath <roland@hack.frob.com>
38836
38837 * bits/types.h (__swblk_t): Type removed.
38838 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
38839 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
38840 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38841 (__SWBLK_T_TYPE): Likewise.
38842 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
38843 (__SWBLK_T_TYPE): Likewise.
38844 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38845 (__SWBLK_T_TYPE): Likewise.
38846 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38847 (__SWBLK_T_TYPE): Likewise.
38848
4d57bf63 388492012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 38850 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
38851
38852 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
38853 (xdr_mapname): Use YPMAXMAP as maxsize.
38854 (xdr_peername): Use YPMAXPEER as maxsize.
38855 (xdr_keydat): Use YPAXRECORD as maxsize.
38856 (xdr_valdat): Use YPMAXRECORD as maxsize.
38857
93c65d43
RM
388582012-10-01 Roland McGrath <roland@hack.frob.com>
38859
497a03d6
RM
38860 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
38861
93c65d43
RM
38862 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
38863 * csu/init-first.c: ... here.
38864 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
38865 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
38866 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
38867 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
38868 * sysdeps/i386/init-first.c: File removed.
38869 * sysdeps/sh/init-first.c: File removed.
38870
bec749fd
JM
388712012-10-01 Joseph Myers <joseph@codesourcery.com>
38872
38873 [BZ #14645]
38874 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
38875 if x * y might underflow to zero and z is zero.
38876 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38877 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38878 * math/libm-test.inc (min_subnorm_value): New variable.
38879 (fma_test): Add more tests.
38880 (fma_test_towardzero): Likewise.
38881 (fma_test_downward): Likewise
38882 (fma_test_upward): Likewise.
38883 (initialize): Set min_subnorm_value.
38884
8ec5b013
JM
388852012-09-29 Joseph Myers <joseph@codesourcery.com>
38886
38887 [BZ #14638]
38888 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
38889 0 + 0.
38890 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
38891 mode for addition resulting in exact zero.
38892 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
38893 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
38894 exact 0 + 0.
38895 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
38896 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38897 * math/libm-test.inc (fma_test): Add more tests.
38898 (fma_test_towardzero): New function.
38899 (fma_test_downward): Likewise.
38900 (fma_test_upward): Likewise.
38901 (main): Call the new functions.
38902
b1fa802e
DM
389032012-09-28 David S. Miller <davem@davemloft.net>
38904
38905 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
38906
d3b9fd9e
RM
389072012-09-28 Roland McGrath <roland@hack.frob.com>
38908
ea4d37b3
RM
38909 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
38910 instead of SIGALRM.
38911
ac51c949
RM
38912 * sysdeps/gnu/_G_config.h: Moved to ...
38913 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
38914 * sysdeps/mach/hurd/_G_config.h: Moved to ...
38915 * sysdeps/generic/_G_config.h: ... here.
38916
28c195f7
RM
38917 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
38918
848917f9
RM
38919 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
38920
6bacf05b
RM
38921 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
38922 Conditionalize target on [libnss_test1.so-version].
38923
91363dbb
RM
38924 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
38925
cc87f7d8
RM
38926 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
38927 (elfobjdir): Move out of conditionals.
38928
b1c608fe
RM
38929 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
38930 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
38931 (__nss_lookup_function): Conditionalize label remove_from_tree on
38932 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 38933
1d9a6d96
DM
389342012-09-28 David S. Miller <davem@davemloft.net>
38935
38936 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
38937 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
38938 file.
38939 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
38940 sysdep_routines.
38941 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
38942 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
38943 when HWCAP_SPARC_CRYPTO is present.
38944
72581615
PT
389452012-09-28 Pino Toscano <toscano.pino@tiscali.it>
38946
38947 * io/tst-mknodat.c: Create a FIFO instead of a socket.
38948
715a900c
JL
389492012-09-28 Andreas Schwab <schwab@linux-m68k.org>
38950
38951 [BZ #6530]
38952 * stdio-common/vfprintf.c (process_string_arg): Revert
38953 2000-07-22 change.
38954
389552011-09-28 Jonathan Nieder <jrnieder@gmail.com>
38956
38957 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
38958 for testcase.
38959 * stdio-common/tst-sprintf.c: Include <locale.h>
38960 (main): Test sprintf's handling of incomplete multibyte
38961 characters.
38962
9bac1d86
L
389632012-09-28 H.J. Lu <hongjiu.lu@intel.com>
38964
38965 * elf/dl-runtime.c (VERSYMIDX): Removed.
38966 * elf/dl-version.c (VERSYMIDX): Likewise.
38967 * elf/do-rel.h (VERSYMIDX): Likewise.
38968 (VALIDX): Likewise.
38969 * elf/dynamic-link.h (VERSYMIDX): Likewise.
38970 * elf/rtld.c (VALIDX): Likewise.
38971 (ADDRIDX): Likewise.
9bac1d86
L
38972 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
38973 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
38974 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
38975 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
38976 (VALIDX): Likewise.
38977 (ADDRIDX): Likewise.
9bac1d86 38978
b31606c0
PT
389792012-09-28 Pino Toscano <toscano.pino@tiscali.it>
38980
38981 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
38982
11541177
JL
389832012-09-28 Dmitry V. Levin <ldv@altlinux.org>
38984
38985 [BZ #11438]
38986 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
38987 to global scope.
38988 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
38989 addresses are in the same scope as 192.0.2/24.
38990 * posix/gai.conf: Document new scope table defaults.
38991
adb26fae
SP
389922012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38993
38994 [BZ #5298]
38995 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
38996 for ftell. Compute offsets from write pointers instead.
38997 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
38998
4573c6b0
SP
389992012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
39000
39001 [BZ #14543]
39002 * libio/Makefile (tests): New test case tst-fseek.
39003 * libio/tst-fseek.c: New test case to verify that fseek/ftell
39004 combination works in wide mode.
39005 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
39006 state when the external buffer state changes.
39007
aa9bbfe6
DM
390082012-09-27 David S. Miller <davem@davemloft.net>
39009
39010 [BZ #14376]
39011 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
39012 pass reloc->r_addend in as the 'high' argument to
39013 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
39014
784421e7
DM
39015 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39016
c39bc8b8
PT
390172012-09-28 Pino Toscano <toscano.pino@tiscali.it>
39018
39019 * rt/tst-aio2.c: Include <pthread.h>.
39020 * rt/tst-aio3.c: Likewise.
39021
1ccc2399
SE
390222012-09-27 Steve Ellcey <sellcey@mips.com>
39023
39024 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
39025
31ed4153
L
390262012-09-27 H.J. Lu <hongjiu.lu@intel.com>
39027
25f5f885
L
39028 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
39029 contents on [SHARED].
31ed4153 39030
b7bfe116
MP
390312012-09-26 Marek Polacek <polacek@redhat.com>
39032
39033 [BZ #14530]
39034 [BZ #13741]
39035 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
39036 for C++ and GCC <4.3 as well as for non GCC compilers.
39037
43c4edba
MT
390382012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
39039
39040 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39041
6a1bf82f
RM
390422012-09-25 Roland McGrath <roland@hack.frob.com>
39043
39044 * Makefile.in (all, install): Declare with .PHONY.
39045 Reported by Michael Hope <michael.hope@linaro.org>.
39046
8ad11b9a
TMQMF
390472012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39048
39049 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
39050 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
39051 system header.
39052 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
39053 Likewise.
39054 (sydep_routines): Add the new and the internal functions.
39055 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
39056 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
39057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
39058 (GLIBC_2.17): Add the new function.
39059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
39060 (GLIBC_2.17): Likewise.
39061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
39062 (GLIBC_2.17): Likewise.
39063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
39064 (GLIBC_2.17): Likewise.
39065 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
39066
7e2fca8d
AM
390672012-09-25 Alan Modra <amodra@gmail.com>
39068
39069 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
39070 Add release barrier before setting once_control to say
39071 initialisation is done. Add hints on lwarx. Use macro in
39072 place of isync.
39073 (clear_once_control): Add release barrier.
39074
b87c4b24
JM
390752012-09-25 Joseph Myers <joseph@codesourcery.com>
39076
d032e0d2
JM
39077 [BZ #13629]
39078 * math/s_clog.c (__clog): Handle more values close to |z| = 1
39079 specially.
39080 * math/s_clog10.c (__clog10): Likewise.
39081 * math/s_clog10f.c (__clog10f): Likewise.
39082 * math/s_clog10l.c (__clog10l): Likewise.
39083 * math/s_clogf.c (__clogf): Likewise.
39084 * math/s_clogl.c (__clogl): Likewise.
39085 * math/Makefile (libm-calls): Add x2y2m1.
39086 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
39087 (__x2y2m1): Likewise.
39088 (__x2y2m1l): Likewise.
39089 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
39090 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
39091 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
39092 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
39093 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
39094 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
39095 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
39096 * sysdeps/i386/fpu/libm-test-ulps: Update.
39097 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39098
b87c4b24
JM
39099 [BZ #14621]
39100 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
39101 int as type of variable DEPTH.
39102 (glob): Use size_t instead of int as type of variables NEWCOUNT
39103 and OLD_PATHC.
39104
6d3bf199
LD
391052012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39106
22bf5c17
LD
39107 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
39108 Add s_sincosf-sse2.
39109 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
39110 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
39111 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
39112 macros for using routine as __sincosf_ia32.
39113 Use macro for function declaration and weak_alias.
39114 * sysdeps/i386/fpu/libm-test-ulps: Update.
39115
39116 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
39117 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39118
39119 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
39120 subnormal argument.
39121 * math/s_cexpf.c (__cexpf): Likewise.
39122 * math/s_csinf.c (__csinf): Likewise.
39123 * math/s_csinhf.c (__csinhf): Likewise.
39124 * math/s_ctanf.c (__ctanf): Likewise.
39125 * math/s_ctanhf.c (__ctanhf): Likewise.
39126 * math/s_ccosh.c (__ccoshf): Likewise.
39127 * math/s_cexp.c (__cexpl): Likewise.
39128 * math/s_csin.c (__csin): Likewise.
39129 * math/s_csinh.c (__csinh): Likewise.
39130 * math/s_ctan.c (__ctan): Likewise.
39131 * math/s_ctanh.c (ctanh): Likewise.
39132 * math/s_ccoshl.c (__ccoshl): Likewise.
39133 * math/s_cexpl.c (__cexpl): Likewise.
39134 * math/s_csinl.c (__csinl): Likewise.
39135 * math/s_csinhl.c (__csinhl): Likewise.
39136 * math/s_ctanl.c (__ctanl): Likewise.
39137 * math/s_ctanhl.c (__ctanhl): Likewise.
39138
203e5603
JM
391392012-09-25 Joseph Myers <joseph@codesourcery.com>
39140
39141 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
39142 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
39143 (_IO_off_t): Define to __off_t, not _G_off_t.
39144 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
39145 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
39146 (_IO_wint_t): Define to wint_t, not _G_wint_t.
39147 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
39148 type of __dummy and __dummy2 fields.
39149 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
39150 (_G_ssize_t): Likewise.
39151 (_G_off_t): Likewise.
39152 (_G_pid_t): Likewise.
39153 (_G_uid_t): Likewise.
39154 (_G_wchar_t): Likewise.
39155 (_G_wint_t): Likewise.
39156 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
39157 (_G_ssize_t): Likewise.
39158 (_G_off_t): Likewise.
39159 (_G_pid_t): Likewise.
39160 (_G_uid_t): Likewise.
39161 (_G_wchar_t): Likewise.
39162 (_G_wint_t): Likewise.
39163 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
39164 (_G_ssize_t): Likewise.
39165 (_G_off_t): Likewise.
39166 (_G_pid_t): Likewise.
39167 (_G_uid_t): Likewise.
39168 (_G_wchar_t): Likewise.
39169 (_G_wint_t): Likewise.
39170
9fab36eb
SP
391712012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
39172
39173 * malloc/arena.c: Include malloc-sysdep.h.
39174 (shrink_heap): Use check_may_shrink_heap to decide if madvise
39175 is sufficient to shrink the heap or an unmap is needed.
39176 * sysdeps/generic/malloc-sysdep.h: New file. Define
39177 new function check_may_shrink_heap.
39178 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
39179 new function check_may_shrink_heap.
39180
2b4f00d1
SP
391812012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
39182
39183 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
39184 comments.
39185
9a9028b1
DL
391862012-09-24 Dmitry V. Levin <ldv@altlinux.org>
39187
57c69bef
DL
39188 * catgets/test-gencat.sh: Add "set -e".
39189 * elf/tst-pathopt.sh: Likewise.
39190 * grp/tst_fgetgrent.sh: Likewise.
39191 * iconvdata/run-iconv-test.sh: Likewise.
39192 * intl/tst-gettext.sh: Likewise.
39193 * intl/tst-gettext2.sh: Likewise.
39194 * intl/tst-gettext4.sh: Likewise.
39195 * intl/tst-gettext6.sh: Likewise.
39196 * intl/tst-translit.sh: Likewise.
39197 * io/ftwtest-sh: Likewise.
39198 * libio/test-freopen.sh: Likewise.
39199 * malloc/tst-mtrace.sh: Likewise.
39200 * posix/globtest.sh: Likewise.
39201 * posix/tst-getconf.sh: Likewise.
39202 * posix/wordexp-tst.sh: Likewise.
39203 * stdio-common/tst-printf.sh: Likewise.
39204 * stdio-common/tst-unbputc.sh: Likewise.
39205 * stdlib/tst-fmtmsg.sh: Likewise.
39206 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
39207 * catgets/Makefile: Do not specify -e option when running
39208 testsuite shell scripts.
39209 * elf/Makefile: Likewise.
39210 * grp/Makefile: Likewise.
39211 * iconvdata/Makefile: Likewise.
39212 * intl/Makefile: Likewise.
39213 * io/Makefile: Likewise.
39214 * libio/Makefile: Likewise.
39215 * malloc/Makefile: Likewise.
39216 * posix/Makefile: Likewise.
39217 * stdio-common/Makefile: Likewise.
39218 * stdlib/Makefile: Likewise.
39219 * sysdeps/x86_64/Makefile: Likewise.
39220
9a9028b1
DL
39221 * io/ftwtest-sh: Add copyright header.
39222 * posix/globtest.sh: Likewise.
39223 * posix/tst-getconf.sh: Likewise.
39224 * posix/wordexp-tst.sh: Likewise.
39225 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
39226
ced6f16e
L
392272012-09-24 H.J. Lu <hongjiu.lu@intel.com>
39228
94b32c39
L
39229 [BZ #13679]
39230 * Makeconfig (+link): Defined as $(+link-static) if
39231 $(build-shared) isn't yes.
39232 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
39233 isn't yes.
39234 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
39235
189e935b
L
39236 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
39237
ced6f16e
L
39238 [BZ #14562]
39239 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
39240 new chunk size with MALLOC_ALIGN_MASK.
39241
a9f8e53a
JM
392422012-09-24 Joseph Myers <joseph@codesourcery.com>
39243
39244 [BZ #5044]
39245 * stdio-common/printf_fphex.c: Include <stdbool.h> and
39246 <rounding-mode.h>.
39247 (__printf_fphex): Determine rounding using get_rounding_mode and
39248 round_away.
39249 * stdio-common/tst-printf-round.c (struct hex_test): New
39250 structure.
39251 (hex_tests): New variable.
39252 (test_hex_in_one_mode): New function.
39253 (do_test): Also run tests for hex float output.
39254
43153109
JM
392552012-09-21 Joseph Myers <joseph@codesourcery.com>
39256
39257 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
39258 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
39259 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
39260 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
39261 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
39262 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
39263 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
39264 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
39265
8a26625d
JM
392662012-09-20 Joseph Myers <joseph@codesourcery.com>
39267
39268 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
39269 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
39270 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
39271 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
39272
f3fd569c
DL
392732012-09-19 Dmitry V. Levin <ldv@altlinux.org>
39274
39275 [BZ #14579]
39276 * elf/rtld.c (dl_main): Limit the check for self loading to normal
39277 mode only.
39278 * elf/tst-rtld-load-self.sh: New test.
39279 * elf/Makefile: Run it.
39280
63bbedd4
JM
392812012-09-18 Joseph Myers <joseph@codesourcery.com>
39282
39283 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
39284 (tst-writev-ENV): Remove.
39285 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
39286
626f8b6a
CM
392872012-09-17 Chris Metcalf <cmetcalf@tilera.com>
39288
39289 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
39290
b7aaa4d6
JM
392912012-09-17 Joseph Myers <joseph@codesourcery.com>
39292
39293 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
39294 unconditional.
39295 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
39296 Likewise.
39297 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
39298 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
39299 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
39300 Likewise.
39301
65513990
L
393022012-09-14 H.J. Lu <hongjiu.lu@intel.com>
39303
39304 [BZ #14587]
39305 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
39306 * config.make.in (have-cpp-asm-debuginfo): Removed.
39307 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
39308 * configure: Regenerated.
39309
784761be
JM
393102012-09-14 Joseph Myers <joseph@codesourcery.com>
39311
39312 [BZ #5044]
39313 * stdio-common/printf_fp.c: Include <stdbool.h> and
39314 <rounding-mode.h>.
39315 (___printf_fp): Determine rounding using get_rounding_mode and
39316 round_away.
39317 * stdio-common/tst-printf-round.c: New file.
39318 * stdio-common/Makefile (tests): Add tst-printf-round.
39319 (link-libm): New variable.
39320 ($(objpfx)tst-printf-round): Depend in $(link-libm).
39321
9503345f
L
393222012-09-13 H.J. Lu <hongjiu.lu@intel.com>
39323
39324 [BZ #14576]
39325 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
39326 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
39327 Likewise.
39328 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
39329 Likewise.
39330
ad35fc00
JM
393312012-09-13 Joseph Myers <joseph@codesourcery.com>
39332
39333 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
39334 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
39335 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
39336 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
39337
6c9b0f68
JM
393382012-09-12 Joseph Myers <joseph@codesourcery.com>
39339
39340 [BZ #14518]
39341 * include/rounding-mode.h: New file.
39342 * sysdeps/generic/get-rounding-mode.h: Likewise.
39343 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
39344 * stdlib/strtod_l.c: Include <rounding-mode.h>.
39345 (MAX_VALUE): New macro.
39346 (MIN_VALUE): Likewise.
39347 (overflow_value): New function.
39348 (underflow_value): Likewise.
39349 (round_and_return): Use overflow_value and underflow_value to
39350 determine return values in overflow and underflow cases. Use
39351 round_away to determine rounding depending on rounding mode.
39352 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
39353 determine return values in overflow and underflow cases.
39354 * stdlib/tst-strtod-round.c: Include <fenv.h>.
39355 (struct test_results): New structure.
39356 (struct test): Use struct test_results to store expected results
39357 for all rounding modes.
39358 (TEST): Include expected results for all rounding modes.
39359 (test_in_one_mode): New function.
39360 (do_test): Use test_in_one_mode to compute and check results.
39361 Check results for all rounding modes.
39362 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
39363 $(link-libm).
39364
19fcedd5
AM
393652012-12-09 Allan McRae <allan@archlinux.org>
39366
1e9d84cd 39367 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 39368
8bbfd2f1
JM
393692012-09-11 Joseph Myers <joseph@codesourcery.com>
39370
39371 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
39372 (_G_int32_t): Likewise.
39373 (_G_uint16_t): Likewise.
39374 (_G_uint32_t): Likewise.
39375 (_G_HAVE_BOOL): Likewise.
39376 (_G_HAVE_ATEXIT): Likewise.
39377 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
39378 (_G_HAVE_IO_FILE_OPEN): Likewise.
39379 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
39380 (_G_int32_t): Likewise.
39381 (_G_uint16_t): Likewise.
39382 (_G_uint32_t): Likewise.
39383 (_G_HAVE_BOOL): Likewise.
39384 (_G_HAVE_ATEXIT): Likewise.
39385 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
39386 (_G_HAVE_IO_FILE_OPEN): Likewise.
39387 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
39388 (_G_int32_t): Likewise.
39389 (_G_uint16_t): Likewise.
39390 (_G_uint32_t): Likewise.
39391 (_G_HAVE_BOOL): Likewise.
39392 (_G_HAVE_ATEXIT): Likewise.
39393 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
39394 (_G_HAVE_IO_FILE_OPEN): Likewise.
39395
b1dc5912
L
393962012-09-11 H.J. Lu <hongjiu.lu@intel.com>
39397
39398 * csu/libc-tls.c: Update copyright years.
39399
0e886ef9
JM
394002012-09-10 Joseph Myers <joseph@codesourcery.com>
39401
28361c5e
JM
39402 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
39403 [!_G_USING_THUNKS]: Remove conditional code.
39404 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
39405 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
39406
0e886ef9
JM
39407 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
39408 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
39409 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
39410 (_G_VTABLE_LABEL_PREFIX): Likewise.
39411 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
39412 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
39413 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
39414 (_G_VTABLE_LABEL_PREFIX): Likewise.
39415 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
39416 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
39417 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
39418 (_G_VTABLE_LABEL_PREFIX): Likewise.
39419 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
39420
bcba7aa2
L
394212012-09-10 H.J. Lu <hongjiu.lu@intel.com>
39422
39423 * libio/Makefile: Include ../Makeconfig before tests.
39424 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
39425 only if $(build-shared) is yes.
39426
06585ee8
L
39427 * iconv/gconv_db.c: Update copyright years.
39428
80ccd52c
LD
394292012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39430
39431 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
39432 unwind info if defined PIC. Fix special cases description.
39433 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
39434
39435 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
39436 DP_HI_MASK entry.
39437 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
39438
691bc9c1
L
394392012-09-07 H.J. Lu <hongjiu.lu@intel.com>
39440
3d9b46b3
L
39441 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
39442
de2139a9
L
39443 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
39444 is NULL.
39445
5ca78dd0
L
39446 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
39447 (LDLIBS-tst-chk4): This.
39448 (LDFLAGS-tst-chk5): Renamed to ...
39449 (LDLIBS-tst-chk5): This.
39450 (LDFLAGS-tst-chk6): Renamed to ...
39451 (LDLIBS-tst-chk6): This.
39452 (LDFLAGS-tst-lfschk4): Renamed to ...
39453 (LDLIBS-tst-lfschk4): This.
39454 (LDFLAGS-tst-lfschk5): Renamed to ...
39455 (LDLIBS-tst-lfschk5): This.
39456 (LDFLAGS-tst-lfschk6): Renamed to ...
39457 (LDLIBS-tst-lfschk6): This.
39458
691bc9c1
L
39459 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
39460 on $(common-objpfx)soversions.mk.
39461
65cafb1c
JM
394622012-09-07 Joseph Myers <joseph@codesourcery.com>
39463
39464 [BZ #10014]
39465 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
39466 example host name.
39467
c78ab094
SP
394682012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
39469
39470 * malloc/arena.c (arena_get_retry): New function that gets
39471 another arena for the caller to try its request on.
39472 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
39473 current arena cannot fulfill the request.
39474 (__libc_memalign): Likewise.
39475 (__libc_memalign): Likewise.
39476 (__libc_pvalloc): Likewise.
39477 (__libc_calloc): Likewise.
39478
01f49f59
JT
394792012-09-05 John Tobey <john.tobey@gmail.com>
39480
39481 [BZ #13542]
39482 * manual/arith.texi (Operations on Complex): Fix description
39483 of carg branch cut.
39484
4c23fed5
JM
394852012-09-06 Joseph Myers <joseph@codesourcery.com>
39486
1d3c8572
JM
39487 [BZ #10014]
39488 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
39489 host name.
39490
4c23fed5
JM
39491 [BZ #10038]
39492 * manual/memory.texi (Memory): Make order of menu items match
39493 order of sections.
39494
04570aaa
L
394952012-09-06 H.J. Lu <hongjiu.lu@intel.com>
39496
39497 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
39498 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
39499 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
39500
b80af2f4
L
395012012-09-06 H.J. Lu <hongjiu.lu@intel.com>
39502
39503 * csu/libc-tls.c (static_dtv): Renamed to ...
39504 (_dl_static_dtv): This. Make it global.
39505 (_dl_initial_dtv): Removed.
39506 (__libc_setup_tls): Updated.
39507 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
39508 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
39509 DL_INITIAL_DTV.
39510
2abe9f15
PM
395112012-09-06 Petr Machata <pmachata@redhat.com>
39512
39513 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
39514 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
39515 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
39516 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
39517
0948c3af
L
395182012-09-06 H.J. Lu <hongjiu.lu@intel.com>
39519
39520 [BZ #14545]
39521 * csu/libc-tls.c (_dl_initial_dtv): New variable.
39522 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
39523 freeing dtv[-1].
39524
a5055ad1
L
395252012-09-06 H.J. Lu <hongjiu.lu@intel.com>
39526
39527 [BZ #14544]
39528 * Makeconfig (link-static-before-libc): Replace $(+prector)
39529 with $(+prectorT).
39530 (link-static-after-libc): Replace $(+postctor) with
39531 $(+postctorT).
39532 (link-bounded): Replace $(+prector)/$(+postctor) with
39533 $(+prectorT)/$(+postctorT).
39534 (+prectorT): New macro.
39535 (+postctorT): Likewise.
39536
ed8c2ecd
JM
395372012-09-06 Joseph Myers <joseph@codesourcery.com>
39538
39539 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
39540 (round_str): Handle values above the maximum for IBM long double
39541 as inexact.
39542 * stdlib/tst-strtod-round.c (tests): Regenerated.
39543
14c996c8
AK
395442012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39545
39546 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
39547 assembler flag.
39548 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
39549 zarch_nohighgprs around the zarch optimized routines.
39550 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
39551 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
39552 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
39553 for zarch.
39554
430d6ce6
DM
395552012-09-05 David S. Miller <davem@davemloft.net>
39556
39557 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39558
57f41c40
AS
39559 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
39560 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
39561 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
39562 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
39563 entries.
39564
24d4e01b
AO
395652012-09-05 Alexandre Oliva <aoliva@redhat.com>
39566
39567 * malloc/arena.c: Fold copyright years.
39568 * malloc/mcheck.c, malloc/memusage.c: Likewise.
39569
61d58174
AO
395702012-09-05 Alexandre Oliva <aoliva@redhat.com>
39571
39572 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
39573
20196a5e
AO
395742012-09-05 Alexandre Oliva <aoliva@redhat.com>
39575
39576 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
39577
5c447383
AO
395782012-09-05 Alexandre Oliva <aoliva@redhat.com>
39579
39580 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
39581 change internal state upon failure.
39582
fad64255
AO
395832012-09-05 Alexandre Oliva <aoliva@redhat.com>
39584
39585 * malloc/mcheck.c (mcheck_check_all): Fix typo.
39586 * malloc/memusage.c (mmap): Likewise.
39587 (mmap64, mremap): Likewise. Adjust name in comment.
39588
1ffb8c90
SP
395892012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
39590
39591 * libio/fileops.c: Fix typos in comments.
39592 * libio/oldfileops.c: Likewise.
39593 * libio/wfileops.c: Likewise.
39594
6ef9cc37
SP
395952012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
39596
39597 [BZ #1349]
39598 * malloc/Makefile (tests): Add tst-malloc-usable test case.
39599 (tst-malloc-usable-ENV): Set environment for test case.
39600 * malloc/hooks.c (malloc_check_get_size): New function to get
39601 requested size.
39602 * malloc/malloc.c (musable): Use malloc_check_get_size.
39603 * malloc/tst-malloc-usable.c: New test case.
39604
4d038ae3
AS
396052012-09-05 Andreas Schwab <schwab@linux-m68k.org>
39606
39607 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
39608
c4e85184
AM
396092012-09-05 Allan McRae <allan@archlinux.org>
39610
b9dafc56 39611 [BZ #13966]
c4e85184
AM
39612 * configure.in (CXX_SYSINCLUDES): Use compiler output to
39613 determine header location.
39614 * configure: Regenerated.
39615
e1343020
AS
396162012-09-05 Andreas Schwab <schwab@linux-m68k.org>
39617
39618 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
39619 float format.
39620 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
39621 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
39622 format.
e1343020
AS
39623 (test): Regenerate.
39624
0a9f1987
DM
396252012-09-04 David S. Miller <davem@davemloft.net>
39626
39627 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
39628 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
39629 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
39630
29237804
FW
396312012-09-04 Florian Weimer <fweimer@redhat.com>
39632
39633 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
39634 failures.
39635
edb3cb88
FW
39636 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
39637
60160d83
JM
396382012-09-04 Joseph Myers <joseph@codesourcery.com>
39639
39640 [BZ #9914]
39641 * libio/iogetdelim.c: Include <limits.h>.
39642 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
39643 + len + 1 would overflow.
39644
bcd6c8dc
AJ
396452012-09-03 Andreas Jaeger <aj@suse.de>
39646
39647 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39648 * sysdeps/i386/fpu/libm-test-ulps: Update.
39649
4ffffbd2
LD
396502012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39651
39652 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
39653 Add s_sinf-sse2, s_conf-sse2.
39654
39655 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
39656 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
39657 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
39658 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
39659
39660 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
39661 for using routine as __sinf_ia32.
39662 Use macro for function declaration and weak_alias.
39663 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
39664 for using routine as __cosf_ia32.
39665 Use macro for function declaration and weak_alias.
39666
39667 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
39668 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
39669
39670 * sysdeps/x86_64/fpu/s_sinf.S: New file.
39671 * sysdeps/x86_64/fpu/s_cosf.S: New file.
39672 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39673
39674 * math/libm-test.inc (cos_test): Add more test cases.
39675 (sin_test): Likewise.
39676 (sincos_test): Likewise.
39677
511fa286
AK
396782012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39679
39680 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
39681 (IFUNC_RESOLVE): Make pointers to the specialized implementations
39682 hidden.
39683 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
39684
5f30cfec
L
396852012-09-02 H.J. Lu <hongjiu.lu@intel.com>
39686
39687 [BZ #14538]
39688 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
39689 first element of the GOT.
39690 (elf_machine_load_address): Return the difference between
39691 the runtime address of _DYNAMIC and elf_machine_dynamic ().
39692
0786794f
AM
396932012-09-01 Allan McRae <allan@archlinux.org>
39694
5f30cfec
L
39695 [BZ #13412]
39696 * configure.in (AWK): Require gawk version 3.0 or later.
39697 * configure: Regenerated.
0786794f 39698
26889eac
JM
396992012-09-01 Joseph Myers <joseph@codesourcery.com>
39700
39701 * sysdeps/unix/sysv/linux/kernel-features.h
39702 (__ASSUME_POSIX_CPU_TIMERS): Remove.
39703 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
39704 [__NR_clock_getres]: Make code unconditional.
39705 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
39706 (clock_getcpuclockid): Remove code left unreachable by removal of
39707 conditionals.
39708 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
39709 code unconditional.
39710 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
39711 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
39712 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
39713 Make code unconditional.
39714 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
39715 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
39716 * sysdeps/unix/sysv/linux/clock_settime.c
39717 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
39718 conditional code.
39719 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
39720 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
39721
d22e28b0
L
397222012-08-29 H.J. Lu <hongjiu.lu@intel.com>
39723
39724 [BZ #14476]
39725 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
39726 scripts/test-installation.pl.
39727
39728 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
39729 and $ld_so_version if it is set.
39730
050af9c4
SP
397312012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
39732
39733 [BZ #14516]
39734 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
39735 failure if reading from procfs failed.
39736 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
39737
ad845c0b
JM
397382012-08-27 Joseph Myers <joseph@codesourcery.com>
39739
39740 * sysdeps/unix/sysv/linux/kernel-features.h
39741 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
39742 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
39743 Remove conditional code.
39744 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39745 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
39746 Remove conditional code.
39747 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39748 * sysdeps/unix/sysv/linux/i386/fxstat.c
39749 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
39750 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39751 * sysdeps/unix/sysv/linux/i386/fxstatat.c
39752 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
39753 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39754 * sysdeps/unix/sysv/linux/i386/lxstat.c
39755 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
39756 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39757 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
39758 Remove conditional code.
39759 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39760 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
39761 Remove conditional code.
39762 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39763 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
39764 <kernel-features.h>.
39765 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
39766 Remove.
39767 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
39768 Remove conditional code.
39769 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39770 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
39771 Remove conditional.
39772
5dbf56af
MF
397732012-08-27 Mike Frysinger <vapier@gentoo.org>
39774
39775 [BZ #5400]
39776 * NEWS: Add fixed bug number.
39777
d6e70f43
JM
397782012-08-27 Joseph Myers <joseph@codesourcery.com>
39779
7efb4737
JM
39780 [BZ #14519]
39781 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
39782 underflowing exponent in case of negative sign.
39783 * stdlib/tst-strtod-round-data: Add more tests.
39784 * stdlib/tst-strtod-round.c (tests): Regenerated.
39785
af92131a
JM
39786 [BZ #3479]
39787 * stdlib/strtod_l.c (NDIG): Remove.
39788 (HEXNDIG): Likewise.
39789 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
39790 smallest representable value.
39791 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
39792 lie within an exact representation of 1/2 ulp of the result.
39793 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
39794 unconditionally.
39795 (TENS_P9_IDX): Define unconditionally.
39796 (TENS_P9_SIZE): Likewise.
39797 (TENS_P10_IDX): Likewise.
39798 (TENS_P10_SIZE): Likewise.
39799 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
39800 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
39801 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
39802 entries for 10^2^13 and 10^2^14.
39803 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
39804 (TENS_P13_IDX): Define.
39805 (TENS_P13_SIZE): Likewise.
39806 (TENS_P14_IDX): Likewise.
39807 (TENS_P14_SIZE): Likewise.
39808 (_fpioconst_pow10): Change array size to
39809 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
39810 unconditional.
39811 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
39812 1024]: Add entries for 10^2^13 and 10^2^14.
39813 [LAST_POW10 > _LAST_POW10]: Remove #error.
39814 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
39815 (_fpioconst_pow10): Change array size to
39816 FPIOCONST_POW10_ARRAY_SIZE.
39817 * stdlib/gen-fpioconst.c: New file.
39818 * stdlib/gen-tst-strtod-round.c: Likewise.
39819 * stdlib/tst-strtod-round-data: Likewise.
39820 * stdlib/tst-strtod-round.c: Likewise.
39821 * stdlib/Makefile (tests): Add tst-strtod-round.
39822
d6e70f43
JM
39823 [BZ #14459]
39824 * stdlib/strtod_l.c: Include <stdint.h>.
39825 (NDEBUG): Do not define.
39826 (round_and_return): Change EXPONENT parameter to type intmax_t.
39827 Rearrange calculations to avoid internal overflow possibilities.
39828 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
39829 Rearrange calculations to avoid internal overflow possibilities.
39830 Assert that number fits inside MPNSIZE limbs.
39831 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
39832 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
39833 calculations and add assertions to avoid internal overflow
39834 possibilities. Add casts to avoid signed/unsigned operations.
39835 * stdlib/tst-strtod-overflow.c: New file.
39836 * stdlib/Makefile (tests): Add tst-strtod-overflow.
39837
1f529f7d
MP
398382012-08-25 Marek Polacek <polacek@redhat.com>
39839
39840 * time/time.h: Fix some typos in comments.
39841
59a629f1
RM
398422012-08-23 Roland McGrath <roland@hack.frob.com>
39843
39844 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
39845 * posix/tst-rfc3484-2.c: Likewise.
39846 * posix/tst-rfc3484-3.c: Likewise.
39847
d3bafbc9
SM
398482012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
39849
39850 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
39851 (EF_ARM_ABI_FLOAT_HARD): Likewise.
39852
4efcc022
JM
398532012-08-23 Joseph Myers <joseph@codesourcery.com>
39854
39855 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
39856 #include of fxstatat64.c.
39857
3cc3ef96
RM
398582012-08-22 Roland McGrath <roland@hack.frob.com>
39859
f04e2132
RM
39860 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
39861 * shadow/getspent_r.c: Likewise.
39862 * shadow/getspnam.c: Likewise.
39863 * shadow/getspnam_r.c: Likewise.
39864 * gshadow/getsgent.c: Likewise.
39865 * gshadow/getsgent_r.c: Likewise.
39866 * gshadow/getsgnam.c: Likewise.
39867 * gshadow/getsgnam_r.c: Likewise.
39868 * inet/getnetbyad.c: Likewise.
39869 * inet/getnetbyad_r.c: Likewise.
39870 * inet/getnetbynm.c: Likewise.
39871 * inet/getnetbynm_r.c: Likewise.
39872 * inet/getnetent.c: Likewise.
39873 * inet/getnetent_r.c: Likewise.
39874 * inet/getproto.c: Likewise.
39875 * inet/getproto_r.c: Likewise.
39876 * inet/getprtent.c: Likewise.
39877 * inet/getprtent_r.c: Likewise.
39878 * inet/getprtname.c: Likewise.
39879 * inet/getprtname_r.c: Likewise.
39880 * inet/getrpcbyname.c: Likewise.
39881 * inet/getrpcbyname_r.c: Likewise.
39882 * inet/getrpcbynumber.c: Likewise.
39883 * inet/getrpcbynumber_r.c: Likewise.
39884 * inet/getrpcent.c: Likewise.
39885 * inet/getrpcent_r.c: Likewise.
39886 * inet/getaliasent.c: Likewise.
39887 * inet/getaliasent_r.c: Likewise.
39888 * inet/getaliasname.c: Likewise.
39889 * inet/getaliasname_r.c: Likewise.
39890 * nscd/getgrgid_r.c: Likewise.
39891 * nscd/getgrnam_r.c: Likewise.
39892 * nscd/gethstbyad_r.c: Likewise.
39893 * nscd/gethstbynm3_r.c: Likewise.
39894 * nscd/getpwnam_r.c: Likewise.
39895 * nscd/getpwuid_r.c: Likewise.
39896 * nscd/getsrvbynm_r.c: Likewise.
39897 * nscd/getsrvbypt_r.c: Likewise.
39898 * nscd/gai.c: Likewise.
39899
c53d909c
RM
39900 * configure.in (build_nscd): New substituted variable, set
39901 by --disable-build-nscd and defaults to $use_nscd.
39902 * configure: Regenerated.
39903 * config.make.in (build-nscd): New substituted variable.
39904 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
39905 Change conditional to require [$(build-nscd) = yes] as well.
39906 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
39907
3cc3ef96
RM
39908 [BZ# 13696]
39909 * configure.in (use_nscd): New substituted variable, set by
39910 --disable-nscd. If enabled, define USE_NSCD.
39911 * configure: Regenerated.
39912 * config.h.in: Add USE_NSCD.
39913 * config.make.in (use-nscd): New substituted variable.
39914 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
39915 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
39916 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
39917 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
39918 (CFLAGS-getgrnam_r.c): Likewise.
39919 (CFLAGS-initgroups.c): Likewise.
39920 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
39921 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
39922 Variables removed.
39923 * inet/getnetgrent_r.c
39924 (nscd_setnetgrent): New function, broken out of ...
39925 (setnetgrent): ... here. Call it.
39926 (innetgr): Conditionalize nscd bits on [USE_NSCD].
39927 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
39928 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
39929 * nscd/Makefile (routines, aux): Move definitions after include of
39930 Makeconfig. Conditionalize on [$(use-nscd) != no].
39931 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
39932 Conditionalize on [USE_NSCD].
39933 (is_nscd, nscd_init_cb): Likewise.
39934 (nss_load_library): Conditionalize init callback on [USE_NSCD].
39935 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
39936 * nss/nss_db/db-init.c: Likewise.
39937 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
39938 [USE_NSCD].
39939 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
39940 (make_request): Use it.
39941 (cache_valid_p): New function.
39942 (__check_pf): Use it.
39943 * NEWS: Add item for --disable-nscd.
39944
07e51550
DL
399452012-08-22 Dmitry V. Levin <ldv@altlinux.org>
39946
39947 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
39948 to support sed >= 4.2.1-20-ga9bf076.
39949 * configure: Regenerated.
39950
35a5b08b
RM
399512012-08-22 Roland McGrath <roland@hack.frob.com>
39952
39953 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
39954 Conditionalize whole body on [IREL].
39955
8479f23a
JL
399562012-08-22 Jeff Law <law@redhat.com>
39957
39958 [BZ #14505]
39959 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
39960 if the family is PF_UNSPEC.
39961
48da0b21
MF
399622012-08-22 Mike Frysinger <vapier@gentoo.org>
39963
39964 * Makerules (lib-version): Rename from V.
39965 (install-lib-nosubdir): Change V to lib-version.
39966
15d0da8c
WS
399672012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
39968
39969 [BZ #14252]
39970 * powerpc32/power6/wcschr.c: New file.
39971 * powerpc32/power6/wcscpy.c: New file.
39972 * powerpc32/power6/wcsrchr.c: New file.
39973 * powerpc64/power6/wcschr.c: New file.
39974 * powerpc64/power6/wcscpy.c: New file.
39975 * powerpc64/power6/wcsrchr.c: New file.
39976
bcca0895
MK
399772012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
39978
39979 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
39980 (two_way_short_needle): Use it.
5a4aaa33
RM
39981 * string/strstr.c (AVAILABLE1_USES_J): Define.
39982 * string/strcasestr.c: Likewise.
99677e57
MK
39983
39984 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
39985 array references.
39986 * string/strcasestr.c (TOLOWER): Make side-effect safe.
39987
400726de
MK
39988 [BZ #11607]
39989 * NEWS: Add an entry.
39990 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
39991 define their defaults.
39992 (two_way_short_needle): Detect end-of-string on-the-fly.
39993 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
39994 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
39995 * string/bug-strcasestr1.c: New test.
39996 * string/Makefile: Run it.
39997
20a71f2c
MK
399982012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
39999
40000 [BZ #11607]
40001 * string/str-two-way.h (two_way_short_needle): Optimize matching of
40002 the first character.
40003
21ad0558
RM
400042012-08-21 Roland McGrath <roland@hack.frob.com>
40005
40006 * csu/elf-init.c (__libc_csu_irel): Function removed.
40007 * csu/libc-start.c (apply_irel): New function.
40008 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
40009
0e1d9911
JM
400102012-08-21 Joseph Myers <joseph@codesourcery.com>
40011
40012 * sysdeps/unix/sysv/linux/kernel-features.h
40013 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
40014 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
40015 <kernel-features.h>.
40016 [__NR_fadvise64_64]: Make code unconditional.
40017 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
40018 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
40019 !__NR_fadvise64_64)]: Likewise.
40020 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
40021 !__NR_fadvise64_64))]: Likewise.
40022 [__NR_fadvise64]: Make code unconditional.
40023 [!__NR_fadvise64]: Remove conditional code.
40024 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
40025 <kernel-features.h>.
40026 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
40027 unconditional.
40028 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
40029 conditional code.
40030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
40031 not include <kernel-features.h>.
40032 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
40033 unconditional.
40034 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
40035 conditional code.
40036 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
40037 include <kernel-features.h>.
40038 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
40039 unconditional.
40040 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
40041 conditional code.
40042
14a50c9d
WS
400432012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
40044
40045 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
40046 slight instruction rearrangements per scrollpipe analysis.
40047 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
40048
c0f4faf0
RM
400492012-08-20 Roland McGrath <roland@hack.frob.com>
40050
696da859
RM
40051 * manual/syslog.texi (syslog; vsyslog, closelog):
40052 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
40053 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
40054
c0f4faf0
RM
40055 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
40056 DSOCAPS to match condition on defining it.
40057
348363b2
JM
400582012-08-20 Joseph Myers <joseph@codesourcery.com>
40059
a35cbf28
JM
40060 * sysdeps/unix/sysv/linux/kernel-features.h
40061 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
40062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
40063 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
40064 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
40065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
40066 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
40067 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
40068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
40069 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
40070 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
40071
445f7ecd
JM
40072 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
40073 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
40074
348363b2
JM
40075 * sysdeps/unix/sysv/linux/kernel-features.h
40076 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
40077 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
40078 unconditional.
40079 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
40080 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
40081 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
40082 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
40083 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
40084 Make code unconditional.
40085 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
40086 (__mmap64) [!__NR_mmap2]: Likewise.
40087 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
40088 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
40089 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
40090 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
40091 [__NR_mmap2]: Make code unconditional.
40092 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
40093 (__mmap64) [!__NR_mmap2]: Likewise.
40094
bc5bc0e5
AK
400952012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40096
40097 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
40098
88d506de
AJ
400992012-08-18 Andreas Jaeger <aj@suse.de>
40100
40101 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
40102
493387d2
MF
401032012-08-18 Mike Frysinger <vapier@gentoo.org>
40104
40105 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
40106 * include/unistd.h (__have_sock_cloexec): Likewise.
40107 (__have_pipe2): Likewise.
40108 (__have_dup3): Likewise.
40109
a277af22
MF
401102012-08-18 Mike Frysinger <vapier@gentoo.org>
40111
40112 [BZ #9685]
40113 * include/unistd.h (__have_pipe2): Change define into an extern int.
40114 (__have_dup3): Likewise.
40115 * socket/have_sock_cloexec.c: Include fcntl.h.
40116 (__have_pipe2): New variable.
40117 (__have_dup3): Likewise.
40118
fdab8fd3
MF
401192012-08-17 Mike Frysinger <vapier@gentoo.org>
40120
40121 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
40122
31035e80
MP
401232012-08-17 Marek Polacek <polacek@redhat.com>
40124
40125 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
40126 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
40127
3bd9e993
RM
401282012-08-17 Roland McGrath <roland@hack.frob.com>
40129
c91c505f
RM
40130 * configure.in: Add AC_SUBST for sysheaders.
40131 * configure: Regenerated.
40132 * config.make.in (sysheaders): New substituted variable.
40133
7c6f9d53
RM
40134 * sysdeps/unix/mkfifo.c: Moved ...
40135 * sysdeps/posix/mkfifo.c: ... here.
40136 * sysdeps/unix/mkfifoat.c: Moved ...
40137 * sysdeps/posix/mkfifoat.c: ... here.
40138
40139 * sysdeps/unix/utime.c: Moved ...
40140 * sysdeps/posix/utime.c: ... here.
40141
40142 * sysdeps/unix/time.c: Moved ...
40143 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
40144 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
40145 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
40146
40147 * sysdeps/unix/nice.c: Moved ...
40148 * sysdeps/posix/nice.c: ... here.
40149
40150 * sysdeps/unix/alarm.c: Moved ...
40151 * sysdeps/posix/alarm.c: ... here.
40152
3bd9e993
RM
40153 * intl/Makefile ($(codeset_mo)): Depend on the input file.
40154
d1f09384
JL
401552012-08-17 Jeff Law <law@redhat.com>
40156
40157 * intl/Makefile (codeset_mo): New variable.
40158 ($(codeset_mo)): New target.
40159 (tst-codeset.out): Depend on that. Remove explicit rule.
40160 (tst-gettext3.out, tst-gettext5.out): Likewise.
40161 (LOCPATH-ENV, tst-codeset-ENV): New variables.
40162 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
40163 * intl/tst-codeset.sh: Remove.
40164 * intl/tst-gettext3.sh: Likewise.
40165 * intl/tst-gettext5.sh: Likewise.
40166
2ae1ae5c
RM
401672012-08-17 Roland McGrath <roland@hack.frob.com>
40168
c31fdb83
RM
40169 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
40170 * sysdeps/unix/syscalls.list: ... here.
40171
a0844057
RM
40172 * sysdeps/posix/getaddrinfo.c
40173 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
40174 (gaiconf_init, gaiconf_reload): Use them.
40175 [!_STATBUF_ST_NSEC]
40176 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
40177 Define using time_t rather than struct timespec.
40178
750c1f2a
RM
40179 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
40180 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
40181 Macros removed.
40182 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
40183 [!NO_THREADS].
40184 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
40185 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
40186 Likewise.
40187
2ae1ae5c
RM
40188 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
40189 __libc_cleanup_push argument.
40190
e66a42f5
RM
40191 * bits/param.h: New file.
40192 * misc/sys/param.h: New file.
40193 * include/sys/param.h: New file.
40194 * misc/Makefile (headers): Add bits/param.h.
40195 * sysdeps/generic/sys/param.h: File removed.
40196 * sysdeps/unix/sysv/linux/bits/param.h: New file.
40197 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
40198 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 40199 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 40200
b7c08a66
RM
40201 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
40202 last change.
40203
b2e1c562
RM
40204 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
40205 [_IO_MTSAFE_IO].
40206 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
40207 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
40208 New macros.
40209
c75ccd4c
RM
40210 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
40211 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
40212 rather than -D_IO_MTSAFE_IO conditionally.
40213 * stdio-common/Makefile (CPPFLAGS): Likewise.
40214 * wcsmbs/Makefile (CPPFLAGS): Likewise.
40215 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
40216 Use $(libio-mtsafe).
40217 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
40218 of -D_IO_MTSAFE_IO.
40219 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
40220 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
40221 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
40222 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
40223 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
40224 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
40225 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
40226 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
40227 (CFLAGS-fread_u_chk.c): Likewise.
40228 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
40229 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
40230 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
40231 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
40232 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
40233 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
40234 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
40235 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
40236 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
40237
40238 * libio/Makefile: Test [$(libc-reentrant) = yes]
40239 instead of [$(filter %REENTRANT, $(defines)) nonempty].
40240
40241 * Makeconfig
40242 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
40243 * sysdeps/pthread/configure: File removed.
40244 * sysdeps/pthread/Makeconfig: New file.
40245 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
40246 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
40247
d9195db8
GB
402482012-08-16 Gary Benson <gbenson@redhat.com>
40249
40250 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
40251 unmapping the first object in a namespace.
40252
86466cd9
RM
402532012-08-16 Roland McGrath <roland@hack.frob.com>
40254
40255 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
40256 (__internal_setnetgrent): ... this. Add internal_function to
40257 definition. Add libc_hidden_def.
40258 (setnetgrent): Update caller.
40259 (internal_endnetgrent): Renamed to ...
40260 (__internal_endnetgrent): ... this. Add internal_function to
40261 definition. Add libc_hidden_def.
40262 (endnetgrent): Update caller.
40263 (internal_getnetgrent_r): Renamed to ...
40264 (__internal_getnetgrent_r): ... this. Add internal_function to
40265 definition. Add libc_hidden_def.
40266 (__getnetgrent_r): Update caller.
40267 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
40268
c3c8283c
JM
402692012-08-16 Joseph Myers <joseph@codesourcery.com>
40270
40271 * stdlib/longlong.h: Update from GCC.
40272
db1ee0a8
RM
402732012-08-16 Roland McGrath <roland@hack.frob.com>
40274
40275 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
40276 on _QL, which is set by umul_ppmm but never used.
40277 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
40278 variables, which are set by GMP macros but never used.
40279 * stdio-common/_itowa.c (_itowa): Likewise.
40280 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
40281 * stdlib/mod_1.c (mpn_mod_1): Likewise.
40282
30f69637
CD
402832012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
40284
40285 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
40286 struct La_sh_regs is not constant.
40287 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
40288 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
40289 and struct La_sparc64_regs are not constant.
40290
93a78ac4
JM
402912012-08-16 Joseph Myers <joseph@codesourcery.com>
40292
40293 * sysdeps/unix/sysv/linux/kernel-features.h
40294 (__ASSUME_POSIX_TIMERS): Remove.
40295 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
40296 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
40297 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
40298 Make code unconditional.
40299 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
40300 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
40301 Make code unconditional.
40302 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
40303 * sysdeps/unix/sysv/linux/clock_nanosleep.c
40304 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
40305 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
40306 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
40307 Make code unconditional.
40308 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
40309 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
40310 (__libc_missing_posix_timers): Remove.
40311
dd924cd7
RM
403122012-08-15 Roland McGrath <roland@hack.frob.com>
40313
4b4f2771
RM
40314 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
40315 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
40316
601c888b
RM
40317 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
40318
176790a7
RM
40319 * elf/dl-sym.c: Include <stdlib.h>.
40320
329bc018
RM
40321 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
40322 constants, which avoids warnings in 32-bit builds.
40323
e04e272d
RM
40324 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
40325 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
40326
952bf94a
RM
40327 * misc/lseek.c: File moved to ...
40328 * io/lseek.c: ... here.
40329
7c99b50a
RM
40330 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
40331
dd924cd7
RM
40332 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
40333 shifting LEN more than 31 bits at once.
40334
b3f479a8
LD
403352012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40336
40337 [BZ #14195]
8c4ae0d4
RM
40338 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
40339 segmentation fault for a case of two empty input strings.
b3f479a8
LD
40340 * string/test-strncasecmp.c (check1): Renamed to...
40341 (bz12205): ...this.
40342 (bz14195): Add new testcase for two empty input strings and N > 0.
40343 (test_main): Call new testcase, adapt for renamed function.
40344
9c55864e
AJ
403452012-08-15 Andreas Jaeger <aj@suse.de>
40346
40347 [BZ #14090]
40348 * crypt/md5test2.c: New test, based on test supplied by Serge
40349 Belyshev <belyshev@depni.sinp.msu.ru>.
40350 * crypt/Makefile (xtests): Add md5test-giant..
40351 * crypt/Makefile ($(objpfx)md5test-giant): Add.
40352
02dcb6c5
PE
403532012-08-15 Paul Eggert <eggert@cs.ucla.edu>
40354
40355 [BZ #14090]
40356 * crypt/md5.c (md5_process_block): Don't assume the buffer
40357 length is less than 2**32.
40358 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
40359 length is less than 2**64.
40360
a3f95dcc
RM
403612012-08-15 Roland McGrath <roland@hack.frob.com>
40362
be75d758
RM
40363 * string/str-two-way.h: Include <sys/param.h>.
40364 (MAX): Macro removed.
40365
7312ca90
RM
40366 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
40367 Move #define and #undef of memmove to just before and after
40368 including <string.h>.
40369
9a0a5486
RM
40370 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
40371 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
40372 and after including <string.h>. Move declarations of
40373 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
40374 to before #include "string/memmove.c".
40375
67cc348d
RM
40376 * include/dirent.h: Declare __getdirentries.
40377
a3f95dcc
RM
40378 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
40379 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
40380
ca98e171
MF
403812012-08-14 Mike Frysinger <vapier@gentoo.org>
40382
40383 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
40384 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
40385 * sysdeps/i386/configure: Regenerated.
40386 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
40387 STABS_CURRENT_FILE, and STABS_FUN.
40388 (END): Remove call to STABS_FUN_END.
40389 (STABS_CURRENT_FILE1): Delete.
40390 (STABS_CURRENT_FILE): Likewise.
40391 (STABS_FUN): Likewise.
40392 (STABS_FUN_END): Likewise.
40393 (STABS_FUN2): Likewise.
40394 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
40395 * sysdeps/x86_64/configure: Regenerated.
40396
5908bf46
RM
403972012-08-14 Roland McGrath <roland@hack.frob.com>
40398
40399 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 40400 * elf/dl-lookup.c: Likewise.
5908bf46 40401
f2c05b9e
JM
404022012-08-14 Joseph Myers <joseph@codesourcery.com>
40403
40404 * sysdeps/unix/sysv/linux/kernel-features.h
40405 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
40406 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
40407 unconditionally.
40408 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
40409 unconditionally.
40410 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
40411 condition on __ASSUME_CLONE_THREAD_FLAGS.
40412
e11f5155
AJ
404132012-08-14 Andreas Jaeger <aj@suse.de>
40414
40415 * sysdeps/i386/fpu/libm-test-ulps: Update.
40416
51a9ba86
MK
404172012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
40418
2fdd4f78
AJ
40419 * include/atomic.h (atomic_exchange_and_add): Split into ...
40420 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
40421 New atomic macros.
51a9ba86 40422
ba6cba9e
MT
404232012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
40424
40425 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40426
42443a47
JL
404272012-08-13 Jeff Law <law@redhat.com>
40428
40429 * manual/stdio.texi (snprintf): Clarify handling of the trailing
40430 null byte in the output string.
40431
121dce05
JM
404322012-08-10 Joseph Myers <joseph@codesourcery.com>
40433
40434 * sysdeps/unix/sysv/linux/kernel-features.h
40435 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
40436 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
40437 (__ASSUME_ARG_MAX_STACK_BASED): Define.
40438 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
40439 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
40440 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
40441 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
40442
bf51f568
JL
404432012-08-09 Jeff Law <law@redhat.com>
40444
40445 [BZ #13939]
40446 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
40447 When avoid_arena is set, don't retry in the that arena. Pick the
40448 next one, whatever it might be.
40449 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
40450 (arena_lock): Pass in new parameter to arena_get2.
40451 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
40452 arena_get2.
40453 (__libc_malloc): Unify retrying after main arena failure with
40454 __libc_memalign version.
40455 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
40456
f85fa270
L
404572012-08-09 H.J. Lu <hongjiu.lu@intel.com>
40458
40459 [BZ #14166]
40460 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
40461 to __redirect_strstr.
40462 (__strstr_sse42): Use typeof __redirect_strstr.
40463 (__strstr_ia32): Likewise.
40464 (__libc_strstr): New prototype.
40465 (strstr): Renamed to ...
40466 (__libc_strstr): This.
40467 (strstr): New strong alias of __libc_strstr.
40468 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
40469 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
40470 __redirect_time.
40471 Include <time.h>.
40472 (__libc_time): New prototype.
40473 (time_ifunc): Replace time with __libc_time.
40474 (time): New strong alias and hidden definition of __libc_time.
40475 (__GI_time): Remove strong alias.
40476 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
40477 Include <stddef.h>.
40478 (memmove): Redefined to __redirect_memmove.
40479 (__memmove_sse2): Use typeof __redirect_memmove.
40480 (__memmove_ssse3): Likewise.
40481 (__memmove_ssse3_back): Likewise.
40482 (__libc_memmove): New prototype.
40483 (memmove): Renamed to ...
40484 (__libc_memmove): This.
40485 (memmove): New strong alias of __libc_memmove.
40486
33b4a91e
MS
404872012-08-08 Mark Salter <msalter@redhat.com>
40488
40489 * elf/elf.h
40490 (R_MN10300_TLS_GD): Define.
40491 (R_MN10300_TLS_LD): Likewise.
40492 (R_MN10300_TLS_LDO): Likewise.
40493 (R_MN10300_TLS_GOTIE): Likewise.
40494 (R_MN10300_TLS_IE): Likewise.
40495 (R_MN10300_TLS_LE): Likewise.
40496 (R_MN10300_TLS_DTPMOD): Likewise.
40497 (R_MN10300_TLS_DTPOFF): Likewise.
40498 (R_MN10300_TLS_TPOFF): Likewise.
40499 (R_MN10300_SYM_DIFF): Likewise.
40500 (R_MN10300_ALIGN): Likewise.
40501 (R_MN10300_NUM): Update.
40502
b36137f1
JM
405032012-08-08 Joseph Myers <joseph@codesourcery.com>
40504
40505 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
40506 Remove.
40507
cdd915fd
RM
405082012-08-08 Roland McGrath <roland@hack.frob.com>
40509
a2433aac
RM
40510 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
40511
cdd915fd
RM
40512 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
40513 sysdeps/unix -> sysdeps/posix move.
40514 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
40515
bf9b740a
AM
405162012-08-07 Allan McRae <allan@archlinux.org>
40517
40518 [BZ #14303]
40519 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
40520 (SUNOS_CPP): Likewise.
40521 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
40522 not found.
40523 (open_input): Call CPP using execvp.
40524
93df14ee
JM
405252012-08-07 Joseph Myers <joseph@codesourcery.com>
40526
40527 * sysdeps/unix/sysv/linux/kernel-features.h
40528 (__ASSUME_PROT_GROWSUPDOWN): Remove.
40529 (__ASSUME_NO_CLONE_DETACHED): Likewise.
40530 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
40531 (__ASSUME_WAITID_SYSCALL): Likewise.
40532 * sysdeps/unix/sysv/linux/dl-execstack.c
40533 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
40534 code unconditional.
40535 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
40536 conditional code.
40537 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
40538 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
40539 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
40540 code.
40541 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
40542 unconditional.
40543 [__ASSUME_WAITID_SYSCALL]: Likewise.
40544 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
40545
d34689de
RM
405462012-08-07 Roland McGrath <roland@hack.frob.com>
40547
a281decc
RM
40548 * sysdeps/unix/closedir.c: Renamed to ...
40549 * sysdeps/posix/closedir.c: ... here.
40550 * sysdeps/unix/dirfd.c: Renamed to ...
40551 * sysdeps/posix/dirfd.c: ... here.
40552 * sysdeps/unix/dirstream.h: Renamed to ...
40553 * sysdeps/posix/dirstream.h: ... here.
40554 * sysdeps/unix/fdopendir.c: Renamed to ...
40555 * sysdeps/posix/fdopendir.c: ... here.
40556 * sysdeps/unix/opendir.c: Renamed to ...
40557 * sysdeps/posix/opendir.c: ... here.
40558 * sysdeps/unix/readdir.c: Renamed to ...
40559 * sysdeps/posix/readdir.c: ... here.
40560 * sysdeps/unix/readdir_r.c: Renamed to ...
40561 * sysdeps/posix/readdir_r.c: ... here.
40562 * sysdeps/unix/rewinddir.c: Renamed to ...
40563 * sysdeps/posix/rewinddir.c: ... here.
40564 * sysdeps/unix/seekdir.c: Renamed to ...
40565 * sysdeps/posix/seekdir.c: ... here.
40566 * sysdeps/unix/telldir.c: Renamed to ...
40567 * sysdeps/posix/telldir.c: ... here.
40568 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
40569 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
40570 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
40571 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
40572
22895b47
RM
40573 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
40574 * bits/fcntl.h: ... here.
40575
707a53b6
RM
40576 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
40577 not 0.
40578 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
40579 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
40580 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
40581 (struct flock): Move l_start, l_len to the beginning.
40582 Use __pid_t for l_pid.
40583 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
40584 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
40585 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
40586 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
40587 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
40588 [__USE_LARGEFILE64] (struct flock64): New type.
40589 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
40590
f0bd3e25
RM
40591 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
40592 * bits/dirent.h: ... here.
40593
d34689de
RM
40594 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
40595 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
40596
6dad2c06
JM
405972012-08-07 Joseph Myers <joseph@codesourcery.com>
40598
40599 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
40600 Change from 2.6.0 to 2.6.16.
40601 * sysdeps/unix/sysv/linux/configure: Regenerated.
40602 * sysdeps/unix/sysv/linux/kernel-features.h
40603 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
40604 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
40605 version.
40606 (__ASSUME_UTIMES): Likewise.
40607 (__ASSUME_CLONE_STOPPED): Remove.
40608 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
40609 architectures, not kernel version.
40610 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
40611 (__ASSUME_NO_CLONE_DETACHED): Likewise.
40612 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
40613 (__ASSUME_WAITID_SYSCALL): Likewise.
40614 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
40615 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
40616 * README: State 2.6.16 as minimum Linux kernel version. Do not
40617 refer to older versions.
40618
03af9520
RM
406192012-08-06 Roland McGrath <roland@hack.frob.com>
40620
8e49df1d
RM
40621 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
40622 Define alphasort64 as an alias.
40623 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
40624 Define versionsort64 as an alias.
40625 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
40626 Define scandir64 as an alias.
40627 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
40628 Define scandirat64 as an alias.
40629 * dirent/alphasort64.c (alphasort64):
40630 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
40631 * dirent/versionsort64.c: Likewise.
40632 * dirent/scandir64.c: Likewise.
40633 * dirent/scandirat64.c: Likewise.
40634 * sysdeps/wordsize-64/alphasort.c: File removed.
40635 * sysdeps/wordsize-64/alphasort64.c: File removed.
40636 * sysdeps/wordsize-64/scandir.c: File removed.
40637 * sysdeps/wordsize-64/scandir64.c: File removed.
40638 * sysdeps/wordsize-64/scandirat.c: File removed.
40639 * sysdeps/wordsize-64/scandirat64.c: File removed.
40640 * sysdeps/wordsize-64/versionsort.c: File removed.
40641 * sysdeps/wordsize-64/versionsort64.c: File removed.
40642 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
40643 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
40644 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
40645 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
40646 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
40647 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
40648 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
40649 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
40650
40651 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
40652 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
40653 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
40654 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40655 [defined __arch64__ || defined __sparcv9]
40656 (__INO_T_MATCHES_INO64_T): New macro.
40657 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
40658 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
40659 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
40660 * sysdeps/unix/sysv/linux/bits/dirent.h
40661 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
40662 (_DIRENT_MATCHES_DIRENT64): New macro.
40663
03af9520
RM
40664 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
40665 Define lockf64 as an alias.
40666 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
40667 Define fseeko64 as an alias.
40668 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
40669 Define ftello64 as an alias.
40670 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
40671 Define _IO_fgetpos64 and fgetpos64 as aliases.
40672 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
40673 Define _IO_fsetpos64 and fsetpos64 as aliases.
40674 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
40675 Conditionalize body on this.
40676 * libio/fseeko64.c: Likewise.
40677 * libio/ftello64.c: Likewise.
40678 * libio/iofgetpos64.c: Likewise.
40679 * libio/iofsetpos64.c: Likewise.
40680 * sysdeps/wordsize-64/lockf.c: File removed.
40681 * sysdeps/wordsize-64/lockf64.c: File removed.
40682 * sysdeps/wordsize-64/fseeko.c: File removed.
40683 * sysdeps/wordsize-64/fseeko64.c: File removed.
40684 * sysdeps/wordsize-64/ftello.c: File removed.
40685 * sysdeps/wordsize-64/ftello64.c: File removed.
40686 * sysdeps/wordsize-64/iofgetpos.c: File removed.
40687 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
40688 * sysdeps/wordsize-64/iofsetpos.c: File removed.
40689 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
40690 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
40691 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
40692 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
40693 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
40694 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
40695 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
40696 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
40697 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
40698 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
40699 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
40700
40701 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
40702 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
40703 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
40704 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40705 [defined __arch64__ || defined __sparcv9]
40706 (__OFF_T_MATCHES_OFF64_T): New macro.
40707 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
40708 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
40709 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40710 (__OFF_T_MATCHES_OFF64_T): New macro.
40711
c5757acd
L
407122012-08-06 H.J. Lu <hongjiu.lu@intel.com>
40713
40714 * stdlib/secure-getenv.c (__secure_getenv): Replace
40715 GLIBC_2_16 with GLIBC_2_17.
40716
3a31811e
L
407172012-08-06 H.J. Lu <hongjiu.lu@intel.com>
40718
40719 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
40720 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
40721
faa2bccb
DM
407222012-08-03 David S. Miller <davem@davemloft.net>
40723
40724 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40725
85fe1997
JM
407262012-08-03 Joseph Myers <joseph@codesourcery.com>
40727
40728 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
40729 Remove.
40730 (__ASSUME_CORRECT_SI_PID): Likewise.
40731 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
40732 (__ASSUME_TMPFS_NAME): Likewise.
40733 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
40734 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
40735 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
40736 (HAVE_AUX_SECURE): Make definition unconditional.
40737 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
40738 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
40739
4f75b7a0
RM
407402012-08-03 Roland McGrath <roland@hack.frob.com>
40741
40742 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
40743 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
40744 * sysdeps/mach/hurd/eloop-threshold.h: New file.
40745 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
40746 __eloop_threshold instead of SYMLOOP_MAX.
40747
40748 * sysdeps/generic/eloop-threshold.h: New file.
40749 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
40750 of MAXSYMLINKS.
40751 * elf/chroot_canon.c (chroot_canon): Likewise.
40752
7aab07e4
JM
407532012-08-03 Joseph Myers <joseph@codesourcery.com>
40754
40755 [BZ #13717]
40756 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
40757 Change to 2.6.0 everywhere.
40758 * sysdeps/unix/sysv/linux/configure: Regenerated.
40759 * sysdeps/unix/sysv/linux/kernel-features.h
40760 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
40761 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
40762 kernel versions.
40763 (__ASSUME_POSIX_TIMERS): Define unconditionally.
40764 (__ASSUME_FUTEX_REQUEUE): Remove.
40765 (__ASSUME_STATFS64): Define unconditionally.
40766 (__ASSUME_AT_SECURE): Likewise.
40767 (__ASSUME_CORRECT_SI_PID): Likewise.
40768 (__ASSUME_TGKILL): Define without depending on kernel version for
40769 i386.
40770 (__ASSUME_UTIMES): Likewise.
40771 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
40772 kernel version.
40773 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
40774 (__ASSUME_TMPFS_NAME): Likewise.
40775 * README: Update reference to Linux kernel versions.
40776
b67e9372
MP
407772012-08-02 Marek Polacek <polacek@redhat.com>
40778
1f529f7d 40779 [BZ# 14150]
b67e9372
MP
40780 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
40781 libc_cv_asm_type_prefix with %.
40782 * configure: Regenerated.
d2441631
RM
40783 * include/libc-symbols.h: Remove comment about
40784 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
40785 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
40786 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
40787 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
40788 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
40789 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
40790 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
40791 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
40792 * elf/tst-unique2mod1.c: Likewise.
40793 * elf/tst-unique1mod2.c: Likewise.
40794 * elf/tst-unique1mod1.c: Likewise.
40795 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
40796 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
40797 Replace ASM_TYPE_DIRECTIVE with .type.
40798 * sysdeps/s390/s390-64/sysdep.h: Likewise.
40799 * sysdeps/i386/sysdep.h: Likewise.
40800 * sysdeps/x86_64/sysdep.h: Likewise.
40801 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
40802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
40803 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 40804 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
40805 * sysdeps/powerpc/powerpc32/sysdep.h:
40806 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
40807 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
40808 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
40809 * sysdeps/i386/fpu/e_powf.S: Likewise.
40810 * sysdeps/i386/fpu/e_expl.S: Likewise.
40811 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
40812 * sysdeps/i386/fpu/e_acosh.S: Likewise.
40813 * sysdeps/i386/fpu/e_pow.S: Likewise.
40814 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
40815 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
40816 * sysdeps/i386/fpu/s_expm1.S: Likewise.
40817 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
40818 * sysdeps/i386/fpu/e_log2.S: Likewise.
40819 * sysdeps/i386/fpu/e_log2l.S: Likewise.
40820 * sysdeps/i386/fpu/e_scalb.S: Likewise.
40821 * sysdeps/i386/fpu/e_powl.S: Likewise.
40822 * sysdeps/i386/fpu/e_log10f.S: Likewise.
40823 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
40824 * sysdeps/i386/fpu/e_logl.S: Likewise.
40825 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
40826 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
40827 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
40828 * sysdeps/i386/fpu/e_log2f.S: Likewise.
40829 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
40830 * sysdeps/i386/fpu/e_log.S: Likewise.
40831 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
40832 * sysdeps/i386/fpu/e_logf.S: Likewise.
40833 * sysdeps/i386/fpu/e_log10l.S: Likewise.
40834 * sysdeps/i386/fpu/e_atanh.S: Likewise.
40835 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
40836 * sysdeps/i386/fpu/e_log10.S: Likewise.
40837 * sysdeps/i386/fpu/s_frexp.S: Likewise.
40838 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
40839 * sysdeps/i386/fpu/s_asinh.S: Likewise.
40840 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
40841 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
40842 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
40843 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
40844 * sysdeps/i386/i686/strtok.S: Likewise.
40845 * sysdeps/i386/i386-mcount.S: Likewise.
40846 * sysdeps/i386/strtok.S: Likewise.
40847 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
40848 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
40849 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40850 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
40851 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
40852 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
40853 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
40854 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
40855 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
40856 * sysdeps/x86_64/_mcount.S: Likewise.
40857 * sysdeps/x86_64/strtok.S: Likewise.
40858 * sysdeps/sh/_mcount.S: Likewise.
40859
2747bf9a
RM
408602012-08-01 Roland McGrath <roland@hack.frob.com>
40861
40862 * libio/iofopen.c: Include <fcntl.h>.
40863 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
40864 (_IO_fopen64, fopen64): Define as aliases.
40865 * libio/iofopen64.c: Include <fcntl.h>.
40866 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
40867 Conditionalize body on this.
40868 * sysdeps/wordsize-64/iofopen.c: File removed.
40869 * sysdeps/wordsize-64/iofopen64.c: File removed.
40870
3fb791b8
MP
408712012-08-01 Marek Polacek <polacek@redhat.com>
40872
40873 * libc/Makeconfig: Use elf in place of binfmt-subdir.
40874 Use dlfcn directly instead of a variable.
40875 (binfmt-subdir): Do not define.
40876 (dlfcn): Likewise.
40877
a9f1039f
JM
408782012-08-01 Joseph Myers <joseph@codesourcery.com>
40879
23bddc06
JM
40880 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
40881 Remove all definitions.
40882 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
40883 <kernel-features.h>.
40884 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
40885 (miss_F_GETOWN_EX): Remove all definitions.
40886 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
40887 macro definition.
40888 [!__ASSUME_FCNTL64]: Remove conditional code.
40889 [__ASSUME_FCNTL64]: Make code unconditional.
40890 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
40891 <kernel-features.h>.
40892 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
40893 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
40894 (lockf64) [__NR_fcntl64]: Make code unconditional.
40895 (lockf64) [__ASSUME_FCNTL64]: Likewise.
40896
a9f1039f
JM
40897 * sysdeps/unix/sysv/linux/kernel-features.h
40898 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
40899 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
40900 Make code unconditional.
40901 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
40902 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
40903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
40904 [__NR_vfork]: Make code unconditional.
40905 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
40906 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
40907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
40908 [__NR_vfork]: Make code unconditional.
40909 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
40910 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
40911
09c0ee5f
RM
409122012-08-01 Roland McGrath <roland@hack.frob.com>
40913
48aec5b9
RM
40914 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
40915 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
40916
cd97c966
RM
40917 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40918 Define mkstemp64 as an alias.
3f55550c
RM
40919 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40920 Define mkstemps64 as an alias.
cd97c966
RM
40921 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40922 Define mkostemp64 as an alias.
b8625cfc
RM
40923 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40924 Define mkostemps64 as an alias.
cd97c966
RM
40925 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
40926 Conditionalize body on this.
40927 * misc/mkostemp64.c: Likewise.
b8625cfc 40928 * misc/mkostemps64.c: Likewise.
3f55550c 40929 * misc/mkstemps64.c: Likewise.
cd97c966
RM
40930 * sysdeps/wordsize-64/mkstemp64.c: File removed.
40931 * sysdeps/wordsize-64/mkostemp64.c: File removed.
40932 * sysdeps/wordsize-64/mkostemp.c: File removed.
40933 * sysdeps/wordsize-64/mkstemp.c: File removed.
40934 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
40935 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
40936 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
40937 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
40938
09c0ee5f
RM
40939 [BZ #14138]
40940 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
40941 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
40942 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
40943 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
40944
40945 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
40946 compat_symbol macros from <shlib-compat.h> rather than the underlying
40947 default_symbol_version and symbol_version macros, so that DEFAULT
40948 lines in shlib-versions are respected.
40949 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
40950
7e66ee51
FW
409512012-08-01 Florian Weimer <fweimer@redhat.com>
40952
40953 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
40954 Declare with warn_unused_result.
40955 (setgid, setregid, setegid, setresgid): Likewise.
40956 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
40957 Likewise.
40958 * WUR-REPORT: Remove set*id functions.
40959
d2a54255
PT
409602012-07-31 Pino Toscano <toscano.pino@tiscali.it>
40961
40962 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
40963
7ecdb005
RM
409642012-07-31 Roland McGrath <roland@hack.frob.com>
40965
b4180a5e 40966 [BZ #10191]
789bd351
RM
40967 * include/sys/socket.h (__libc_accept, __libc_accept4):
40968 Add attribute_hidden.
40969 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
40970
40ce302d
RM
40971 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
40972 use of PTR_MANGLE.
40973 * inet/getnetgrent_r.c (setup): Likewise.
40974
7ecdb005
RM
40975 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
40976
e2eabb2c
DM
409772012-07-31 David S. Miller <davem@davemloft.net>
40978
40979 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40980
d0419dbf
JM
409812012-07-31 Joseph Myers <joseph@codesourcery.com>
40982
40983 [BZ #13629]
40984 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
40985 value between 1.0 and 2.0 and smaller part has absolute value less
40986 than 1.0.
40987 * math/s_clog10.c (__clog10): Likewise.
40988 * math/s_clog10f.c (__clog10f): Likewise.
40989 * math/s_clog10l.c (__clog10l): Likewise.
40990 * math/s_clogf.c (__clogf): Likewise.
40991 * math/s_clogl.c (__clogl): Likewise.
40992 * math/libm-test.inc (clog_test): Add more tests.
40993 (clog10_test): Likewise.
40994 * sysdeps/i386/fpu/libm-test-ulps: Update.
40995 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40996
2bc13872
FW
409972012-07-31 Florian Weimer <fweimer@redhat.com>
40998
40999 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
41000 Exit with zero in case no suitable GID is found, and write a
41001 message to standard error.
41002
bea9b193
RM
410032012-07-30 Roland McGrath <roland@hack.frob.com>
41004
41005 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
41006 rather than to 1.
41007 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
41008 (MAXPATHLEN): Removed.
41009 (NOGROUP, NODEV): New macros.
41010 (setbit, clrbit, isset, isclr): New macros.
41011 (howmany, roundup, powerof2): New macros.
41012 (DEV_BSIZE): New macro.
41013
41014 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
41015 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
41016
41017 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
41018 definition on [!__NO_LONG_DOUBLE_MATH].
41019
41020 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
41021 PTR_MANGLE and PTR_DEMANGLE.
41022
41023 * socket/accept4.c (accept4): Rename to __libc_accept4.
41024 Define accept4 as a weak alias.
41025
41026 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
41027 on [_DIRENT_HAVE_D_TYPE].
41028 * io/ftw.c (ftw_dir): Likewise.
41029
41030 * io/xmknod.c (__xmknod): Don't check PATH for being null.
41031
41032 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
41033
41034 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
41035 Use the BSD numbers rather than the arbitrary ones we had.
41036 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
41037 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
41038 (SIGXCPU, SIGXFSZ): New macros.
41039 (_NSIG): Now 32.
41040
41041 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
41042 initializer on [_LIBC_REENTRANT].
41043
41044 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
41045 definitions inside [_POSIX_MAPPED_FILES].
41046
41047 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
41048
41049 * dirent/opendir.c: Include <fcntl.h>.
41050
41051 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
41052 (__libc_getspecific): Likewise.
41053 (__libc_key_create): Likewise.
41054
41055 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
41056 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
41057 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
41058 (tmpfile64): Define as alias.
41059 * sysdeps/wordsize-64/tmpfile.c: File removed.
41060 * sysdeps/wordsize-64/tmpfile64.c: File removed.
41061 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
41062 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
41063
41064 * stdio-common/vfscanf.c: Include <stdbool.h>.
41065 * nss/makedb.c: Likewise.
41066 * stdio-common/_i18n_number.h: Likewise.
41067 * argp/argp-help.c: Likewise.
41068 * posix/wordexp.c: Likewise.
41069 * sysdeps/posix/spawni.c: Likewise.
41070 * nss/nss_files/files-initgroups.c: Likewise.
41071 * stdio-common/reg-modifier.c: Include <stdlib.h>.
41072 * nss/nss_files/files-initgroups.c: Likewise.
41073 * nss/nss_db/db-netgrp.c: Likewise.
41074 * nss/nss_db/db-initgroups.c: Likewise.
41075 * io/fchmodat.c: Include <sys/stat.h>.
41076
41077 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
41078 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
41079
41080 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
41081 [HAVE_MMAP].
41082
41083 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
41084 Add multiple inclusion protection.
41085
e5abc686
DM
410862012-07-27 David S. Miller <davem@davemloft.net>
41087
41088 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41089
815e6fa3
GB
410902012-07-27 Gary Benson <gbenson@redhat.com>
41091
41092 [BZ #14298]
41093 * elf/rtld.c: Include <stap-probe.h>.
41094 (dl_main): Added static probes "init_start" and "init_complete".
41095 * elf/dl-load.c: Include <stap-probe.h>.
41096 (lose): Take new parameter "nsid".
41097 Added static probe "map_failed".
41098 (_dl_map_object_from_fd): Pass namespace id to lose.
41099 Added static probe "map_start".
41100 (open_verify): Pass namespace id to lose.
41101 * elf/dl-open.c: Include <stap-probe.h>.
41102 (dl_open_worker) Added static probes "map_complete", "reloc_start"
41103 and "reloc_complete".
41104 * elf/dl-close.c: Include <stap-probe.h>.
41105 (_dl_close_worker): Added static probes "unmap_start" and
41106 "unmap_complete".
41107 * elf/rtld-debugger-interface.txt: New file documenting the above.
41108
9f98c16c
RM
411092012-07-26 Roland McGrath <roland@hack.frob.com>
41110
41111 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
41112 rather than a string variable.
41113 * sunrpc/rpc_main.c (h_output): Likewise.
41114 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
41115
f3c22df3
PT
411162012-07-26 Pino Toscano <toscano.pino@tiscali.it>
41117
41118 * inet/check_native.c: New file.
41119
3129cfc6
JM
411202012-07-26 Joseph Myers <joseph@codesourcery.com>
41121
da865e95
JM
41122 [BZ #13629]
41123 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
41124 if larger part has absolute value 1.0.
41125 * math/s_clog10.c (__clog10): Likewise.
41126 * math/s_clog10f.c (__clog10f): Likewise.
41127 * math/s_clog10l.c (__clog10l): Likewise.
41128 * math/s_clogf.c (__clogf): Likewise.
41129 * math/s_clogl.c (__clogl): Likewise.
41130 * math/libm-test.inc (clog_test): Add more tests.
41131 (clog10_test): Likewise.
41132 * sysdeps/i386/fpu/libm-test-ulps: Update.
41133 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41134
3129cfc6
JM
41135 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
41136 (pltexit): Likewise.
41137 (La_regs): Likewise.
41138 (La_retval): Likewise.
41139 (int_retval): Likewise.
41140 Update #error for removed macros to refer only to definitions in
41141 tst-audit.h.
41142 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
41143 macro.
41144 (pltexit): Likewise.
41145 (La_regs): Likewise.
41146 (La_retval): Likewise.
41147 (int_retval): Likewise.
41148 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
41149 macro.
41150 (pltexit): Likewise.
41151 (La_regs): Likewise.
41152 (La_retval): Likewise.
41153 (int_retval): Likewise.
41154 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
41155 macro.
41156 (pltexit): Likewise.
41157 (La_regs): Likewise.
41158 (La_retval): Likewise.
41159 (int_retval): Likewise.
41160 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
41161 macro.
41162 (pltexit): Likewise.
41163 (La_regs): Likewise.
41164 (La_retval): Likewise.
41165 (int_retval): Likewise.
41166 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
41167 macro.
41168 (pltexit): Likewise.
41169 (La_regs): Likewise.
41170 (La_retval): Likewise.
41171 (int_retval): Likewise.
41172 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
41173 macro.
41174 (pltexit): Likewise.
41175 (La_regs): Likewise.
41176 (La_retval): Likewise.
41177 (int_retval): Likewise.
41178 * sysdeps/generic/tst-audit.h: Update comment to refer only to
41179 macro definitions in tst-audit.h.
41180 * sysdeps/i386/tst-audit.h: New file.
41181 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
41182 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
41183 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
41184 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
41185 * sysdeps/sh/tst-audit.h: Likewise.
41186 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
41187 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
41188 * sysdeps/x86_64/tst-audit.h: Likewise.
41189
bfc07087
AJ
411902012-07-26 Andreas Jaeger <aj@suse.de>
41191
b1b2aaf8
AJ
41192 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
41193 ptrace.
41194
41195 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
41196 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
41197 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
41198 PTRACE_O_MASK.
41199 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
41200 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
41201 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
41202
bfc07087
AJ
41203 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
41204 value.
41205
41206 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
41207 _sigsys.
41208 (si_call_addr, si_syscall, si_arch): Define new macro.
41209 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
41210 _sigsys.
41211 (si_call_addr, si_syscall, si_arch): Define new marcro.
41212 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
41213 _sigsys.
41214 (si_call_addr, si_syscall, si_arch): Define new macro.
41215 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
41216 _sigsys.
41217 (si_call_addr, si_syscall, si_arch): Define new macro.
41218
89b4b02f
JM
412192012-07-25 Joseph Myers <joseph@codesourcery.com>
41220
41221 [BZ #13717]
41222 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
41223 Change to 2.4.21 where previously 2.4.1.
41224 * sysdeps/unix/sysv/linux/configure: Regenerated.
41225 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
41226 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
41227 Linux kernel version.
41228 (__ASSUME_STD_AUXV): Remove.
41229 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
41230 kernel version.
41231 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
41232 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
41233 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
41234 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
41235 (__ASSUME_NETLINK_SUPPORT): Likewise.
41236 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
41237 (__no_netlink_support): Remove conditional definition.
41238 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
41239 Remove.
41240 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
41241 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
41242 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
41243 (if_nameindex_ioctl): Remove.
41244 (if_nameindex_netlink): Do not handle __no_netlink_support.
41245 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
41246 code.
41247 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
41248 Remove conditional code.
41249 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
41250 code.
41251 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
41252 unconditional.
41253 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
41254 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
41255 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
41256 Remove.
41257 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
41258 [!__ASSUME_STD_AUXV]: Remove conditional code.
41259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
41260 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
41261 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
41262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
41263 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
41264 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
41265 code.
41266 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
41267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
41268 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
41269 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
41270 conditional code.
41271 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
41272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
41273 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
41274 code.
41275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
41276 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
41277 conditional code.
41278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
41279 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
41280 code unconditional.
41281 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
41282 conditional code.
41283 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
41284 unconditional.
41285 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
41286 conditional code.
41287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
41288 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
41289 unconditional.
41290 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
41291 conditional code.
41292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
41293 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
41294 code unconditional.
41295 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
41296 conditional code.
41297 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
41298 unconditional.
41299 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
41300 conditional code.
41301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
41302 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
41303 code unconditional.
41304 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
41305 conditional code.
41306 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
41307 unconditional.
41308 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
41309 conditional code.
41310
842a39cd
AS
413112012-07-25 Andreas Schwab <schwab@linux-m68k.org>
41312
41313 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
41314 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
41315 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
41316 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
41317 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
41318 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
41319 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
41320 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
41321 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
41322 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
41323 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
41324 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
41325 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
41326 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
41327 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
41328 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
41329 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
41330 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
41331 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
41332 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
41333 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
41334 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
41335 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
41336
84b3fd84
FW
413372012-07-25 Florian Weimer <fweimer@redhat.com>
41338
41339 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
41340 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
41341 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
41342 Introduce __libc_secure_getenv.
0c7936d5
FW
41343 * stdlib/Versions (2.17): Add secure_getenv
41344 (GLIBC_PRIVATE): Add __libc_secure_getenv.
41345 * stdlib/secure-getenv.c: Rename __secure_getenv to
41346 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
41347 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
41348 * stdlib/tst-secure-getenv.c: New.
41349 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
41350 * manual/startup.texi (Environment Access): Document
41351 secure_getenv.
84b3fd84
FW
41352 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
41353 __libc_secure_getenv.
41354 * inet/ruserpass.c (ruserpass): Likewise.
41355 * malloc/mtrace.c (mtrace): Likewise.
41356 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 41357 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
41358 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
41359 * sysdeps/posix/tempname.c: Likewise. Evaluate
41360 HAVE_SECURE_GETENV.
41361 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 41362 __secure_getenv to __libc_secure_getenv.
84b3fd84 41363 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
41364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41365 Likewise.
41366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41367 Likewise.
41368 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
41369 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
41370 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
41371 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
41372 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
41373 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
41374 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 41375
56e49b71
JM
413762012-07-25 Joseph Myers <joseph@codesourcery.com>
41377
41378 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
41379 (struct La_i86_retval): Likewise.
41380 (struct La_x86_64_regs): Likewise.
41381 (struct La_x86_64_retval): Likewise.
41382 (struct La_x32_regs): Likewise.
41383 (struct La_x32_retval): Likewise.
41384 (struct La_ppc32_regs): Likewise.
41385 (struct La_ppc32_retval): Likewise.
41386 (struct La_ppc64_regs): Likewise.
41387 (struct La_ppc64_retval): Likewise.
41388 (struct La_sh_regs): Likewise.
41389 (struct La_sh_retval): Likewise.
41390 (struct La_s390_32_regs): Likewise.
41391 (struct La_s390_32_retval): Likewise.
41392 (struct La_s390_64_regs): Likewise.
41393 (struct La_s390_64_retval): Likewise.
41394 (struct La_sparc32_regs): Likewise.
41395 (struct La_sparc32_retval): Likewise.
41396 (struct La_sparc64_regs): Likewise.
41397 (struct La_sparc64_retval): Likewise.
41398 (struct audit_ifaces): Remove architecture-specific pltenter and
41399 pltexit members.
41400 * sysdeps/i386/ldsodefs.h: New file.
41401 * sysdeps/powerpc/ldsodefs.h: Likewise.
41402 * sysdeps/s390/ldsodefs.h: Likewise.
41403 * sysdeps/sh/ldsodefs.h: Likewise.
41404 * sysdeps/sparc/ldsodefs.h: Likewise.
41405 * sysdeps/x86_64/ldsodefs.h: Likewise.
41406
354691b7
MP
414072012-07-25 Marek Polacek <polacek@redhat.com>
41408
41409 [BZ #6808]
41410 * math/libm-test.inc (yn_test): Add another test.
41411 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
41412 to ERANGE when the result is +-Inf.
41413 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
41414 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
41415 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
41416 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
41417
bf9e2071
JM
414182012-07-24 Joseph Myers <joseph@codesourcery.com>
41419
41420 * conform/data/time.h-data (NULL): Use macro-constant. Require
41421 equal to 0.
41422 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
41423 clock_t.
41424 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
41425
57633811
TS
414262012-07-23 Thomas Schwinge <thomas@codesourcery.com>
41427
41428 * configure.in <sysdeps resolving>: Correct printing
41429 Implies_before.
41430 * configure: Regenerate.
41431
c23c33b0
TS
414322012-07-22 Thomas Schwinge <thomas@codesourcery.com>
41433
41434 * math/w_ilogb.c: Include <limits.h>.
41435 * math/w_ilogbl.c: Likewise.
41436
b5982523
JM
414372012-07-20 Joseph Myers <joseph@codesourcery.com>
41438
41439 * manual/lang.texi (__va_copy): Document primarily as ISO C99
41440 va_copy. Document allowing for unavailable va_copy only as
41441 pre-C99 compatibility.
41442 * manual/string.texi (Copying and Concatenation): Use va_copy
41443 instead of __va_copy in concat example.
41444
ac4ea442
PT
414452012-07-20 Pino Toscano <toscano.pino@tiscali.it>
41446
41447 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
41448 (__sendto): Use create_address_port. Initialize APORT and deallocate
41449 it if not null.
41450
f98eafbd
PT
41451 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
41452 with O_NOLINK passed to __file_name_lookup.
41453
898c7aab
PT
41454 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
41455 with O_NOLINK passed to __file_name_lookup.
41456
0ced335a
PT
41457 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
41458 negative N or less than NGIDS.
41459
b3404dbd
PT
41460 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
41461 type to string_t. Set ERANGE as errno and return it if NAME is not big
41462 enough. Use memcpy instead of strncpy.
41463
0f48659e
JM
414642012-07-20 Joseph Myers <joseph@codesourcery.com>
41465
41466 * elf/Makefile (check-data): Remove.
41467 (localplt.data): New vpath directive.
41468 ($(objpfx)check-localplt.out): Use localplt.data from vpath
41469 instead of $(check-data).
41470 * scripts/data/localplt-generic.data: Move to ...
41471 * sysdeps/generic/localplt.data: ... here.
41472 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
41473 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
41474 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
41475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
41476 ... here.
41477 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
41478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
41479 ... here.
41480 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
41481 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
41482 ... here.
41483 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
41484 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
41485 ... here.
41486 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
41487 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
41488 ... here.
41489 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
41490 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
41491 ... here.
41492
d37cbdaa
AZ
414932012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41494
41495 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
41496 PPC32 and PPC64 files.
41497 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
41498 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
41499
46f85fc2
AK
415002012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41501
41502 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
41503 __makecontext_ret to ...
41504 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
41505 ... here and call exit if uc_link is NULL. New file.
41506 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
41507 __makecontext_ret.S.
41508 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
41509 __makecontext_ret to ...
41510 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
41511 ... here and call exit if uc_link is NULL. New file.
41512 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
41513 __makecontext_ret.S.
41514
08f43f9b
AK
415152012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41516
41517 * elf/elf.h (R_390_IRELATIVE): New definition.
41518 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
41519 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
41520 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
41521 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
41522 (elf_machine_lazy_rel): Likewise.
41523 * sysdeps/s390/dl-irel.h: New file.
41524 * sysdeps/s390/s390-64/memcpy.S: New asm code.
41525 * sysdeps/s390/s390-64/memset.S: New asm code.
41526 * sysdeps/s390/s390-64/memcmp.S: New asm code.
41527 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
41528 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
41529 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
41530 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
41531 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
41532 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
41533 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
41534 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
41535 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
41536 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
41537 * sysdeps/s390/s390-32/memcpy.S: New asm code.
41538 * sysdeps/s390/s390-32/memset.S: New asm code.
41539 * sysdeps/s390/s390-32/memcmp.S: New asm code.
41540
3b05db33
MP
415412012-07-17 Marek Polacek <polacek@redhat.com>
41542
41543 [BZ #14349]
41544 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
41545 * sysdeps/s390/s390-64/configure.in: Likewise.
41546 * sysdeps/sparc/configure.in: Likewise.
41547 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
41548 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
41549 * sysdeps/i386/configure.in: Likewise.
41550 * sysdeps/x86_64/configure.in: Likewise.
41551 * sysdeps/sh/configure.in: Likewise.
41552 * sysdeps/s390/s390-32/configure: Regenerated.
41553 * sysdeps/s390/s390-64/configure: Likewise.
41554 * sysdeps/x86_64/configure: Likewise.
41555 * sysdeps/sh/configure: Likewise.
41556 * sysdeps/powerpc/powerpc64/configure: Likewise.
41557 * sysdeps/powerpc/powerpc32/configure: Likewise.
41558 * sysdeps/sparc/configure: Likwise.
41559 * sysdeps/i386/configure: Likewise.
41560
a66877c6
MP
41561 * elf/dl-open.c: Comment fixes.
41562
cfc82fd8
JM
415632012-07-17 Joseph Myers <joseph@codesourcery.com>
41564
bd29910a
JM
41565 * Makefile [CXX] (check-data): Remove.
41566 [CXX] (c++-types.data): New vpath directive.
41567 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
41568 vpath. Do not allow for C++ type data being missing.
41569 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
41570 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
41571 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
41572 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
41573 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
41574 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
41575 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
41576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
41577 ... here.
41578 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
41579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
41580 ... here.
41581 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
41582 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
41583 ... here.
41584 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
41585 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
41586 ... here.
41587 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
41588 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
41589 ... here.
41590 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
41591 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
41592 ... here.
41593 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
41594 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
41595 ... here.
41596 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
41597 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
41598
cfc82fd8
JM
41599 * elf/tls-macros.h (TLS_LE): Move architecture-specific
41600 definitions to architecture-specific files.
41601 (TLS_IE): Likewise.
41602 (TLS_LD): Likewise.
41603 (TLS_GD): Likewise.
41604 * sysdeps/i386/tls-macros.h: New file.
41605 * sysdeps/powerpc/tls-macros.h: Likewise.
41606 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
41607 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
41608 * sysdeps/sh/tls-macros.h: Likewise.
41609 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
41610 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
41611 * sysdeps/x86_64/tls-macros.h: Likewise.
41612
f7db3170
TS
416132012-07-17 Thomas Schwinge <thomas@codesourcery.com>
41614
07cbfc23
TS
41615 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
41616 zero value for regular exit case.
41617
f7db3170
TS
41618 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
41619 (__start_context): Preserve zero value for regular exit case.
41620
dc97c227
TS
416212012-07-17 Thomas Schwinge <thomas@codesourcery.com>
41622 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41623
41624 * manual/setjmp.texi (setcontext): Clarify normal process
41625 termination when uc_link is the null pointer.
41626 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
41627 exit call.
41628
d0cd7d02
AS
416292012-07-16 Andreas Schwab <schwab@linux-m68k.org>
41630
41631 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
41632 preprocessor. Test for each exception mask separately.
41633
dd318934
AJ
416342012-07-16 Andreas Jaeger <aj@suse.de>
41635
41636 * po/ru.po: Update from translation team.
41637
8048311a
JM
416382012-07-15 Joseph Myers <joseph@codesourcery.com>
41639
41640 * conform/data/string.h-data (NULL): Use macro-constant. Require
41641 equal to 0.
41642 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
41643 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
41644 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
41645 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
41646 [ISO || ISO99 || ISO11] (*_t): Do not allow.
41647
b637d46e
AJ
416482012-07-13 Andreas Jaeger <aj@suse.de>
41649
41650 * po/fr.po: Update from translation team.
41651
541428fe
MP
416522012-07-12 Marek Polacek <polacek@redhat.com>
41653
41654 [BZ #14173]
41655 * math/libm-test.inc (yn_test): Add test for BZ #14173.
41656 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
41657 loop condition.
41658
ec332e94
JM
416592012-07-12 Joseph Myers <joseph@codesourcery.com>
41660
41661 [BZ #13717]
41662 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
41663 Change to 2.4.1 where previously 2.4.0.
41664 * sysdeps/unix/sysv/linux/configure: Regenerated.
41665 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
41666 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
41667 version.
41668 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
41669 (__ASSUME_AT_CLKTCK): Remove.
41670 (__ASSUME_AT_PAGESIZE): Likewise.
41671 (__ASSUME_AT_XID): Likewise.
41672 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
41673 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
41674 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
41675 unconditionally.
41676 (HAVE_AUX_PAGESIZE): Likewise.
41677 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
41678 [__ASSUME_AT_CLKTCK]: Make code unconditional.
41679 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
41680
7b6e99be
JB
416812012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
41682
41683 [BZ #14307]
41684 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
41685 the temporary buffer used to invoke __gethostbyname2_r,
41686 __gethostbyaddr_r and gethostbyname4_r to make room for struct
41687 host_data / struct gaih_addrtuple.
41688 * resolv/nss_dns/dns-host.c (global scope): Move definition of
41689 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
41690 header file nss/nsswitch.h.
41691 * nss/nsswitch.h (global scope): Add definition of implementation
41692 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
41693 resolv/nss_dns/dns-host.c).
41694
608404eb
AJ
416952012-07-11 Andreas Jaeger <aj@suse.de>
41696
41697 * po/fr.po: Update from translation team.
41698
71220aca
AJ
41699 * po/sv.po: Update from translation team
41700 * po/fr.po: Another update from translation team.
41701
28cfe843
AZ
417022012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41703
41704 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
41705 for subnormals or multiply small sinh result by itself.
41706 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
41707 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41708
6b90f981
DM
417092012-07-11 David S. Miller <davem@davemloft.net>
41710
41711 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41712
c6825772
AS
417132012-07-10 Andreas Schwab <schwab@linux-m68k.org>
41714
41715 [BZ #14347]
41716 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
41717 (INTERNAL_MARK): Shift it here.
41718
7b8e0d49
MP
417192012-07-10 Marek Polacek <polacek@redhat.com>
41720
41721 [BZ #14151]
41722 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
41723 libc_cv_asm_global_directive with .globl.
41724 * configure: Regenerated.
41725 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
41726 with .globl.
41727 * sysdeps/i386/configure: Regenerated.
41728 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
41729 with .globl.
41730 * sysdeps/x86_64/configure: Regenerated.
41731 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
41732 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
41733 * elf/tst-unique2mod2.c: Likewise.
41734 * elf/tst-unique2mod1.c: Likewise.
41735 * elf/tst-unique1mod2.c: Likewise.
41736 * elf/tst-unique1mod1.c: Likewise.
41737 * sysdeps/s390/s390-32/sysdep.h: Likewise.
41738 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
41739 * sysdeps/s390/s390-64/sysdep.h: Likewise.
41740 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
41741 * sysdeps/mach/sysdep.h: Likewise.
41742 * sysdeps/i386/sysdep.h: Likewise.
41743 * sysdeps/i386/i386-mcount.S: Likewise.
41744 * sysdeps/x86_64/_mcount.S: Likewise.
41745 * sysdeps/x86_64/sysdep.h: Likewise.
41746 * sysdeps/sh/_mcount.S: Likewise.
41747 * sysdeps/sh/sysdep.h: Likewise.
41748 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
41749 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
41750 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
41751 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
41752 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
41753 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
41754 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
41755 * locale/localeinfo.h: Likewise.
41756 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
41757 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
41758
6c55cda3
RM
417592012-07-09 Roland McGrath <roland@hack.frob.com>
41760
41761 [BZ #14336]
41762 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
41763 system".
41764 * manual/message.texi (The Uniforum approach): Likewise.
41765 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
41766 (glibc iconv Implementation): Likewise.
41767
638a572e
JM
417682012-07-09 Joseph Myers <joseph@codesourcery.com>
41769
41770 [BZ #14337]
41771 * math/s_clog.c (__clog): Avoid scaling a value down where that
41772 could result in underflow.
41773 * math/s_clog10.c (__clog10): Likewise.
41774 * math/s_clog10f.c (__clog10f): Likewise.
41775 * math/s_clog10l.c (__clog10l): Likewise.
41776 * math/s_clogf.c (__clogf): Likewise.
41777 * math/s_clogl.c (__clogl): Likewise.
41778 * math/libm-test.inc (clog_test): Add more tests.
41779 (clog10_test): Likewise.
41780 * sysdeps/i386/fpu/libm-test-ulps: Update.
41781 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41782
261f4859
AS
417832012-07-06 Andreas Schwab <schwab@linux-m68k.org>
41784
0abaf3e4
AS
41785 [BZ #14283]
41786 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
41787 by 7 not 8 to examine high bit of fractional part.
41788
261f4859
AS
41789 [BZ #14042]
41790 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
41791 for call to __mcount_internal.
41792 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
41793 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
41794 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
41795
f17ac40d
JM
417962012-07-06 Joseph Myers <joseph@codesourcery.com>
41797
9ad63c23
JM
41798 [BZ #14154]
41799 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
41800 approximation for values within 0x1p-13f of an odd multiple of
41801 pi/4.
41802 * math/libm-test.inc (tan_test): Do not allow spurious underflow
41803 exception. Add more tests.
41804 * sysdeps/i386/fpu/libm-test-ulps: Update.
41805
f17ac40d
JM
41806 [BZ #6778]
41807 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
41808 inputs and return -1 for them. Do not check for +Inf in case not
41809 reachable for +Inf.
41810 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
41811 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
41812 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
41813 and return -1 for them. Do not check for +Inf in case not
41814 reachable for +Inf.
41815 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
41816 define.
41817 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
41818 and return -1 for them. Do not check for +Inf in case not
41819 reachable for +Inf.
41820 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
41821 spurious underflow.
41822 * sysdeps/i386/fpu/libm-test-ulps: Update.
41823 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41824
fb21f89b
MF
418252012-07-06 Mike Frysinger <vapier@gentoo.org>
41826
41827 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
41828
cdfe2c5e
JM
418292012-07-05 Joseph Myers <joseph@codesourcery.com>
41830
41831 [BZ #14157]
41832 [BZ #14331]
41833 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
41834 could result in spurious underflow. Scale down values above
41835 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
41836 * math/s_csqrtf.c (__csqrtf): Likewise.
41837 * math/s_csqrtl.c (__csqrtl): Likewise.
41838 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
41839 spurious underflow.
41840 * sysdeps/i386/fpu/libm-test-ulps: Update.
41841 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41842
70d35b67
AS
418432012-07-04 Andreas Schwab <schwab@linux-m68k.org>
41844
704bc459
AS
41845 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
41846 xopen-msg.sed.
41847 * catgets/xopen-msg.awk: New file.
41848 * catgets/xopen-msg.sed: Removed.
41849
70d35b67
AS
41850 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
41851 po2text.sed.
41852 * intl/po2test.awk: New file.
41853 * intl/po2test.sed: Removed.
41854
ca61cf32
JM
418552012-07-04 Joseph Myers <joseph@codesourcery.com>
41856
41857 [BZ #14328]
41858 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
41859 or multiply small sinh result by itself.
41860 * math/s_ctanf.c (__ctanf): Likewise.
41861 * math/s_ctanh.c (__ctanh): Likewise.
41862 * math/s_ctanhf.c (__ctanhf): Likewise.
41863 * math/s_ctanhl.c (__ctanhl): Likewise.
41864 * math/s_ctanl.c (__ctanl): Likewise.
41865 * math/libm-test.inc (ctan_test_tonearest): New function.
41866 (ctan_test_towardzero): Likewise.
41867 (ctan_test_downward): Likewise.
41868 (ctan_test_upward): Likewise.
41869 (ctanh_test_tonearest): Likewise.
41870 (ctanh_test_towardzero): Likewise.
41871 (ctanh_test_downward): Likewise.
41872 (ctanh_test_upward): Likewise.
41873 (main): Call these new functions.
41874 * sysdeps/i386/fpu/libm-test-ulps: Update.
41875 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41876
ca48a46a
MF
418772012-07-03 Mike Frysinger <vapier@gentoo.org>
41878
41879 * .gitignore: Delete /ports entry.
41880
9d63d37d
AJ
418812012-07-03 Andreas Jaeger <aj@suse.de>
41882
41883 * po/bg.po: Update from translation team.
41884 * po/cs.po: Likewise.
41885 * po/de.po: Likewise.
41886 * po/hr.po: Likewise.
41887 * po/nl.pl: Likewise.
41888 * po/pl.po: Likewise.
41889 * po/vi.po: Likewise.
41890
370ca3d2
JM
418912012-07-03 Joseph Myers <joseph@codesourcery.com>
41892
95f5a9a8
JM
41893 * Makeconfig [!+link] (+link-before-libc): New variable.
41894 [!+link] (+link-after-libc): Likewise.
41895 [!+link] (+link-tests): Likewise.
41896 [!+link] (+link): Define in terms of $(+link-before-libc) and
41897 $(+link-after-libc).
41898 [!+link-static] (+link-static-before-libc): New variable.
41899 [!+link-static] (+link-static-after-libc): Likewise.
41900 [!+link-static] (+link-static-tests): Likewise.
41901 [!+link-static] (+link-static): Define in terms of
41902 $(+link-static-before-libc) and $(+link-static-after-libc).
41903 [build-shared] (link-libc-before-gnulib): New variable.
41904 [build-shared] (link-libc-tests): Likewise.
41905 [build-shared] (link-libc): Define in terms of
41906 $(link-libc-before-gnulib).
41907 [!build-shared] (link-libc-tests): New variable.
41908 (link-libc-static-tests): New variable.
41909 [!gnulib] (gnulib-arch): New variable.
41910 [!gnulib] (gnulib-tests): Likewise.
41911 [!gnulib] (static-gnulib-arch): Likewise.
41912 [!gnulib] (static-gnulib-tests): Likewise.
41913 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
41914 Define with "=" instead of ":=".
41915 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
41916 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
41917 * Rules (binaries-all-notests): New variable.
41918 (binaries-all-tests): Likewise.
41919 (binaries-static-notests): Likewise.
41920 (binaries-static-tests): Likewise.
41921 (binaries-all): Define using $(binaries-all-notests) and
41922 $(binaries-all-tests).
41923 (binaries-static): Define using $(binaries-static-notests) and
41924 $(binaries-static-tests).
41925 (binaries-shared-tests): New variable.
41926 (binaries-shared-notests): Likewise.
41927 (binaries-shared): Remove variable.
41928 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
41929 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
41930 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
41931 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
41932 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
41933 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
41934 * elf/Makefile (sln-modules): New variable.
41935 (extra-objs): Add $(sln-modules:=.o).
41936 (ldconfig-modules): Add static-stubs.
41937 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
41938 * elf/static-stubs.c: New file.
41939
7a845b2c
JM
41940 [BZ #14283]
41941 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
41942 by 7 not 8 to examine high bit of fractional part. Use volatile
41943 variables when splitting into final array of floats if
41944 __FLT_EVAL_METHOD__ != 0.
41945 * math/libm-test.inc (cos_test): Add another test.
41946 (sin_test): Likewise.
41947 * sysdeps/i386/fpu/libm-test-ulps: Update.
41948
e2283f38
JM
41949 [BZ #14273]
41950 * math/libm-test.inc (cosh_test): Add more tests.
41951
370ca3d2
JM
41952 * version.h (RELEASE): Set to "development".
41953 (VERSION): Set to "2.16.90".
41954
ee9247c3
CD
419552012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
41956
41957 * NEWS: Update copyright. Remove last-updated date.
41958 Mention math library bug fixes and timezone data changes.
41959 * README: Mention GNU/Hurd, x32, and HPPA support status.
41960
4648c381
TS
419612012-06-28 Thomas Schwinge <thomas@codesourcery.com>
41962
41963 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
41964
aac78a43
AJ
419652012-06-27 Andreas Jaeger <aj@suse.de>
41966
41967 * manual/contrib.texi (Contributors): Add Samuel Thibault.
41968
ed3dbfad
AJ
419692012-06-25 Andreas Jaeger <aj@suse.de>
41970
41971 * sysdeps/s390/fpu/libm-test-ulps: Update.
41972
4d0ee855
AS
419732012-06-23 Andreas Schwab <schwab@linux-m68k.org>
41974 Thomas Schwinge <thomas@codesourcery.com>
41975
41976 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
41977 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
41978 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
41979 fanotify_mark.
41980
af1bce34
TS
419812012-06-23 Thomas Schwinge <thomas@codesourcery.com>
41982
a9fa33ba
TS
41983 * sysdeps/mach/start.c: Remove file.
41984 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
41985 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
41986 * sysdeps/sh/init-first.c: Likewise.
41987
58f902b8
TS
41988 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
41989 registers for frame unwinding purposes, add CFI directives.
41990 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
41991 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
41992 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
41993 Likewise.
41994
1518f58b
TS
41995 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
41996 __fortify_fail returning.
41997 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
41998
db9b5059
TS
41999 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
42000 sysdeps/sh/____longjmp_chk.S.
42001 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
42002 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
42003 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
42004 (gen-as-const-headers): Append sigaltstack-offsets.sym.
42005
967705fe
TS
42006 * sysdeps/sh/abort-instr.h: New file.
42007 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
42008 process in case exit returns.
42009
a9def8c4
TS
42010 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
42011 initialize the GOT register before use.
42012
2a649725
TS
42013 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
42014 calculation of ARGC > 4.
42015
af1bce34
TS
42016 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
42017 meaningful names to some local labels.
42018
d230f50a
KK
420192012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42020 Kaz Kojima <kkojima@rr.iij4u.or.jp>
42021
42022 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
42023 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
42024 (__arch_compare_and_exchange_val_16_acq): Likewise.
42025 (__arch_compare_and_exchange_val_32_acq): Likewise.
42026 (atomic_exchange_and_add): Fix gUSA sequence.
42027 (atomic_add): Likewise.
42028 (atomic_add_negative): Likewise.
42029 (atomic_add_zero): Likewise.
42030 (atomic_bit_test_set): Likewise.
42031
0479b305
AS
420322012-06-22 Andreas Schwab <schwab@redhat.com>
42033
42034 [BZ #13579]
42035 * include/link.h (struct link_map): Add l_free_initfini.
42036 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
42037 l_initfini.
42038 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
42039 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
42040 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
42041 set.
42042
0e3933b9
CD
420432012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
42044
42045 * configure.in: Use AC_LANG_SOURCE.
42046 * configure: Regenerate.
42047
4248b1b1
RM
420482012-06-22 Roland McGrath <roland@hack.frob.com>
42049
42050 * configure.in (libc_cv_localstatedir): New substituted variable.
42051 * configure: Regenerated.
42052 * config.make.in (localstatedir): New variable, substituted from
42053 libc_cv_localstatedir.
42054 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
42055 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
42056 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
42057 * sysdeps/gnu/configure: Regenerated.
42058
006dd861
JL
420592012-06-21 Jeff Law <law@redhat.com>
42060
42061 [BZ #14277]
42062 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
42063 free. Simplify list management for _LIBC case.
42064
79662d42
JM
420652012-06-21 Joseph Myers <joseph@codesourcery.com>
42066
b7abb4bf
JM
42067 [BZ #14273]
42068 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
42069 Clear sign bit of 64-bit integer value before comparing against
42070 overflow value.
42071
79662d42
JM
42072 * sysdeps/mach/configure: Regenerated.
42073
1f150908
L
420742012-06-21 H.J. Lu <hongjiu.lu@intel.com>
42075
42076 [BZ #14278]
42077 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
42078
28363bbf
JL
420792012-06-21 Jeff Law <law@redhat.com>
42080
42081 [BZ #13882]
42082 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
42083 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 42084 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
42085 * elf/dl-open.c (dl_open_worker): Likewise.
42086
09615db4
CD
420872012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
42088
42089 * scripts/list-sources.sh: Scan PORTS for translations.
42090 * po/libc.pot: Regenerated.
42091
2174c6dd
AJ
420922012-06-21 Andreas Jaeger <aj@suse.de>
42093
42094 [BZ #12194]
42095 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
42096 warning.
42097 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
42098 * bits/byteswap-16.h (__bswap_16): Likewise.
42099 * bits/byteswap.h (__bswap_constant_16): Likewise.
42100
3ee947b1
L
421012012-06-18 H.J. Lu <hongjiu.lu@intel.com>
42102
42103 [BZ #14117]
a2f34833
L
42104 * sysdeps/i386/fpu_control.h: Removed.
42105 * sysdeps/x86_64/fpu_control.h: Moved to ...
42106 * sysdeps/x86/fpu_control.h: Here.
42107
3ee947b1
L
42108 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
42109 (_FPU_SETCW): Likewise.
42110
ed1825f8
L
421112012-06-15 H.J. Lu <hongjiu.lu@intel.com>
42112
25f1282a
L
42113 [BZ #14117]
42114 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
42115 * sysdeps/x86/fpu/bits/mathinline.h: This.
42116 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
42117
ed1825f8
L
42118 [BZ #14050]
42119 [BZ #14117]
42120 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
42121 functions if __x86_64__ is defined.
42122
36d54b74
CLT
421232012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
42124
42125 * string/endian.h: Add !__ASSEMBLER__ condition for including
42126 conversion interfaces.
42127
10285c21
JM
421282012-06-15 Joseph Myers <joseph@codesourcery.com>
42129
42130 [BZ #14241]
42131 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
42132 of ABS(x) in calculating zero to negative powers other than odd
42133 integers.
42134 * math/libm-test.inc (pow_test): Add more tests.
42135
06c5abbd
AJ
421362012-06-15 Andreas Jaeger <aj@suse.de>
42137
42138 * manual/contrib.texi (Contributors): Update entry of Liubov
42139 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
42140 Machado Filho.
42141
a3aeac40
CH
421422012-06-15 Cyril Hrubis <metan@ucw.cz>
42143
42144 * string/string.h: Add __wur to GNU version of strerror_r.
42145
49bdf4c1
L
421462012-06-14 H.J. Lu <hongjiu.lu@intel.com>
42147
42148 [BZ #14229]
42149 * string/Makefile (tests): Add tst-strtok_r.
42150 * string/tst-strtok_r.c: New file.
42151 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
42152 RAX_LP/RDX_LP on SAVE_PTR.
42153
834f9b8d
RM
421542012-06-14 Roland McGrath <roland@hack.frob.com>
42155
42156 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
42157
75fa1921
JM
421582012-06-14 Joseph Myers <joseph@codesourcery.com>
42159
42160 * libm_test.inc (csqrt_test): Allow more spurious underflow
42161 exceptions.
42162 (j0_test): Likewise.
42163 (j1_test): Likewise.
42164 (y0_test): Likewise.
42165 (y1_test): Likewise.
42166
771766df
CD
421672012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
42168
42169 * po/Makefile (libc.pot): Use UTF-8 charset.
42170
ceb9e56b
PP
421712012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
42172
42173 [BZ #14210]
42174 Suppress sign-conversion warning from FD_SET.
42175 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
42176 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
42177 not unsigned long int.
42178 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
42179
ddb28975
L
421802012-06-12 H.J. Lu <hongjiu.lu@intel.com>
42181
42182 [BZ #14050]
42183 [BZ #14117]
42184 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
42185 __extern_always_inline instead of __extern_inline.
42186 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
42187 (__signbit): Likewise.
42188 (__signbitl): Support C++ namespace.
42189 (lrintf): New inline function.
42190 (lrint): Likewise.
42191 (llrintf): Likewise.
42192 (llrint): Likewise.
42193 (fmaxf): Likewise.
42194 (fmax): Likewise.
42195 (fminf): Likewise.
42196 (fmin): Likewise.
42197 (rint): Likewise.
42198 (rintf): Likewise.
42199 (ceil): Likewise.
42200 (ceilf): Likewise.
42201 (floor): Likewise.
42202 (floorf): Likewise.
42203 (nearbyint): Likewise.
42204 (nearbyintf): Likewise.
42205
d7b4fb26
TS
422062012-06-12 Thomas Schwinge <thomas@codesourcery.com>
42207
42208 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
42209 non-default versions.
42210
eb55f5c2
RM
422112012-06-11 Roland McGrath <roland@hack.frob.com>
42212
42213 [BZ #14218]
42214 * manual/argp.texi (Argp): Reword argp_parse description slightly.
42215
366af02c
TS
422162012-06-09 Thomas Schwinge <thomas@codesourcery.com>
42217
99ff6e5c
TS
42218 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
42219 (FE_UPWARD, FE_DOWNWARD): Don't define.
42220 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
42221 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
42222
366af02c
TS
42223 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
42224 reading it.
42225 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
42226 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
42227
793ea851
KK
422282012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
42229
42230 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
42231 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
42232 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
42233 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
42234
a728a38f
L
422352012-06-06 H.J. Lu <hongjiu.lu@intel.com>
42236
42237 [BZ #14117]
c08010c7
L
42238 * sysdeps/i386/fpu/bits/fenv.h: Removed.
42239 * sysdeps/i386/fpu/Implies: New file.
42240 * sysdeps/x86_64/fpu/Implies: Likewise.
42241 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
42242 * sysdeps/x86/fpu/bits/fenv.h: This.
42243
a728a38f
L
42244 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
42245 __SSE_MATH__.
42246
6e230d11
SP
422472012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
42248
42249 [BZ #14134]
42250 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
42251 character 0xffff that matches the last element of the
42252 conversion table.
42253
1b671feb
AZ
422542012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42255
42256 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
42257 fmodl commit.
42258
6043738b
AZ
422592012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42260
42261 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
42262 values higher than 25.6283.
42263
34ae0b32
AZ
422642012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42265
42266 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
42267 subnormal exponent extraction and add some __builtin_expect.
42268 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
42269 Fix for subnormal mantissa calculation.
42270
1214ec8f
MF
422712012-06-04 Mike Frysinger <vapier@gentoo.org>
42272
42273 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
42274 cpu2 is -1 and errno is not ENOSYS.
42275
f3d1f93c
L
422762012-06-04 H.J. Lu <hongjiu.lu@intel.com>
42277
42278 [BZ #14117]
0e4a3cd7
L
42279 * sysdeps/i386/i486/bits/string.h: Renamed to ...
42280 * sysdeps/x86/bits/string.h: This.
42281 * sysdeps/x86_64/bits/string.h: Removed.
42282
6704c645
L
42283 * sysdeps/i386/i486/bits/string.h: Define inline functions only
42284 if not compiling for x86-64, but compiling for >= i486.
42285
48495318
L
42286 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
42287 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
42288
14adcbfc
L
42289 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
42290 New macro from Linux kernel 3.4.0.
42291 (FP_XSTATE_MAGIC2): Likewise.
42292 (FP_XSTATE_MAGIC2_SIZE): Likewise.
42293 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
42294 (struct _fpx_sw_bytes): New struct.
42295 (struct _xsave_hdr): Likewise.
42296 (struct _ymmh_state): Likewise.
42297 (struct _xstate): Likewise.
42298
68e408ab
L
42299 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
42300 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
42301 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
42302 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
42303 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
42304 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
42305
f3d1f93c
L
42306 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
42307 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
42308 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
42309 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
42310 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
42311 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
42312
d9dc34cd
TMQMF
423132012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
42314
42315 [BZ #13743]
42316 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
42317 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
42318 (sysdep_headers): Include sys/platform/ppc.h.
42319 * sysdeps/powerpc/test-gettimebase.c: Test for
42320 __ppc_get_timebase() to catch future ISA opcode/insn changes.
42321 * manual/Makefile (appendices): Include platform.texi.
42322 * manual/contrib.texi (Contributors): Update @node pointers.
42323 * manual/maint.texi (Maintenance): Likewise.
42324 (Platform): New node.
42325 * manual/platform.texi: New file. Document the new features.
42326
4af3879c
SP
423272012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
42328 Jakub Jelinek <jakub@redhat.com>
42329
42330 [BZ #14188]
42331 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
42332 where __builtin_expect is unavailable.
42333
2fd6ff13
DM
423342012-06-03 David S. Miller <davem@davemloft.net>
42335
42336 * stdlib/longlong.h: Updated from GCC.
42337
173f7220
AS
423382012-06-02 Andreas Schwab <schwab@linux-m68k.org>
42339
42340 [BZ #14042]
42341 * sysdeps/powerpc/powerpc32/mcount.c: New file.
42342 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
42343 __mcount_internal.
42344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
42345 (GLIBC_2.16): Likewise.
42346
f34a1c6f
L
423472012-06-01 H.J. Lu <hongjiu.lu@intel.com>
42348
42349 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
42350
88a4576f
JM
423512012-06-01 Joseph Myers <joseph@codesourcery.com>
42352
ea32bcdd
JM
42353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
42354 (default-abi): New variable.
42355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
42356 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
42357 variable.
42358 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
42359 Likewise.
42360 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
42361 Likewise.
42362 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
42363 Likewise.
42364
88a4576f
JM
42365 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
42366 definition. Document in comment.
42367
402fe938
DM
423682012-06-01 David S. Miller <davem@davemloft.net>
42369
42370 * stdlib/longlong.h: Updated from GCC.
42371
3553723f
L
423722012-06-01 H.J. Lu <hongjiu.lu@intel.com>
42373
42374 [BZ #14117]
3bd872c4
L
42375 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
42376 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
42377 sys/debugreg.h sys/io.h here.
42378 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
42379 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
42380 sys/io.h.
42381 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
42382 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
42383 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
42384 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
42385 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
42386 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
42387
3553723f
L
42388 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
42389 Define only if __x86_64__ is defined.
42390
4842e4fe
JM
423912012-06-01 Joseph Myers <joseph@codesourcery.com>
42392
c5bfe3d5
JM
42393 [BZ #14048]
42394 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
42395 Use int64_t for variable i.
42396 * math/libm-test.inc (fmod_test): Add more tests.
42397
4842e4fe
JM
42398 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
42399 z computation is not scheduled after fetestexcept.
42400 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
42401 Use math_force_eval instead of asm to ensure calculation scheduled
42402 before exception test.
42403 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
42404 Ensure a1 + u.d computation is not scheduled after fetestexcept.
42405
efb73488
AJ
424062012-06-01 Aurelien Jarno <aurelien@aurel32.net>
42407
42408 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
42409 computation is not scheduled after fetestexcept.
42410
29bcce7c
L
424112012-06-01 H.J. Lu <hongjiu.lu@intel.com>
42412
42413 [BZ #14117]
42414 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
42415 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
42416
73a68f94
AZ
424172012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42418
42419 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
42420 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
42421
67b6df78
L
424222012-05-31 H.J. Lu <hongjiu.lu@intel.com>
42423
edf2933a 42424 [BZ #14117]
ebc64a18
L
42425 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
42426 <bits/wordsize.h>.
42427 (__WCHAR_MIN): Support __WORDSIZE == 64.
42428 (__WCHAR_MAX): Likewise.
42429
edf2933a
L
42430 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
42431 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
42432
57c6cf40
L
42433 [BZ #14183]
42434 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
42435 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
42436
67b6df78 42437 [BZ #14117]
8eb6281e
L
42438 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
42439 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
42440
aac639f4
L
42441 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
42442 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
42443
67b6df78
L
42444 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
42445 Defined to 1 if __x86_64__ isn't defined.
42446 (_STAT_VER_LINUX_OLD): New.
42447 (st_atime): Remove duplicate.
42448 (st_mtime): Likewise.
42449 (st_ctime): Likewise.
42450
1c2cfe81
DM
424512012-05-31 David S. Miller <davem@davemloft.net>
42452
42453 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
42454 entries.
42455
5be8418c
AS
424562012-06-01 Andreas Schwab <schwab@linux-m68k.org>
42457
e7725326
AS
42458 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
42459 gen-libm-test.pl.
42460
5be8418c
AS
42461 [BZ #14132]
42462 * elf/dl-reloc.c: Include <_itoa.h>.
42463 (_dl_reloc_bad_type): Remove use of INTUSE.
42464 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
42465 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
42466 * stdio-common/psiginfo.c (psiginfo): Likewise.
42467 * stdio-common/psignal.c (psignal): Likewise.
42468 * string/strsignal.c (strsignal): Likewise.
42469 * include/signal.h (_sys_siglist): Declare hidden proto.
42470 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
42471 INTVARDEF with libc_hidden_data_def.
42472 * stdio-common/itoa-udigits.c: Likewise.
42473 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
42474 (_itoa_lower_digits_internal): Remove declaration.
42475 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
42476 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
42477 (_sys_sigabbrev_internal): Remove aliases.
42478 (_sys_siglist): Define hidden alias.
42479
507352f1
MT
424802012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
42481
42482 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42483 bits/sysctl.h.
42484
42bbb1c3
L
424852012-05-31 H.J. Lu <hongjiu.lu@intel.com>
42486
42487 [BZ #14117]
6bd784b6
L
42488 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
42489 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
42490
8bca20f0
L
42491 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
42492 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
42493 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
42494 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
42495 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
42496 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
42497
f9e890a9
L
42498 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
42499 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
42500 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
42501
471101a1
L
42502 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
42503 with __addr.
42504 (insw): Likewise.
42505 (insl): Likewise.
42506 (outsb): Likewise.
42507 (outsw): Likewise.
42508 (outsl): Likewise.
42509
6451c862
L
42510 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
42511 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
42512 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
42513
a254b8c9
L
42514 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
42515 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
42516 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
42517 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
42518 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
42519 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
42520
b8dfdd92
L
42521 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
42522 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
42523
578cd270
L
42524 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
42525 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
42526
de662f5f
L
42527 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
42528 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
42529 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
42530
25653439
L
42531 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
42532 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
42533 to ...
42534 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
42535
6bad24a0
L
42536 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
42537 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
42538 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
42539
42bbb1c3
L
42540 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
42541 for x86-64.
42542 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
42543
2d10d547
JM
425442012-05-31 Joseph Myers <joseph@codesourcery.com>
42545
42546 * math/math.h (M_El): Use two more decimal places.
42547 (M_LOG2El): Likewise.
42548 (M_LOG10El): Likewise.
42549 (M_LN2l): Likewise.
42550 (M_LN10l): Likewise.
42551 (M_PIl): Likewise.
42552 (M_PI_2l): Likewise.
42553 (M_PI_4l): Likewise.
42554 (M_1_PIl): Likewise.
42555 (M_2_PIl): Likewise.
42556 (M_2_SQRTPIl): Likewise.
42557 (M_SQRT2l): Likewise.
42558 (M_SQRT1_2l): Likewise.
42559
f230c29b
DM
425602012-05-31 David S. Miller <davem@davemloft.net>
42561
42562 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
42563 values between float registers.
42564 * sysdeps/sparc/sparc64/memset.S: Likewise.
42565 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
42566
fed806c3
MF
425672012-05-31 Mike Frysinger <vapier@gentoo.org>
42568
42569 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
42570 -D_FORTIFY_SOURCE=1.
42571 (CPPFLAGS-tst-longjmp_chk.c): Define.
42572 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
42573 (CPPFLAGS-tst-longjmp_chk2.c): Define.
42574 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
42575 CFLAGS-tst-wchar-h.c.
42576
30917259
MP
425772012-05-31 Marek Polacek <polacek@redhat.com>
42578
42579 [BZ #14132]
42580 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
42581 __endmntent_internal): Remove declaration.
42582 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
42583 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
42584 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
42585
1c58d5dc
DM
425862012-05-30 David S. Miller <davem@davemloft.net>
42587
42588 * sysdeps/sparc/sparc32/soft-fp/q_util.c
42589 (___Q_simulate_exceptions): Use real FP ops rather than writing
42590 into the %fsr.
42591 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
42592 Likewise.
42593
7dc00e0d
L
425942012-05-30 H.J. Lu <hongjiu.lu@intel.com>
42595
42596 [BZ #14117]
0bd53985
L
42597 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
42598 * sysdeps/x86/bits/xtitypes.h: This.
42599
3a257e66
L
42600 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
42601 * sysdeps/x86/bits/wordsize.h: This.
42602
62f62904
L
42603 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
42604 * sysdeps/x86/bits/huge_vall.h: This.
42605
404fe9d9
L
42606 * sysdeps/i386/bits/select.h: Removed.
42607 * sysdeps/x86_64/bits/select.h: Renamed to ...
42608 * sysdeps/x86/bits/select.h: This.
42609
d48d0446
L
42610 * sysdeps/i386/bits/setjmp.h: Removed.
42611 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
42612 * sysdeps/x86/bits/setjmp.h: This.
42613
7dc00e0d
L
42614 * sysdeps/i386/bits/mathdef.h: Removed.
42615 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
42616 * sysdeps/x86/bits/mathdef.h: This.
42617
03277f8f
AS
426182012-05-30 Andreas Schwab <schwab@linux-m68k.org>
42619
42620 [BZ #14132]
42621 * include/sys/socket.h (__connect_internal)
42622 (__libc_sa_len_internal): Remove declaration.
42623 (__connect, __libc_sa_len): Declare hidden_proto.
42624 (SA_LEN): Remove use of INTUSE.
42625 * socket/connect.c: Add libc_hidden_def.
42626 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
42627 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
42628 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
42629 alias.
42630 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
42631 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
42632 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
42633 of adding _internal alias.
42634
13764867
L
426352012-05-30 H.J. Lu <hongjiu.lu@intel.com>
42636
42637 [BZ #14117]
6bd97696
L
42638 * sysdeps/i386/bits/link.h: Removed.
42639 * sysdeps/i386/bits/linkmap.h: Likewise.
42640 * sysdeps/x86_64/bits/link.h: Renamed to ...
42641 * sysdeps/x86/bits/link.h: This.
42642 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
42643 * sysdeps/x86/bits/linkmap.h: This.
42644
f726f0bb
L
42645 * sysdeps/i386/bits/endian.h: Removed.
42646 * sysdeps/x86_64/bits/endian.h: Renamed to ...
42647 * sysdeps/x86/bits/endian.h: This.
42648
13764867
L
42649 * sysdeps/i386/bits/byteswap.h: Removed.
42650 * sysdeps/i386/bits/byteswap-16.h: Likewise.
42651 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
42652 * sysdeps/x86/bits/byteswap.h: This.
42653 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
42654 * sysdeps/x86/bits/byteswap-16.h: This.
42655 * sysdeps/i386/Implies: Add x86.
42656 * sysdeps/x86_64/Implies: Likewise.
42657
ae251b0b
DM
426582012-05-30 David S. Miller <davem@davemloft.net>
42659
42660 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
42661 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
42662 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
42663 (FP_TRAPPING_EXCEPTIONS): Define.
42664 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
42665 (FP_TRAPPING_EXCEPTIONS): Define.
42666 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
42667 subnormals only when inexact has been signalled or underflow
42668 exceptions are enabled.
42669 (_FP_PACK_CANONICAL): Likewise.
42670
d5c90867
L
426712012-05-30 H.J. Lu <hongjiu.lu@intel.com>
42672
42673 [BZ #14183]
42674 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
42675 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
42676
63f1549e
RH
426772012-05-30 Richard Henderson <rth@twiddle.net>
42678
8d8f2279
RH
42679 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
42680 with #ifndef NOT_IN_libc.
42681
63f1549e
RH
42682 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
42683 marked to avoid plt entry.
42684
0ab0291b
L
426852012-05-30 H.J. Lu <hongjiu.lu@intel.com>
42686
42687 [BZ #14112]
42688 * Makeconfig (default-abi): New macro.
42689 (abi-includes): Likewise.
42690 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
42691 $(abi-$(default-abi)-lib-soname) for soname if defined.
42692 ($(common-objpfx)gnu/lib-names.stmp): Generate from
42693 abi-variants.
42694 * Makefile (installed-stubs): Likewise.
42695 * include/stubs-biarch.h: Removed.
42696 * scripts/lib-names.awk: Only handle one library at a time.
42697 * scripts/soversions.awk: Remove WORDSIZE support.
42698 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
42699 entries.
42700 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
42701 Removed.
42702 (syscall-list-default-condition): Likewise.
42703 (syscall-list-default-condition): Likewise.
42704 (syscall-list-includes): Likewise.
42705 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
42706 syscall-list-* with abi-*. Handle undefined abi-variants.
42707 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
42708 * sysdeps/unix/sysv/linux/i386/Implies: New file.
42709 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
42710 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
42711 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
42712 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
42713 Removed.
42714 (syscall-list-32-options): Likewise.
42715 (syscall-list-32-condition): Likewise.
42716 (syscall-list-64-options): Likewise.
42717 (syscall-list-64-condition): Likewise.
42718 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
42719 macro.
42720 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
42721 Renamed to ...
42722 (abi-*): This.
42723 (abi-64-ld-soname): New macro.
42724 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
42725 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
42726 Renamed to ...
42727 (abi-*): This.
42728 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
42729 * sysdeps/x86_64/x32/shlib-versions: Likewise.
42730
4da0431d
JM
427312012-05-30 Joseph Myers <joseph@codesourcery.com>
42732
3a85279c
JM
42733 * sysdeps/unix/sysv/linux/kernel-features.h
42734 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
42735 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
42736 include <kernel-features.h>.
42737 [!__NR_ftruncate64]: Remove conditional code.
42738 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42739 [__NR_ftruncate64]: Make code unconditional.
42740 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42741 * sysdeps/unix/sysv/linux/truncate64.c: Do not
42742 include <kernel-features.h>.
42743 [!__NR_ftruncate64]: Remove conditional code.
42744 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42745 [__NR_ftruncate64]: Make code unconditional.
42746 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
42748 include <kernel-features.h>.
42749 [!__NR_ftruncate64]: Remove conditional code.
42750 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42751 [__NR_ftruncate64]: Make code unconditional.
42752 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
42754 include <kernel-features.h>.
42755 [!__NR_ftruncate64]: Remove conditional code.
42756 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42757 [__NR_ftruncate64]: Make code unconditional.
42758 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42759
4da0431d
JM
42760 * configure.in (libc_cv_fpie): Weaken to a compile test using
42761 LIBC_TRY_CC_OPTION.
42762 * configure: Regenerated.
42763
11ef492c
AK
427642012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42765
42766 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
42767 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
42768 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
42769 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
42770 Refreshed.
42771 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
42772 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
42773 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
42774 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
42775 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
42776 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
42777 Refreshed.
42778
d66ef399
DM
427792012-05-27 David S. Miller <davem@davemloft.net>
42780
42781 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
42782 (___Q_zero): New.
42783 (__Q_simulate_exceptions): Return void. Change to simulate
42784 exceptions by writing into the %fsr.
42785 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
42786 (__Qp_handle_exceptions): Likewise.
42787 (numbers): Delete.
42788 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
42789 __Qp_handle_exceptions.
42790 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
42791 __Qp_handle_exceptions.
42792 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
42793 as unused and give dummy FP_RND_NEAREST initializer.
42794 (FP_INHIBIT_RESULTS): Define.
42795 (___Q_simulate_exceptions): Update declaration.
42796 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
42797 formatting.
42798 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
42799 as unused and give dummy FP_RND_NEAREST initializer.
42800 (__Qp_handle_exceptions): Update declaration.
42801 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
42802 formatting.
42803
04fb54b5
TS
428042012-05-27 Thomas Schwinge <thomas@codesourcery.com>
42805
42806 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
42807 the temporary FPU control word.
42808 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
42809 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
42810 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
42811 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
42812 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
42813 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
42814 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
42815 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
42816 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
42817 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
42818 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
42819
3f99608f
KK
428202012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
42821
42822 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
42823 fields.
42824
65a4de4e
CLT
428252012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
42826
42827 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
42828 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
42829 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
42830 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
42831 Likewise.
42832 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
42833 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
42834 Likewise.
42835
15749d40
UD
428362012-05-27 Ulrich Drepper <drepper@gmail.com>
42837
42838 * po/h.po: Update from translation team.
42839
25dbcb27
AS
428402012-05-26 Andreas Schwab <schwab@linux-m68k.org>
42841
3d3f8e55
AS
42842 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
42843
25dbcb27
AS
42844 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
42845 handling of denormals.
42846 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
42847 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
42848 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
42849 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
42850 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
42851 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
42852 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
42853 Likewise.
42854
7ad47a80 428552012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
42856
42857 [BZ #14152]
42858 * math/libm-test.inc (fma_test): Don't always expect underflow
42859 exception.
42860
9c6ea9fa
SP
428612012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
42862
42863 [BZ #12416]
42864 * elf/tst-execstack.c: Include stackinfo.h.
42865 (do_test): Adjust test case to ensure that pthread_getattr_np
42866 behaviour remains the same after marking stack executable.
42867
a8239222
JM
428682012-05-25 Joseph Myers <joseph@codesourcery.com>
42869
42870 * sysdeps/unix/sysv/linux/kernel-features.h
42871 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
42872 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
42873 kernel-features.h.
42874 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
42875 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
42876 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
42877 kernel-features.h.
42878 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
42879 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
42880
918b5606
L
428812012-05-25 H.J. Lu <hongjiu.lu@intel.com>
42882
42883 * configure.in: Define the default includes to being none.
42884 * configure: Regenerated.
42885
3a097cc7
RM
428862012-05-25 Roland McGrath <roland@hack.frob.com>
42887
8422c9a5
RM
42888 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
42889 * sysdeps/x86_64/setjmp.S: Likewise.
42890 * sysdeps/i386/bsd-setjmp.S: Likewise.
42891 * sysdeps/i386/bsd-_setjmp.S: Likewise.
42892 * sysdeps/i386/setjmp.S: Likewise.
42893 * sysdeps/i386/__longjmp.S: Likewise.
42894 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
42895 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
42896
3a097cc7
RM
42897 * include/stap-probe.h: New file.
42898 * configure.in: Handle --enable-systemtap.
42899 * configure: Regenerated.
42900 * config.h.in (USE_STAP_PROBE): New #undef.
42901 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
42902 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
42903 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
42904
21708942
JM
429052012-05-25 Joseph Myers <joseph@codesourcery.com>
42906
42907 [BZ #13717]
42908 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
42909 to 2.4.0 where earlier.
42910 * sysdeps/unix/sysv/linux/configure: Regenerated.
42911 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
42912 <kernel-features.h>.
42913 [__ASSUME_32BITUIDS]: Make code unconditional.
42914 [!__ASSUME_32BITUIDS]: Remove conditional code.
42915 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
42916 <kernel-features.h>.
42917 [__ASSUME_32BITUIDS]: Make code unconditional.
42918 [!__ASSUME_32BITUIDS]: Remove conditional code.
42919 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
42920 [__ASSUME_32BITUIDS]: Make code unconditional.
42921 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
42922 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
42923 <kernel-features.h>.
42924 [__ASSUME_32BITUIDS]: Make code unconditional.
42925 [!__ASSUME_32BITUIDS]: Remove conditional code.
42926 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
42927 <kernel-features.h>.
42928 [__ASSUME_32BITUIDS]: Make code unconditional.
42929 [!__ASSUME_32BITUIDS]: Remove conditional code.
42930 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
42931 <kernel-features.h>.
42932 [__ASSUME_32BITUIDS]: Make code unconditional.
42933 [!__ASSUME_32BITUIDS]: Remove conditional code.
42934 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
42935 <kernel-features.h>.
42936 [__ASSUME_32BITUIDS]: Make code unconditional.
42937 [!__ASSUME_32BITUIDS]: Remove conditional code.
42938 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
42939 <kernel-features.h>.
42940 [__ASSUME_32BITUIDS]: Make code unconditional.
42941 [!__ASSUME_32BITUIDS]: Remove conditional code.
42942 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
42943 <kernel-features.h>.
42944 [__ASSUME_32BITUIDS]: Make code unconditional.
42945 [!__ASSUME_32BITUIDS]: Remove conditional code.
42946 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
42947 <kernel-features.h>.
42948 [__ASSUME_32BITUIDS]: Make code unconditional.
42949 [!__ASSUME_32BITUIDS]: Remove conditional code.
42950 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
42951 <kernel-features.h>.
42952 [__ASSUME_32BITUIDS]: Make code unconditional.
42953 [!__ASSUME_32BITUIDS]: Remove conditional code.
42954 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
42955 <kernel-features.h>.
42956 [__ASSUME_32BITUIDS]: Make code unconditional.
42957 [!__ASSUME_32BITUIDS]: Remove conditional code.
42958 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
42959 <kernel-features.h>.
42960 [__ASSUME_32BITUIDS]: Make code unconditional.
42961 [!__ASSUME_32BITUIDS]: Remove conditional code.
42962 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
42963 <kernel-features.h>.
42964 [__NR_setresgid] (__setresgid): Do not declare.
42965 [__ASSUME_32BITUIDS]: Make code unconditional.
42966 [!__ASSUME_32BITUIDS]: Remove conditional code.
42967 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
42968 <kernel-features.h>.
42969 [__NR_setresuid] (__setresuid): Do not declare.
42970 [__ASSUME_32BITUIDS]: Make code unconditional.
42971 [!__ASSUME_32BITUIDS]: Remove conditional code.
42972 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
42973 <kernel-features.h>.
42974 [__ASSUME_32BITUIDS]: Make code unconditional.
42975 [!__ASSUME_32BITUIDS]: Remove conditional code.
42976 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
42977 <kernel-features.h>.
42978 [__ASSUME_32BITUIDS]: Make code unconditional.
42979 [!__ASSUME_32BITUIDS]: Remove conditional code.
42980 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
42981 <kernel-features.h>.
42982 [__ASSUME_32BITUIDS]: Make code unconditional.
42983 [!__ASSUME_32BITUIDS]: Remove conditional code.
42984 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
42985 <kernel-features.h>.
42986 [__ASSUME_32BITUIDS]: Make code unconditional.
42987 [!__ASSUME_32BITUIDS]: Remove conditional code.
42988 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
42989 <kernel-features.h>.
42990 [__ASSUME_32BITUIDS]: Make code unconditional.
42991 [!__ASSUME_32BITUIDS]: Remove conditional code.
42992 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
42993 <kernel-features.h>.
42994 [__ASSUME_32BITUIDS]: Make code unconditional.
42995 [!__ASSUME_32BITUIDS]: Remove conditional code.
42996 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
42997 <kernel-features.h>.
42998 [__ASSUME_32BITUIDS]: Make code unconditional.
42999 [!__ASSUME_32BITUIDS]: Remove conditional code.
43000 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
43001 <kernel-features.h>.
43002 [__ASSUME_32BITUIDS]: Make code unconditional.
43003 [!__ASSUME_32BITUIDS]: Remove conditional code.
43004 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
43005 <kernel-features.h>.
43006 [__ASSUME_32BITUIDS]: Make code unconditional.
43007 [!__ASSUME_32BITUIDS]: Remove conditional code.
43008 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
43009 <kernel-features.h>.
43010 [__ASSUME_32BITUIDS]: Make code unconditional.
43011 [!__ASSUME_32BITUIDS]: Remove conditional code.
43012 * sysdeps/unix/sysv/linux/kernel-features.h
43013 (__ASSUME_SETRESUID_SYSCALL): Remove.
43014 (__ASSUME_SETRESGID_SYSCALL): Likewise.
43015 (__ASSUME_32BITUIDS): Likewise.
43016 (__ASSUME_LDT_WORKS): Likewise.
43017 (__ASSUME_O_DIRECTORY): Likewise.
43018 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
43019 architecture but not kernel version.
43020 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
43021 (__ASSUME_MMAP2_SYSCALL): Likewise.
43022 (__ASSUME_STAT64_SYSCALL): Likewise.
43023 (__ASSUME_IPC64): Likewise.
43024 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
43025 <kernel-features.h>.
43026 [__ASSUME_32BITUIDS]: Make code unconditional.
43027 [!__ASSUME_32BITUIDS]: Remove conditional code.
43028 * sysdeps/unix/sysv/linux/opendir.c: Do not include
43029 <kernel-features.h>.
43030 [__ASSUME_O_DIRECTORY]: Make code unconditional.
43031 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
43032 132096]: Remove conditional code.
43033 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
43034 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
43035 <kernel-features.h>.
43036 [__ASSUME_32BITUIDS]: Make code unconditional.
43037 [!__ASSUME_32BITUIDS]: Remove conditional code.
43038 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
43039 <kernel-features.h>.
43040 [__ASSUME_32BITUIDS]: Make code unconditional.
43041 [!__ASSUME_32BITUIDS]: Remove conditional code.
43042 * sysdeps/unix/sysv/linux/setegid.c: Do not include
43043 <kernel-features.h>.
43044 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
43045 unconditional.
43046 (__setresgid): Do not declare.
43047 [__ASSUME_32BITUIDS]: Make code unconditional.
43048 [!__ASSUME_32BITUIDS]: Remove conditional code.
43049 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
43050 <kernel-features.h>.
43051 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
43052 unconditional.
43053 (__setresuid): Do not declare.
43054 [__ASSUME_32BITUIDS]: Make code unconditional.
43055 [!__ASSUME_32BITUIDS]: Remove conditional code.
43056 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
43057 <kernel-features.h>.
43058 [__ASSUME_32BITUIDS]: Make code unconditional.
43059 [!__ASSUME_32BITUIDS]: Remove conditional code.
43060 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
43061 <kernel-features.h>.
43062 [__ASSUME_32BITUIDS]: Make code unconditional.
43063 [!__ASSUME_32BITUIDS]: Remove conditional code.
43064
a386f1cc
RH
430652012-05-25 Richard Henderson <rth@twiddle.net>
43066
43067 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
43068 dl_hwcap to ifunc resolver.
43069 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
43070 elf_ifunc_invoke.
43071 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
43072 dl_hwcap to ifunc resolver.
43073 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
43074
b6550497
JM
430752012-05-24 Joseph Myers <joseph@codesourcery.com>
43076
43077 [BZ #14153]
43078 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
43079 for |x| <= 2**-26, not 2**-57.
43080 * math/libm-test.inc (acos_test): Do not allow spurious underflow
43081 exception.
43082
b0bc23a1
JL
430832012-05-24 Jeff Law <law@redhat.com>
43084
43085 * stdio-common/Makefile (tests): Add bug25.
43086 * stdio-common/bug25.c: New test.
43087
347c92e9
L
430882012-05-24 H.J. Lu <hongjiu.lu@intel.com>
43089
43090 [BZ #13576]
43091 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
43092 multiple of MALLOC_ALIGNMENT in size.
43093 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
43094
6bcc8b3f
JM
430952012-05-24 Joseph Myers <joseph@codesourcery.com>
43096
43097 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
43098 Require >= 256.
43099 (FILENAME_MAX): Use macro-int-constant.
43100 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
43101 (_IOFBF): Use macro-int-constant.
43102 (_IOLBF): Likewise.
43103 (_IONBF): Likewise.
43104 (SEEK_CUR): Likewise.
43105 (SEEK_END): Likewise.
43106 (SEEK_SET): Likewise.
43107 (TMP_MAX): Likewise.
43108 (EOF): Use macro-int-constant. Require < 0.
43109 (NULL): Use macro-constant. Require == 0.
43110 (stdin): Require type to be FILE *.
43111 (stdout): Likewise.
43112 (stderr): Likewise.
43113 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
43114 macro-int-constant.
43115 (EXIT_SUCCESS): Likewise.
43116 (NULL): Use macro-constant. Require == 0.
43117 (RAND_MAX): Use macro-int-constant.
43118 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
43119 [C99-based standards] (strtof): Require function.
43120 [C99-based standards] (strtold): Likewise.
43121 [C99-based standards] (strtoll): Likewise.
43122 [C99-based standards] (strtoull): Likewise.
43123 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
43124 [ISO || ISO99 || ISO11] (limits.h): Likewise.
43125 [ISO || ISO99 || ISO11] (math.h): Likewise.
43126 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
43127 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
43128 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43129
d18ea0c5
AS
431302012-05-24 Andreas Schwab <schwab@linux-m68k.org>
43131
43132 [BZ #14132]
56d25bb8
AS
43133 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
43134 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
43135 * intl/dgettext.c (DCGETTEXT): Likewise.
43136 * intl/gettext.c (DCGETTEXT): Likewise.
43137 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
43138 * posix/regex_internal.h (gettext): Likewise.
43139 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
43140 Remove declaration.
43141 * include/argz.h (__argz_count_internal)
43142 (__argz_stringify_internal): Remove declaration.
43143 (__argz_count, __argz_stringify): Declare hidden proto.
43144 * intl/dcgettext.c: Remove use of INTDEF.
43145 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
43146 * string/argz-stringify.c: Likewise.
43147 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
43148 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
43149 Declare hidden proto.
d18ea0c5
AS
43150 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
43151 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
43152 Declare hidden proto.
43153 * include/stdio.h (__asprintf_internal): Don't declare.
43154 (__asprintf): Don't define as macro. Declare hidden proto.
43155 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
43156 (__fsetlocking): Declare hidden proto.
43157 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
43158 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
43159 hidden proto.
43160 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
43161 (_IO_setlinebuf): Remove use of INTUSE.
43162 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
43163 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
43164 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
43165 Remove declaration.
43166 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
43167 (_IO_do_flush): Remove use of INTUSE.
43168 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
43169 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
43170 (_IO_adjust_column, _IO_least_wmarker)
43171 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
43172 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
43173 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
43174 (_IO_default_doallocate, _IO_wdefault_doallocate)
43175 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
43176 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
43177 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
43178 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
43179 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
43180 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
43181 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
43182 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
43183 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
43184 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
43185 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
43186 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
43187 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
43188 proto.
43189 (_IO_flush_all_internal, _IO_adjust_column_internal)
43190 (_IO_default_uflow_internal, _IO_default_finish_internal)
43191 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
43192 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
43193 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
43194 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
43195 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
43196 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
43197 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
43198 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
43199 (_IO_file_close_internal, _IO_file_close_it_internal)
43200 (_IO_file_underflow_internal, _IO_file_overflow_internal)
43201 (_IO_file_init_internal, _IO_file_attach_internal)
43202 (_IO_file_fopen_internal, _IO_file_read_internal)
43203 (_IO_file_sync_internal, _IO_file_seek_internal)
43204 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
43205 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
43206 (_IO_str_underflow_internal, _IO_str_overflow_internal)
43207 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
43208 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
43209 (_IO_list_all_internal, _IO_link_in_internal)
43210 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
43211 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
43212 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
43213 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
43214 (_IO_do_write_internal, _IO_padn_internal)
43215 (_IO_getline_info_internal, _IO_getline_internal)
43216 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
43217 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
43218 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
43219 (_IO_vfscanf_internal, _IO_vfprintf_internal)
43220 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
43221 (_IO_init_internal, _IO_un_link_internal): Don't declare.
43222 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
43223 with libc_hidden_ver, remove use of INTUSE.
43224 * libio/genops.c: Likewise.
43225 * libio/freopen.c: Likewise.
43226 * libio/freopen64.c: Likewise.
43227 * libio/iofclose.c: Likewise.
43228 * libio/iofdopen.c: Likewise.
43229 * libio/iofflush.c: Likewise.
43230 * libio/iofflush_u.c: Likewise.
43231 * libio/iofgets.c: Likewise.
43232 * libio/iofgets_u.c: Likewise.
43233 * libio/iofopen.c: Likewise.
43234 * libio/iofopncook.c: Likewise.
43235 * libio/iofread.c: Likewise.
43236 * libio/iofread_u.c: Likewise.
43237 * libio/ioftell.c: Likewise.
43238 * libio/iofwrite.c: Likewise.
43239 * libio/iogetline.c: Likewise.
43240 * libio/iogets.c: Likewise.
43241 * libio/iogetwline.c: Likewise.
43242 * libio/iopadn.c: Likewise.
43243 * libio/iopopen.c: Likewise.
43244 * libio/ioseekoff.c: Likewise.
43245 * libio/ioseekpos.c: Likewise.
43246 * libio/iosetbuffer.c: Likewise.
43247 * libio/iosetvbuf.c: Likewise.
43248 * libio/ioungetc.c: Likewise.
43249 * libio/ioungetwc.c: Likewise.
43250 * libio/iovdprintf.c: Likewise.
43251 * libio/iovsprintf.c: Likewise.
43252 * libio/iovsscanf.c: Likewise.
43253 * libio/memstream.c: Likewise.
43254 * libio/obprintf.c: Likewise.
43255 * libio/oldfileops.c: Likewise.
43256 * libio/oldiofclose.c: Likewise.
43257 * libio/oldiofdopen.c: Likewise.
43258 * libio/oldiofopen.c: Likewise.
43259 * libio/oldiopopen.c: Likewise.
43260 * libio/oldstdfiles.c: Likewise.
43261 * libio/putc.c: Likewise.
43262 * libio/setbuf.c: Likewise.
43263 * libio/setlinebuf.c: Likewise.
43264 * libio/stdfiles.c: Likewise.
43265 * libio/strops.c: Likewise.
43266 * libio/vasprintf.c: Likewise.
43267 * libio/vscanf.c: Likewise.
43268 * libio/vsnprintf.c: Likewise.
43269 * libio/vswprintf.c: Likewise.
43270 * libio/wfiledoalloc.c: Likewise.
43271 * libio/wfileops.c: Likewise.
43272 * libio/wgenops.c: Likewise.
43273 * libio/wmemstream.c: Likewise.
43274 * libio/wstrops.c: Likewise.
43275 * libio/__fpurge.c: Likewise.
43276 * libio/__fsetlocking.c: Likewise.
43277 * assert/assert.c: Likewise.
43278 * debug/fgets_chk.c: Likewise.
43279 * debug/fgets_u_chk.c: Likewise.
43280 * debug/fread_chk.c: Likewise.
43281 * debug/fread_u_chk.c: Likewise.
43282 * debug/gets_chk.c: Likewise.
43283 * debug/obprintf_chk.c: Likewise.
43284 * debug/vasprintf_chk.c: Likewise.
43285 * debug/vdprintf_chk.c: Likewise.
43286 * debug/vsnprintf_chk.c: Likewise.
43287 * debug/vsprintf_chk.c: Likewise.
43288 * malloc/mtrace.c: Likewise.
43289 * misc/error.c: Likewise.
43290 * misc/syslog.c: Likewise.
43291 * stdio-common/asprintf.c: Likewise.
43292 * stdio-common/fxprintf.c: Likewise.
43293 * stdio-common/getw.c: Likewise.
43294 * stdio-common/isoc99_fscanf.c: Likewise.
43295 * stdio-common/isoc99_scanf.c: Likewise.
43296 * stdio-common/isoc99_vfscanf.c: Likewise.
43297 * stdio-common/isoc99_vscanf.c: Likewise.
43298 * stdio-common/isoc99_vsscanf.c: Likewise.
43299 * stdio-common/printf-prs.c: Likewise.
43300 * stdio-common/printf_fp.c: Likewise.
43301 * stdio-common/printf_fphex.c: Likewise.
43302 * stdio-common/printf_size.c: Likewise.
43303 * stdio-common/putw.c: Likewise.
43304 * stdio-common/scanf.c: Likewise.
43305 * stdio-common/sprintf.c: Likewise.
43306 * stdio-common/tmpfile.c: Likewise.
43307 * stdio-common/vfprintf.c: Likewise.
43308 * stdio-common/vfscanf.c: Likewise.
43309 * stdlib/strfmon_l.c: Likewise.
43310 * sunrpc/openchild.c: Likewise.
43311 * sunrpc/xdr_stdio.c: Likewise.
43312 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
43313 * sysdeps/mach/hurd/tmpfile.c: Likewise.
43314
d6c33fda
RM
433152012-05-24 Roland McGrath <roland@hack.frob.com>
43316
c1487492
RM
43317 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
43318
43319 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
43320 in the third column, to generate for the shared library an IFUNC
43321 that uses _dl_vdso_vsym.
43322 * Makerules (COMPILE.c, compile-stdin.c): New variables.
43323 * Makeconfig (object-suffixes-noshared): New variable.
43324
43325 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
43326 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
43327 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
43328 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
43329
d6c33fda
RM
43330 [BZ #14132]
43331 * include/sys/time.h (__gettimeofday): Remove macro.
43332 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
43333 * time/gettimeofday.c (__gettimeofday): Remove #undef.
43334 Remove INTDEF.
43335 (__gettimeofday): Add libc_hidden_def.
43336 (gettimeofday): Add libc_hidden_weak.
43337 * sysdeps/mach/gettimeofday.c: Likewise.
43338 * sysdeps/posix/gettimeofday.c: Likewise.
43339 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
43340 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
43341 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
43342 (__gettimeofday_internal): Remove strong_alias.
43343 (__gettimeofday): Add libc_hidden_def.
43344 (gettimeofday): Add libc_hidden_weak.
43345 * sysdeps/unix/syscalls.list (gettimeofday):
43346 Remove __gettimeofday_internal alias.
43347
b5a2bbe6
L
433482012-05-24 Daniel Jacobowitz <drow@false.org>
43349 H.J. Lu <hongjiu.lu@intel.com>
43350
43351 [BZ #12495]
43352 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
43353 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
43354 (largebin_index_32_big): New.
43355 (largebin_index): Use it for 16-byte alignment.
43356 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
43357 correction with front_misalign.
43358
cfba4fda
L
433592012-05-24 H.J. Lu <hongjiu.lu@intel.com>
43360
7f907421
L
43361 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
43362 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
43363 Likewise.
43364 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
43365 Likewise.
43366 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
43367 Likewise.
43368 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
43369 Likewise.
43370 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
43371 Likewise.
43372 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
43373 Likewise.
43374 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
43375 Likewise.
43376 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
43377 Likewise.
43378 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
43379 Likewise.
43380 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
43381 Likewise.
43382 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
43383 Likewise.
43384 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
43385 Likewise.
43386
cfba4fda
L
43387 * scripts/data/c++-types-x32-linux-gnu.data: New file.
43388 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
43389
80bad0cc
JM
433902012-05-24 Joseph Myers <joseph@codesourcery.com>
43391
7a25eb06
JM
43392 [BZ #10846]
43393 [BZ #14036]
43394 * math/libm-test.inc (exp_test): Add test from bug 14036.
43395 (pow_test): Add test from bug 10846.
43396
795405f9
JM
43397 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
43398 and other flags.
43399 (special_function): Do not include flags in test name.
43400 (parse_args): Likewise.
43401 * sysdeps/i386/fpu/libm-test-ulps: Update.
43402 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
43403 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
43404 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
43405 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43406
80bad0cc
JM
43407 * math/gen-libm-test.pl (%beautify): Add entries for underflow
43408 exceptions.
43409 * math/libm-test.inc ("Philosophy"): Update comment about
43410 exception testing.
43411 (UNDERFLOW_EXCEPTION): New macro.
43412 (UNDERFLOW_EXCEPTION_OK): Likewise.
43413 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
43414 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
43415 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
43416 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
43417 (INVALID_EXCEPTION_OK): Update value.
43418 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
43419 (OVERFLOW_EXCEPTION_OK): Likewise.
43420 (IGNORE_ZERO_INF_SIGN): Likewise.
43421 (test_exceptions): Handle underflow exceptions.
43422 (acos_test): Update for underflow exception expectations.
43423 (cexp_test): Likewise.
43424 (clog_test): Likewise.
43425 (clog10_test): Likewise.
43426 (csqrt_test): Likewise.
43427 (ctan_test): Likewise.
43428 (ctanh_test): Likewise.
43429 (exp_test): Likewise.
43430 (exp10_test): Likewise.
43431 (exp2_test): Likewise.
43432 (expm1_test): Likewise.
43433 (fma_test): Likewise.
43434 (j0_test): Likewise.
43435 (jn_test): Likewise.
43436 (nexttoward_test): Likewise.
43437 (pow_test): Likewise.
43438 (scalbn_test): Likewise.
43439 (scalbln_test): Likewise.
43440 (tan_test): Likewise.
43441 (y1_test): Likewise.
43442 * sysdeps/i386/fpu/libm-test-ulps: Update.
43443 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43444
9e0e3d0b
DM
434452012-05-23 David S. Miller <davem@davemloft.net>
43446
43447 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
43448 (__libc_sigaction): Remove unused local variables.
43449
ccd0a08f
L
434502012-05-23 H.J. Lu <hongjiu.lu@intel.com>
43451
43452 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
43453
62bdf9a6
PE
434542012-05-23 Paul Eggert <eggert@cs.ucla.edu>
43455
f8591f80
PE
43456 mktime: avoid signed integer overflow
43457 * time/mktime.c (__mktime_internal): Do not mishandle the case
43458 where diff == INT_MIN.
43459
94c7d826
PE
43460 mktime: simplify computation of average
43461 * time/mktime.c (ranged_convert): Use new time_t_avg function
43462 instead of rolling our own (probably-slower) code.
43463
ce73d683
PE
43464 mktime: do not assume signed right shift propagates sign bit
43465 * time/mktime.c (isdst_differ): New static function.
43466 (__mktime_internal): No need to normalize tm_isdst now.
43467 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
43468 tm_isdst values.
43469
72a22e59
PE
43470 mktime: merge another wrapv change from gnulib
43471 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
43472 from some compilers.
43473
68605433
PE
43474 mktime: remove incorrect attempt at unusual arithmetics
43475 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
43476 The code didn't really work on such machines anyway.
43477 (TYPE_MINIMUM): Assume two's complement.
43478 (twos_complement_arithmetic): Verify that long_int and time_t
43479 are two's complement (or unsigned, in the latter case).
43480
03cf7fe3
PE
43481 mktime: check signed shifts on long_int and time_t, too
43482 * time/mktime.c (SHR): Check that shifts work as desired
43483 on the types long_int and time_t too, as SHR is used on
43484 such types.
43485
f04dfbc2
PE
43486 mktime: do not assume 'long' is wide enough
43487 * time/mktime.c (verify): Move decl up.
43488 (long_int): New type.
43489 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
43490 to remove assumption in the code that 'long' is wide enough to
43491 store year values. This assumption is not true on x32 and on
43492 some non-glibc platforms.
43493
62bdf9a6
PE
43494 mktime: merge wrapv change from gnulib
43495 * time/mktime.c (WRAPV): New macro.
43496 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
43497 (guess_time_tm, __mktime_internal): Do not assume that signed
43498 integer overflow wraps around; modern compilers generate code
43499 where this assumption is no longer valid.
43500
5e292e4f
L
435012012-05-23 H.J. Lu <hongjiu.lu@intel.com>
43502
43503 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
43504 Replace "jmp L(pseudo_end)" with "ret".
43505 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
43506 Likewise.
43507
8caf8c87
AJ
435082012-05-23 Andreas Jaeger <aj@suse.de>
43509
43510 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
43511 * sysdeps/unix/sysv/linux/poll.c: Remove file.
43512
1a09dc56
AJ
435132012-05-23 Andreas Jaeger <aj@suse.de>
43514 Maximilian Attems <max@stro.at>
43515
43516 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
43517 New macros.
43518
1c87aba0
L
435192012-05-23 H.J. Lu <hongjiu.lu@intel.com>
43520
43521 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
43522 code so that pseudo_end is just ret and the stack pointer is
43523 correct also for static library in error case.
43524
40e45bd5
JM
435252012-05-23 Joseph Myers <joseph@codesourcery.com>
43526
c2670533
JM
43527 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
43528 move to syscalls.list.
43529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
43530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
43531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
43532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
43533
40e45bd5
JM
43534 * manual/install.texi (Running make install): Do not mention Linux
43535 kernel version for which pt_chown is not needed.
43536 (Linux): Do not mention problems with nscd with 2.0 kernels.
43537 * INSTALL: Regenerated.
43538
be08eda5
AJ
435392012-05-23 Andreas Jaeger <aj@suse.de>
43540
43541 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
43542 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
43543 macro.
43544 * sysdeps/unix/sysv/linux/s390/bits/mman.h
43545 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
43546 * sysdeps/unix/sysv/linux/sh/bits/mman.h
43547 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
43548 * sysdeps/unix/sysv/linux/i386/bits/mman.h
43549 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
43550 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
43551 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
43552 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
43553 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
43554 * sysdeps/unix/sysv/linux/bits/in.h
43555 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
43556
a6a056bb
RM
435572012-05-22 Roland McGrath <roland@hack.frob.com>
43558
43559 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
43560 (PREPARE_VERSION): Just use assert instead, it will be elided
43561 under [NDEBUG] anyway.
43562
c9009328
L
435632012-05-22 H.J. Lu <hongjiu.lu@intel.com>
43564
43565 * sysdeps/unix/sysv/linux/Makefile: Include
43566 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 43567 (sysdep_routines): Remove sysctl.
c9009328
L
43568 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
43569 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
43570 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
43571 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
43572 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
43573
73338355
AJ
435742012-05-22 Andreas Jaeger <aj@suse.de>
43575
43576 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
43577 that pseudo_end is just ret and the stack pointer is correct also
43578 for static library in error case.
43579
d44638b0
PP
435802012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
43581
43582 [BZ #14122]
43583 * nss/nsswitch.c (defconfig_entries): New variable.
43584 (__nss_database_lookup): Don't leak defconfig entries.
43585 (nss_parse_service_list): Don't leak on error paths.
43586 (free_database_entries): New function.
43587 (free_defconfig): New function.
43588 (free_mem): Move common code to free_database_entries.
43589
31a39bd8
L
435902012-05-22 H.J. Lu <hongjiu.lu@intel.com>
43591
da0331a8
L
43592 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
43593 Add arch_prctl.
43594 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
43595
31a39bd8
L
43596 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
43597 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
43598 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
43599 New macro.
43600 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
43601 (INTERNAL_SYSCALL_TYPES): Likewise.
43602 (LOAD_ARGS_TYPES_[1-6]): Likewise.
43603 (LOAD_REGS_TYPES_[1-6]): Likewise.
43604 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
43605 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
43606
45470df3
AZ
436072012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43608
43609 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
43610 copysignl for GLIBC_2_0.
43611 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
43612 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
43613 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
43614 logbl for GLIBC_2_0.
43615 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
43616 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
43617
98a61bcb
L
436182012-05-22 H.J. Lu <hongjiu.lu@intel.com>
43619
a4f6e481
L
43620 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
43621 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
43622
f63d5db6
L
43623 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
43624 Use "neg %eax".
43625
98a61bcb
L
43626 * time/mktime.c: Update copyright years.
43627
95770f14
PE
436282012-05-22 Paul Eggert <eggert@cs.ucla.edu>
43629
6226efbd
PE
43630 mktime: merge comment-quoting-style change from gnulib
43631 * time/mktime.c: Quote 'like this' in comments.
43632 The GNU coding standards suggest that we no longer quote `like this',
43633 as "`" and "'" are typically rendered asymmetrically nowadays.
43634 The typical gnulib style is to quote 'like this' when quoting
43635 code, and "like this" when quoting English.
43636
b99e4f78
PE
43637 * time/mktime.c (compile-command): Add "-I.".
43638
643e01e6
PE
43639 mktime: merge mktime-internal.h change from gnulib
43640 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
43641
2554247d
PE
43642 mktime: merge time_r change from gnulib
43643 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
43644
826dd0ab
PE
43645 mktime: merge DEBUG change from gnulib
43646 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
43647 case system <time.h> has a #define.
43648
bd83aabe
PE
43649 mktime: merge <sys/types.h> change from gnulib
43650 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
43651 since <time.t> is now guaranteed to define time_t.
43652
95770f14
PE
43653 mktime: merge HAVE_CONFIG_H change from gnulib
43654 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
43655
5e1a27a9
L
436562012-05-22 H.J. Lu <hongjiu.lu@intel.com>
43657
0e44a77e
L
43658 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
43659 Use "neg %eax".
43660
5e1a27a9
L
43661 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
43662 __rlim_t cast.
43663 (struct rusage): Use anonymous union to pad each field to
43664 __syscall_slong_t.
43665
46259bec
DM
436662012-05-21 David S. Miller <davem@davemloft.net>
43667
43668 * Makefules (o-iterator): Remove .s cases.
43669 (compile-command.s): Delete.
43670 (COMPILE.s): Delete.
43671 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
43672
59f0c22e
JM
436732012-05-21 Joseph Myers <joseph@codesourcery.com>
43674
43675 * configure.in (libc_cv_predef_stack_protector): Only consider
43676 "foobar" and "__stack_chk_fail" lines in libc_undefs.
43677 * configure: Regenerated.
43678
20c07380
L
436792012-05-21 H.J. Lu <hongjiu.lu@intel.com>
43680
bbb3154b
L
43681 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
43682 New macro. Use R*LP on int and pointer.
43683 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
43684 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
43685 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
43686 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
43687
20c07380
L
43688 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
43689 [__WORDSIZE_TIME64_COMPAT32] instead of
43690 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
43691 (struct utmp): Likewise.
43692 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
43693 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
43694 Renamed to ...
43695 (__WORDSIZE_TIME64_COMPAT32): This.
43696 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
43697 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
43698 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
43699 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
43700 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
43701 (__WORDSIZE_TIME64_COMPAT32): New macro.
43702
d8d1017e
AJ
437032012-05-21 Andreas Jaeger <aj@suse.de>
43704
43705 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
43706 only if [SHARED]. Add prototype for __wcschr_ia32.
43707
6c7fb145
RM
437082012-05-21 Roland McGrath <roland@hack.frob.com>
43709
43710 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
43711 of %rbp unmolested in the jmp_buf while mangling the low bits.
43712 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
43713 unmolested high bits of %rbp while demangling the low bits.
43714 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
43715
66274218
AJ
437162012-05-21 Andreas Jaeger <aj@suse.de>
43717
07c58f8f
AJ
43718 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
43719 * sunrpc/svc_simple.c: Use it for registerrpc.
43720 * sunrpc/xcrypt.c: Use it for passwd2des.
43721
66274218
AJ
43722 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
43723
61f65140
L
437242012-05-21 H.J. Lu <hongjiu.lu@intel.com>
43725
43726 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
43727 Don't define if [__SYSCALL_WORDSIZE != 32].
43728 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
43729 New macro.
43730
5fefb436
AJ
437312012-05-21 Bruno Haible <bruno@clisp.org>
43732 Andreas Jaeger <aj@suse.de>
43733
43734 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
43735 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
43736 inptr and inend for must_buffer_ch.
43737 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
43738 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
43739 * stdio-common/Makefile (tests): Remove bug15.
43740 (bug15-ENV): Remove macro.
43741 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
43742 anymore.
43743
d8e272ab
AJ
437442012-05-19 Andreas Jaeger <aj@suse.de>
43745 Roland McGrath <roland@hack.frob.com>
43746
43747 * manual/contrib.texi: Completely rewritten. It contains now an
43748 alphabetical list of contributors and their contributions.
43749
4a56a162
RH
437502012-05-21 Richard Henderson <rth@twiddle.net>
43751
43752 * misc/getauxval.c (__getauxval): Use unsigned long int.
43753 * misc/sys/auxv.h: Include <sys/cdefs.h>.
43754 (getauxval): Use unsigned long int.
43755
d024d23c
L
437562012-05-21 H.J. Lu <hongjiu.lu@intel.com>
43757
43758 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
43759
cbc00a03
RM
437602012-05-21 Roland McGrath <roland@hack.frob.com>
43761
43762 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
43763 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
43764 __alignof__ (long double).
43765
478143fa
AZ
437662012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43767
43768 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43769
c7683a6d
RH
437702012-05-20 Richard Henderson <rth@twiddle.net>
43771
43772 * misc/getauxval.c: New file.
43773 * misc/sys/auxv.h: New file.
43774 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
43775 (routines): Add getauxval.
43776 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
43777 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
43778 * elf/dl-sysdep.c (_dl_auxv): Remove.
43779 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
43780 * elf/dl-support.c (_dl_auxv): New variable.
43781 (_dl_aux_init): Initialize it.
43782 * manual/startup.texi (Auxiliary Vector): New node.
43783 * sysdeps/generic/bits/hwcap.h: New file.
43784 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
43785 * sysdeps/powerpc/sysdep.h: ... here. Include it.
43786 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
43787 * sysdeps/sparc/sysdep.h: ... here. Include it.
43788 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
43789 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
43790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43791 Update.
c7683a6d
RH
43792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
43793 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
43794 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
43795 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
43796 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
43797 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
43798 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
43799 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
43800
a6f1845d
AZ
438012012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43802
43803 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43804
cbcbe830
DM
438052012-05-19 David S. Miller <davem@davemloft.net>
43806
43807 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43808
e0b16cc2
JM
438092012-05-19 Joseph Myers <joseph@codesourcery.com>
43810
43811 [BZ #14123]
43812 * math/s_ccosh.c: Include <float.h>
43813 (__ccosh): Avoid internal overflow calculating sinh and cosh
43814 values before multiplying by sin and cos values.
43815 * math/s_ccoshf.c: Likewise.
43816 * math/s_ccoshl.c: Likewise.
43817 * math/s_csin.c: Likewise.
43818 * math/s_csinf.c: Likewise.
43819 * math/s_csinl.c: Likewise.
43820 * math/s_csinh.c: Likewise.
43821 * math/s_csinhf.c: Likewise.
43822 * math/s_csinhl.c: Likewise.
43823 * math/libm-test.inc (ccos_test): Add more tests.
43824 (ccosh_test): Likewise.
43825 (csin_test): Likewise.
43826 (csinh_test): Likewise.
43827 * sysdeps/i386/fpu/libm-test-ulps: Update.
43828 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43829
6ad13e08
L
438302012-05-19 H.J. Lu <hongjiu.lu@intel.com>
43831
f66f0ce8
L
43832 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
43833 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
43834
6ad13e08
L
43835 * sysdeps/x86_64/x32/_itoa.h: Add comment.
43836
b1d072a7
JM
438372012-05-19 Joseph Myers <joseph@codesourcery.com>
43838
43839 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
43840 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
43841 * sysdeps/powerpc/soft-fp/Versions: Likewise.
43842 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
43843 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
43844 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
43845 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
43846 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
43847 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
43848 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
43849 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
43850 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
43851 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
43852 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
43853 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
43854 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
43855 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
43856 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
43857 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
43858 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
43859 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
43860 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
43861 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
43862 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
43863 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
43864 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
43865 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
43866 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
43867 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
43868 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
43869 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
43870
9eae47cb
AJ
438712012-05-18 Andreas Jaeger <aj@suse.de>
43872
43873 * csu/.gitignore: Delete.
43874
bb07f69f
L
438752012-05-18 H.J. Lu <hongjiu.lu@intel.com>
43876
43877 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
43878 (timex): Use __syscall_slong_t.
43879
e6bdb741
AJ
438802012-05-18 Andreas Jaeger <aj@suse.de>
43881 Carlos O'Donell <carlos_odonell@mentor.com>
43882
43883 * manual/install.texi (Configuring and compiling): Update
43884 description about files modified in the source directory.
d6c33fda 43885 * INSTALL: Regenerated.
e6bdb741 43886
1b74487e
L
438872012-05-18 H.J. Lu <hongjiu.lu@intel.com>
43888
43889 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
43890 value. Use "or" to set return value to -1.
43891 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
43892 negate return value.
43893
a88b64b9
TMQMF
438942012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
43895
57f41c40
AS
43896 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
43897 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
43898 failure if the compiler has Graphite support disabled.
43899 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
43900 Likewise.
57f41c40
AS
43901 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
43902 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
43903 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
43904 Likewise.
43905
3707636e
L
439062012-05-18 H.J. Lu <hongjiu.lu@intel.com>
43907
610b8622
L
43908 * sysdeps/x86_64/x32/_itoa.h: New file.
43909
7cd195df
L
43910 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
43911 getdents system call only if kernel and user dirents have the
43912 same d_ino and d_off.
43913
94b07d20
L
43914 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
43915 LLONG_MAX != LONG_MAX.
43916 (_itoa_word): Use _ITOA_WORD_TYPE on value.
43917 (_fitoa_word): Likewise.
43918
18298070
L
43919 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
43920 years.
43921 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
43922 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
43923 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
43924
553c7ea4
L
43925 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
43926 include <bits/wordsize.h>. Check __x86_64__ instead of
43927 __WORDSIZE.
43928 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
43929 if __x86_64__ is defined. Use anonymous union on fpstate.
43930
3707636e
L
43931 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
43932 anonymous union.
43933
b53ef01a
AS
439342012-05-18 Andreas Schwab <schwab@linux-m68k.org>
43935
37fb1dc0
AS
43936 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
43937 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
43938 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
43939 Refer to _rtld_local_ro instead of _rtld_global_ro.
43940 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
43941 Likewise.
43942 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
43943 Likewise.
43944 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
43945 Likewise.
43946 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
43947 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
43948 of _rtld_global, and rtld_progname instead of _dl_argv[0].
43949
b53ef01a
AS
43950 * sysdeps/powerpc/powerpc32/dl-machine.c
43951 (__elf_machine_runtime_setup) [PROF]: Don't reference
43952 _dl_prof_resolve.
43953
7a185db2
AJ
439542012-05-18 Andreas Jaeger <aj@suse.de>
43955
43956 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
43957 function only available for GCCs before 3.4 since GCC 3.4
43958 introduced a builtin.
43959 (lrint): Likewise.
43960 (llrintf): Likewise.
43961 (llrint): Likewise.
43962 (fmaxf): Likewise.
43963 (fmax): Likewise.
43964 (fminf): Likewise.
43965 (fmin): Likewise.
43966 (rint): Likewise.
43967 (rintf): Likewise.
43968 (nearbyint): Likewise.
43969 (nearbyintf): Likewise.
43970 (ceil): Likewise.
43971 (ceilf): Likewise.
43972 (floor): Likewise.
43973 (floorf): Likewise.
43974
3e5aef87
L
439752012-05-17 H.J. Lu <hongjiu.lu@intel.com>
43976
428bd707
L
43977 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
43978 on both fields and cast pointer to __syscall_ulong_t.
43979
3e5aef87
L
43980 * bits/types.h (__fsword_t): New type.
43981 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
43982 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
43983 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43984 (__FSWORD_T_TYPE): Likewise.
43985 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43986 (__FSWORD_T_TYPE): Likewise.
43987 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43988 (__FSWORD_T_TYPE): Likewise.
43989 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
43990 (__FSWORD_T_TYPE): Likewise.
43991 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
43992 __SWORD_TYPE with __fsword_t.
43993 (statfs64): Likewise.
43994
1ba7c3dc
DM
439952012-05-17 David S. Miller <davem@davemloft.net>
43996
43997 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
43998
59910343
AJ
439992012-05-17 Andreas Jaeger <aj@suse.de>
44000
44001 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
44002 warning.
44003
2e4c1e9e
L
440042012-05-17 H.J. Lu <hongjiu.lu@intel.com>
44005
44006 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
44007
de7f5ce7
AJ
440082012-05-17 Andreas Jaeger <aj@suse.de>
44009
44010 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
44011 when it is used.
44012
286abc3d
CM
440132012-05-17 Chris Metcalf <cmetcalf@tilera.com>
44014
44015 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
44016
477cc68e
L
440172012-05-17 H.J. Lu <hongjiu.lu@intel.com>
44018
44019 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
44020 * sysdeps/x86_64/tst-mallocalign1.c: New file.
44021
1a0994f5
CD
440222012-05-17 Andreas Jaeger <aj@suse.de>
44023 Carlos O'Donell <carlos_odonell@mentor.com>
44024
44025 [BZ #14059]
44026 * sysdeps/x86_64/multiarch/init-arch.h
44027 (bit_YMM_Usable): Rename to...
44028 (bit_AVX_Usable): ... this.
44029 (bit_FMA4_Usable): New macro.
44030 (bit_XMM_state): New macro.
44031 (bit_YMM_state): New macro.
44032 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
44033 [__ASSEMBLER__] (index_AVX_Usable): ... this.
44034 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
44035 (CPUID_OSXSAVE): New macro.
44036 (CPUID_AVX): New macro.
44037 (CPUID_FMA4): New macro.
44038 (index_YMM_Usable): Rename to...
44039 (index_AVX_Usable): ... this.
44040 (HAS_AVX): Use HAS_ARCH_FEATURE.
44041 (HAS_FMA4): Likewise.
44042 (HAS_YMM_USABLE): Remove.
44043 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44044 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
44045 are present.
44046 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
44047 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
44048 * sysdeps/x86_64/multiarch/Makefile: Likewise.
44049 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
44050 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
44051
0af797de
CM
440522012-05-17 Chris Metcalf <cmetcalf@tilera.com>
44053
44054 * math/libm-test.c: Support platforms without multiple rounding modes.
44055 * math/bug-nextafter.c: Support platforms without FP exceptions.
44056 * math/bug-nexttoward.c: Likewise.
44057 * math/test-fenv.c: Likewise.
44058 * math/test-misc.c: Likewise.
44059 * stdlib/bug-getcontext.c: Likewise.
44060
e39745ff
AJ
440612012-05-17 Andreas Jaeger <aj@suse.de>
44062
44063 * manual/examples/search.c (critter_cmp): Change signature to
44064 avoid warnings.
44065 * manual/string.texi (Collation Functions): Likewise.
44066
48970aba
L
440672012-05-16 H.J. Lu <hongjiu.lu@intel.com>
44068
44069 * bits/types.h: Fold copyright years.
44070 * bits/typesizes.h: Likewise.
44071 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
44072 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
44073 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
44074 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
44075 * time/time.h: Likewise.
44076
bedee953
PP
440772012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
44078
44079 [BZ #208]
44080 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
44081 in instead of returning them. Return void.
44082 (__libc_mallinfo): Accumulate over all arenas.
44083 (__malloc_stats): Adjust for change in int_mallinfo interface.
44084
61653dfb
RM
440852012-05-16 Roland McGrath <roland@hack.frob.com>
44086
30b99d79
RM
44087 [BZ #10375]
44088 * configure.in (NM): Add AC_CHECK_TOOL for it.
44089 (libc_extra_cflags): New substituted variable.
44090 Check for -fstack-protector being used implicitly.
44091 * configure: Regenerated.
44092 * config.make.in (config-extra-cflags): New variable,
44093 gets @libc_extra_cflags@.
44094 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
44095
61653dfb
RM
44096 [BZ #10375]
44097 * configure.in: Check for _FORTIFY_SOURCE being predefined.
44098 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
44099 * configure: Regenerated.
44100 * config.make.in (CPPUNDEFS): New substituted variable.
44101 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
44102 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
44103 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
44104
661768bb
L
441052012-05-16 H.J. Lu <hongjiu.lu@intel.com>
44106
44107 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
44108 (mq_attr): Use __syscall_slong_t.
44109
d4261567
L
441102012-05-16 H.J. Lu <hongjiu.lu@intel.com>
44111
44112 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
44113 Check __x86_64__ instead of __WORDSIZE.
44114 (_STAT_VER_LINUX): Likewise.
44115 (stat): Check __x86_64__ instead of __WORDSIZE. Use
44116 __syscall_ulong_t and __syscall_slong_t.
44117 (stat64): Likewise.
44118
cf3ff365
L
441192012-05-16 H.J. Lu <hongjiu.lu@intel.com>
44120
44121 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
44122
76cf3e4d
L
441232012-05-16 H.J. Lu <hongjiu.lu@intel.com>
44124
44125 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
44126
a637753a
L
441272012-05-16 H.J. Lu <hongjiu.lu@intel.com>
44128
44129 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
44130 __syscall_ulong_t.
44131
d5e05119
L
44132 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
44133 include <bits/wordsize.h>. Check __x86_64__ instead of
44134 __WORDSIZE.
44135 (greg_t): Use "__extension__ long long int" if __x86_64__ is
44136 defined.
44137 (mcontext_t): Replace "unsigned long" with "unsigned long long".
44138
f62ee380
L
44139 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
44140 include <bits/wordsize.h>. Check __x86_64__ instead of
44141 __WORDSIZE.
44142 (user_regs_struct): Use "__extension__ unsigned long long"
44143 instead of "unsigned long" if __x86_64__ is defined.
44144 (user): Likewise. Pad after pointer field if __ILP32__ is
44145 defined.
44146
4e124ced
JM
441472012-05-16 Joseph Myers <joseph@codesourcery.com>
44148
6a3951a0
JM
44149 * configure.in (makeinfo): Require version 4.5 or later. Allow
44150 versions 5 to 9.
44151 * configure: Regenerated.
44152 * manual/install.texi (texinfo): Increase version requirement to
44153 4.5 or later.
44154 * INSTALL: Regenerated.
44155
4e124ced
JM
44156 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
44157
953ca31a
L
441582012-05-16 H.J. Lu <hongjiu.lu@intel.com>
44159
44160 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
44161
617aca05
L
44162 * sysdeps/x86_64/x32/ffs.c: New file.
44163
5762f7ae
L
44164 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
44165 __syscall_ulong_t.
44166 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
44167 defined. Use __syscall_ulong_t.
44168 (shminfo): Use __syscall_ulong_t.
44169 (shm_info): Likewise.
44170
a26b6856
L
44171 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
44172 __syscall_ulong_t.
44173
cb2b9ef7
L
44174 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
44175 <bits/wordsize.h>.
44176 (msgqnum_t): Use __syscall_ulong_t.
44177 (msglen_t): Likewise.
44178 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
44179 __syscall_ulong_t.
44180
34683bb0
L
44181 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
44182 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
44183
84a68786
L
44184 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
44185
48baa5f1
L
44186 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
44187 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
44188
180be88b
L
44189 * sysvipc/sys/msg.h (msgbuf): Replace long int with
44190 __syscall_slong_t.
44191
5e90c8ad
L
44192 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
44193 include <bits/wordsize.h>. Check __x86_64__ instead of
44194 __WORDSIZE.
44195
23dfb58b
L
44196 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
44197 "unsigned long long int" if __x86_64__ is defined.
44198 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
44199
ce5d54b0
L
44200 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
44201 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
44202 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
44203
13dc9eac
L
44204 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
44205 <stdint.h>.
44206 (GET_PC): Cast to uintptr_t first.
44207 (GET_FRAME): Likewise.
44208 (GET_STACK): Likewise.
44209
a7895d15
L
44210 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
44211 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
44212 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
44213 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
44214 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
44215 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
44216 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
44217 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
44218 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
44219 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
44220 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
44221 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
44222 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
44223 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
44224 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
44225 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
44226 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
44227 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
44228 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
44229 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
44230 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
44231 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
44232 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
44233 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
44234 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
44235 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
44236 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
44237 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
44238 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
44239
656416c9
AS
442402012-05-16 Andreas Schwab <schwab@linux-m68k.org>
44241
5bd66283
AS
44242 * Makerules (+depfiles): Also collect depfiles from .oS in
44243 $(extra-objs).
44244 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
44245 .oS, $(libnldbl-routines)).
44246
656416c9
AS
44247 * Makerules (native-compile-mkdep-flags): Define.
44248 * sunrpc/Makefile (extra-objs): Add $(addprefix
44249 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
44250 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
44251 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
44252 calling $(make-target-directory).
44253
a46f2169
L
442542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44255
44256 * bits/types.h (__snseconds_t): Removed.
44257 * time/time.h (struct timespec): Replace __snseconds_t with
44258 __syscall_slong_t.
44259 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
44260 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
44261 Likewise.
44262 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
44263 (__SNSECONDS_T_TYPE): Likewise.
44264 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
44265 (__SNSECONDS_T_TYPE): Likewise.
44266 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44267 (__SNSECONDS_T_TYPE): Likewise.
44268
6af6528b
L
442692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44270
44271 * sysdeps/mach/hurd/bits/typesizes.h
44272 (__SYSCALL_SLONG_TYPE): New macro.
44273 (__SYSCALL_ULONG_TYPE): Likewise.
44274
de986b56
L
442752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44276
44277 * bits/types.h (__syscall_slong_t): New type.
44278 (__syscall_ulong_t): Likewise.
44279
44280 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
44281 (__SYSCALL_ULONG_TYPE): Likewise.
44282 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
44283 (__SYSCALL_SLONG_TYPE): Likewise.
44284 (__SYSCALL_ULONG_TYPE): Likewise.
44285 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
44286 (__SYSCALL_SLONG_TYPE): Likewise.
44287 (__SYSCALL_ULONG_TYPE): Likewise.
44288 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44289 (__SYSCALL_SLONG_TYPE): Likewise.
44290 (__SYSCALL_ULONG_TYPE): Likewise.
44291
85736dc7
L
442922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44293
44294 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
44295 Add sigaltstack-offsets.sym.
44296 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
44297 <sigaltstack-offsets.h>.
44298 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
44299 longjmp_msg pointer.
44300 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
44301 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
44302 signal stack.
44303 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
44304
cc03b296
JM
443052012-05-15 Joseph Myers <joseph@codesourcery.com>
44306
a9538892
JM
44307 * elf/stackguard-macros.h: Remove file.
44308 * sysdeps/generic/stackguard-macros.h: New file.
44309 * sysdeps/i386/stackguard-macros.h: Likewise.
44310 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
44311 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
44312 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
44313 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
44314 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
44315 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
44316 * sysdeps/x86_64/stackguard-macros.h: Likewise.
44317 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
44318 <elf/stackguard-macros.h>.
44319
cc03b296
JM
44320 [BZ #14109]
44321 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
44322 __aligned__ in attribute.
44323 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
44324 (gregset_t): Likewise.
44325
93171016
L
443262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44327
44328 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
44329 * sysdeps/x86_64/64/Implies-after: Here. New file.
44330 * sysdeps/x86_64/x32/Implies-after: New file.
44331
d86813a0
L
443322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44333
44334 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
44335 and access return value for _dl_profile_fixup. Use R10_LP to
44336 load frame size.
44337
2953ec75
L
443382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44339
44340 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
44341
3b550e9e
L
443422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44343
44344 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
44345 * sysdeps/x86_64/x32/sysdep.h: New file.
44346
eda41706
L
443472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44348
44349 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
44350 * sysdeps/x86_64/setjmp.S: Likewise.
44351
9ea01d93
AZ
443522012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44353
44354 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
44355 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
44356 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
44357 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
44358 remove unused global constant.
44359
02a91938
CM
443602012-05-15 Chris Metcalf <cmetcalf@tilera.com>
44361
44362 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
44363 include of <not-cancel.h>.
44364
6540185f
RM
443652012-05-15 Roland McGrath <roland@hack.frob.com>
44366
44367 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
44368
509072a0
AJ
443692012-05-15 Jeff Law <law@redhat.com>
44370 Andreas Jaeger <aj@suse.de>
44371
44372 [BZ #13594]
44373 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
44374 out from...
44375 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
44376 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
44377 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
44378 code changing __hst_map_handle.map.
44379
ba75122d
RM
443802012-05-15 Roland McGrath <roland@hack.frob.com>
44381
44382 * configure.in (sysnames): Look for Implies-before and Implies-after
44383 files.
44384 * configure: Regenerated.
44385
890d8bd8
L
443862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44387
44388 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
44389 8-byte data alignment with LP_SIZE alignment.
44390
f6ee6623
L
443912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44392
44393 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
44394 into R10_LP.
44395
ea2626f6
L
443962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44397
44398 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
44399
085f715e
L
444002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44401
44402 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
44403 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
44404 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
44405 Likewise.
44406 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
44407
be8498fc
L
444082012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44409
44410 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
44411 (stackinfo_sub_sp): Likewise.
44412
70bc83b9
L
444132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44414
44415 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
44416 RAX_LP.
44417
9bc0b730
L
444182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44419
44420 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
44421 into R*_LP.
44422
6d2850e7
L
444232012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44424
44425 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
44426 sizes into R*_LP.
44427
3cb84561
L
444282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44429
44430 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
44431
54e2ed81
L
444322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44433
44434 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
44435 into R11_LP and load __x86_64_shared_cache_size_half into
44436 R8_LP.
44437
8a17f349
L
444382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44439
44440 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
44441 R8_LP.
44442
777b1eea
AZ
444432012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44444
44445 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
44446 logb for POWER7.
44447 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
44448 logbf for POWER7.
44449 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
44450 logbl for POWER7.
44451 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
44452 powerpc32/power7/fpu/s_logb.c via #include.
44453 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
44454 powerpc32/power7/fpu/s_logbf.c via #include.
44455 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
44456 powerpc32/power7/fpu/s_logbl.c via #include.
44457
d20d4ac2
JM
444582012-05-15 Joseph Myers <joseph@codesourcery.com>
44459
44460 * README.libm: Remove file.
44461
6cdef1ab
L
444622012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44463
44464 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
44465 count for x32. Use R*_LP and omit operand-size suffix.
44466
0b254d8f
L
444672012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44468
44469 * shlib-versions: Move x86_64-.*-linux.* entries to ...
44470 * sysdeps/x86_64/64/shlib-versions: Here. New file.
44471 * sysdeps/x86_64/x32/shlib-versions: New file.
44472
ceb809dc
RM
444732012-05-14 Roland McGrath <roland@hack.frob.com>
44474
44475 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
44476 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
44477 Use _dl_fatal_printf instead.
44478
37f1abd4
JM
444792012-05-14 Joseph Myers <joseph@codesourcery.com>
44480
44481 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
44482 set if not set by the user. Do not allow for being unset.
44483 * sysdeps/unix/sysv/linux/configure: Regenerated.
44484
11de3a33
L
444852012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44486
44487 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
44488 the `q' suffix from lea and replace .quad with ASM_ADDR.
44489
e02f153a
L
444902012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44491
44492 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
44493 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
44494 instead of $17.
44495 (PTR_DEMANGLE): Likewise.
44496
520ae0fd
L
444972012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44498
44499 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
44500 (LP_OP): Likewise.
44501 (ASM_ADDR): Likewise.
44502 (RAX_LP): Likewise.
44503 (RBP_LP): Likewise.
44504 (RBX_LP): Likewise.
44505 (RCX_LP): Likewise.
44506 (RDI_LP): Likewise.
44507 (RSI_LP): Likewise.
44508 (RSP_LP): Likewise.
44509 (R8_LP): Likewise.
44510 (R9_LP): Likewise.
44511 (R10_LP): Likewise.
44512 (R10_LP): Likewise.
44513 (R11_LP): Likewise.
44514 (R12_LP): Likewise.
44515 (R13_LP): Likewise.
44516 (R14_LP): Likewise.
44517 (R15_LP): Likewise.
44518
b985be81
L
445192012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44520
44521 * sysdeps/x86_64/x32/dl-machine.h: New file.
44522
6a4888ff
AJ
445232012-05-14 Andreas Jaeger <aj@suse.de>
44524
44525 * manual/Makefile (subdir): Remove export of subdir.
44526 (all): Remove target.
44527 (.PHONY): Remove all from list.
44528 (mkinstalldirs): Remove.
44529 (.PHONY): Remove installdirs from list.
44530 ($(inst_infodir)/libc.info): Use make-target-directory.
44531 (installdirs): Remove.
44532 (subdir_%): Remove.
44533 (glibc-targets): Remove.
44534 (lib): Remove.
44535 (stubs): Remove.
44536 ($(objpfx)stubs ../po/manual.pot): Remove.
44537 ($(objpfx)stamp%): Remove.
44538 (make-target-directory): Remove.
44539 (subdir_install): Remove.
44540 (routines): Remove.
44541 (aux): Remove.
44542 (sources): Remove.
44543 (objects): Remove.
44544 (headers): Remove.
44545
44546 [BZ #13750]
44547 * manual/.gitignore: Remove, it's not needed anymore.
44548 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
44549 all files in it.
44550 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
44551 directory.
44552 (texis): Renamed to $(objpfx)texis.
44553 (texis-path): New, contains path to generated files.
44554 (chapters.%): Use texis-path for complete path, add extra argument
44555 libc-texinfo.sh.
44556 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
44557 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
44558 (summary,texi, stamp-summary): Use complete path of
44559 files. Generate files in build dir.
44560 (dir-add.texi): Build in build dir.
44561 (libm-err.texi,stamp-libm-err): Likewise.
44562 (version.texi, stamp-version): Likewise.
44563 (.%c.texi): Likewise.
44564 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
44565 (mostlyclean): Remove target.
44566 (realclean): Remove target.
44567 (generated): Add new variable with contents from mostlyclean and
44568 realclean, remove entries duplicated in common-mostlyclean, add
44569 stamp-libm-err and stamp-version.
44570 (generated-dirs): Add libc directory.
44571 ($(inst_infodir)/libc.info): Install files from build dir.
44572
44573 * manual/install.texi (Configuring and compiling): Adjust since
44574 the info files are not part of the tar ball anymore.
44575
7ac77294
AJ
445762012-05-14 Andreas Jaeger <aj@suse.de>
44577
44578 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
44579 variable.
44580
ffb7875d
JM
445812012-05-14 Joseph Myers <joseph@codesourcery.com>
44582
44583 [BZ #13717]
44584 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
44585 to 2.2.0 where earlier.
44586 * sysdeps/unix/sysv/linux/configure: Regenerated.
44587 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
44588 Remove conditional code.
44589 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
44590 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
44591 Remove conditional code.
44592 [!__NR_lchown]: Likewise.
44593 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
44594 [__NR_lchown]: Likewise.
44595 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
44596 comment referencing __ASSUME_LCHOWN_SYSCALL.
44597 * sysdeps/unix/sysv/linux/i386/sigaction.c
44598 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44599 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44600 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
44601 Remove conditional code.
44602 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
44603 (__protocol_available): Remove #if 0 code.
44604 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
44605 conditional code.
44606 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
44607 * sysdeps/unix/sysv/linux/kernel-features.h
44608 (__ASSUME_GETCWD_SYSCALL): Don't define.
44609 (__ASSUME_REALTIME_SIGNALS): Likewise.
44610 (__ASSUME_PREAD_SYSCALL): Likewise.
44611 (__ASSUME_PWRITE_SYSCALL): Likewise.
44612 (__ASSUME_POLL_SYSCALL): Likewise.
44613 (__ASSUME_LCHOWN_SYSCALL): Likewise.
44614 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
44615 non-SPARC.
44616 (__ASSUME_SIOCGIFNAME): Don't define.
44617 (__ASSUME_MSG_NOSIGNAL): Likewise.
44618 (__ASSUME_SENDFILE): Define unconditionally.
44619 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
44620 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
44621 conditional code.
44622 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
44623 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
44624 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
44625 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
44626 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
44627 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
44628 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
44629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
44630 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
44631 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
44633 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
44634 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
44636 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44637 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
44639 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44640 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
44642 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
44643 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
44645 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
44646 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
44648 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44649 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
44651 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44652 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44653 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
44654 Remove conditional code.
44655 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44656 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
44657 Remove conditional code.
44658 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44659 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
44660 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
44661 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
44662 Remove conditional code.
44663 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44664 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
44665 Remove conditional code.
44666 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44667 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
44668 Remove conditional code.
44669 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44670 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
44671 Remove conditional code.
44672 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44673 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
44674 Remove conditional code.
44675 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44676 * sysdeps/unix/sysv/linux/sh/pwrite64.c
44677 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44678 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44679 * sysdeps/unix/sysv/linux/sigaction.c
44680 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44681 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44682 * sysdeps/unix/sysv/linux/sigpending.c
44683 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44684 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44685 * sysdeps/unix/sysv/linux/sigprocmask.c
44686 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44687 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44688 * sysdeps/unix/sysv/linux/sigsuspend.c
44689 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44690 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44691 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
44692 (__libc_missing_rt_sigs): Remove.
44693 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
44694 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
44695 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
44696 Remove conditional code.
44697 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
44698 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
44699 return 1.
44700 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
44701 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
44702 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
44703 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
44704
1bfb7291
AJ
447052012-05-14 Andreas Jaeger <aj@suse.de>
44706
caae5a81
AJ
44707 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
44708 it's not used in glibc.
44709 (__coshm1): Likewise.
44710 (__acosh1p): Likewise.
44711 (__sgn): Likewise.
44712
1bfb7291
AJ
44713 * manual/string.texi (Copying and Concatenation): Add missing
44714 variable in concat example.
44715 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
44716
c044d724
L
447172012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44718
144c5467 44719 [BZ #14103]
c044d724
L
44720 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
44721 __builtin_clzl with __builtin_clzll.
44722
2523c62b
L
447232012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44724
44725 [BZ #14104]
44726 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
44727 libc_freeres_ptr.
44728
d7bb4c42
LD
447292012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44730
44731 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
44732 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
44733 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
44734 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
44735
9dc4e1fb
MF
447362012-05-14 Mike Frysinger <vapier@gentoo.org>
44737
44738 * NEWS: Update ia64 info.
44739
c7df0112
AS
447402012-05-12 Andreas Schwab <schwab@linux-m68k.org>
44741
44742 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
44743 used as bcopy.
44744
dc70356c
TS
447452012-05-12 Thomas Schwinge <thomas@codesourcery.com>
44746
44747 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
44748 * sysdeps/unix/syscalls.list (dup3): Likewise.
44749 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
44750 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
44751
9fb1a21f
L
447522012-05-11 H.J. Lu <hongjiu.lu@intel.com>
44753
44754 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
44755 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
44756
4822a2a5
L
447572012-05-11 H.J. Lu <hongjiu.lu@intel.com>
44758
44759 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
44760 thread pointer.
44761 (TLS_IE): Use mov/add instead of movq/addq to load thread
44762 pointer.
44763 (TLS_GD_PREFIX): New.
44764 (TLS_GD): Use it.
44765
842b81d6
DM
447662012-05-11 David S. Miller <davem@davemloft.net>
44767
44768 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
44769 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
44770 (_FPU_SETCW): Likewise.
44771
1cf463cd
L
447722012-05-10 H.J. Lu <hongjiu.lu@intel.com>
44773
44774 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
44775 is 32-byte aligned.
44776
60cc4a18
AS
447772012-05-11 Andreas Schwab <schwab@linux-m68k.org>
44778
44779 [BZ #11837]
44780 * iconvdata/gb18030.c: Update tables.
44781 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
44782 characters specially.
44783 (BODY for TO_LOOP): Add encoding of missing ranges.
44784
febb44a4
TS
447852012-05-11 Thomas Schwinge <thomas@codesourcery.com>
44786
44787 [BZ #13673]
44788 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
44789 * sysdeps/mach/hurd/dup3.c: Likewise.
44790 * sysdeps/mach/hurd/readlinkat.c: Likewise.
44791 * sysdeps/powerpc/memmove.c:: Likewise.
44792
0a10fb9e
L
447932012-05-10 H.J. Lu <hongjiu.lu@intel.com>
44794
44795 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
44796 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
44797
df8a552f
L
447982012-05-10 H.J. Lu <hongjiu.lu@intel.com>
44799
44800 * elf/elf.h (R_X86_64_RELATIVE64): New.
44801 (R_X86_64_NUM): Updated.
44802 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
44803 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
44804 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
44805 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
44806 tst-quad1pie tst-quad2pie
44807 (modules-names): Add tst-quadmod1 tst-quadmod2.
44808 ($(objpfx)tst-quad1): New dependency.
44809 ($(objpfx)tst-quad2): Likewise.
44810 ($(objpfx)tst-quad1pie): Likewise.
44811 ($(objpfx)tst-quad2pie): Likewise.
44812 * sysdeps/x86_64/tst-quad1.c: New file.
44813 * sysdeps/x86_64/tst-quad1pie.c: New file.
44814 * sysdeps/x86_64/tst-quad2.c: Likewise.
44815 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
44816 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
44817 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
44818 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
44819 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
44820
f34d6f84
ST
448212012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44822
f42d41d1
ST
44823 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
44824 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
44825 * streams/stropts.h (t_scalar_t): Define type.
44826
3c3571fc
ST
44827 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
44828 (_PATH_PRESERVE): Set to "/var/lib".
44829 (_PATH_RWHODIR): Set to "/var/spool/rwho".
44830
61f06bd3
ST
44831 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
44832 instead of int.
44833
918d4d71
ST
44834 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
44835 if __dir_mkfile succeeded.
44836
f34d6f84
ST
44837 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
44838 checking for _hurd_dtablesize. Unlock it right after having
44839 finished _hurd_dtable allocation.
44840
10589b4a
TS
448412012-05-10 Thomas Schwinge <thomas@schwinge.name>
44842
674cdbc7
TS
44843 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
44844 * sysdeps/mach/hurd/configure: Regenerated.
44845 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
44846 special-casing to...
44847 * sysdeps/gnu/configure.in: ... this new file.
44848 * sysdeps/unix/sysv/linux/configure: Regenerated.
44849 * sysdeps/gnu/configure: New generated file.
44850
8e41b99f
TS
44851 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
44852 for Linux: use nsec instead of usec, as well as:
44853 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
44854 members of type struct timespec.
44855 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
44856 New macros.
44857 (struct stat64): Likewise.
44858 (_STATBUF_ST_NSEC): New macro.
44859 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
44860
10589b4a
TS
44861 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
44862 __strtoul_internal rather than strtoul.
44863
63643c85
PT
448642012-05-10 Pino Toscano <toscano.pino@tiscali.it>
44865
44866 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
44867 and reject them.
44868
3faebe6a
ST
448692012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44870
44871 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
44872 which preserves existing values.
44873 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
44874
c6474b07
PT
448752012-05-10 Pino Toscano <toscano.pino@tiscali.it>
44876
44877 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
44878 TIMEOUT values. Return EINVAL for NFDS values either negative or
44879 greater than FD_SETSIZE.
44880
1043890b
ST
448812012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44882
44883 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
44884 allocated, call __vm_protect to finish enabling the existing space, and
44885 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
44886 allocate the remainder.
44887
37ed8b9b
PT
448882012-05-10 Pino Toscano <toscano.pino@tiscali.it>
44889
44890 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
44891 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
44892
db653660
ST
448932012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44894
37ed8b9b
PT
44895 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
44896 sysdeps/mach/hurd/readlink.c.
b29d4053 44897
db653660
ST
44898 * posix/tst-sysconf.c (posix_options): Only use
44899 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
44900 _POSIX_SYNCHRONIZED_IO when they are defined
44901 * sysdeps/mach/hurd/bits/posix_opt.h:
44902 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
44903 (_XOPEN_REALTIME): Undefine macro.
44904 (_XOPEN_REALTIME_THREADS): Undefine macro.
44905 (_XOPEN_SHM): Undefine macro.
44906 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
44907 macro to -1.
44908 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
44909 macro to -1.
44910 (_POSIX_ASYNC_IO): Undefine macro.
44911 (_POSIX_PRIORITIZED_IO): Undefine macro.
44912 (_POSIX_SPIN_LOCKS): Define macro to -1.
44913
ee16e894
ST
44914 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
44915 SA_NODEFER, SA_RESETHAND.
44916 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
44917 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
44918 F_DUPFD_CLOEXEC.
44919
6103ae3b
TS
449202012-05-10 Thomas Schwinge <thomas@schwinge.name>
44921
44922 * elf/Makefile (pldd-modules): Define unconditionally.
44923
80b4e5f3
TS
449242012-05-10 Thomas Schwinge <thomas@schwinge.name>
44925
44926 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
44927
edadcbd6
ST
449282012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44929
44930 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
44931 Return ENOENT when name is empty.
44932 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
44933
80694780
TS
449342012-05-10 Thomas Schwinge <thomas@schwinge.name>
44935
1792c087
TS
44936 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
44937
80694780
TS
44938 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
44939
6b645f0d
ST
449402012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44941
80694780
TS
44942 Fix mlock in all cases except non-readable pages.
44943 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
44944 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 44945
6b645f0d
ST
44946 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
44947 (__mkdir): When path is `/', just fail with EEXIST.
44948 * sysdeps/mach/hurd/mkdirat.c: Likewise.
44949
e468f8a3
TS
449502012-05-10 Thomas Schwinge <thomas@schwinge.name>
44951
44952 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
44953 <sys/uio.h> (for writev).
44954 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
44955 and <sys/param.h> (for MIN).
44956
a4186cff
PT
449572012-05-10 Pino Toscano <toscano.pino@tiscali.it>
44958
44959 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
44960 REQUESTED_TIME. Properly set the remaining time and return EINTR
44961 if interrupted.
44962
510bbf14
TS
449632012-05-10 Thomas Schwinge <thomas@schwinge.name>
44964
44965 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
44966 Depend on against $(link-rpcuserlibs).
44967
5d5722e8
ST
449682012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44969
a4186cff
PT
44970 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
44971 (__libc_stack_end): Do not use attribute_relro.
44972 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
44973 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 44974 to libthread-provided value.
a4186cff
PT
44975 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
44976 attribute_relro.
5d5722e8 44977
37233df9
TS
449782012-05-10 Thomas Schwinge <thomas@schwinge.name>
44979
be971a2b
TS
44980 [BZ #3748]
44981 * bits/libc-lock.h (__libc_once_get): New macro.
44982 * sysdeps/mach/bits/libc-lock.h: Likewise.
44983 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
44984 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
44985 instead of using implementation details.
44986
37233df9
TS
44987 * libio/fileops.c: Unconditionally include <kernel-features.h>.
44988 * libio/freopen.c: Likewise.
44989 * libio/freopen64.c: Likewise.
44990 * misc/syslog.c: Likewise.
44991 * nscd/connections.c: Likewise.
44992 * nscd/netgroupcache.c: Likewise.
44993 * sysdeps/posix/getcwd.c: Likewise.
44994
38de94a5
RM
449952012-05-10 Roland McGrath <roland@hack.frob.com>
44996
44997 * math/w_ilogbf.c: Add #include <limits.h>.
44998
67530489
ST
449992012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
45000
a4186cff 45001 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
45002 path instead of returning without unlocking.
45003
67530489
ST
45004 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
45005 immediate-write ioctls.
45006 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
45007
5aa3a74a
TS
450082012-05-10 Thomas Schwinge <thomas@schwinge.name>
45009
18bad2ae
TS
45010 * sysdeps/mach/hurd/i386/init-first.c (init): Use
45011 __builtin_frame_address instead of making assumptions about the
45012 location of the return address relative to DATA. Force early load of
45013 the return address.
45014 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
45015 __builtin_frame_address.
45016
5aa3a74a
TS
45017 dup3 for GNU Hurd.
45018 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
45019 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
45020 implement dup3 and do some further code clean-ups.
45021 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
45022 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
45023
ecd0de9a
ST
450242012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
45025
cd9fa985
ST
45026 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
45027
a4186cff
PT
45028 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
45029 HURD_CRITICAL_END around holding _hurd_dtable_lock.
45030 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
45031 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
45032 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
45033 d->port.lock.
802ca5a5 45034
a4186cff
PT
45035 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
45036 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
45037 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 45038
bcf55240
TS
450392012-05-10 Thomas Schwinge <thomas@schwinge.name>
45040
6960eb42
TS
45041 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
45042 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
45043 definitions.
45044
eb43375f
TS
45045 accept4 for GNU Hurd.
45046 * include/sys/socket.h (__libc_accept4): New prototype.
45047 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
45048 to implement __libc_accept4.
45049 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
45050 __libc_accept4.
45051 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
45052
bcf55240
TS
45053 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
45054 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
45055 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
45056 signal-defines.sym.
45057
6178c55b
ST
450582012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
45059
a4186cff 45060 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 45061
6f080c2f
TS
450622012-05-10 Thomas Schwinge <thomas@schwinge.name>
45063
45064 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
45065 assertion on O_CLOEXEC flag.
45066 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
45067 * hurd/intern-fd.c: Likewise.
45068 * hurd/port2fd.c: Likewise.
45069
bcfe3a54
ST
450702012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
45071
45072 [BZ #3906]
45073 * bits/in.h (IPV6_PKTINFO): Define new macro.
45074 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
45075
89c9aa49
AZ
450762012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45077
45078 [BZ #13954]
45079 [BZ #13955]
45080 [BZ #13956]
45081 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
45082 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
45083 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
45084 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
45085 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
45086 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
45087 * math/libm-test.inc (logb_test) : Additional logb tests.
45088
021db4be
AJ
450892012-05-09 Andreas Schwab <schwab@linux-m68k.org>
45090 Andreas Jaeger <aj@suse.de>
45091
45092 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
45093 * configure: Regenerated.
45094 * config.h.in (LINK_OBSOLETE_RPC): New macro.
45095 * config.make.in (link-obsolete-rpc): New substituted variable.
45096 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
45097 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
45098 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
45099 (shared-only-routines): Don't set it under [link-obsolete-rpc],
45100 so that libc.a contains the symbols.
45101 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
45102 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
45103 * sunrpc/auth_none.c: Likewise.
45104 * sunrpc/auth_unix.c: Likewise.
45105 * sunrpc/authdes_prot.c: Likewise.
45106 * sunrpc/authuxprot.c: Likewise.
45107 * sunrpc/clnt_gen.c: Likewise.
45108 * sunrpc/clnt_perr.c: Likewise.
45109 * sunrpc/clnt_raw.c: Likewise.
45110 * sunrpc/clnt_simp.c: Likewise.
45111 * sunrpc/clnt_tcp.c: Likewise.
45112 * sunrpc/clnt_udp.c: Likewise.
45113 * sunrpc/clnt_unix.c: Likewise.
45114 * sunrpc/des_crypt.c: Likewise.
45115 * sunrpc/des_soft.c: Likewise.
45116 * sunrpc/get_myaddr.c: Likewise.
45117 * sunrpc/key_call.c: Likewise.
45118 * sunrpc/key_prot.c: Likewise.
45119 * sunrpc/netname.c: Likewise.
45120 * sunrpc/pm_getmaps.c: Likewise.
45121 * sunrpc/pm_getport.c: Likewise.
45122 * sunrpc/pmap_clnt.c: Likewise.
45123 * sunrpc/pmap_prot.c: Likewise.
45124 * sunrpc/pmap_prot2.c: Likewise.
45125 * sunrpc/pmap_rmt.c: Likewise.
45126 * sunrpc/publickey.c: Likewise.
45127 * sunrpc/rpc_cmsg.c: Likewise.
45128 * sunrpc/rpc_common.c: Likewise.
45129 * sunrpc/rpc_dtable.c: Likewise.
45130 * sunrpc/rpc_prot.c: Likewise.
45131 * sunrpc/rpc_thread.c: Likewise.
45132 * sunrpc/rtime.c: Likewise.
45133 * sunrpc/svc.c: Likewise.
45134 * sunrpc/svc_auth.c: Likewise.
45135 * sunrpc/svc_raw.c: Likewise.
45136 * sunrpc/svc_run.c: Likewise.
45137 * sunrpc/svc_tcp.c: Likewise.
45138 * sunrpc/svc_udp.c: Likewise.
45139 * sunrpc/svc_unix.c: Likewise.
45140 * sunrpc/svcauth_des.c: Likewise.
45141 * sunrpc/xcrypt.c: Likewise.
45142 * sunrpc/xdr.c: Likewise.
45143 * sunrpc/xdr_array.c: Likewise.
45144 * sunrpc/xdr_float.c: Likewise.
45145 * sunrpc/xdr_intXX_t.c: Likewise.
45146 * sunrpc/xdr_mem.c: Likewise.
45147 * sunrpc/xdr_rec.c: Likewise.
45148 * sunrpc/xdr_ref.c: Likewise.
45149 * sunrpc/xdr_sizeof.c: Likewise.
45150 * sunrpc/xdr_stdio.c: Likewise.
45151
b5c086a2
RM
451522012-05-10 Roland McGrath <roland@hack.frob.com>
45153
45154 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
45155 change. Update copyright years.
45156
6d74dd09
JM
451572012-05-10 Joseph Myers <joseph@codesourcery.com>
45158
45159 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
45160
28e72501
MK
451612012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
45162 Joseph Myers <joseph@codesourcery.com>
45163 Paul Pluzhnikov <ppluzhnikov@google.com>
45164
45165 [BZ #14012]
45166 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
45167 requiring rpcgen.
45168 [cross-compiling] (extra-libs): Likewise.
45169 [cross-compiling] (extra-libs-others): Likewise.
45170 [cross-compiling] (librpcsvc-routines): Likewise.
45171 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
45172 [cross-compiling] (omit-deps): Likewise.
45173 (sunrpc-CPPFLAGS): New variable.
45174 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
45175 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
45176 (cross-rpcgen-objs): New variable.
45177 (extra-objs): Append $(cross-rpcgen-objs).
45178 ($(cross-rpcgen-objs)): New rule.
45179 ($(objpfx)cross-rpcgen): Likewise.
45180 (rpcgen-cmd): Define to use $(built-program-file). Expand
45181 comment.
45182 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
45183 ($(objpfx)x%.stmp): Likewise.
45184 * sunrpc/proto.h [IS_IN_build] (_): Define.
45185 [IS_IN_build] (_libc_intl_domainname): Likewise.
45186
c8c59454
L
451872012-05-10 H.J. Lu <hongjiu.lu@intel.com>
45188
45189 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
45190 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
45191 and R_X86_64_TPOFF64.
45192
6f27cd16
JM
451932012-05-10 Joseph Myers <joseph@codesourcery.com>
45194
45195 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
45196 sysdeps/unix/sysv/syscalls.list.
45197 (stime): Likewise.
45198 (utime): Likewise.
45199 * sysdeps/unix/sysv/syscalls.list: Remove file.
45200
02467e1c
PE
452012012-05-10 Paul Eggert <eggert@cs.ucla.edu>
45202
45203 [BZ #3440]
45204 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
45205 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
45206 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
45207 (__LC_IDENTIFICATION): Make these macros useful in #if
45208 expressions, as required by C99.
45209
da392631
AS
452102012-05-10 Andreas Schwab <schwab@linux-m68k.org>
45211
45212 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
45213 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
45214 after this.
45215
8115f29b
L
452162012-05-09 H.J. Lu <hongjiu.lu@intel.com>
45217
45218 * stdlib/longlong.h: Updated from GCC.
45219
bdd74070
AJ
452202012-05-09 Andreas Jaeger <aj@suse.de>
45221
edfe0dbe
AJ
45222 * nscd/nscd.c (run_modes): Make named enum, reorder so that
45223 default is first entry.
45224 (run_mode): Set type.
45225 (main): Remove informal message about syslog.
45226 (options): Fix typo.
45227
bcfe3a54
ST
45228 [BZ #14053]
45229 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 45230 to asm.
bcfe3a54
ST
45231 (lrint): Likewise.
45232 (llrintf): Likewise.
45233 (llrint): Likewise.
45234 (rint): Likewise.
45235 (rintf): Likewise.
45236 (nearbyint): Likewise.
45237 (nearbyintf): Likewise.
bdd74070 45238
91d8d69e
AJ
452392012-05-09 Andreas Jaeger <aj@suse.de>
45240 Pedro Alves <palves@redhat.com>
45241
45242 * nscd/nscd.c (run_mode): Use enum.
45243 (main): Cleanup coding style issue.
45244
bb90b80b
AJ
452452012-05-09 Alexandre Oliva <aoliva@redhat.com>
45246 Andreas Jaeger <aj@suse.de>
45247
bcfe3a54
ST
45248 * nscd/nscd.c (go_background): Replaced with...
45249 (run_mode): ... this.
bb90b80b 45250 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
45251 (options): Add -F --foreground.
45252 (main): Implement it.
45253 (parse_opt): Parse it.
bb90b80b 45254
1a4b75a1
AJ
452552012-05-09 Andreas Jaeger <aj@suse.de>
45256
45257 [BZ #14083]
45258 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
45259 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
45260 -Wconversion warning.
45261 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
45262 Likewise.
45263
b1cc2472
JM
452642012-05-09 Joseph Myers <joseph@codesourcery.com>
45265
45266 * conform/data/locale.h-data (NULL): Use macro-constant. Require
45267 == 0.
45268 (LC_ALL): Use macro-int-constant.
45269 (LC_COLLATE): Likewise.
45270 (LC_CTYPE): Likewise.
45271 (LC_MESSAGES): Likewise.
45272 (LC_MONETARY): Likewise.
45273 (LC_NUMERIC): Likewise.
45274 (LC_TIME): Likewise.
45275 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
45276 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
45277 [ISO || ISO99 || ISO11] (*_t): Do not allow.
45278 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
45279 Specify type.
45280 [C99-based standards] (float_t): Expect type.
45281 [C99-based standards] (double_t): Expect type.
45282 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
45283 type.
45284 [C99-based standards] (HUGE_VALL): Likewise.
45285 [C99-based standards] (INFINITY): Likewise.
45286 [C99-based standards] (NAN): Likewise.
45287 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
45288 [C99-based standards] (FP_NAN): Likewise.
45289 [C99-based standards] (FP_NORMAL): Likewise.
45290 [C99-based standards] (FP_SUBNORMAL): Likewise.
45291 [C99-based standards] (FP_ZERO): Likewise.
45292 [C99-based standards] (FP_FAST_FMA): Use
45293 optional-macro-int-constant. Specify type. Require == 1.
45294 [C99-based standards] (FP_FAST_FMAF): Likewise.
45295 [C99-based standards] (FP_FAST_FMAL): Likewise.
45296 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
45297 [C99-based standards] (FP_ILOGBNAN): Likewise.
45298 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
45299 Specify type.
45300 [C99-based standards] (MATH_ERREXCEPT): Likewise.
45301 [C99-based standards] (math_errhandling): Specify type.
45302 [ISO99 || ISO11] (signgam): Do not allow.
45303 [non-C99-based standards] (copysignf): Do not allow.
45304 [non-C99-based standards] (exp2f): Likewise.
45305 [non-C99-based standards] (log2f): Likewise.
45306 [non-C99-based standards] (modff): Allow.
45307 [non-C99-based standards] (erff): Do not allow.
45308 [non-C99-based standards] (erfcf): Likewise.
45309 [non-C99-based standards] (gammaf): Likewise.
45310 [non-C99-based standards] (hypotf): Likewise.
45311 [non-C99-based standards] (j0f): Likewise.
45312 [non-C99-based standards] (j1f): Likewise.
45313 [non-C99-based standards] (jnf): Likewise.
45314 [non-C99-based standards] (lgammaf): Likewise.
45315 [non-C99-based standards] (tgammaf): Likewise.
45316 [non-C99-based standards] (y0f): Likewise.
45317 [non-C99-based standards] (y1f): Likewise.
45318 [non-C99-based standards] (ynf): Likewise.
45319 [non-C99-based standards] (isnanf): Likewise.
45320 [non-C99-based standards] (acoshf): Likewise.
45321 [non-C99-based standards] (asinhf): Likewise.
45322 [non-C99-based standards] (atanhf): Likewise.
45323 [non-C99-based standards] (cbrtf): Likewise.
45324 [non-C99-based standards] (expm1f): Likewise.
45325 [non-C99-based standards] (ilogbf): Likewise.
45326 [non-C99-based standards] (log1pf): Likewise.
45327 [non-C99-based standards] (logbf): Likewise.
45328 [non-C99-based standards] (nextafterf): Likewise.
45329 [non-C99-based standards] (remainderf): Likewise.
45330 [non-C99-based standards] (rintf): Likewise.
45331 [non-C99-based standards] (scalbf): Likewise.
45332 [non-C99-based standards] (copysignl): Likewise.
45333 [non-C99-based standards] (exp2l): Likewise.
45334 [non-C99-based standards] (log2l): Likewise.
45335 [non-C99-based standards] (modfl): Allow.
45336 [non-C99-based standards] (erfl): Do not allow.
45337 [non-C99-based standards] (erfcl): Likewise.
45338 [non-C99-based standards] (gammal): Likewise.
45339 [non-C99-based standards] (hypotl): Likewise.
45340 [non-C99-based standards] (j0l): Likewise.
45341 [non-C99-based standards] (j1l): Likewise.
45342 [non-C99-based standards] (jnl): Likewise.
45343 [non-C99-based standards] (lgammal): Likewise.
45344 [non-C99-based standards] (tgammal): Likewise.
45345 [non-C99-based standards] (y0l): Likewise.
45346 [non-C99-based standards] (y1l): Likewise.
45347 [non-C99-based standards] (ynl): Likewise.
45348 [non-C99-based standards] (isnanl): Likewise.
45349 [non-C99-based standards] (acoshl): Likewise.
45350 [non-C99-based standards] (asinhl): Likewise.
45351 [non-C99-based standards] (atanhl): Likewise.
45352 [non-C99-based standards] (cbrtl): Likewise.
45353 [non-C99-based standards] (expm1l): Likewise.
45354 [non-C99-based standards] (ilogbl): Likewise.
45355 [non-C99-based standards] (log1pl): Likewise.
45356 [non-C99-based standards] (logbl): Likewise.
45357 [non-C99-based standards] (nextafterl): Likewise.
45358 [non-C99-based standards] (remainderl): Likewise.
45359 [non-C99-based standards] (rintl): Likewise.
45360 [non-C99-based standards] (scalbl): Likewise.
45361 [ISO || ISO99 || ISO11] (*_t): Do not allow.
45362 [non-C99-based standards] (FP_*): Do not allow.
45363 [C99-based standards] (FP_*): Change to
45364 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
45365 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
45366 allow.
45367 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
45368 (SIG_ERR): Likewise.
45369 [X/Open-based standards] (SIG_HOLD): Likewise.
45370 (SIG_IGN): Likewise.
45371 (SIGABRT): Use macro-int-constant. Specify type. Require
45372 positive value.
45373 (SIGFPE): Likewise.
45374 (SIGILL): Likewise.
45375 (SIGINT): Likewise.
45376 (SIGSEGV): Likewise.
45377 (SIGTER): Likewise.
45378 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
45379 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
45380 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
45381 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
45382 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
45383 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
45384 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
45385 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
45386 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
45387 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
45388 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
45389 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
45390 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
45391 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
45392 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
45393 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
45394 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
45395 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
45396 [X/Open-based standards] (SIGTRAP): Likewise.
45397 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
45398 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
45399 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
45400 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
45401 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
45402 allow.
45403
b9f1922d
IW
454042012-05-08 Ian Wienand <ianw@vmware.com>
45405
45406 [BZ #14080]
45407 * time/tzset.c (__tzset_parse_tz): Update default rules for
45408 daylight time changes in the Energy Policy Act of 2005.
45409
1db86e88
AJ
454102012-05-09 Andreas Jaeger <aj@suse.de>
45411
45412 [BZ #13983]
45413 * elf/ldconfig.c (parse_conf): Change string to make clear that
45414 ldconfig only issued a warning if ld.so.conf does not exist.
45415
dee4a4e3
DM
454162012-05-08 David S. Miller <davem@davemloft.net>
45417
ee0db190
DM
45418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
45419 movxtod instead of popping the value on the stack.
45420
dee4a4e3
DM
45421 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45422
6a43ec98
CD
454232012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
45424
45425 * config.h.in: Add HAVE_ARM_PCS_VFP.
45426
05c2c961
RMG
454272012-05-08 Roland Mc Grath <roland@hack.frob.com>
45428
bcfe3a54
ST
45429 [BZ #13979]
45430 * include/features.h: Warn if user requests __FORTIFY_SOURCE
45431 checking but the checks are disabled for any reason.
05c2c961 45432
4b30f61a
L
454332012-05-08 H.J. Lu <hongjiu.lu@intel.com>
45434
45435 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
45436 and ELF64_R_TYPE with ELFW(R_TYPE).
45437
eee2bc67
JM
454382012-05-08 Joseph Myers <joseph@codesourcery.com>
45439
7ea5391a
JM
45440 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
45441 (ulimit): Likewise.
45442
eee2bc67
JM
45443 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
45444 (settimeofday): Likewise.
45445
abb66a67
MF
454462012-05-08 Mike Frysinger <vapier@gentoo.org>
45447
45448 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
45449 a struct th_u2 inside the union, and move tu_block/tu_code into
45450 a new th_u3 union of tu_block/tu_code inside of that. Move
45451 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
45452 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
45453 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
45454 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
45455 (th_stuff): Change to th_u1.tu_stuff.
45456 (th_data): Define.
45457 (th_msg): Change to th_u1.th_u2.tu_data.
45458
7f18b530
DM
454592012-05-07 David S. Miller <davem@davemloft.net>
45460
05760585
DM
45461 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45462
7f18b530
DM
45463 [BZ #14074]
45464 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
45465 (SETUP_PIC_REG): Use it.
45466 (SETUP_PIC_REG_LEAF): Use it.
45467
495fd99f
JM
454682012-05-07 Joseph Myers <joseph@codesourcery.com>
45469
45470 [BZ #13885]
45471 [BZ #13923]
45472 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
45473 USE_AS_EXPM1L.
45474 (EXPL_FINITE): Likewise.
45475 (FLDLOG): Likewise.
45476 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
45477 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
45478 e_expl.S.
45479 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
45480 USE_AS_EXPM1L.
45481 (EXPL_FINITE): Likewise.
45482 (FLDLOG): Likewise.
45483 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
45484 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
45485 e_expl.S.
45486 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
45487 test of -max_value argument for long double.
45488 * sysdeps/i386/fpu/libm-test-ulps: Update.
45489 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45490
6693d694
DM
454912012-05-06 David S. Miller <davem@davemloft.net>
45492
45493 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
45494 quad soft-float symbols whose references which are compiler
45495 generated.
45496 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
45497
6c23e11c
JM
454982012-05-06 Joseph Myers <joseph@codesourcery.com>
45499
d8b82cad
JM
45500 [BZ #13884]
45501 [BZ #13914]
45502 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
45503 USE_AS_EXP10L.
45504 (EXPL_FINITE): Likewise.
45505 (FLDLOG): Likewise.
45506 (c0): Likewise.
45507 (c1): Likewise.
45508 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
45509 Adjust comments for base varying.
45510 (__expl_finite): Change alias to EXPL_FINITE.
45511 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
45512 e_expl.S.
45513 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
45514 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
45515 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
45516 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
45517 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
45518 USE_AS_EXP10L.
45519 (EXPL_FINITE): Likewise.
45520 (FLDLOG): Likewise.
45521 (c0): Likewise.
45522 (c1): Likewise.
45523 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
45524 Adjust comments for base varying.
45525 (__expl_finite): Change alias to EXPL_FINITE.
45526 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
45527 tests for bugs.
45528 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45529
6c23e11c
JM
45530 [BZ #14064]
45531 * math/libm-test.inc (check_float_internal): Correct ulp
45532 calculation for subnormal expected results.
45533
29ba805c
AJ
455342012-05-06 Andreas Jaeger <aj@suse.de>
45535
45536 * Makeconfig (+math-flags): New, set to -frounding-math.
45537 (+cflags): Add +math-flags so that all of glibc gets compiled with
45538 it.
45539
45540 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
45541
7b17aeda
JM
455422012-05-05 Joseph Myers <joseph@codesourcery.com>
45543
5779f134
JM
45544 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
45545 Disable one test.
45546
41498f4d
JM
45547 [BZ #13787]
45548 [BZ #13922]
45549 [BZ #14036]
45550 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
45551 (__ieee754_expl): Allow for and saturate large arguments.
45552 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
45553 (u_threshold): Likewise.
45554 (__exp): Call __ieee754_exp before checking for overflow and
45555 underflow.
45556 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
45557 (u_threshold): Likewise.
45558 (__expf): Call __ieee754_expf before checking for overflow and
45559 underflow.
45560 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
45561 (u_threshold): Likewise.
45562 (__expl): Call __ieee754_expl before checking for overflow and
45563 underflow.
45564 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
45565 (__ieee754_expl): Allow for and saturate large arguments.
45566 * math/libm-test.inc (exp_test): Add another test. Do not allow
45567 missing overflow exception on overflow.
45568 (expm1_test): Do not allow missing overflow exception on overflow.
45569
6698b8bf
JM
45570 * sysdeps/i386/fpu/e_expl.c: Move to ...
45571 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
45572 rather than using inline asm.
45573 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
45574 * sysdeps/x86_64/fpu/e_expl.S: Copy from
45575 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
45576
7b17aeda
JM
45577 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
45578 (nice): Likewise.
45579 (poll): Likewise.
45580 (signal): Likewise.
45581 (time): Likewise.
45582 (times): Likewise.
45583
f7c85819
JM
455842012-05-04 Joseph Myers <joseph@codesourcery.com>
45585
45586 * sysdeps/unix/syscalls.list (adjtime): Add entry from
45587 sysdeps/unix/common/syscalls.list.
45588 (fchmod): Likewise.
45589 (fchown): Likewise.
45590 (ftruncate): Likewise.
45591 (getrusage): Likewise.
45592 (gettimeofday): Likewise.
45593 (setpgid): Likewise.
45594 (setregid): Likewise.
45595 (setreuid): Likewise.
45596 (sigaction): Likewise.
45597 (truncate): Likewise.
45598 (vhangup): Likewise.
45599 * sysdeps/unix/common/syscalls.list: Remove file.
45600 * sysdeps/unix/bsd/Implies: Don't include unix/common.
45601 * sysdeps/unix/sysv/linux/Implies: Likewise.
45602
336270d0
L
456032012-05-04 H.J. Lu <hongjiu.lu@intel.com>
45604
45605 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
45606 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
45607 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
45608 Moved to ...
45609 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
45610 Here.
45611 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
45612 to ...
45613 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
45614 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
45615 to ...
45616 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
45617 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
45618 to ...
45619 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
45620 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
45621 to ...
45622 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
45623 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
45624 to ...
45625 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
45626 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
45627 to ...
45628 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
45629 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
45630 to ...
45631 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
45632 Here.
45633 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
45634 to ...
45635 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
45636 Here.
45637 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
45638 to ...
45639 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
45640 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
45641 Moved to ...
45642 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
45643 Here.
45644 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
45645 to ...
45646 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
45647
d128e450
JM
456482012-05-04 Joseph Myers <joseph@codesourcery.com>
45649
fa8ee516
JM
45650 * sysdeps/unix/common/bits/dirent.h: Remove file.
45651 * sysdeps/unix/common/bits/fcntl.h: Likewise.
45652
d128e450
JM
45653 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
45654 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
45655 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
45656 * sysdeps/unix/bsd/isatty.c: Likewise.
45657 * sysdeps/unix/bsd/tcdrain.c: Likewise.
45658 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
45659 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
45660
ff8faaf0 456612012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 45662
62881be4 45663 [BZ #13563]
31dc8730
AZ
45664 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
45665 long double comparison inaccuracies.
45666 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
45667 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45668
6fef930c
AS
456692012-05-04 Andreas Schwab <schwab@linux-m68k.org>
45670
45671 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
45672 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
45673
8f203e6c
JM
456742012-05-04 Joseph Myers <joseph@codesourcery.com>
45675
45676 [BZ #14049]
45677 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
45678 nonzero digits before rounding a hex value.
45679 * stdlib/tst-strtod.c (tests): Add another test.
45680
5197d9c2
AK
456812012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45682
45683 * sysdeps/s390/fpu/libm-test-ulps: Update.
45684
f0c1dedf
AJ
456852012-05-03 Andreas Jaeger <aj@suse.de>
45686
45687 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
45688 does not get optimized out.
45689 (malloc_opt_barrier): New.
45690
a65ef2ae 456912012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 45692 Roland McGrath <roland@hack.frob.com>
a65ef2ae 45693
2b942cb7 45694 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 45695 intermediate file deletion.
2b942cb7 45696 (generated): Add .symlist files.
a65ef2ae 45697
54b71e02
JM
456982012-05-03 Joseph Myers <joseph@codesourcery.com>
45699
45700 [BZ #13775]
45701 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
45702 Redirect under this condition.
45703 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
45704 [__USE_GNU] (__dprintf_chk): Not under this condition.
45705 [__USE_GNU] (__vdprintf_chk): Likewise.
45706 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
45707 under this condition.
45708 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
45709 [__USE_XOPEN2K8] (dprintf): Define under this condition.
45710 [__USE_XOPEN2K8] (vdprintf): Likewise.
45711 [__USE_GNU] (__dprintf_chk): Not under this condition.
45712 [__USE_GNU] (__vdprintf_chk): Likewise.
45713 [__USE_GNU] (dprintf): Likewise.
45714 [__USE_GNU] (vdprintf): Likewise.
45715
d3dfcc41
RM
457162012-05-03 Roland McGrath <roland@hack.frob.com>
45717
45718 * elf/Makefile (common-generated): Set this instead of generated for
45719 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
45720 $(all-built-dso)-derived lists.
45721
7ac30cc5
AJ
457222012-05-03 Andreas Jaeger <aj@suse.de>
45723
0c51e550
AJ
45724 * sysdeps/i386/fpu/libm-test-ulps: Update.
45725
7ac30cc5
AJ
45726 * FAQ: Removed.
45727 * FAQ.in: Likewise.
45728 * scripts/gen-FAQ.pl: Likewise.
45729 * manual/install.texi (Installation): Point to online location of
45730 FAQ.
45731 * Makefile (files-for-dist): Remove FAQ.
45732 (FAQ): Remove.
45733
d4c2917f
AM
457342012-05-02 Allan McRae <allan@archlinux.org>
45735
45736 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
45737 (LDFLAGS-reldepmod5.so): Likewise.
45738 (LDFLAGS-reldep6mod1.so): Likewise.
45739 (LDFLAGS-reldep6mod4.so): Likewise.
45740 (LDFLAGS-reldep8mod3.so): Likewise.
45741 (LDFLAGS-unload4mod1.so): Likewise.
45742 (LDFLAGS-unload4mod2.so): Likewise.
45743 (LDFLAGS-tst-initorder): Likewise.
45744 (LDFLAGS-tst-initordera2.so): Likewise.
45745 (LDFLAGS-tst-initordera3.so): Likewise.
45746 (LDFLAGS-tst-initordera4.so): Likewise.
45747 (LDFLAGS-tst-initorderb2.so): Likewise.
45748 (LDFLAGS-noload): Likewise.
45749 (LDFLAGS-next): Likewise.
45750 (LDFLAGS-order2mod1.so): Likewise.
45751 (LDFLAGS-order2mod2.so): Likewise.
45752 (LDFLAGS-tst-initorder2): Likewise.
45753 (LDFLAGS-tst-initorder2a.so): Likewise.
45754 (LDFLAGS-tst-initorder2b.so): Likewise.
45755 (LDFLAGS-tst-initorder2c.so): Likewise.
45756 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
45757
d77f993f
DM
457582012-05-02 David S. Miller <davem@davemloft.net>
45759
45760 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45761
171a70b4
PP
457622012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
45763
45764 [BZ #14055]
45765 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
45766
0be196ad
AJ
457672012-05-02 Andreas Jaeger <aj@suse.de>
45768
45769 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
45770 since we manipulate rounding mode.
45771 (CPPFLAGS-test-idouble.c): Likewise.
45772 (CPPFLAGS-test-ifloat.c): Likewise.
45773 (CFLAGS-test-ldouble.c): Likewise.
45774 (CFLAGS-test-double.c): Likewise.
45775 (CFLAGS-test-float.c): Likewise.
45776 (CFLAGS-test-misc.c): Likewise.
45777 (CFLAGS-test-test-fenv.c): Likewise.
45778
4f9d04aa
AZ
457792012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45780
2b942cb7
RM
45781 [BZ #2550]
45782 [BZ #2570]
45783 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
45784 comparisons to determine direction to adjust input.
4f9d04aa 45785
82a79e7d
RM
457862012-05-01 Roland McGrath <roland@hack.frob.com>
45787
f5a01ca9
RM
45788 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
45789 output to the target.
45790
90fe4186
RM
45791 * scripts/localplt.awk: New file.
45792 * elf/Makefile ($(objpfx)check-localplt): Target removed.
45793 (check-localplt-CFLAGS): Variable removed.
45794 ($(all-built-dso:=.jmprel)): New static pattern rule.
45795 (generated): Add those targets.
45796 (localplt-built-dso): New variable.
45797 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
45798
45799 * elf/check-localplt.c: File removed.
45800
82397ed6
RM
45801 * scripts/check-execstack.awk: New file.
45802 * elf/Makefile ($(objpfx)check-execstack): Target removed.
45803 (check-execstack-CFLAGS): Variable removed.
45804 ($(objpfx)check-execstack.h): Target removed.
45805 ($(objpfx)execstack-default): New target.
45806 (generated): Add that instead of check-execstack.h.
45807 ($(all-built-dso:=.phdr)): New static pattern rule.
45808 (generated): Add those targets.
45809 * elf/check-execstack.c: File removed.
45810
82a79e7d
RM
45811 * scripts/check-textrel.awk: New file.
45812 * elf/Makefile ($(objpfx)check-textrel): Target removed.
45813 (check-textrel-CFLAGS): Variable removed.
45814 (all-built-dso): Use := to define.o
45815 ($(all-built-dso:=.dyn)): New static pattern rule.
45816 (generated): Add those targets.
45817 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
45818 * config.make.in (READELF): New substituted variable.
45819 * elf/check-textrel.c: File removed.
45820
62fde54f 458212012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 45822
615605c9
JM
45823 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
45824 allow.
45825 * conform/data/ctype.h-data [C99-based standards] (isblank):
45826 Expect function.
45827 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
45828 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
45829 [ISO || ISO99 || ISO11] (*_t): Do not allow.
45830 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
45831 Specify type. Require positive value.
45832 (EILSEQ): Likewise.
45833 (ERANGE): Likewise.
45834 [ISO || POSIX] (EILSEQ): Do not expect.
45835 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
45836 Specify type. Require positive value.
45837 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
45838 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
45839 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
45840 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
45841 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
45842 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
45843 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
45844 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
45845 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
45846 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
45847 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
45848 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
45849 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
45850 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
45851 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
45852 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
45853 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
45854 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
45855 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
45856 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
45857 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
45858 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
45859 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
45860 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
45861 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
45862 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
45863 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
45864 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
45865 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
45866 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
45867 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
45868 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
45869 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
45870 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
45871 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
45872 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
45873 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
45874 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
45875 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
45876 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
45877 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
45878 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
45879 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
45880 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
45881 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
45882 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
45883 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
45884 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
45885 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
45886 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
45887 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
45888 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
45889 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
45890 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
45891 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
45892 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
45893 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
45894 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
45895 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
45896 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
45897 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
45898 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
45899 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
45900 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
45901 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
45902 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
45903 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
45904 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
45905 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
45906 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
45907 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
45908 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
45909 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
45910 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
45911 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
45912 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
45913 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
45914 Require >= 2.
45915 (FLT_ROUNDS): Expect as macro, not constant.
45916 (FLT_MANT_DIG): Use macro-int-constant.
45917 (DBL_MANT_DIG): Likewise.
45918 (LDBL_MANT_DIG): Likewise.
45919 (FLT_DIG): Likewise.
45920 (DBL_DIG): Likewise.
45921 (LDBL_DIG): Likewise.
45922 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
45923 (DBL_MIN_EXP): Likewise.
45924 (LDBL_MIN_EXP): Likewise.
45925 (FLT_MAX_EXP): Use macro-int-constant.
45926 (DBL_MAX_EXP): Likewise.
45927 (LDBL_MAX_EXP): Likewise.
45928 (FLT_MAX_10_EXP): Likewise.
45929 (DBL_MAX_10_EXP): Likewise.
45930 (LDBL_MAX_10_EXP): Likewise.
45931 (FLT_MAX): Use macro-constant.
45932 (DBL_MAX): Likewise.
45933 (LDBL_MAX): Likewise.
45934 (FLT_EPSILON): Use macro-constant. Give upper bound.
45935 (DBL_EPSILON): Likewise.
45936 (LDBL_EPSILON): Likewise.
45937 (FLT_MIN): Likewise.
45938 (DBL_MIN): Likewise.
45939 (LDBL_MIN): Likewise.
45940 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
45941 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
45942 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
45943 [ISO11] (FLT_HAS_SUBNORM): Likewise.
45944 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
45945 [ISO11] (DBL_DECIMAL_DIG): Likewise.
45946 [ISO11] (FLT_DECIMAL_DIG): Likewise.
45947 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
45948 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
45949 [ISO11] (FLT_TRUE_MIN): Likewise.
45950 [ISO11] (LDBL_TRUE_MIN): Likewise.
45951 [ISO || ISO99 || ISO11] (*_t): Do not allow.
45952 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
45953 (SCHAR_MIN): Use macro-int-constant. Specify type.
45954 (SCHAR_MAX): Likewise.
45955 (UCHAR_MAX): Likewise.
45956 (CHAR_MIN): Likewise.
45957 (CHAR_MAX): Likewise.
45958 (MB_LEN_MAX): Use macro-int-constant.
45959 (SHRT_MIN): Use macro-int-constant. Specify type.
45960 (SHRT_MAX): Likewise.
45961 (USHRT_MAX): Likewise.
45962 (INT_MAX): Likewise.
45963 (INT_MIN): Use macro-int-constant. Specify type. Make upper
45964 bound negative.
45965 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
45966 bound with "U".
45967 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
45968 bound with "L".
45969 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
45970 bound negative. Suffix upper bound with "L".
45971 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
45972 bound with "UL".
45973 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
45974 Specify type.
45975 [C99-based standards] (LLONG_MAX): Likewise.
45976 [C99-based standards] (ULLONG_MAX): Likewise.
45977 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
45978 == 0.
45979 [ISO11] (max_align_t): Require type.
45980 [ISO || ISO99 || ISO11] (*_t): Do not allow.
45981
c9140a62
JM
45982 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
45983 from $CFLAGS, without defining away __attribute__ calls.
45984 (checknamespace): Use $CFLAGS_namespace.
45985
9af0bf29
JM
45986 * conform/conformtest.pl (@keywords): Only include C99 keywords
45987 for standards based on C99 or C11.
45988
343222a2
JM
45989 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
45990 Disable tests.
45991 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
45992 UNIX98]: Likewise.
45993
661f8cf0
JM
45994 * conform/conformtest.pl: Handle "macro-int-constant" and test for
45995 usability of symbols in #if.
45996
ee74b9cb
JM
45997 * conform/conformtest.pl: If macro or constant types start
45998 "promoted:", expect the symbol to be of the following type
45999 promoted by the integer promotions.
62fde54f 46000
aafc49b3
JM
46001 * conform/conformtest.pl: Parse all "constant" and "macro" lines
46002 in one place. Also handle "macro-constant".
46003
fefdf574
JM
46004 * conform/conformtest.pl: Only accept expected macro values with
46005 "==". Parse all "macro" lines in one place.
46006 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
46007
f2d922fe
JM
46008 * conform/conformtest.pl: Handle braced types on "constant" lines
46009 instead of handling "typed-constant".
46010 * conform/data/signal.h-data: Use "constant" instead of
46011 "typed-constant".
46012
d22956c9
JM
46013 * conform/conformtest.pl: Handle "optional-" at start of lines in
46014 one place rather than duplicating several cases. Handle each
46015 format of "macro" line with initial "optional-".
46016
028e2e38
JM
46017 * conform/conformtest.pl: Only accept expected constant or
46018 optional-constant values with "==". Parse all "constant" lines in
46019 one place. Parse all "optional-constant" lines in one place.
46020 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
46021 * conform/data/fmtmsg.h-data: Likewise.
46022 * conform/data/netinet/in.h-data: Likewise.
46023 * conform/data/tar.h-data: Likewise.
46024 * conform/data/limits.h-data: Use "==" form on "constant" and
46025 "optional-constant" lines.
46026
1b8f2850
JM
46027 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
46028 Use -std=c99 for XOPEN2K.
46029 (@knownproblems): Remove.
46030 (newtoken): Don't check %isknown.
46031
a05a144b
JM
46032 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
46033 Do not expect macro.
46034 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
46035 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
46036 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
46037 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
46038 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
46039 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
46040 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
46041 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
46042 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
46043 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
46044 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
46045 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
46046 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
46047 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
46048 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
46049 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
46050 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
46051 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
46052 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
46053 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
46054 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
46055 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
46056 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
46057 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
46058 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
46059 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
46060 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
46061 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
46062 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
46063 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
46064 [XPG3] (acosh): Likewise.
46065 [XPG3] (asinh): Likewise.
46066 [XPG3] (atanh): Likewise.
46067 [XPG3] (cbrt): Likewise.
46068 [XPG3] (expm1): Likewise.
46069 [XPG3] (ilogb): Likewise.
46070 [XPG3] (log1p): Likewise.
46071 [XPG3] (logb): Likewise.
46072 [XPG3] (nextafter): Likewise.
46073 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
46074 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
46075 [XPG3] (remainder): Likewise.
46076 [XPG3] (rint): Likewise.
46077 [XPG3 || XPG4 || UNIX98] (round): Likewise.
46078 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
46079 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
46080 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
46081 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
46082 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
46083 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
46084 [UNIX98 || XOPEN2K] (scalb): Expect.
46085 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
46086 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
46087 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
46088 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
46089 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
46090 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
46091 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
46092 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
46093 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
46094 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
46095 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
46096 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
46097 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
46098 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
46099 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
46100 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
46101 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
46102 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
46103 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
46104 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
46105 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
46106 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
46107 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
46108 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
46109 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
46110 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
46111 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
46112 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
46113 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
46114 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
46115 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
46116 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
46117 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
46118 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
46119 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
46120 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
46121 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
46122 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
46123 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
46124 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
46125 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
46126 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
46127 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
46128 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
46129 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
46130 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
46131 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
46132 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
46133 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
46134 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
46135 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
46136 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
46137 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
46138 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
46139 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
46140 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
46141 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
46142 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
46143 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
46144 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
46145 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
46146 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
46147 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
46148 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
46149 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
46150 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
46151 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
46152 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
46153 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
46154 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
46155 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
46156 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
46157 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
46158 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
46159 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
46160 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
46161 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
46162 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
46163 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
46164 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
46165 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
46166 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
46167 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
46168 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
46169 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
46170 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
46171 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
46172 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
46173 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
46174 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
46175 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
46176 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
46177 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
46178 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
46179 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
46180 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
46181 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
46182 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
46183 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
46184 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
46185 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
46186 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
46187 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
46188 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
46189 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
46190 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
46191 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
46192 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
46193 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
46194 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
46195 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
46196 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
46197 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
46198 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
46199 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
46200 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
46201 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
46202 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
46203 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
46204 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
46205 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
46206 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
46207 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
46208 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
46209 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
46210 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
46211 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
46212 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
46213 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
46214 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
46215 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
46216 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
46217 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
46218 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
46219 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
46220 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
46221 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
46222
73c5ebe3
JM
46223 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
46224 _XOPEN_SOURCE_EXTENDED for XPG4.
46225
39c33b6c
JM
46226 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
46227
62fde54f
JM
46228 * Makeconfig (localtime): Remove variable.
46229 (inst_localtime-file): Likewise.
46230
0741d64c
AS
462312012-05-01 Andreas Schwab <schwab@linux-m68k.org>
46232
46233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
46234 Update.
46235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
46236 Update.
46237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
46238 Update.
46239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
46240 Update.
46241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
46242 Update.
46243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
46244 Update.
46245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
46246 Update.
46247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
46248 Update.
46249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
46250 Update.
46251
7cb029ee
JM
462522012-05-01 Joseph Myers <joseph@codesourcery.com>
46253
46254 [BZ #2550]
46255 [BZ #2570]
46256 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
46257 comparisons to determine direction to adjust input.
46258 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
46259 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
46260 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
46261 Likewise.
46262 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
46263 Likewise.
46264 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
46265 Likewise.
46266 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
46267 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
46268 Likewise.
46269 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
46270 Likewise.
46271 * math/libm-test.inc (nexttoward_test): Add more tests.
46272
412bd966
AS
462732012-05-01 Andreas Schwab <schwab@linux-m68k.org>
46274
46275 [BZ #14040]
46276 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
46277 in version GLIBC_2.1, not GLIBC_2.0.
46278 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
46279 Likewise.
46280
9568c0c2
JM
462812012-04-30 Joseph Myers <joseph@codesourcery.com>
46282
adfbc8ac
JM
46283 [BZ #13942]
46284 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
46285 (1 - x) * (1 + x).
46286 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
46287 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
46288 * math/libm-test.inc (acos_test): Add more tests.
46289 (asin_test): Likewise.
46290 * sysdeps/i386/fpu/libm-test-ulps: Update.
46291 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46292
5ba3cc69
JM
46293 [BZ #14034]
46294 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
46295 of square root.
46296 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
46297 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
46298 * math/libm-test.inc (acos_test_tonearest): New function.
46299 (acos_test_towardzero): Likewise.
46300 (acos_test_downward): Likewise.
46301 (acos_test_upward): Likewise.
46302 (asin_test_tonearest): Likewise.
46303 (asin_test_towardzero): Likewise.
46304 (asin_test_downward): Likewise.
46305 (asin_test_upward): Likewise.
46306 (main): Call the new functions.
46307 * sysdeps/i386/fpu/libm-test-ulps: Update.
46308 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46309
9568c0c2
JM
46310 [BZ #13884]
46311 [BZ #13924]
46312 * math/e_exp10.c: Include <float.h>.
46313 (__ieee754_exp10): Handle underflow here rather than multiplying
46314 large negative argument by M_LN10.
46315 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
46316 of __ieee754_expf.
46317 * math/e_exp10l.c: Include <float.h>.
46318 (__ieee754_exp10l): Handle underflow here rather than multiplying
46319 large negative argument by M_LN10l.
46320 * math/libm-test.inc (exp10_test): Add another test. Do not allow
46321 spurious overflow exception on underflow.
46322
5ac3ea17
MP
463232012-04-29 Marek Polacek <polacek@redhat.com>
46324
46325 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
46326 (__fortify_function): New macro.
46327 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
46328 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
46329 __extern_always_inline.
46330 * libio/bits/stdio2.h: Likewise.
46331 * libio/bits/stdio.h: Likewise.
46332 * string/string.h: Likewise.
46333 * string/bits/string3.h: Likewise.
46334 * include/stdio.h: Likewise.
46335 * stdlib/bits/stdlib.h: Likewise.
46336 * stdlib/stdlib.h: Likewise.
46337 * rt/bits/mqueue2.h: Likewise.
46338 * rt/mqueue.h: Likewise.
46339 * posix/bits/unistd.h: Likewise.
46340 * posix/unistd.h: Likewise.
46341 * io/bits/poll2.h: Likewise.
46342 * io/bits/fcntl2.h: Likewise.
46343 * io/fcntl.h: Likewise.
46344 * io/sys/poll.h: Likewise.
46345 * misc/bits/syslog.h: Likewise.
46346 * misc/bits/syslog-ldbl.h: Likewise.
46347 * misc/sys/syslog.h: Likewise.
46348 * socket/bits/socket2.h: Likewise.
46349 * socket/sys/socket.h: Likewise.
46350 * debug/tst-chk1.c: Likewise.
46351 * wcsmbs/bits/wchar2.h: Likewise.
46352 * wcsmbs/bits/wchar-ldbl.h: Likewise.
46353 * wcsmbs/wchar.h: Likewise.
46354
ecf0ebfb
AJ
463552012-04-29 Andreas Jaeger <aj@suse.de>
46356
46357 * Makerules (tests): Remove enable-check-abi protection.
46358 (check-abi-warn): Remove.
46359 (check-abi-%): Remove check-abi-warn usage.
46360
46361 * configure.in: Remove check-abi configure option.
46362 * configure: Regenerated.
46363 * config.make.in (enable-check-abi): Remove.
46364
6d5c57fa
AS
463652012-04-28 Andreas Schwab <schwab@linux-m68k.org>
46366
24c5d07e 46367 [BZ #14033]
ded5180a
AS
46368 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
46369 double functions to double *_finite functions.
46370
7e0d315d
AS
46371 [BZ #13941]
46372 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
46373 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
46374 LDBL_MIN_EXP.
46375 * stdio-common/Makefile (tests): Add tst-sprintf3.
46376 * stdio-common/tst-sprintf3.c: New file.
46377
6d5c57fa
AS
46378 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
46379 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
46380
0749ff8b
JM
463812012-04-28 Joseph Myers <joseph@codesourcery.com>
46382
46383 * conform/conformtest.pl: Remove duplicate typed-constant
46384 handling.
46385
8dbd5d7b
DM
463862012-04-28 David S. Miller <davem@davemloft.net>
46387
46388 * Makerules (%.abilist): Add vpath on sysdep_dirs.
46389 (check-abi-%): Remove AWK script prerequisite and explicit
46390 abilist directory.
46391 (check-abi): Rewrite to just diff the symlist with the abilist.
46392 (config-tls, config-abi-config): Delete, no longer used.
46393 (update-abi-%): Remove AWK script and explicit abilist directory.
46394 (update-abi): Rewrite to simply compare and conditionally copy the
46395 symlist and the sysdep abilist file. Remove update-abi-config
46396 checks.
46397 * abilist/ld.abilist: Remove.
46398 * abilist/libBrokenLocale.abilist: Remove.
46399 * abilist/libanl.abilist: Remove.
46400 * abilist/libcrypt.abilist: Remove.
46401 * abilist/libdl.abilist: Remove.
46402 * abilist/librt.abilist: Remove.
46403 * abilist/libthread_db.abilist: Remove.
46404 * abilist/libutil.abilist: Remove.
46405 * scripts/extract-abilist.awk: Remove.
46406 * scripts/merge-abilist.awk: Remove.
46407 * sysdeps/generic/libcidn.abilist: New file.
46408 * sysdeps/generic/libnss_compat.abilist: New file.
46409 * sysdeps/generic/libnss_db.abilist: New file.
46410 * sysdeps/generic/libnss_dns.abilist: New file.
46411 * sysdeps/generic/libnss_files.abilist: New file.
46412 * sysdeps/generic/libnss_hesiod.abilist: New file.
46413 * sysdeps/generic/libnss_nis.abilist: New file.
46414 * sysdeps/generic/libnss_nisplus.abilist: New file.
46415 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
46416 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
46417 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
46418 file.
46419 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
46420 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
46421 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
46422 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
46423 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
46424 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
46425 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
46426 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
46427 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
46428 file.
46429 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
46430 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
46431 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
46432 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
46433 file.
46434 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
46435 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
46436 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
46437 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
46438 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
46439 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
46440 file.
46441 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
46442 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
46443 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
46444 file.
46445 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
46446 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
46447 New file.
46448 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
46449 New file.
46450 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
46451 New file.
46452 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
46453 New file.
46454 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
46455 New file.
46456 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
46457 New file.
46458 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
46459 New file.
46460 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
46461 New file.
46462 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
46463 New file.
46464 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
46465 New file.
46466 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
46467 New file.
46468 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
46469 New file.
46470 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
46471 New file.
46472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
46473 file.
46474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
46475 New file.
46476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
46477 New file.
46478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
46479 file.
46480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
46481 New file.
46482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
46483 New file.
46484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
46485 file.
46486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
46487 New file.
46488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
46489 New file.
46490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
46491 New file.
46492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
46493 New file.
46494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
46495 New file.
46496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
46497 New file.
46498 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
46499 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
46500 file.
46501 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
46502 New file.
46503 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
46504 file.
46505 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
46506 file.
46507 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
46508 file.
46509 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
46510 file.
46511 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
46512 file.
46513 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
46514 New file.
46515 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
46516 file.
46517 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
46518 file.
46519 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
46520 New file.
46521 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
46522 file.
46523 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
46524 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
46525 file.
46526 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
46527 New file.
46528 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
46529 file.
46530 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
46531 file.
46532 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
46533 file.
46534 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
46535 file.
46536 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
46537 file.
46538 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
46539 New file.
46540 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
46541 file.
46542 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
46543 file.
46544 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
46545 New file.
46546 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
46547 file.
46548 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
46549 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
46550 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
46551 file.
46552 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
46553 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
46554 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
46555 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
46556 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
46557 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
46558 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
46559 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
46560 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
46561 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
46562 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
46563 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
46564 file.
46565 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
46566 New file.
46567 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
46568 file.
46569 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
46570 file.
46571 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
46572 file.
46573 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
46574 file.
46575 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
46576 file.
46577 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
46578 New file.
46579 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
46580 New file.
46581 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
46582 file.
46583 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
46584 New file.
46585 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
46586 file.
46587 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
46588 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
46589 file.
46590 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
46591 New file.
46592 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
46593 file.
46594 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
46595 file.
46596 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
46597 file.
46598 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
46599 file.
46600 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
46601 file.
46602 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
46603 New file.
46604 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
46605 New file.
46606 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
46607 file.
46608 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
46609 New file.
46610 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
46611 file.
46612
41d73a1b
JM
466132012-04-28 Joseph Myers <joseph@codesourcery.com>
46614
46615 * conform/conformtest.pl: Fix typo in handling typed-constant from
46616 allow-header.
46617
28aeeda4
JM
466182012-04-27 Joseph Myers <joseph@codesourcery.com>
46619
adae8f5e
JM
46620 * README: Cut down references to pre-2.6 Linux kernels and
46621 Linuxthreads. Update lists of configurations in libc and ports
46622 and sort alphabetically. Say "or newer" with Linux kernel version
46623 requirements.
46624
28aeeda4
JM
46625 * config.h.in [IS_IN_build]: Allow compiling without optimization.
46626
a462cb63
RA
466272012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
46628
46629 [BZ #887]
46630 * math/libm-test.inc (logb_test_downward): New test to expose
46631 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
46632 rounding mode.
46633
6ad3493e
JM
466342012-04-27 Joseph Myers <joseph@codesourcery.com>
46635
46636 [BZ #14027]
46637 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
46638 to be done.
46639 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
46640 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
46641
2ce4f015
JM
466422012-04-26 Joseph Myers <joseph@codesourcery.com>
46643
5aeb141a
JM
46644 * sysdeps/unix/i386/brk.S: Remove file.
46645 * sysdeps/unix/i386/dl-brk.S: Likewise.
46646 * sysdeps/unix/i386/pipe.S: Likewise.
46647 * sysdeps/unix/i386/sigreturn.S: Likewise.
46648 * sysdeps/unix/i386/syscall.S: Likewise.
46649 * sysdeps/unix/i386/vfork.S: Likewise.
46650 * sysdeps/unix/i386/wait.S: Likewise.
46651
7143acae
JM
46652 * sysdeps/unix/common/tcsendbrk.c: Move to ...
46653 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
46654
2ce4f015
JM
46655 * configure.in (arm*-none*): Do not allow without
46656 --enable-hacker-mode.
46657 (netbsd*): Remove case setting base_os.
46658 (386bsd*): Likewise.
46659 (freebsd*): Likewise.
46660 (bsdi*): Likewise.
46661 (osf*): Likewise.
46662 (sunos*): Likewise.
46663 (ultrix*): Likewise.
46664 (newsos*): Likewise.
46665 (dynix*): Likewise.
46666 (*bsd*): Likewise.
46667 (sysv*): Likewise.
46668 (isc*): Likewise.
46669 (esix*): Likewise.
46670 (sco*): Likewise.
46671 (minix*): Likewise.
46672 (irix4*): Likewise.
46673 (irix6*): Likewise.
46674 (solaris[2-9]*): Likewise.
46675 (none): Likewise.
46676 * configure: Regenerated.
46677
0ac229c8
AZ
466782012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46679
46680 [BZ #11521]
46681 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
46682 overflow or cancellation in calculating denominator.
46683 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
46684 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
46685 down expression to avoid unexpected rounding in newer GCCs.
46686 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
46687
33f244f4
DM
466882012-04-26 David S. Miller <davem@davemloft.net>
46689
46690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
46691 long-double compat symbols.
46692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
46693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
46694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
46695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
46696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
46697 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
46698 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
46699 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
46700 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
46701 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
46702 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
46703 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
46704 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
46705
cfa1f3e8
DM
467062012-04-25 David S. Miller <davem@davemloft.net>
46707
46708 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
46709 HWCAP_* values only after the memory barriers have been defined.
46710 (atomic_full_barrier): Define.
46711 (atomic_read_barrier): Define.
46712 (atomic_write_barrier): Define.
46713
6e236b92
SP
467142012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
46715
46716 * shlib-versions: Add libgcc_s version information.
46717 * sysdeps/generic/libgcc_s.h: Remove.
46718 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
46719 libgcc_s.h.
46720 * sysdeps/gnu/unwind-resume.c: Likewise.
46721 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
46722
aab39a09
DM
467232012-04-25 David S. Miller <davem@davemloft.net>
46724
46725 * sysdeps/unix/sparc/brk.S: Delete.
46726 * sysdeps/unix/sparc/dl-brk.S: Delete.
46727 * sysdeps/unix/sparc/pipe.S: Delete.
46728 * sysdeps/unix/sparc/sysdep.S: Delete.
46729 * sysdeps/unix/sparc/sysdep.h: Delete.
46730 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
46731 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
46732 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
46733 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
46734 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
46735 (JUMPTARGET): Remove.
46736 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
46737 sysdeps/unix/sparc/sysdep.h
46738 (ENTRY, END): Remove.
46739 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46740
a3cc4f48
JM
467412012-04-25 Joseph Myers <joseph@codesourcery.com>
46742
2ed8cda2
JM
46743 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
46744 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
46745 -DIS_IN_build.
46746
35d76d59
JM
46747 * timezone/README: Update upstream location and email address for
46748 tzcode and tzdata.
46749 * timezone/zdump.c: Update from tzcode 2012b.
46750 * timezone/zic.c: Likewise.
46751
a3cc4f48
JM
46752 * configure.in (libc_cv_as_needed): Remove test.
46753 * configure: Regenerated.
46754 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
46755 conditional definition.
46756 [$(have-as-needed) != yes] (no-as-needed): Likewise.
46757 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
46758 * config.make.in (have-as-needed): Remove variable.
46759
ceab42c3
SP
467602012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
46761 Paul Pluzhnikov <ppluzhnikov@google.com>
46762
46763 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
46764 strings correctly.
46765
3ce2865f
CLT
467662012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
46767
46768 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
46769 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
46770 * sysdeps/sh/strlen.S: Likewise.
46771
f37e0d68
JM
467722012-04-24 Joseph Myers <joseph@codesourcery.com>
46773
ae186e9a
JM
46774 * sysdeps/unix/fork.S: Remove file.
46775 * sysdeps/unix/i386/fork.S: Likewise.
46776 * sysdeps/unix/sparc/fork.S: Likewise.
46777
b96914af
JM
46778 * sysdeps/unix/system.c: Remove file.
46779 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
46780
f37e0d68
JM
46781 * sysdeps/unix/getegid.S: Remove file.
46782 * sysdeps/unix/geteuid.S: Likewise.
46783
87ef29ca
RM
467842012-04-24 Roland McGrath <roland@hack.frob.com>
46785
83bcd236
RM
46786 * scripts/check-localplt.awk: New file.
46787 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
46788 of diff.
46789 * scripts/data/localplt-generic.data: Add a comment.
46790
87ef29ca
RM
46791 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
46792 NODE when __dir_mkfile failed.
46793 * sysdeps/mach/hurd/symlinkat.c: Likewise.
46794 Reported by Ludovic Courtès <ludo@gnu.org>.
46795
e5a6e567
AJ
467962012-04-24 Andreas Jaeger <aj@suse.de>
46797
46798 * Makerules (common-clean): Also remove gen-as-const-headers
46799 files.
46800
c1820385
JM
468012012-04-24 Joseph Myers <joseph@codesourcery.com>
46802
46803 * Makerules (native-compile): Do not change working directory for
46804 build. Use $(OUTPUT_OPTION) in command.
46805 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
46806
94e02fc4
AZ
468072012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46808
46809 [BZ #13886]
46810 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
46811 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
46812 * math/libm-test.inc (floor_test): Add more tests.
46813 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
46814
3a533ca3
JM
468152012-04-24 Joseph Myers <joseph@codesourcery.com>
46816
940ab4b3
JM
46817 * sysdeps/unix/getdents.c: Remove file.
46818 * sysdeps/unix/sysv/getdents.c: Likewise.
46819 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
46820
90e037bd
JM
46821 * sysdeps/unix/syscalls.list (madvise): Add syscall from
46822 sysdeps/unix/mman/syscalls.list.
46823 (mmap): Likewise.
46824 (mprotect): Likewise.
46825 (msync): Likewise.
46826 (munmap): Likewise.
46827 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
46828 * sysdeps/unix/mman/syscalls.list: Remove.
46829 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
46830
3a533ca3
JM
46831 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
46832 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
46833 * configure: Regenerated.
46834 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
46835 $(libgcc_s_suffix).
46836 * config.make.in (libgcc_s_suffix): Remove variable.
46837
1ad743de
JM
468382012-04-23 Joseph Myers <joseph@codesourcery.com>
46839
4ad451e2
JM
46840 * sysdeps/unix/sysv/gethostname.c: Move to ...
46841 * sysdeps/posix/gethostname.c: ... here.
46842
5e37ce39
JM
46843 * sysdeps/unix/execve.S: Remove file.
46844
1ad743de
JM
46845 * sysdeps/unix/_exit.S: Remove file.
46846
4e681b5b
AJ
468472012-04-23 Andreas Jaeger <aj@suse.de>
46848
46849 [BZ #13739]
46850 * manual/Makefile: Remove make dist support, there's no
46851 need for a stand-alone documentation tar ball.
46852 (TEXI2DVI): Define always, it's not in Makeconfig.
46853 (dist): Removed.
46854 (tar-it): Removed.
46855 (edition): Removed.
46856 (glibc-doc-$(edition).tar): Removed
46857 (%.Z): Removed.
46858 (%.gz): Removed.
46859 (%.uu): Removed.
46860 (ETAGS): Remove, it's in Makeconfig.
46861 (move-if-change): Remove, it's in Makeconfig.
46862
38686a03 468632012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
46864
46865 [BZ #13970]
46866 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
46867 (strtod, strtof, strtold, strtol, strtoul, strtoq)
46868 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
46869 (strtod_l, strtof_l, strtold_l): Remove __wur.
46870 It is not necessarily an error to ignore strtol's return value.
46871 One can reliably look at the stored endptr to decide whether
46872 the number had valid syntax.
46873
7c0616fa
AJ
468742012-04-21 Andreas Jaeger <aj@suse.de>
46875
803cb6b7 46876 [BZ #13739]
7c0616fa
AJ
46877 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
46878
b0fe253f
JM
468792012-04-21 Joseph Myers <joseph@codesourcery.com>
46880
46881 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
46882 * sysdeps/unix/sysv/Versions: Remove file.
46883
8280f22d
MT
468842012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
46885
46886 [BZ #13927]
46887 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46888
75ce411f 468892012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
46890
46891 [BZ #7064]
46892 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
46893 version from __vm86.
46894
097d59fa
JM
468952012-04-20 Joseph Myers <joseph@codesourcery.com>
46896
a90f3bcb
JM
46897 * sysdeps/unix/common/lxstat.c: Remove file.
46898 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
46899
edc7ea78
JM
46900 * sysdeps/unix/sysv/Makefile: Remove file.
46901
cb78c221
JM
46902 * sysdeps/unix/sysv/direct.h: Remove file.
46903
efa6a45f
JM
46904 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
46905 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
46906 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
46907 * sysdeps/unix/sysv/bits/signum.h: Likewise.
46908 * sysdeps/unix/sysv/bits/stat.h: Likewise.
46909 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
46910 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
46911
9c9f2d0c
JM
46912 * sysdeps/unix/sysv/setrlimit.c: Remove file.
46913
4541c83b
JM
46914 * sysdeps/unix/xmknod.c: Remove file.
46915 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
46916
f5d153a0
JM
46917 * sysdeps/unix/sysv/settimeofday.c: Remove file.
46918
aa746595
JM
46919 * sysdeps/unix/sysv/i386/time.S: Remove file.
46920
cce5905e
JM
46921 * sysdeps/unix/fxstat.c: Remove file.
46922 * sysdeps/unix/xstat.c: Likewise.
46923 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
46924
37fa3841
JM
46925 * sysdeps/unix/sysv/sigaction.c: Remove file.
46926
ff1962a3
JM
46927 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
46928 (sysdep_headers): Remove variable.
46929 [termio.h not in sysdep_headers] (generated): Likewise.
46930 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
46931 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
46932 * sysdeps/unix/sysv/tcdrain.c: Likewise.
46933 * sysdeps/unix/sysv/tcflow.c: Likewise.
46934 * sysdeps/unix/sysv/tcflush.c: Likewise.
46935 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
46936 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
46937 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
46938 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
46939 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
46940
e7740d31
JM
46941 * sysdeps/unix/siglist.c: Remove file.
46942
ee06f18b
JM
46943 * sysdeps/unix/getppid.S: Remove file.
46944
097d59fa
JM
46945 * sysdeps/unix/mkdir.c: Remove file.
46946 * sysdeps/unix/rmdir.c: Likewise.
46947
ff3d51ec
AS
469482012-04-19 Andreas Schwab <schwab@linux-m68k.org>
46949
46950 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
46951 ERR_MAX value.
46952 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
46953 errlist-compat value.
46954
50f81fd7
DM
469552012-04-18 David S. Miller <davem@davemloft.net>
46956
46957 * sysdeps/generic/memcopy.h (reg_char): Delete.
46958 * debug/strcat_chk.c: Use char, not reg_char.
46959 * debug/strcpy_chk.c: Likewise.
46960 * debug/strncat_chk.c: Likewise.
46961 * debug/strncpy_chk.c: Likewise.
46962 * string/memchr.c: Likewise.
46963 * string/memrchr.c: Likewise.
46964 * string/rawmemchr.c: Likewise.
46965 * string/strcat.c: Likewise.
46966 * string/strchr.c: Likewise.
46967 * string/strchrnul.c: Likewise.
46968 * string/strcmp.c: Likewise.
46969 * string/strcpy.c: Likewise.
46970 * string/strncat.c: Likewise.
46971 * string/strncmp.c: Likewise.
46972 * string/strncpy.c: Likewise.
46973
8ff41c46
WS
469742012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
46975
46976 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
46977 __builtin_memcopy is called when src and dest ranges are known to not
46978 overlap.
46979
6b652f46
WS
469802012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
46981
46982 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
46983 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
46984 fwd_align_merge macro call.
46985 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
46986 bwd_align_merge macro call.
46987 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
46988
b282631e
WS
469892012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
46990
46991 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
46992 bwd_align_merge macros.
46993 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
46994 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
46995 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
46996
95aa737c
DM
469972012-04-18 David S. Miller <davem@davemloft.net>
46998
46999 * sysdeps/sparc/sparc64/memcopy.h: Delete.
47000
7a99a614
AJ
470012012-04-18 Andreas Jaeger <aj@suse.de>
47002
47003 [BZ# 6794]
47004 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
47005 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
47006 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
47007
47008 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
47009 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
47010 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
47011
47012 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
47013 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
47014 Adjust for changed ldbl-128 files.
47015
47016 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
47017 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
47018 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
47019
e5270c23
DM
470202012-04-17 David S. Miller <davem@davemloft.net>
47021
47022 * sysdeps/sparc/sparc32/memcopy.h: Delete.
47023
fb5e92c9
AS
470242012-04-17 Andreas Schwab <schwab@linux-m68k.org>
47025
47026 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
47027 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
47028 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
47029 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
47030 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
47031 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
47032
76da7265
AZ
470332012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47034
47035 [BZ #6794]
47036 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
47037 * math/libm-test.inc: Add ilogb errno and exception tests.
47038 * math/w_ilogb.c: New file: ilogb wrapper.
47039 * math/w_ilogbf.c: New file: ilogbf wrapper.
47040 * math/w_ilogbl.c: New file: ilogbl wrapper.
47041 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
47042 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
47043 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
47044 exception being thrown with 0.0 as argument.
47045 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
47046 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
47047 exception being thrown with 0.0 as argument.
47048 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
47049 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
47050 exception being thrown with 0.0 as argument.
47051 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
47052 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
47053 exception being thrown with 0.0 as argument.
47054 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
47055 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 47056 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
47057 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
47058 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
47059 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
47060 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
47061 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
47062 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
47063
0396e69d
PB
470642012-04-17 Petr Baudis <pasky@ucw.cz>
47065
47066 * include/sys/uio.h: Change __vector to __iovec to avoid clash
47067 with altivec.
47068
750b5926
MP
470692012-04-16 Marek Polacek <polacek@redhat.com>
47070
47071 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
47072
751728a1
MP
470732012-04-16 Marek Polacek <polacek@redhat.com>
47074
47075 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
47076 operands of fdivp instruction.
47077
34a27407
L
470782012-04-13 H.J. Lu <hongjiu.lu@intel.com>
47079
47080 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
47081 * elf/tst-auditmod3b.c: Likewise.
47082 * elf/tst-auditmod4b.c: Likewise.
47083 * elf/tst-auditmod5b.c: Likewise.
47084 * elf/tst-auditmod6b.c: Likewise.
47085 * elf/tst-auditmod6c.c: Likewise.
47086 * elf/tst-auditmod7b.c: Likewise.
47087 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
47088 * sysdeps/x86_64/preconfigure.in: Likewise.
47089 * sysdeps/x86_64/preconfigure: Regenerated.
47090
7e73e17d
L
470912012-04-13 H.J. Lu <hongjiu.lu@intel.com>
47092
47093 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
47094 __ILP32__.
47095
c7a6ab72
AB
470962012-04-13 Antoine Balestrat <merkil33@gmail.com>
47097
47098 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
47099 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
47100
a9e8e0e0
CL
471012012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
47102
47103 [BZ #13973]
47104 * locale/iso-639.def: Fix gl language name. Spotted by
47105 Yaron Shahrabani.
47106
ec98af7d
RM
471072012-04-12 Roland McGrath <roland@hack.frob.com>
47108
47109 [BZ #2074]
47110 * libio/libio.h (__io_write_fn): Update comment.
47111
247c3ede
PB
471122012-04-12 Petr Baudis <pasky@ucw.cz>
47113
47114 [BZ #2074]
47115 * stdio.texi (Hook Functions): The user provided writer function
47116 is not allowed to return -1.
47117
55939d6d
DM
471182012-04-11 David S. Miller <davem@davemloft.net>
47119
47120 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47121
90020f5a
MF
471222012-04-11 Mike Frysinger <vapier@gentoo.org>
47123
47124 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
47125 Add a leading slash to rtkaio.
47126
288f9098
JM
471272012-04-11 Jim Meyering <meyering@redhat.com>
47128
90020f5a
MF
47129 [BZ #11959]
47130 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
47131 It is not necessarily an error to ignore fwrite's return
47132 value. One can reliably use ferror to test for errors after
47133 the fact.
288f9098 47134
4be2b570
L
471352012-04-10 H.J. Lu <hongjiu.lu@intel.com>
47136
47137 * bits/types.h (__snseconds_t): New type.
47138 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
47139
47140 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
47141 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
47142 (__SNSECONDS_T_TYPE): Likewise.
47143 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
47144 (__SNSECONDS_T_TYPE): Likewise.
47145 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47146 (__SNSECONDS_T_TYPE): Likewise.
47147
288f9098 471482012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
47149
47150 [BZ #2636]
47151 * manual/time.texi (Processor Time): Return type of times is
47152 elapsed real time since an arbitrary point in the past.
47153 (CPU Time): Move CLK_TCK from here...
47154 (Processor Time): ...to here. Correct description.
47155 * manual/conf.texi (Constants for Sysconf): Correct description of
47156 _SC_CLK_TCK.
47157
d7dd4413
DM
471582012-04-10 David S. Miller <davem@davemloft.net>
47159
47160 [BZ #13967]
47161 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
47162 where the is a gap between DT_REL(A) and DT_JMPREL.
47163
b46068fc
L
471642012-04-10 H.J. Lu <hongjiu.lu@intel.com>
47165
47166 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
47167 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
47168 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
47169
73d65cc3
SP
471702012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
47171
47172 * elf/dl-support.c (_dl_inhibit_cache): New variable.
47173 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
47174 (dl_main): Handle --inhibit-cache.
47175 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
47176 _dl_inhibit_cache.
47177 * elf/dl-load.c (_dl_map_object): Use it.
47178 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
47179
bcc8d661
JM
471802012-04-09 Joseph Myers <joseph@codesourcery.com>
47181
8f9a2fae
JM
47182 [BZ #13872]
47183 * sysdeps/i386/fpu/e_powl.S (p78): New object.
47184 (__ieee754_powl): Saturate large exponents rather than testing for
47185 overflow of y*log2(x).
47186 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
47187 * math/libm-test.inc (pow_test): Do not permit spurious overflow
47188 exceptions.
47189
bcc8d661
JM
47190 [BZ #11521]
47191 * math/s_ctan.c: Include <float.h>.
47192 (__ctan): Avoid internal overflow or cancellation in calculating
47193 denominator.
47194 * math/s_ctanf.c: Likewise.
47195 * math/s_ctanl.c: Likewise.
47196 * math/s_ctanh.c: Likewise.
47197 * math/s_ctanhf.c: Likewise.
47198 * math/s_ctanhl.c: Likewise.
47199 * math/libm-test.inc (ctan_test): Add more tests.
47200 (ctanh_test): Likewise.
47201 * sysdeps/i386/fpu/libm-test-ulps: Update.
47202 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47203
823fbbb4
AJ
472042012-04-09 Andreas Jaeger <aj@suse.de>
47205
03879793
AJ
47206 [BZ #6894]
47207 * manual/filesys.texi (Directory Entries): Mention that d_namlen
47208 is an optional BSD extension.
47209
823fbbb4
AJ
47210 [BZ #10254]
47211 * manual/stdio.texi (Opening Streams): Document additional fopen
47212 parameters.
47213
8de131cb
RM
472142012-04-09 Roland McGrath <roland@hack.frob.com>
47215
47216 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
47217 %eax without telling the compiler.
47218
c0ed9d7d
CD
472192012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
47220
47221 [BZ # 13963]
47222 * manual/install.texi: Use sourceware.org.
47223
c483f6b4
JM
472242012-04-09 Joseph Myers <joseph@codesourcery.com>
47225
d7dd9453
JM
47226 [BZ #13873]
47227 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
47228 (__ieee754_pow): Generate overflow and underflow using huge*huge
47229 and tiny*tiny rather than just returning constant infinity or zero
47230 for large exponents.
47231 * math/libm-test.inc (pow_test): Require overflow exceptions for
47232 applicable cases of large exponents.
47233
c483f6b4
JM
47234 [BZ #706]
47235 * sysdeps/i386/fpu/e_pow.S (p10): New object.
47236 (__ieee754_pow): Use iterative multiplication algorithm only for
47237 integer exponents with absolute value below 1024. Check for odd
47238 integer exponents when using algorithm for real exponents.
47239 * math/libm-test.inc (pow_test): Add more tests.
47240 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47241
d2de7579
JM
472422012-04-08 Joseph Myers <joseph@codesourcery.com>
47243
47244 [BZ #13705]
47245 * math/libm-test.inc (exp_test): Do not allow overflow exception
47246 on underflow test.
47247
f77f1232
AJ
472482012-04-08 Aurelien Jarno <aurelien@aurel32.net>
47249
47250 [BZ #13705]
47251 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
47252 instead of __kernel_standard_f.
47253
3884932b
MF
472542012-04-08 Mike Frysinger <vapier@gentoo.org>
47255
47256 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
47257 * sysdeps/x86_64/memset_chk.S: Likewise.
47258
54472e9c
AJ
472592012-04-08 Andreas Jaeger <aj@suse.de>
47260
6ab0fbfc
AJ
47261 [BZ #10153]
47262 * manual/startup.texi (Environment Access): Describe return value
47263 for putenv and setenv.
47264
61efba8c
AJ
47265 [BZ #6895]
47266 * manual/filesys.texi (Directory Entries): Add description for
47267 DT_LNK.
47268
95c3f29a
AJ
47269 [BZ #6890]
47270 * manual/filesys.texi (Directory Entries): Clarify that it's file
47271 system not operating system in the description of DT_UNKNOWN.
47272
54472e9c
AJ
47273 [BZ #6578]
47274 * manual/syslog.texi (closelog): Fix reference, it's openlog.
47275
624254b1
SC
472762012-04-08 Stephen Compall <s11@member.fsf.org>
47277
47278 [BZ #6649]
47279 * manual/llio.texi (Opening and Closing Files): Add cross
47280 reference to explain mode argument.
47281
1e4920e0
MF
472822012-04-07 Mike Frysinger <vapier@gentoo.org>
47283
47284 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
47285 * sysdeps/x86_64/memset_chk.S: Likewise.
47286
5ed848f3
DM
472872012-04-07 David S. Miller <davem@davemloft.net>
47288
47289 * elf/elf.h (R_SPARC_WDISP10): Define.
47290 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
47291 R_SPARC_SIZE32.
47292 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
47293 R_SPARC_SIZE64 and R_SPARC_H34.
47294
96154cd8
CD
472952012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
47296
47297 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
47298 conditions and remove no longer applicable assertion.
47299
9904dc47
L
473002012-04-06 H.J. Lu <hongjiu.lu@intel.com>
47301
47302 * bits/byteswap.h: Include <features.h>.
47303 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
47304 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
47305
f8887d0a
L
473062012-04-06 H.J. Lu <hongjiu.lu@intel.com>
47307
47308 * bits/byteswap.h (__bswap_16): Removed.
47309 Include <bits/byteswap-16.h> to get __bswap_16.
47310 * sysdeps/i386/bits/byteswap.h: Likewise.
47311 * sysdeps/s390/bits/byteswap.h: Likewise.
47312 * sysdeps/x86_64/bits/byteswap.h: Likewise.
47313 * bits/byteswap-16.h: New file.
47314 * sysdeps/i386/bits/byteswap-16.h: Likewise.
47315 * sysdeps/s390/bits/byteswap-16.h: Likewise.
47316 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
47317 * string/Makefile (headers): Add bits/byteswap-16.h.
47318
62470f60
PP
473192012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
47320
47321 [BZ #13895]
47322 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
47323 extra indirection.
47324 * nss/Makefile (tests-static, tests): Add tst-nss-static.
47325 * nss/tst-nss-static.c: New.
47326
4dad7bab
RM
473272012-04-06 Robert Millan <rmh@gnu.org>
47328
47329 [BZ #6486]
47330 * manual/llio.texi (File Position Primitive): lseek
47331 refers to WHENCE when it really means OFFSET.
47332
e9142a17
AJ
473332012-04-06 Andreas Jaeger <aj@suse.de>
47334
2c040eff
AJ
47335 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
47336 strncmp declarations.
47337
e9142a17
AJ
47338 * abilist/libc.abilist: Add __poll and __ppoll.
47339
ff9f1c5f
DM
473402012-04-05 David S. Miller <davem@davemloft.net>
47341
dcd2ae90
DM
47342 * scripts/check-local-headers.sh: Accept a host triplet in the
47343 path matched by the exclude regexp.
47344
993eb054
DM
47345 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
47346 definition.
47347 * sysdeps/powerpc/powerpc32/dl-machine.h
47348 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
47349 * sysdeps/s390/s390-32/dl-machine.h
47350 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
47351 * sysdeps/sparc/sparc32/dl-machine.h
47352 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
47353 * sysdeps/sparc/sparc64/dl-machine.h
47354 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
47355
ff9f1c5f
DM
47356 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
47357 lazy binding.
48e2e132 47358 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
47359 undefined symbol errors.
47360
48e2e132 47361 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
47362 DT_NEEDED entries.
47363
e80d6f94
MM
473642012-04-05 Michael Matz <matz@suse.de>
47365
47366 [BZ #13592]
47367 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
47368
349fa79f
AJ
473692012-04-05 Andreas Jaeger <aj@suse.de>
47370
47371 [BZ #13908]
47372 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
47373 comment.
47374
f402708f
KK
473752012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
47376
47377 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
47378 which ROUND is no valid rounding mode.
47379
2ecccfc9
KK
473802012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
47381
47382 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
47383 read again.
47384 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
47385
8a53f50f
KK
473862012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
47387
47388 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
47389 an exception using FPU order intentionally.
47390
473912012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
47392
47393 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
47394 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
47395 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
47396 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
47397
d653abb7
SJ
473982012-04-05 Simon Josefsson <simon@josefsson.org>
47399
47400 [BZ #12340]
47401 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
47402 EINVAL when BUFLEN is too smal.
47403
c3b1bf7d
TS
474042012-04-05 Thomas Schwinge <thomas@codesourcery.com>
47405
47406 [BZ #13553]
47407 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
47408 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
47409
b1aa60f3
AJ
474102012-04-03 Andreas Jaeger <aj@suse.de>
47411
c3b1bf7d 47412 [BZ #13938]
67f60a26
AJ
47413 * manual/setjmp.texi (System V contexts): Fix sentence.
47414
b1aa60f3
AJ
47415 [BZ #13926]
47416 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
47417 New macro for this case.
47418 [!__GNUC__] (__bswap_64): New inline function for this case.
47419 * sysdeps/x86_64/bits/byteswap.h: Likewise.
47420 * bits/byteswap.h: Likewise.
47421 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
47422 ull, guard with __GLIBC_HAVE_LONG_LONG.
47423
47424 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
47425 __GLIBC_HAVE_LONG_LONG.
47426
47427 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
47428 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
47429
39c59c35
TMQMF
474302012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
47431
47432 [BZ #13691]
47433 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
47434 inptr and inend, rather than using last_ch.
47435
135ffda8
DM
474362012-04-02 David S. Miller <davem@davemloft.net>
47437
47438 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
47439 * stdio-common/printf-parse.h (read_int): Change return type to
47440 'int', return -1 on INT_MAX overflow.
47441 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
47442 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
47443 overflows INT_MAX. Check for overflow of in-format-string precision
47444 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
47445 SIZE_MAX not INT_MAX for integer overflow test.
47446 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
47447 skip the construct in the format string but do not record anything.
47448 * stdio-common/bug22.c: Adjust to test both width/prevision
47449 INT_MAX overflow as well as total length INT_MAX overflow. Check
47450 explicitly for proper errno values.
47451
228c019e
TS
474522012-04-02 Thomas Schwinge <thomas@codesourcery.com>
47453
302cadd3
TS
47454 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
47455 CHAR_MAX.
47456 * string/test-strcmp.c [! WIDE]: Likewise.
47457 * time/tst-mktime2.c: Likewise for INT_MAX.
47458 * string/test-string.h: #include <sys/param.h> for MIN.
47459
228c019e
TS
47460 * csu/init-first.c (__libc_init_first): Call __ctype_init.
47461 * sysdeps/i386/init-first.c (init): Likewise.
47462 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
47463 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
47464 * sysdeps/sh/init-first.c (init): Likewise.
47465
cfa633f5
UD
474662012-04-01 Ulrich Drepper <drepper@gmail.com>
47467
47468 * po/ru.po: Update from translation team.
d1635ef8 47469 * po/vi.po: Likewise.
cfa633f5 47470
6cd0a5ea
SP
474712012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
47472
47473 * resolv/nss_dns/dns-host.c: Merge copyright years.
47474
4b43400f
LD
474752012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47476
47477 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
47478 Optimize memcpy with prefetch if
47479 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
47480 src, dst pointers have unequal 16 byte alignments.
47481
48c41d04
SP
474822012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
47483
47484 [BZ #13928]
47485 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
47486 from a CNAME entry and return the minimum ttl for the query.
47487 (gaih_getanswer_slice): Likewise.
47488
b8dc394d
JL
474892012-03-30 Jeff Law <law@redhat.com>
47490
47491 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
47492 due to long keys.
47493 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
47494 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
47495
2f5a5ed0
JL
47496 * resolv/nss_dns/dns-host.c: Update copyright year.
47497
1d39e359
UD
474982012-03-30 Ulrich Drepper <drepper@gmail.com>
47499
c030f70c 47500 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 47501 requests to save a system call. Fix check that all bytes are sent.
c030f70c 47502
1d39e359
UD
47503 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
47504 comments for sendmmsg.
47505
475062012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
47507
47508 [BZ #13691]
47509 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
47510 with only 1 character between 0x0041 and 0x01b0.
47511 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
47512 * wcsmbs/tst-mbsnrtowcs.c: New file.
47513
20fde227
DM
475142012-03-29 David S. Miller <davem@davemloft.net>
47515
47516 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
47517 small copies by hand.
47518
984a4237
JL
475192012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
47520
47521 [BZ #13761]
57f41c40
AS
47522 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
47523 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
47524 group memberships.
984a4237 47525
18c9d62b
DM
475262012-03-28 David S. Miller <davem@davemloft.net>
47527
88d85d4f
DM
47528 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
47529 that branches into memcpy.
47530 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
47531 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
47532 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
47533 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
47534 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
47535 bits.
47536 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
47537 implementation too.
47538 * sysdeps/sparc/mempcpy.S: New file.
47539
e5aa83e1
DM
47540 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
47541 the IFUNC routine in the libc case.
47542 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
47543
88570753
DM
47544 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
47545 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
47546 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
47547 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
47548 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
47549 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
47550 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
47551 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
47552
249d7567
DM
47553 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
47554 loop to 256 bytes instead of 64 bytes and fix test signedness.
47555
18c9d62b
DM
47556 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
47557 * sysdeps/sparc/sparc32/Makefile: rather than here...
47558 * sysdeps/sparc/sparc64/Makefile: and here.
47559
05f3d1f6
UD
475602012-03-28 Ulrich Drepper <drepper@gmail.com>
47561
47562 * malloc/mallocbug.c: Avoid warnings about unused variables.
47563
86ae07a8
JL
475642012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
47565
47566 [BZ #13760]
47567 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
47568 in the right place. Discard and retry query if response is
47569 larger than input buffer size.
47570
41bf21a1
JM
475712012-03-28 Joseph Myers <joseph@codesourcery.com>
47572
d6270972
JM
47573 [BZ #369]
47574 [BZ #2678]
47575 [BZ #3866]
47576 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
47577 x for large integer exponent.
47578 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
47579 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
47580 sign of result as needed afterwards.
47581 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
47582 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
47583 result for underflowing pow the same as for overflow.
47584 (__kernel_standard_l): Handle powl overflow and underflow here
47585 rather than calling __kernel_standard.
47586 * math/libm-test.inc (pow_test): Add more tests.
47587
414fca03 47588 [BZ #3868]
41bf21a1
JM
47589 [BZ #13879]
47590 [BZ #13910]
47591 [BZ #13911]
47592 [BZ #13912]
47593 [BZ #13913]
47594 [BZ #13915]
47595 [BZ #13916]
47596 [BZ #13917]
47597 [BZ #13918]
47598 [BZ #13919]
47599 [BZ #13920]
47600 [BZ #13921]
47601 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
47602 * sysdeps/ieee754/k_standard.c: Include <float.h>.
47603 (__kernel_standard_l): New function.
47604 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
47605 __kernel_standard.
47606 * math/w_acosl.c (__acosl): Likewise.
47607 * math/w_asinl.c (__asinl): Likewise.
47608 * math/w_atan2l.c (__atan2l): Likewise.
47609 * math/w_atanhl.c (__atanhl): Likewise.
47610 * math/w_coshl.c (__coshl): Likewise.
47611 * math/w_exp10l.c (__exp10l): Likewise.
47612 * math/w_exp2l.c (__exp2l): Likewise.
47613 * math/w_fmodl.c (__fmodl): Likewise.
47614 * math/w_hypotl.c (__hypotl): Likewise.
47615 * math/w_j0l.c (__j0l, __y0l): Likewise.
47616 * math/w_j1l.c (__j1l, __y1l): Likewise.
47617 * math/w_jnl.c (__jnl, __ynl): Likewise.
47618 * math/w_lgammal.c (__lgammal): Likewise.
47619 * math/w_log10l.c (__log10l): Likewise.
47620 * math/w_log2l.c (__log2l): Likewise.
47621 * math/w_logl.c (__logl): Likewise.
47622 * math/w_powl.c (__powl): Likewise.
47623 * math/w_remainderl.c (__remainderl): Likewise.
47624 * math/w_scalbl.c (sysv_scalbl): Likewise.
47625 * math/w_sinhl.c (__sinhl): Likewise.
47626 * math/w_sqrtl.c (__sqrtl): Likewise.
47627 * math/w_tgammal.c (__tgammal): Likewise.
47628 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
47629 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
47630 * math/libm-test.inc (acos_test): Add more tests.
47631 (acosh_test): Likewise.
47632 (asin_test): Likewise.
47633 (atanh_test): Likewise.
47634 (exp_test): Likewise.
47635 (exp10_test): Likewise.
47636 (exp2_test): Likewise.
47637 (expm1_test): Likewise.
47638 (lgamma_test): Likewise.
47639 (log_test): Likewise.
47640 (log10_test): Likewise.
47641 (log1p_test): Likewise.
47642 (log2_test): Likewise.
47643 (pow_test): Do not allow some spurious overflow exceptions.
47644 (sqrt_test): Add more tests.
47645 (tgamma_test): Likewise.
47646 (y0_test): Likewise.
47647 (y1_test): Likewise.
47648 (yn_test): Likewise.
47649
dd62fda6
AB
476502012-03-27 Anton Blanchard <anton@samba.org>
47651
47652 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
47653 MAP_HUGETLB.
47654 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
47655 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
47656 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
47657
1e3cdfda
AJ
476582012-03-27 David S. Miller <davem@davemloft.net>
47659
b855ab85
DM
47660 * conform/Makefile: Run run-conformtest.sh using $(BASH).
47661
1e3cdfda
AJ
47662 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
47663 have-as-vis3 check.
47664
476652012-03-27 Andreas Jaeger <aj@suse.de>
47666
47667 * sysdeps/x86_64/elf/configure.in: Moved to ...
47668 * sysdeps/x86_64/configure.in: ... here.
47669 * sysdeps/x86_64/elf/start.S: Moved to ...
47670 * sysdeps/x86_64/start.S: ... here.
47671 * sysdeps/x86_64/elf/configure: Delete.
47672
47673 * sysdeps/x86_64/configure.in: Merge contents from
47674 sysdeps/i386/configure.in (without i686 check).
47675
47676 * sysdeps/i386/elf/Versions: Merge into ...
47677 * sysdeps/i386/Versions: ... this.
47678 * sysdeps/i386/elf/Versions: Delete file.
47679 * sysdeps/i386/elf/start.S: Moved to ...
47680 * sysdeps/i386/start.S: ...here.
47681 * sysdeps/i386/elf/configure.in: Merge into...
47682 * sysdeps/i386/configure.in: ...here.
47683 * sysdeps/i386/elf/configure.in: Delete file.
47684 * sysdeps/i386/elf/configure: Delete file.
47685
47686 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
47687 * debug/backtracesyms.c: ... here.
47688 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
47689 * debug/backtracesymsfd.c: ... here.
47690 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
47691 * sysdeps/generic/ifunc-sel.h: ... here.
47692
47693 * sysdeps/unix/i386/start.c: Delete file.
47694 * sysdeps/unix/sparc/start.c: Delete file.
47695 * sysdeps/unix/start.c: Delete file.
47696
47697 * sysdeps/sh/elf/configure.in: Moved to ...
47698 * sysdeps/sh/configure.in: ... here.
47699 * sysdeps/sh/elf/start.S: Moved to ...
47700 * sysdeps/sh/start.S: ... here.
47701 * sysdeps/sh/elf/configure: Delete file.
47702
47703 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
47704 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
47705 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
47706 * sysdeps/powerpc/powerpc64/entry.h: ... here.
47707 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
47708 * sysdeps/powerpc/powerpc64/start.S: here.
47709 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
47710 * sysdeps/powerpc/powerpc64/Makefile: ... this.
47711 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
47712 * sysdeps/powerpc/powerpc64/configure.in: ... this.
47713 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
47714
47715 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
47716 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
47717 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
47718 * sysdeps/powerpc/powerpc32/start.S: ... here.
47719 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
47720 * sysdeps/powerpc/powerpc32/configure.in: ... this.
47721 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
47722
47723 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
47724 * sysdeps/powerpc/ifunc-sel.h: ... here.
47725 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
47726 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
47727
47728 * sysdeps/sparc/elf/configure.in: Moved to ...
47729 * sysdeps/sparc/configure.in: ... here.
47730 * sysdeps/sparc/elf/configure: Delete file.
47731 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
47732 * sysdeps/sparc/sparc32/start.S: ... here.
47733 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
47734 * sysdeps/sparc/sparc64/start.S: ... here.
47735 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
47736 * sysdeps/sparc/sparc32/Makefile: ... this.
47737 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
47738 * sysdeps/sparc/sparc64/Makefile: ... this.
47739
47740 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
47741 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
47742 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
47743 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
47744 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
47745 * sysdeps/s390/s390-32/setjmp.S: ... here.
47746 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
47747 * sysdeps/s390/s390-32/configure.in: ... here.
47748 * sysdeps/s390/s390-32/elf/configure: Delete file.
47749 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
47750 * sysdeps/s390/s390-32/start.S: ... here.
47751
47752 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
47753 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
47754 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
47755 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
47756 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
47757 * sysdeps/s390/s390-64/setjmp.S: ... here.
47758 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
47759 * sysdeps/s390/s390-64/configure.in: ... here
47760 * sysdeps/s390/s390-64/elf/configure: Delete file.
47761 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
47762 * sysdeps/s390/s390-64/start.S: ... here.
47763 * sysdeps/s390/s390-64/elf/configure: Delete.
47764
47765 * configure.in: Remove support for elf directories in sysdeps.
47766
47767 * configure: Regenerated.
47768 * sysdeps/i386/configure: Regenerated.
47769 * sysdeps/powerpc/powerpc32/configure: Regenerated.
47770 * sysdeps/powerpc/powerpc64/configure: Regenerated.
47771 * sysdeps/s390/s390-32/configure: Regenerated.
47772 * sysdeps/s390/s390-64/configure: Regenerated.
47773 * sysdeps/sh/configure: Regenerated.
47774 * sysdeps/sparc/configure: Regenerated.
47775 * sysdeps/x86_64/configure: Regenerated.
47776
a3f61311
AS
477772012-03-26 Andreas Schwab <schwab@linux-m68k.org>
47778
c876e002
AS
47779 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47780
a3f61311
AS
47781 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
47782 denormal result into account.
47783
ac4c54f0
RM
477842012-03-25 Roland McGrath <roland@hack.frob.com>
47785
47786 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
47787 Reported by Allan McRae <allan@archlinux.org>.
47788
6a9b9c02
JL
477892012-03-23 Jeff Law <law@redhat.com>
47790
47791 * nss/getnssent.c (__nss_getent): Fix typo.
47792
4c42a0c1
DM
477932012-03-23 David S. Miller <davem@davemloft.net>
47794
47795 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47796
1532c7ac
L
477972012-03-23 H.J. Lu <hongjiu.lu@intel.com>
47798
47799 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
47800 to pad to uint64_t for each field.
47801 (dl_tls_index): Replace unsigned long with uint64_t.
47802
3ff42526
PP
478032012-03-23 Daniel Jacobowitz <dmj@google.com>
47804 Paul Pluzhnikov <ppluzhnikov@google.com>
47805
47806 [BZ #6528]
47807 * grp/Makefile (otherlibs): Don't set it.
47808 * inet/Makefile (otherlibs): Likewise.
47809 * login/Makefile (otherlibs): Likewise.
47810 * nscd/Makefile (otherlibs): Likewise.
47811 * posix/Makefile (otherlibs): Likewise.
47812 * pwd/Makefile (otherlibs): Likewise.
47813 * rt/Makefile (otherlibs): Likewise.
47814 * sunrpc/Makefile (otherlibs): Likewise.
47815 * nss/Makefile (otherlibs): Likewise.
47816 Add libnss_files to routines and static-only-routines.
47817 ($(objpfx)getent): Remove rule.
47818 * resolv/Makefile: Add libnss_dns and libresolv to routines and
47819 static-only-routines.
47820
7c69cd14
JM
478212012-03-22 Joseph Myers <joseph@codesourcery.com>
47822
47823 [BZ #13892]
47824 * math/s_cexp.c: Include <float.h>.
47825 (__cexp): Handle exp result overflowing not necessarily
47826 overflowing both real and imaginary parts of result.
47827 * math/s_cexpf.c: Likewise.
47828 * math/s_cexpl.c: Likewise.
47829 * math/libm-test.inc (cexp_test): Add more tests.
47830 * sysdeps/i386/fpu/libm-test-ulps: Update.
47831 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47832
81b035fe
L
478332012-03-22 H.J. Lu <hongjiu.lu@intel.com>
47834
47835 * include/link.h (ELFW): New macro.
47836 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
47837 Replace ELF64_R_TYPE with ELFW(R_TYPE).
47838
1da7940c
L
478392012-03-22 H.J. Lu <hongjiu.lu@intel.com>
47840
47841 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
47842 with uint64_t.
47843
b749dbb9
L
478442012-03-22 H.J. Lu <hongjiu.lu@intel.com>
47845
47846 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
47847 declaration.
47848 (struct La_x32_retval): Likewise.
47849
2ff87f3f
L
478502012-03-22 H.J. Lu <hongjiu.lu@intel.com>
47851
47852 * sysdeps/x86_64/preconfigure.in: New file.
47853 * sysdeps/x86_64/preconfigure: New generated file.
47854
c0df8e69
JM
478552012-03-22 Joseph Myers <joseph@codesourcery.com>
47856
48e44791
JM
47857 [BZ #13824]
47858 * math/e_exp2l.c: Include <float.h>.
47859 (__ieee754_exp2l): Handle overflow and underflow cases
47860 separately. Only pass fractional part of argument to
47861 __ieee754_expl.
47862 * math/libm-test.inc (exp2_test): Add more tests.
47863
c0df8e69
JM
47864 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
47865 negating x to take absolute value.
47866 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
47867 Likewise.
47868 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
47869 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
47870 Likewise.
47871 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
47872 computing low part if x was negated.
47873 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
47874
c8e43ba7
L
478752012-03-21 H.J. Lu <hongjiu.lu@intel.com>
47876
47877 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
47878 la_x32_gnu_pltexit.
47879 (pltexit): Cast int_retval to ptrdiff_t.
47880 * elf/tst-auditmod3b.c: Likewise.
47881 * elf/tst-auditmod4b.c: Likewise.
47882 * elf/tst-auditmod5b.c: Likewise.
47883 * elf/tst-auditmod6b.c: Likewise.
47884 * elf/tst-auditmod6c.c: Likewise.
47885 * elf/tst-auditmod7b.c: Likewise.
47886
47887 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
47888 and x32_gnu_pltexit.
47889
47890 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
47891 __ELF_NATIVE_CLASS.
47892 (La_x32_regs): New macro.
47893 (La_x32_retval): Likewise.
47894 (la_x32_gnu_pltenter): New function prototype.
47895 (la_x32_gnu_pltexit): Likewise.
47896
7998fa78
AS
478972012-03-21 Andreas Schwab <schwab@linux-m68k.org>
47898
dcb33988
AS
47899 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
47900 exponent.
47901
233fc563
AS
47902 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47903
7998fa78
AS
47904 * configure.in (libc_cv_cc_nofma): Check for option to disable
47905 generation of FMA instructions.
47906 * configure: Regenerate.
47907 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
47908 * sysdeps/ieee754/dbl-64/Makefile: New file.
47909 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
47910 Remove brandred-fma4.
47911 (CFLAGS-brandred-fma4.c): Remove.
47912 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
47913 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
47914 define.
47915 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
47916 define.
47917
8e95c99a
L
479182012-03-21 H.J. Lu <hongjiu.lu@intel.com>
47919
47920 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
47921 LLONG_MAX != LONG_MAX.
47922 (_itoa_word): Use _ITOA_WORD_TYPE on value.
47923 (_fitoa_word): Likewise.
47924 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
47925 LLONG_MAX != LONG_MAX.
47926 * stdio-common/_itowa.h: Include <_itoa.h>.
47927 (_itowa_word): Use _ITOA_WORD_TYPE on value.
47928 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
47929 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
47930 only if not defined.
47931 (_ITOA_WORD_TYPE): Likewise.
47932 (_itoa_word): Use _ITOA_WORD_TYPE on value.
47933 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
47934
6f4db457
DM
479352012-03-21 David S. Miller <davem@davemloft.net>
47936
47937 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47938
7785fe5a
L
479392012-03-21 H.J. Lu <hongjiu.lu@intel.com>
47940
47941 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
47942 of x86_64 when setting libc_cv_slibdir, libdir and
47943 libc_cv_localedir.
47944 * sysdeps/unix/sysv/linux/configure: Regenerated.
47945
4535cd55
JM
479462012-03-21 Joseph Myers <joseph@codesourcery.com>
47947
47948 * manual/lang.texi (Old Varargs): Remove section.
47949 (How Variadic): Update menu.
47950 (va_start): Do not mention varargs.h.
47951
17228132
TS
479522012-03-21 Thomas Schwinge <thomas@codesourcery.com>
47953 Joseph Myers <joseph@codesourcery.com>
47954
47955 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
47956 link test.
47957 * configure: Regenerated.
47958
8149f976
TS
479592012-03-21 Thomas Schwinge <thomas@codesourcery.com>
47960
05f3d1f6
UD
47961 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
47962 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
47963 conformtest.pl
8149f976 47964
1a4ac776
JM
479652012-03-21 Joseph Myers <joseph@codesourcery.com>
47966
be22ce65
JM
47967 * NOTES: Remove.
47968 * Makefile (files-for-dist): Remove NOTES.
47969 (NOTES): Remove rule.
47970 * README: Don't refer to NOTES.
47971 * manual/creature.texi: Don't include macros.texi.
47972 * manual/intro.texi (creature.texi): Remove comment referring to
47973 NOTES.
47974
40b601fb
JM
47975 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
47976 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
47977 * configure: Regenerated.
47978 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
47979 LIBC_TRY_CC_OPTION.
47980 (libc_cv_as_i686): Likewise.
47981 (libc_cv_cc_avx): Likewise.
47982 (libc_cv_cc_sse2avx): Likewise.
47983 (libc_cv_cc_fma4): Likewise.
47984 (libc_cv_cc_novzeroupper): Likewise.
47985 * sysdeps/i386/configure: Regenerated.
47986
1a4ac776
JM
47987 [BZ #13883]
47988 * sysdeps/i386/fpu/s_cexp.S: Remove.
47989 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
47990 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
47991 * math/libm-test.inc (cexp_test): Add more tests.
47992 * sysdeps/i386/fpu/libm-test-ulps: Update.
47993 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47994
a458e7fe
AM
479952012-03-21 Allan McRae <allan@archlinux.org>
47996
47997 * timezone/Makefile: Do not install iso3166.tab and zone.tab
47998
0cb7efc5
JM
479992012-03-21 Joseph Myers <joseph@codesourcery.com>
48000
48001 [BZ #13871]
48002 * math/w_exp2.c: Do not include <float.h>.
48003 (o_threshold, u_threshold): Remove.
48004 (__exp2): Calculate result before checking finiteness and calling
48005 __kernel_standard.
48006 * math/w_exp2f.c: Likewise.
48007 * math/w_exp2l.c: Likewise.
48008 * math/libm-test.inc (exp2_test): Require overflow exception for
48009 1e6 input.
2460d3aa
JM
48010
48011 [BZ #3866]
48012 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
48013 range of signed 64-bit integers before using fistpll. Remove
48014 checks for whether integers fit in mantissa bits.
48015 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
48016 the range of signed 32-bit integers before using fistpl. Remove
48017 checks for whether integers fit in mantissa bits.
48018 * sysdeps/i386/fpu/e_powl.S (p64): New object.
48019 (__ieee754_powl): Test for y outside the range of signed 64-bit
48020 integers before using fistpll. Reduce 64-bit values to 63-bit
48021 ones as needed.
48022 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
48023 divide-by-zero is raised for zero to large negative powers.
48024 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
48025 (__ieee754_powl): Test for y outside the range of signed 64-bit
48026 integers before using fistpll. Reduce 64-bit values to 63-bit
48027 ones as needed.
48028 * math/libm-test.inc (pow_test): Add more tests.
48029
eb96ffb0
L
480302012-03-20 H.J. Lu <hongjiu.lu@intel.com>
48031
48032 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
48033 <stdio-common/_itoa.h>.
48034 * debug/segfault.c: Likewise.
48035 * elf/dl-cache.c: Likewise.
48036 * elf/dl-minimal.c: Likewise.
48037 * elf/dl-misc.c: Likewise.
48038 * elf/dl-sysdep.c: Likewise.
48039 * elf/dl-version.c: Likewise.
48040 * elf/rtld.c: Likewise.
48041 * hurd/hurdsock.c: Likewise.
48042 * hurd/lookup-retry.c: Likewise.
48043 * malloc/malloc.c: Likewise.
48044 * malloc/mtrace.c: Likewise.
48045 * nscd/nscd_getgr_r.c: Likewise.
48046 * nscd/nscd_getpw_r.c: Likewise.
48047 * nscd/nscd_getserv_r.c: Likewise.
48048 * posix/getopt_init.c: Likewise.
48049 * posix/wordexp.c: Likewise.
48050 * stdio-common/_itoa.c: Likewise.
48051 * stdio-common/printf_fphex.c: Likewise.
48052 * stdio-common/vfprintf.c: Likewise.
48053 * string/_strerror.c: Likewise.
48054 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
48055 * sysdeps/i386/i686/hp-timing.h: Likewise.
48056 * sysdeps/mach/_strerror.c: Likewise.
48057 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
48058 * sysdeps/mach/hurd/sethostid.c: Likewise.
48059 * sysdeps/mach/hurd/xmknodat.c: Likewise.
48060 * sysdeps/mach/xpg-strerror.c: Likewise.
48061 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
48062 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
48063 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
48064 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
48065 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
48066 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
48067 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
48068 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
48069 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
48070 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
48071 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
48072 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
48073 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
48074 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
48075 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
48076 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
48077 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
48078 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
48079 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
48080 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
48081 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
48082
48083 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
48084
48085 * stdio-common/_itoa.h: Moved to ...
48086 * sysdeps/generic/_itoa.h: Here.
48087
48088 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
48089
48090 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
48091 instead of "_itoa.h" and "_itowa.h".
48092 * stdio-common/vfprintf.: Likewise.
48093
d1af992d
L
480942012-03-20 H.J. Lu <hongjiu.lu@intel.com>
48095
48096 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
48097 <bits/wordsize.h>.
48098 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
48099 (__signbit): Likwise.
48100 (llrintf): Likwise.
48101 (llrint): Likwise.
48102
114883e0
L
481032012-03-20 H.J. Lu <hongjiu.lu@intel.com>
48104
48105 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
48106 __WORDSIZE != 64.
48107
c135cc1b
JM
481082012-03-20 Joseph Myers <joseph@codesourcery.com>
48109
48110 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
48111 OVERFLOW_EXCEPTION_OK.
48112 * math/libm-test.inc ("Philosophy"): Update comment about
48113 exception testing.
48114 (OVERFLOW_EXCEPTION): Define.
48115 (OVERFLOW_EXCEPTION_OK): Likewise.
48116 (INVALID_EXCEPTION_OK): Renumber.
48117 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
48118 (IGNORE_ZERO_INF_SIGN): Likewise.
48119 (test_exceptions): Handle FE_OVERFLOW.
48120 (exp10_test): Expect overflow exceptions.
48121 (exp2_test): Likewise.
48122 (expm1_test): Likewise.
48123 (nextafter_test): Likewise.
48124 (pow_test): Likewise.
48125 (scalbn_test): Likewise.
48126 (scalbln_test): Likewise.
48127
95443d88
L
481282012-03-19 H.J. Lu <hongjiu.lu@intel.com>
48129
48130 * sysdeps/x86_64/bits/atomic.h
48131 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
48132 64bit integer.
48133 (atomic_exchange_acq): Likewise.
48134 (__arch_exchange_and_add_body): Likewise.
48135 (__arch_add_body): Likewise.
48136 (atomic_add_negative): Likewise.
48137 (atomic_add_zero): Likewise.
48138
490df6c4
L
481392012-03-19 H.J. Lu <hongjiu.lu@intel.com>
48140
c2722551 48141 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
48142 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
48143
5e52b189
L
481442012-03-19 H.J. Lu <hongjiu.lu@intel.com>
48145
48146 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
48147 Check __x86_64__ instead of __WORDSIZE.
48148
a9879d4c
L
481492012-03-19 H.J. Lu <hongjiu.lu@intel.com>
48150
48151 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
48152
5df98260
DM
481532012-03-19 David S. Miller <davem@davemloft.net>
48154
e1497744
DM
48155 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48156
5df98260
DM
48157 * sysdeps/sparc/fpu/fenv_private.h: New file.
48158 * sysdeps/sparc/fpu/math_private.h: Use it.
48159 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
48160 Remove.
57f41c40 48161 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
48162 (libc_feholdexcept_setroundl): Remove.
48163 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
48164 Remove.
48165 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
48166 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
48167
b4c35121
L
481682012-03-19 H.J. Lu <hongjiu.lu@intel.com>
48169
48170 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
48171 int64_t instead of long int.
48172 (INSERT_WORDS64): Likwise.
48173
56965fd7
L
481742012-03-19 H.J. Lu <hongjiu.lu@intel.com>
48175
48176 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
48177 _Unwind_GetCFA return to _Unwind_Ptr first.
48178
83d1aec8
JM
481792012-03-19 Joseph Myers <joseph@codesourcery.com>
48180
1897ad44
JM
48181 [BZ #13629]
48182 * math/s_clog.c: Include <float.h>.
48183 (__clog): Scale large or subnormal inputs.
48184 * math/s_clogf.c: Likewise.
48185 * math/s_clogl.c: Likewise.
48186 * math/s_clog10.c: Include <float.h>.
48187 (M_LOG10_2): Define.
48188 (__clog10): Scale large or subnormal inputs.
48189 * math/s_clog10f.c: Likewise.
48190 * math/s_clog10l.c: Likewise.
48191 * math/libm-test.inc (clog_test): Add more tests.
48192 (clog10_test): Likewise.
48193 * sysdeps/i386/fpu/libm-test-ulps: Update.
48194 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48195
7726d6a9
JM
48196 [BZ #11451]
48197 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
48198 x and y.
48199 * math/libm-test.inc (atan2_test): Add another test.
48200
83d1aec8
JM
48201 * Makerules (common-objdir-compile): Remove.
48202 * sysdeps/unix/Makefile (config-generated): Do not add
48203 $(unix-generated) to variable.
48204 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
48205 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
48206 Remove rule.
48207 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
48208 Likewise.
48209 [generic bits/local_lim.h] (before-compile): Do not append to
48210 variable.
48211 [generic bits/local_lim.h] (common-generated): Likewise.
48212 [generic sys/param.h] (before-compile): Do not append to variable.
48213 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
48214 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
48215 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
48216 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
48217 include.
48218 [generic sys/param.h] (sys/param.h-includes): Remove variable.
48219 [generic sys/param.h] (sys/param.h-includes): Remove rule.
48220 [generic sys/param.h] ($(addprefix
48221 $(common-objpfx),$(sys/param.h-includes))): Likewise.
48222 [generic sys/param.h] (common-generated): Do not append to
48223 variable.
48224 [generic sys/param.h] (sysdep_headers): Likewise.
48225 [generic bits/errno.h] (before-compile): Do not append to
48226 variable.
48227 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
48228 rule.
48229 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
48230 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
48231 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
48232 [generic bits/errno.h] (common-generated): Do not append to
48233 variable.
48234 [generic bits/ioctls.h] (before-compile): Do not append to
48235 variable.
48236 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
48237 rule.
48238 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
48239 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
48240 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
48241 rule.
48242 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
48243 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
48244 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
48245 [generic bits/ioctls.h] (common-generated): Do not append to
48246 variable.
48247 [generic sys/syscall.h] (syscall.h): Remove variable.
48248 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
48249 rule.
48250 [generic sys/syscall.h] (before-compile): Do not append to
48251 variable.
48252 [generic sys/syscall.h] (common-generated): Likewise.
48253 * sysdeps/unix/errnos-tmpl.c: Remove file.
48254 * sysdeps/unix/errnos.awk: Likewise.
48255 * sysdeps/unix/ioctls-tmpl.c: Likewise.
48256 * sysdeps/unix/ioctls.awk: Likewise.
48257 * sysdeps/unix/mk-local_lim.c: Likewise.
48258 * sysdeps/unix/snarf-ioctls: Likewise.
48259
4851a949
RH
482602012-03-19 Richard Henderson <rth@twiddle.net>
48261
bd37f2ee
RH
48262 * sysdeps/i386/fpu/fenv_private.h: New file.
48263 * sysdeps/i386/fpu/math_private.h: Use it.
48264 (math_opt_barrier, math_force_eval): Remove.
48265 (libc_feholdexcept_setround_53bit): Remove.
48266 (libc_feupdateenv_53bit): Remove.
48267 * sysdeps/x86_64/fpu/math_private.h: Likewise.
48268 (math_opt_barrier, math_force_eval): Remove.
48269 (libc_feholdexcept): Remove.
48270 (libc_feholdexcept_setround): Remove.
48271 (libc_fetestexcept, libc_fesetenv): Remove.
48272 (libc_feupdateenv_test): Remove.
48273 (libc_feupdateenv, libc_feholdsetround): Remove.
48274 (libc_feresetround): Remove.
48275
d0adc922
RH
48276 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
48277 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
48278
0fe0f1f8
RH
48279 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
48280 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
48281 (libc_feupdateenv_testl): New.
48282 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
48283 (libc_feupdateenv_testf): New.
48284 (libc_feupdateenv): Use libc_feupdateenv_test.
48285 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
48286 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
48287
eb92c487
RH
48288 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
48289 (libc_feholdsetroundf, libc_feholdsetroundl): New.
48290 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
48291 (libc_feresetround_noex): New.
48292 (libc_feresetround_noexf): New.
48293 (libc_feresetround_noexl): New.
48294 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
48295 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
48296 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
48297 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
48298 SET_RESTORE_ROUND.
48299 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
48300 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
48301 (__cos): Likewise.
48302 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
48303 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
48304 SET_RESTORE_ROUND_NOEX.
48305 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
48306 SET_RESTORE_ROUND_NOEXF.
48307 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
48308 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
48309 (libc_feholdsetroundf): New.
48310 (libc_feresetround, libc_feresetroundf): New.
48311
7d2e8012
RH
48312 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
48313 (libc_feholdexcept_setround_53bit): Convert from macro to function.
48314 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
48315
b4dabbb4
RH
48316 * sysdeps/generic/math_private.h: Include <fenv.h>.
48317 (default_libc_feholdexcept): New.
48318 (default_libc_feholdexcept_setround): New.
48319 (default_libc_fesetenv, default_libc_feupdateenv): New.
48320 (libc_feholdexcept): Only define if undefined.
48321 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
48322 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
48323 (libc_feholdexcept_setroundl): Likewise.
48324 (libc_feholdexcept_setround_53bit): Likewise.
48325 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
48326 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
48327 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
48328 (libc_feupdateenv_53bit): Likewise.
48329 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
48330 (libc_feholdexcept): Convert from macro to inline function.
48331 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
48332 (libc_fesetenv, libc_feupdateenv): Likewise.
48333
4851a949
RH
48334 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
48335 not previously defined.
48336 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
48337 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
48338 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
48339 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
48340 * sysdeps/ieee754/flt-32/math_private.h: New file.
48341 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
48342 math_private.h below SET_FLOAT_WORD.
48343 (__isnan, __isinf_ns, __finite): Remove.
48344 (__isnanf, __isinf_nsf, __finitef): Remove.
48345
e79d442e
AS
483462012-03-18 Andreas Schwab <schwab@linux-m68k.org>
48347
48348 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48349
90b80344
DM
483502012-03-17 David S. Miller <davem@davemloft.net>
48351
48352 [BZ #6471]
48353 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
48354 for 2.16.
48355
edc21804
DM
483562012-03-16 David S. Miller <davem@davemloft.net>
48357
77e927af
DM
48358 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
48359 warnings.
48360
374976dd
DM
48361 [BZ #6471]
48362 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
48363 properly.
48364 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
48365 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
48366 sysdep_routines when subdir is sysvipc.
48367 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
48368 __getshmlba helper.
48369
edc21804
DM
48370 * sysdeps/sparc/fpu/libm-test/ulps: Update.
48371
473c3ef3
L
483722012-03-16 H.J. Lu <hongjiu.lu@intel.com>
48373
48374 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
48375 [__LP64__].
48376
eb0f39b6
L
483772012-03-16 H.J. Lu <hongjiu.lu@intel.com>
48378
48379 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
48380 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
48381 (__lround): Renamed to ...
48382 (__llround): This. Replace long int with long long int.
48383 Define lround functions as aliases of llround functions.
48384 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
48385
6b6cd74b
L
483862012-03-16 H.J. Lu <hongjiu.lu@intel.com>
48387
48388 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
48389 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
48390 adresses to uintptr_t. Replace "long int" and "unsigned long
48391 int" with "greg_t" on va_arg.
48392
f1a77b01
L
483932012-03-16 H.J. Lu <hongjiu.lu@intel.com>
48394
48395 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
48396 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
48397
48398 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
48399 Move e_machine check before EI_CLASS check. Handle x32
48400 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
48401 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
48402 SKIP_EM_IA_64 and include
48403 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
48404
48405 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
48406 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
48407 (add_system_dir): New macro.
48408
48409 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
48410 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
48411
11b90b9f
JM
484122012-03-16 Joseph Myers <joseph@codesourcery.com>
48413
c36e1d23
JM
48414 [BZ #2551]
48415 [BZ #2552]
48416 [BZ #2553]
48417 [BZ #2554]
48418 [BZ #2562]
48419 [BZ #2563]
48420 [BZ #2565]
48421 [BZ #2566]
48422 [BZ #2576]
48423 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
48424 (y0): Likewise.
48425 * math/w_j0f.c (j0f): Likewise.
48426 (y0f): Likewise.
48427 * math/w_j0l.c (__j0l): Likewise.
48428 (__y0l): Likewise.
48429 * math/w_j1.c (j1): Likewise.
48430 (y1): Likewise.
48431 * math/w_j1f.c (j1f): Likewise.
48432 (y1f): Likewise.
48433 * math/w_j1l.c (__j1l): Likewise.
48434 (__y1l): Likewise.
48435 * math/w_jn.c (jn): Likewise.
48436 (yn): Likewise.
48437 * math/w_jnf.c (jnf): Likewise.
48438 (ynf): Likewise.
48439 * math/w_jnl.c (__jnl): Likewise.
48440 (__ynl): Likewise.
48441 * math/libm-test.inc (j0_test): Add more tests.
48442 (j1_test): Likewise.
48443 (jn_test): Likewise. Add trailing semicolon to existing test.
48444 (y0_test): Likewise.
48445 (y1_test): Likewise.
48446 * sysdeps/i386/fpu/libm-test-ulps: Update.
48447 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48448
11b90b9f
JM
48449 [BZ #13851]
48450 [BZ #13854]
48451 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
48452 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
48453 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
48454 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
48455 (__tanl): Set errno for infinite argument.
48456 * sysdeps/i386/fpu/mptan.c: Remove.
48457 * sysdeps/i386/fpu/s_tan.S: Likewise.
48458 * sysdeps/i386/fpu/s_tanl.S: Likewise.
48459 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
48460 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
48461 * math/libm-test.inc (tan_test): Add more tests and enable more
48462 tests for double and long double.
48463 * sysdeps/i386/fpu/libm-test-ulps: Update.
48464 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48465
6a1bd2a1
JK
484662012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
48467
48468 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
48469 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
48470
10a803e0
RM
484712012-03-16 Roland McGrath <roland@hack.frob.com>
48472
48473 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
48474 * configure.in: Use it for both main tree and add-ons.
48475 * configure: Regenerated.
48476
f196c7f7
L
484772012-03-16 H.J. Lu <hongjiu.lu@intel.com>
48478
48479 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
48480
8848d99d
JM
484812012-03-16 Joseph Myers <joseph@codesourcery.com>
48482
96cbe7f4
JM
48483 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
48484 in comment.
48485
8848d99d
JM
48486 [BZ #13851]
48487 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
48488 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
48489 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
48490 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
48491 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
48492 infinite argument.
48493 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
48494 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
48495 != 0 for prec == 2.
48496 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
48497 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
48498 * sysdeps/i386/fpu/s_cosl.S: Likewise.
48499 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
48500 * sysdeps/i386/fpu/s_sinl.S: Likewise.
48501 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
48502 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
48503 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
48504 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
48505 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
48506 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
48507 * math/libm-test.inc (cos_test): Add more tests and enable more
48508 tests for long double.
48509 (sin_test): Likewise.
48510 (sincos_test): Likewise.
48511 * sysdeps/i386/fpu/libm-test-ulps: Update.
48512 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48513
dd7f4703
DM
485142012-03-16 David S. Miller <davem@davemloft.net>
48515
48516 * sysdeps/sparc/fpu/math_private.h: New file.
48517
006f1daa
DM
485182012-03-15 David S. Miller <davem@davemloft.net>
48519
c0c83bc8
DM
48520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
48521 file.
e6a62e18 48522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
48523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
48524 file.
e6a62e18
DM
48525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
48526 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
48527 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
48528 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
48529 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
48530 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
48531 sysdep routines.
48532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
48533
88cb87d9
DM
48534 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
48535 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
48536
006f1daa 48537 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
48538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
48539 sparc-ifunc.h
006f1daa 48540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
48541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
48542 Likewise.
48543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
48544 Likewise.
006f1daa
DM
48545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
48546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
48547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
48548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
48549 Likewise.
006f1daa
DM
48550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
48551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
48552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
48553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
48554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
48555 Likewise.
48556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
48557 Likewise.
006f1daa
DM
48558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
48559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
48560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
48561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
48562 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
48563 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
48564 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
48565 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
48566 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
48567 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
48568 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
48569 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
48570 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
48571 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
48572 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
48573 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
48574 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
48575 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
48576 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
48577 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
48578 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
48579 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
48580 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
48581 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
48582
11e0098e
AS
485832012-03-15 Andreas Schwab <schwab@linux-m68k.org>
48584
48585 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
48586 scaling.
48587 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48588
e85b09d0
AJ
485892012-03-15 Andreas Jaeger <aj@suse.de>
48590
48591 [BZ #13852]
48592 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
48593 ieee754/flt-32 implementation for sin, cos and sincos.
48594 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
48595 * sysdeps/i386/fpu/s_cosf.S: Likewise.
48596 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
48597 * sysdeps/i386/fpu/s_sinf.S: Likewise.
48598 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
48599 ieee754/flt-32 implementation for tan.
48600
48601 * math/libm-test.inc (cos_test): Enable some large input tests for
48602 float as well
48603 (sin_test): Likewise.
48604 (sincos_test): Likewise.
48605 (tan_test): Add tests for large input.
48606
48607 * sysdeps/i386/fpu/libm-test-ulps: Update.
48608
81c64153
AJ
486092012-03-15 Andreas Jaeger <aj@suse.de>
48610
48611 [BZ #13658]
48612 * math/libm-test.inc (cos_test): Add more test cases.
48613 (sin_test): Likewise.
48614 (sincos_test): Likewise.
48615
7bbfa5c6
AJ
486162012-03-15 Andreas Jaeger <aj@suse.de>
48617
48618 [BZ #13837]
48619 * math/libm-test.inc (cos_test): Add a test case for large input
48620 value.
48621 (sin_test): Likewise.
48622 (sincos_test): Likewise.
48623
57f41c40
AS
486242012-03-15 Andreas Jaeger <aj@suse.de>
48625 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
48626
48627 [BZ #13658]
0671f479 48628 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
48629 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
48630 * sysdeps/i386/fpu/branred.c: Likewise.
48631 * sysdeps/i386/fpu/dosincos.c: Likewise.
48632 * sysdeps/i386/fpu/mpa.c: Likewise.
48633 * sysdeps/i386/fpu/s_cos.S: Likewise.
48634 * sysdeps/i386/fpu/s_sin.S: Likewise.
48635 * sysdeps/i386/fpu/s_sincos.S: Likewise.
48636 * sysdeps/i386/fpu/sincos32.c: Likewise.
48637
48638 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
48639 Define.
48640 (libc_feupdateenv_53bit): Define.
48641 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
48642 Define.
48643 (libc_feupdateenv_53bit): Define.
48644
48645 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
48646 53 bit (without extend i386 double precision).
48647
48648 * math/libm-test.inc (sincos_test): Add tests for large input.
48649 (sin): Likewise.
48650 (cos): Likewise.
48651
48652 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
48653
9cad04ea
AS
486542012-03-15 Andreas Schwab <schwab@linux-m68k.org>
48655
48656 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48657
f7062b9a
DM
486582012-03-15 David S. Miller <davem@davemloft.net>
48659
48660 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
48661 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
48662 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
48663 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
48664 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
48665 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
48666 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
48667 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
48668 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
48669 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
48670 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
48671 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
48672 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
48673 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
48674 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
48675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
48676 file.
f7062b9a 48677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
48678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
48679 file.
f7062b9a 48680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
48681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
48682 file.
f7062b9a 48683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
48684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
48685 file.
f7062b9a
DM
48686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
48687 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
48688 fmin/fmax sysdep routines.
48689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
48690
7bd951ff
DM
486912012-03-14 David S. Miller <davem@davemloft.net>
48692
559398ab
DM
48693 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
48694 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
48695 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
48696 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
48697 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
48698 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
48699 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
48700 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
48701 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
48702 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
48703 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
48704 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
48705 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
48706 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
48707 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
48708 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
48709 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
48710 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
48711 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
48712 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
48713 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
48714 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
48715 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
48716 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
48717 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
48718 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
48719 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
48720 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
48721 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
48722 routines.
48723 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
48724 file.
559398ab 48725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
48726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
48727 file.
559398ab 48728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
48729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
48730 file.
559398ab 48731 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
48732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
48733 file.
559398ab 48734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
48735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
48736 file.
559398ab 48737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
48738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
48739 file.
48740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
48741 file.
48742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
48743 file.
48744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
48745 file.
48746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
48747 New file.
48748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
48749 file.
48750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
48751 file.
559398ab 48752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
48753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
48754 file.
559398ab 48755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
48756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
48757 file.
559398ab 48758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
48759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
48760 file.
559398ab 48761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
48762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
48763 VIS3 routines.
559398ab
DM
48764
48765 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
48766 New file.
48767
5a1c1e32
DM
48768 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48769
eae47a36
DM
48770 * sysdeps/sparc/configure.in: New file.
48771 * sysdeps/sparc/configure: Generate.
48772 * configure.in (libc_cv_sparc_as_vis3): Substitute.
48773 * configure: Regenerate.
48774 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
48775 * config.make.in (have-as-vis3): New.
48776 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
48777 available use -Av9d instead of -Av9a.
48778 * sysdeps/sparc/sparc64/Makefile: Likewise.
48779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
48780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
48781 New file.
48782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
48783 file.
48784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
48785 New file.
48786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
48787 file.
eae47a36
DM
48788 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
48789 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
48790 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
48791 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
48792 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
48793
c0c83bc8
DM
48794 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
48795 fzeros/fnegs to load 0x80000000 into a float register instead of
48796 using the stack.
7bd951ff
DM
48797 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
48798
bd951ccb
JM
487992012-03-14 Joseph Myers <joseph@codesourcery.com>
48800
48801 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48802 bits/syscall.h.
48803 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
48804 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
48805 ($(inst_includedir)/bits/syscall.h): Remove rule.
48806 ($(objpfx)bits/syscall.d): Include instead of
48807 $(objpfx)syscall-list.d.
48808 (generated): Change syscall-list.h and syscall-list.d to
48809 bits/syscall.h and bits/syscall.d.
48810
bb4e6db2
RM
488112012-03-14 Roland McGrath <roland@hack.frob.com>
48812
48813 [BZ #13846]
48814 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
48815
aa4a2ae1
JM
488162012-03-14 Joseph Myers <joseph@codesourcery.com>
48817
e456826d
JM
48818 [BZ #13841]
48819 * math/s_csqrt.c: Include <float.h>.
48820 (__csqrt): Scale large or subnormal inputs.
48821 * math/s_csqrtf.c: Likewise.
48822 * math/s_csqrtl.c: Likewise.
48823 * math/libm-test.inc (csqrt_test): Add more tests.
48824 * sysdeps/i386/fpu/libm-test-ulps: Update.
48825 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48826
aa4a2ae1
JM
48827 [BZ #13840]
48828 * math/libm-test.inc (hypot_test): Add more tests.
48829
7c10fd35
DM
488302012-03-13 David S. Miller <davem@davemloft.net>
48831
48832 [BZ #13840]
48833 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
48834 double-precision for the calculation instead of scaling.
48835
f453b98b
JM
488362012-03-13 Joseph Myers <joseph@codesourcery.com>
48837
48838 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
48839 manipulate bits before adding and subtracting TWO52[sx].
48840 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
48841 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
48842 Likewise.
48843 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
48844
09a3453f
DM
488452012-03-13 David S. Miller <davem@davemloft.net>
48846
8e59da90
DM
48847 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
48848 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
48849 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
48850 rtld-global-offsets.h
48851 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
48852
2a8ab7f2
DM
48853 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
48854 large parameters.
48855
10f62770
DM
48856 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
48857
5f0bdb18
DM
48858 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
48859 'err' in the ifdef scope in which it is actually used.
48860
09a3453f
DM
48861 * nss/nss_db/db-init.c: Include string.h
48862
b4b2eb5e
DM
488632012-03-12 David S. Miller <davem@davemloft.net>
48864
98bb2f1c
DM
48865 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
48866 masking out of the most significant byte of random value used.
48867 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48868 Fix coding style in previous change.
48869
b4b2eb5e
DM
48870 * sysdeps/unix/sysv/linux/kernel-features.h
48871 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
48872 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
48873 expression.
48874 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
48875 later.
48876
6e226b09
DM
488772012-03-11 David S. Miller <davem@davemloft.net>
48878
a1bcbd40
DM
48879 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
48880 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
48881 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
48882 for 'resultvar' otherwise things get truncated on 64-bit.
48883
cb9d6174
DM
48884 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48885 Fix masking out of the most significant byte of random value used.
48886
6e226b09
DM
48887 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48888
058c132d
AS
488892012-03-10 Andreas Schwab <schwab@linux-m68k.org>
48890
48891 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48892
2d2cd515
DM
488932012-03-09 David S. Miller <davem@davemloft.net>
48894
48895 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
48896 variables with appropriate CPP guards.
57f41c40
AS
48897 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
48898 from the frame pointer, not the stack pointer. Correct layout
48899 comments. Fix test on resulting framesize and the management of
48900 the outregs buffer for pltexit. Preserve floating point return
48901 values across _dl_call_pltexit call.
2d2cd515
DM
48902 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
48903 framesize and the management of the outregs buffer for pltexit.
48904 Preserve floating point return values across _dl_call_pltexit
48905 call.
57f41c40
AS
48906 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
48907 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
48908 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
48909 (print_exit): Fix format string for return register value.
48910
9a07f9d0
JM
489112012-03-10 Joseph Myers <joseph@codesourcery.com>
48912
48913 * sunrpc/Makefile (others): Add rpcgen.
48914 ($(objpfx)rpcgen): Remove special build rule and dependency on
48915 libc.
48916 * sunrpc/rpcgen.c: New file.
48917
547b5e30
PE
489182012-03-09 Paul Eggert <eggert@cs.ucla.edu>
48919
c524201a
PE
48920 [BZ #13673]
48921 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
48922 * stdio-common/bug-vfprintf-nargs.c: Likewise.
48923 * sysdeps/i386/crti.S: Likewise.
48924 * sysdeps/i386/crtn.S: Likewise.
48925 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
48926 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
48927 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
48928 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
48929 * sysdeps/sh/crti.S: Likewise.
48930 * sysdeps/sh/crtn.S: Likewise.
48931 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
48932
7b6235f2
PE
48933 [BZ #13673]
48934 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
48935 with URL.
48936 * locale/programs/locfile-kw.gperf: Likewise.
48937 * locale/programs/charmap-kw.h: Regenerated.
48938 * locale/programs/locfile-kw.h: Likewise.
48939
547b5e30
PE
48940 [BZ #13673]
48941 * intl/plural.y: Replace FSF snail mail address with URL.
48942 * intl/plural.c: Regenerated.
48943
5f0a5dae
RH
489442012-03-09 Richard Henderson <rth@twiddle.net>
48945
48946 * include/math_private.h: Remove file.
48947 * math/math_private.h: Move file ...
48948 * sysdeps/generic/math_private.h: ... here.
48949
b8c03620
RH
48950 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
48951 * sysdeps/powerpc/fpu/math_private.h: Likewise.
48952 * sysdeps/x86_64/fpu/math_private.h: Likewise.
48953
4e234f5d 48954 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
48955 and <math_private.h>.
48956 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
48957 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
48958 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
48959 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
48960 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
48961 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
48962 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
48963 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48964 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
48965 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
48966 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48967 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
48968 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
48969 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48970 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
48971 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
48972 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
48973 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
48974 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
48975 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
48976 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48977 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
48978 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
48979 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48980 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
48981 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
48982 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
48983 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
48984 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48985 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
48986 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
48987 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48988 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
48989 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
48990 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
48991 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
48992 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
48993 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
48994 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
48995 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48996 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
48997 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
48998 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
48999 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
49000 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
49001 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
49002 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
49003 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
49004 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
49005 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
49006 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
49007 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
49008 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
49009 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
49010 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
49011 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
49012 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
49013 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
49014 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
49015 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
49016 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
49017 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
49018 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49019 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
49020 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
49021 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
49022 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
49023 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
49024 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
49025 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
49026 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
49027 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
49028 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
49029 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
49030 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
49031 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
49032 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
49033 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
49034 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
49035 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
49036 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
49037 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
49038 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
49039 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
49040 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
49041 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
49042 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
49043 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
49044 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
49045 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
49046 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
49047 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
49048 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
49049 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
49050 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
49051 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
49052 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
49053 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
49054 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
49055 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
49056 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
49057 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
49058 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
49059 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
49060 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
49061 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
49062 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
49063 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
49064 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
49065 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
49066 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
49067 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
49068 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
49069 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
49070 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
49071 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
49072 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
49073 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
49074 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
49075 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
49076 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
49077 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
49078 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
49079 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
49080 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
49081 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
49082 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
49083 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
49084 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
49085 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
49086 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
49087 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
49088 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
49089 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
49090 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
49091 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
49092 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
49093 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
49094 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
49095 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
49096 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
49097 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
49098 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
49099 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
49100 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
49101 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
49102 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
49103 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
49104 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
49105 * sysdeps/ieee754/k_standard.c: Likewise.
49106 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
49107 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
49108 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
49109 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
49110 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
49111 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
49112 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
49113 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
49114 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
49115 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
49116 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
49117 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
49118 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
49119 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
49120 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
49121 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
49122 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
49123 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
49124 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
49125 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
49126 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
49127 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
49128 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
49129 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
49130 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
49131 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
49132 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
49133 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
49134 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
49135 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
49136 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
49137 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
49138 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
49139 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
49140 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
49141 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
49142 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
49143 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
49144 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
49145 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
49146 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
49147 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
49148 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
49149 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
49150 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
49151 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
49152 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
49153 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
49154 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
49155 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
49156 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
49157 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
49158 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
49159 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
49160 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
49161 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
49162 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
49163 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
49164 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
49165 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
49166 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
49167 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
49168 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
49169 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
49170 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
49171 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
49172 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
49173 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
49174 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
49175 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
49176 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
49177 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
49178 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
49179 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
49180 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
49181 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
49182 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
49183 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
49184 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
49185 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
49186 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
49187 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
49188 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
49189 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
49190 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
49191 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
49192 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
49193 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
49194 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
49195 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
49196 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
49197 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
49198 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
49199 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
49200 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
49201 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
49202 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
49203 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
49204 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
49205 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
49206 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
49207 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
49208 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
49209 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
49210 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
49211 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
49212 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
49213 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
49214 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
49215 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
49216 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
49217 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
49218 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
49219 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
49220 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
49221 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
49222 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
49223 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
49224 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
49225 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
49226 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
49227 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
49228 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
49229 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
49230 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
49231 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
49232 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
49233 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
49234 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
49235 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
49236 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
49237 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
49238 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
49239 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
49240 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
49241 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
49242 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
49243 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
49244 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
49245 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
49246 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
49247 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
49248 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
49249 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
49250 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
49251 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
49252 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
49253 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
49254 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
49255 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
49256 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
49257 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
49258 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
49259 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
49260 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
49261 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
49262 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
49263 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
49264 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
49265 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
49266 * sysdeps/ieee754/s_lib_version.c: Likewise.
49267 * sysdeps/ieee754/s_matherr.c: Likewise.
49268 * sysdeps/ieee754/s_signgam.c: Likewise.
49269 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
49270 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
49271 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
49272 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
49273 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
49274 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
49275 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
49276 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
49277 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
49278 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
49279 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
49280 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
49281 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
49282 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
49283 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
49284 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
49285 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
49286 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
49287 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
49288 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
49289 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 49290
1991fa03
JM
492912012-03-09 Joseph Myers <joseph@codesourcery.com>
49292
49293 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
49294 * sunrpc/rpc_main.c: Likewise.
49295 * sunrpc/rpc_svcout.c: Likewise.
49296
60d6f5a6
DM
492972012-03-09 David S. Miller <davem@davemloft.net>
49298
49299 * include/math_private.h: New file.
49300
4962050e
JM
493012012-03-09 Joseph Myers <joseph@codesourcery.com>
49302
02a6f887
JM
49303 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
49304 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
49305 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
49306 from <bits/socket_type.h>.
49307 (enum __socket_type): Don't define here.
49308 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
49309 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49310 bits/socket_type.h.
49311
c6e013c1
JM
49312 [BZ #13566]
49313 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
49314 checking __USE_GNU.
49315
4962050e
JM
49316 * Makerules ($(inst_includedir)/%.h): New rule.
49317 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
49318 (install-others): Remove variable setting.
49319 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
49320
38842f45
RH
493212012-03-08 Richard Henderson <rth@twiddle.net>
49322
67bb6da6
RH
49323 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
49324 from macro to inline function; merge with the
49325 !__LIBC_INTERNAL_MATH_INLINES version.
49326 (__ieee754_sqrtf): Likewise.
49327
15194b4b
RH
49328 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
49329 to inline function.
49330 (__rintf, __floor, __floorf): Likewise.
49331
64e21ede
RH
49332 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
49333 macro to inline function.
49334 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
49335
38842f45
RH
49336 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
49337 not <math/math_private.h>.
49338
c64bf5fe
DM
493392012-03-08 David S. Miller <davem@davemloft.net>
49340
49341 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
49342 copyright year.
49343 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
49344
82d86f28
TS
493452012-03-08 Thomas Schwinge <thomas@codesourcery.com>
49346
49347 * resolv/gai_misc.c (handle_requests): Fix struct timespec
49348 normalization.
49349 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
49350 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
49351
aea5d727
UD
493522012-03-08 Ulrich Drepper <drepper@gmail.com>
49353
49354 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
49355 be defined individually, they must be defined as a block. Define
49356 S for printing a string instead of hidint the different by using a
49357 macro for adding the 'l'.
49358 * stdio-common/tst-fphex-wide.c: Adjust.
49359
70bca0a3
MP
493602012-03-07 Marek Polacek <polacek@redhat.com>
49361
49362 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
49363
65b81130
MP
493642012-03-08 Marek Polacek <polacek@redhat.com>
49365
49366 [BZ #13806]
49367 * stdio-common/Makefile (tests): Add tst-fphex-wide.
49368 * stdio-common/tst-fphex.c: Define a few macros to make the
49369 test reusable. Use them.
49370 * stdio-common/tst-fphex-wide.c: New file.
49371
07037eeb
JM
493722012-03-08 Joseph Myers <joseph@codesourcery.com>
49373
a7a93d50
JM
49374 [BZ #6911]
49375 * manual/macros.texi (gnusystems): New macro.
49376 (nongnusystems): Likewise.
49377 (gnulinuxhurdsystems): Likewise.
49378 (gnuhurdsystems): Likewise..
49379 (gnulinuxsystems): Likewise.
49380 * manual/charset.texi: Use new macros or @theglibc{} to refer to
49381 variants of the GNU system, not "GNU system".
49382 * manual/conf.texi: Likewise.
49383 * manual/errno.texi: Likewise. Update example of errno macro
49384 expansion.
49385 * manual/filesys.texi: Likewise.
49386 (getumask): Document as specific to GNU/Hurd.
49387 * manual/install.texi: Likewise. Reword some references to
49388 GNU/Linux.
49389 * manual/intro.texi: Likewise.
49390 * manual/io.texi: Likewise.
49391 (File Name Portability): Detail which constraints are inapplicable
49392 to all GNU systems and which are only inapplicable to GNU/Hurd.
49393 * manual/job.texi: Likewise.
49394 * manual/llio.texi: Likewise.
49395 (O_NOCTTY): Document as present on GNU/Linux.
49396 * manual/maint.texi: Likewise.
49397 * manual/memory.texi: Likewise.
49398 * manual/pattern.texi: Likewise.
49399 * manual/pipe.texi: Likewise.
49400 * manual/process.texi: Likewise.
49401 * manual/resource.texi: Likewise.
49402 (RUSAGE_CHILDREN): Remove statement about specifying a particular
49403 child on GNU/Hurd.
49404 * manual/setjmp.texi: Likewise.
49405 * manual/signal.texi: Likewise.
49406 * manual/startup.texi: Likewise.
49407 * manual/stdio.texi: Likewise.
49408 * manual/terminal.texi: Likewise.
49409 (ONLCR): Document as POSIX.
49410 (OXTABS): Document availability on GNU/Linux as XTABS.
49411 (ONOEOT): Document availability separately from other bits.
49412 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
49413 * manual/time.texi: Likewise.
49414 * manual/users.texi: Likewise.
49415 * INSTALL: Regenerated.
49416 * sysdeps/gnu/errlist.c: Regenerated.
49417
07037eeb
JM
49418 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
49419 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
49420 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
49421 puts.
49422 * configure: Regenerated.
49423
d1d3431a
JM
494242012-03-07 Joseph Myers <joseph@codesourcery.com>
49425
af6a1e37
JM
49426 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
49427 default includes instead of AC_HEADER_CHECK.
49428 * sysdeps/i386/configure: Regenerated.
49429
d1d3431a
JM
49430 [BZ #10716]
49431 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
49432 * math/s_cacoshf.c (__cacoshf): Likewise.
49433 * math/s_cacoshl.c (__cacoshl): Likewise.
49434 * math/s_casinh.c (__casinh): Set signs of result from argument.
49435 * math/s_casinhf.c (__casinhf): Likewise.
49436 * math/s_casinhl.c (__casinhl): Likewise.
49437 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
49438 (casinh_test): Add more tests.
49439 * sysdeps/i386/fpu/libm-test-ulps: Update.
49440 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49441
482ff4da
UD
494422012-03-07 Ulrich Drepper <drepper@gmail.com>
49443
872fda05
UD
49444 * po/zh_TW.po: Update from translation team.
49445
a4300c7a
UD
49446 * login/Makefile (distribute): Remove variable.
49447 * catgets/Makefile: Likewise.
49448 * mach/Makefile: Likewise.
49449 * malloc/Makefile: Likewise.
49450 * misc/Makefile: Likewise.
49451 * iconv/Makefile: Likewise.
49452 * nscd/Makefile: Likewise.
49453 * hurd/Makefile: Likewise.
49454 * manual/Makefile: Likewise.
49455 * locale/Makefile: Likewise.
49456 * intl/Makefile: Likewise.
49457 * conform/Makefile: Likewise.
49458 * nss/Makefile: Likewise.
49459 * time/Makefile: Likewise.
49460 * soft-fp/Makefile: Likewise.
49461 * dirent/Makefile: Likewise.
49462 * gmon/Makefile: Likewise.
49463 * po/Makefile: Likewise.
49464 * rt/Makefile: Likewise.
49465 * socket/Makefile: Likewise.
49466 * math/Makefile: Likewise.
49467 * signal/Makefile: Likewise.
49468 * debug/Makefile: Likewise.
49469 * elf/Makefile: Likewise.
49470 * timezone/Makefile: Likewise.
49471 * stdlib/Makefile: Likewise.
49472 * iconvdata/Makefile: Likewise.
49473 * sunrpc/Makefile: Likewise.
49474 * io/Makefile: Likewise.
49475 * argp/Makefile: Likewise.
49476 * inet/Makefile: Likewise.
49477 * hesiod/Makefile: Likewise.
49478 * grp/Makefile: Likewise.
49479 * csu/Makefile: Likewise.
49480 * wctype/Makefile: Likewise.
49481 * crypt/Makefile: Likewise.
49482 * libio/Makefile: Likewise.
49483 * string/Makefile: Likewise.
49484 * nis/Makefile: Likewise.
49485 * resolv/Makefile: Likewise.
49486 * stdio-common/Makefile: Likewise.
49487 * wcsmbs/Makefile: Likewise.
49488 * dlfcn/Makefile: Likewise.
49489 * posix/Makefile: Likewise.
49490
3b7c4e74 49491 [BZ #6959]
482ff4da
UD
49492 * timezone/Makefile: Don't install timezone files, just the programs
49493 and scripts.
49494
f72ed77d
UD
494952012-03-06 Ulrich Drepper <drepper@gmail.com>
49496
a000466f
UD
49497 * nss/databases.def: Add missing gshadow entry.
49498
f72ed77d
UD
49499 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
49500
a53b7a4e
MP
495012012-03-06 Marek Polacek <polacek@redhat.com>
49502
49503 [BZ #13726]
49504 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
49505 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
49506 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
49507 * stdio-common/tst-long-dbl-fphex.c: New file.
49508
e9258400
DM
495092012-03-06 David S. Miller <davem@davemloft.net>
49510
49511 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
49512 (set_obp_int): New function.
49513 (get_obp_int): New function.
49514 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
49515 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
49516 Avoid unused variable warnings on 'val' and use builtin_expect.
49517 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
49518 __builtin_expect.
e9258400
DM
49519 (INLINE_CLONE_SYSCALL): Likewise.
49520
3bd2c723
DM
495212012-03-05 David S. Miller <davem@davemloft.net>
49522
49523 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49524
bbb78d03
AS
495252012-03-05 Andreas Schwab <schwab@linux-m68k.org>
49526
884c5db4
AS
49527 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49528
bbb78d03
AS
49529 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
49530 only for |x| >= 40.
49531 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
49532
1c9f702a 495332012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
49534
49535 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
49536 Replace gettimeofday with __vdso_gettimeofday.
49537
7be16f82
RM
49538 * sysdeps/unix/sysv/linux/x86_64/init-first.c
49539 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
49540 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
49541
49542 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
49543 time with __vdso_time.
49544
ed58a00f
JM
495452012-03-05 Joseph Myers <joseph@codesourcery.com>
49546
49547 * manual/lang.texi (size_t): Note types to which size_t may be
49548 equivalent with the GNU C Library, but do not describe when
49549 differences between them are significant.
49550
30ee4ced
AJ
495512012-03-05 Andreas Jaeger <aj@suse.de>
49552
49553 * sysdeps/i386/fpu/libm-test-ulps: Update.
49554
b7cd39e8
JM
495552012-03-05 Joseph Myers <joseph@codesourcery.com>
49556
49557 [BZ #3976]
49558 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
49559 (__ieee754_pow): Save and restore rounding mode and use
49560 round-to-nearest for main computations.
49561 * math/libm-test.inc (pow_test_tonearest): New function.
49562 (pow_test_towardzero): Likewise.
49563 (pow_test_downward): Likewise.
49564 (pow_test_upward): Likewise.
49565 (main): Call the new functions.
49566 * sysdeps/i386/fpu/libm-test-ulps: Update.
49567 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
49568
49569 [BZ #3976]
49570 * math/libm-test.inc (cosh_test_tonearest): New function.
49571 (cosh_test_towardzero): Likewise.
49572 (cosh_test_downward): Likewise.
49573 (cosh_test_upward): Likewise.
49574 (sinh_test_tonearest): Likewise.
49575 (sinh_test_towardzero): Likewise.
49576 (sinh_test_downward): Likewise.
49577 (sinh_test_upward): Likewise.
49578 (main): Call the new functions.
49579 * sysdeps/i386/fpu/libm-test-ulps: Update.
49580 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49581
6c6a98c9
TV
495822012-03-05 Tom de Vries <tom@codesourcery.com>
49583
49584 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
49585 default stack guard is set in last bytes.
49586 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
49587
21bb2d2e 495882012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 49589
21bb2d2e 49590 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 49591
21bb2d2e
AJ
49592 [BZ #13656]
49593 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
49594 possibly allocate from heap instead of stack.
49595 * stdio-common/bug-vfprintf-nargs.c: New file.
49596 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 49597
c6922934
AS
495982012-03-03 Andreas Schwab <schwab@linux-m68k.org>
49599
49600 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49601
bc957d53
MP
496022012-03-03 Marek Polacek <polacek@redhat.com>
49603
49604 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
49605 * math/math_private.h: Likewise.
49606 * stdlib/tst-strtod.c: Likewise.
49607 * sysdeps/i386/i486/bits/atomic.h: Likewise.
49608 * sysdeps/x86_64/bits/atomic.h: Likewise.
49609
6358490d
DM
496102012-03-02 David S. Miller <davem@davemloft.net>
49611
49612 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
49613 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
49614 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
49615 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
49616 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
49617 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
49618 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
49619 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
49620
01ae168d
RM
496212012-03-02 Roland McGrath <roland@hack.frob.com>
49622
d9a17c07
RM
49623 [BZ #13792]
49624 * manual/examples/README: New file, says the example source files
49625 can be used under GPL>=2.
49626 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
49627 line containing just "*/".
49628 * manual/examples/add.c: Add copyright header (GPL>=2).
49629 * manual/examples/argp-ex1.c: Likewise.
49630 * manual/examples/argp-ex2.c: Likewise.
49631 * manual/examples/argp-ex3.c: Likewise.
49632 * manual/examples/argp-ex4.c: Likewise.
49633 * manual/examples/atexit.c: Likewise.
49634 * manual/examples/db.c: Likewise.
49635 * manual/examples/dir.c: Likewise.
49636 * manual/examples/dir2.c: Likewise.
49637 * manual/examples/execinfo.c: Likewise.
49638 * manual/examples/filecli.c: Likewise.
49639 * manual/examples/filesrv.c: Likewise.
49640 * manual/examples/fmtmsgexpl.c: Likewise.
49641 * manual/examples/genpass.c: Likewise.
49642 * manual/examples/inetcli.c: Likewise.
49643 * manual/examples/inetsrv.c: Likewise.
49644 * manual/examples/isockad.c: Likewise.
49645 * manual/examples/longopt.c: Likewise.
49646 * manual/examples/memopen.c: Likewise.
49647 * manual/examples/memstrm.c: Likewise.
49648 * manual/examples/mkfsock.c: Likewise.
49649 * manual/examples/mkisock.c: Likewise.
49650 * manual/examples/mygetpass.c: Likewise.
49651 * manual/examples/pipe.c: Likewise.
49652 * manual/examples/popen.c: Likewise.
49653 * manual/examples/rprintf.c: Likewise.
49654 * manual/examples/search.c: Likewise.
49655 * manual/examples/select.c: Likewise.
49656 * manual/examples/setjmp.c: Likewise.
49657 * manual/examples/sigh1.c: Likewise.
49658 * manual/examples/sigusr.c: Likewise.
49659 * manual/examples/stpcpy.c: Likewise.
49660 * manual/examples/strdupa.c: Likewise.
49661 * manual/examples/strftim.c: Likewise.
49662 * manual/examples/strncat.c: Likewise.
49663 * manual/examples/subopt.c: Likewise.
49664 * manual/examples/swapcontext.c: Likewise.
49665 * manual/examples/termios.c: Likewise.
49666 * manual/examples/testopt.c: Likewise.
49667 * manual/examples/testpass.c: Likewise.
49668 * manual/examples/timeval_subtract.c: Likewise.
49669
01ae168d
RM
49670 [BZ #13792]
49671 * manual/time.texi (Elapsed Time): Move timeval_subtract example
49672 function to ...
49673 * manual/timeval_subtract.c.texi: ... here, new file.
49674
49efa33d
DM
496752012-03-02 David S. Miller <davem@davemloft.net>
49676
49677 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
49678
28afd92d
JM
496792012-03-02 Joseph Myers <joseph@codesourcery.com>
49680
804360ed
JM
49681 [BZ #3976]
49682 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
49683 (__sin): Save and restore rounding mode and use round-to-nearest
49684 for all computations.
49685 (__cos): Save and restore rounding mode and use round-to-nearest
49686 for all computations.
49687 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
49688 <fenv.h>.
49689 (tan): Save and restore rounding mode and use round-to-nearest for
49690 all computations.
49691 * math/libm-test.inc (cos_test_tonearest): New function.
49692 (cos_test_towardzero): Likewise.
49693 (cos_test_downward): Likewise.
49694 (cos_test_upward): Likewise.
49695 (sin_test_tonearest): Likewise.
49696 (sin_test_towardzero): Likewise.
49697 (sin_test_downward): Likewise.
49698 (sin_test_upward): Likewise.
49699 (tan_test_tonearest): Likewise.
49700 (tan_test_towardzero): Likewise.
49701 (tan_test_downward): Likewise.
49702 (tan_test_upward): Likewise.
49703 (main): Call the new functions.
49704 * sysdeps/i386/fpu/libm-test-ulps: Update.
49705 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49706
a6d06d7b
JM
49707 [BZ #10135]
49708 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
49709 small n, then large n, before computing and testing k+n.
49710 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
49711 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
49712 Likewise.
49713 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
49714 Likewise.
49715 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
49716 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
49717 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
49718 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
49719 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
49720 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
49721 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
49722 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
49723 * math/libm-test.inc (scalbn_test): Add more tests.
49724 (scalbln_test): Likewise.
49725
07e12bb3
JM
49726 * manual/filesys.texi (mode_t): Describe constraints on size and
49727 signedness, not exact equivalence to a particular type.
49728 (ino_t): Likewise.
49729 (ino64_t): Likewise.
49730 (dev_t): Likewise.
49731 (nlink_t): Likewise.
49732 (blkcnt_t): Likewise.
49733 (blkcnt64_t): Likewise.
49734 * manual/llio.texi (off_t): Likewise.
49735
28afd92d
JM
49736 [BZ #3976]
49737 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
49738 (__ieee754_exp): Save and restore rounding mode and use
49739 round-to-nearest for all computations.
49740 * math/libm-test.inc (exp_test_tonearest): New function.
49741 (exp_test_towardzero): Likewise.
49742 (exp_test_downward): Likewise.
49743 (exp_test_upward): Likewise.
49744 (main): Call the new functions.
49745 * sysdeps/i386/fpu/libm-test-ulps: Update.
49746 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49747
b1eeb65d
CD
497482012-03-01 Chris Demetriou <cgd@google.com>
49749
49750 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
49751 have predictable order.
49752
53362a4b
DM
497532012-03-01 David S. Miller <davem@davemloft.net>
49754
3c969083
DM
49755 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
49756
759707de
DM
49757 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
49758 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
49759 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
49760 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
49761
dfdb8ff2
DM
49762 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
49763 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
49764 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
49765 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
49766 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
49767 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
49768 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
49769 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
49770 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
49771
ead89f96
DM
49772 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49773
7f66bd07
DM
49774 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
49775 * sysdeps/sparc/fpu/libm-test-ulps: to here.
49776 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
49777
53362a4b
DM
49778 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
49779 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
49780 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
49781 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
49782 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
49783 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
49784 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
49785 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
49786 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
49787 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
49788 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
49789 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
49790 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
49791 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
49792 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
49793 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
49794 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
49795 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
49796 * sysdeps/sparc/elf/configure: Regenerated.
49797
7b1902cb
JM
497982012-03-01 Joseph Myers <joseph@codesourcery.com>
49799
bec039bc
JM
49800 * configure.in (AS, LD): Require binutils 2.20 or later.
49801 * configure: Regenerated.
49802 * manual/install.texi (Tools for Compilation): Give binutils 2.20
49803 as required minimum version.
49804 * INSTALL: Regenerated.
49805
7b1902cb
JM
49806 [BZ #2541]
49807 [BZ #4108]
49808 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
49809 before squaring exponent.
49810 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
49811 bottom long double and 27 bits of top long double before squaring
49812 exponent.
49813 * math/libm-test.inc (erfc_test): Add more tests.
49814 * sysdeps/i386/fpu/libm-test-ulps: Update.
49815 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49816 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49817
f775c276
KT
498182012-03-01 Kai Tietz <ktietz@redhat.com>
49819
49820 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
49821 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
49822 containing bit-fields.
49823 * soft-fp/extended.h (_FP_UNION_E): Likewise.
49824 * soft-fp/single.h (_FP_UNION_S): Likewise.
49825 * soft-fp/double.h (_FP_UNION_D): Likewise.
49826
5b8a4d4a
JM
498272012-02-29 Joseph Myers <joseph@codesourcery.com>
49828
0bab47b6
JM
49829 [BZ #13786]
49830 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
49831 not include ../strcmp.S.
49832 [USE_AS_STRNCASECMP_L]: Likewise.
49833 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
49834 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
49835 * sysdeps/i386/i686/multiarch/strncase_l-c.c
49836 (__strncasecmp_l_ia32): Define as alias to
49837 __strncasecmp_l_nonascii.
49838
0fcad3e2
JM
49839 [BZ #5794]
49840 * math/libm-test.inc (expm1_test): Add test for bug 5794.
49841 * sysdeps/i386/fpu/libm-test-ulps: Update.
49842 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49843
5b8a4d4a
JM
49844 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
49845 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49846
8fdceb2e
JL
498472012-02-29 Jeff Law <law@redhat.com>
49848
49849 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
49850 out of bounds read.
49851
1f393a11
MP
498522012-02-29 Marek Polacek <polacek@redhat.com>
49853
49854 [BZ #13706]
49855 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
49856 * elf/Makefile: Add rules to run tst-unused-dep.out.
49857
8847f037
DM
498582012-02-28 David S. Miller <davem@davemloft.net>
49859
49860 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
49861 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
49862 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
49863 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
49864 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
49865 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
49866
169d7f11
JM
498672012-02-29 Joseph Myers <joseph@codesourcery.com>
49868
49869 * math/libm-test.inc (llround_test): Move one test from
49870 lround_test. Use TEST_f_L in moved test.
49871 (lround_test): Move misplaced test to llround_test. Add testcase
49872 from bug 2561.
49873
39adf059
UD
498742012-02-28 Ulrich Drepper <drepper@gmail.com>
49875
49876 * sysdeps/x86_64/fpu/e_expf.S: New file.
49877 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
49878
71b5d1c5
SB
498792012-02-28 Stanislav Brabec <sbrabec@suse.cz>
49880
49881 [BZ #13637]
49882 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
49883 of remain_len that may cause incomplete multi-byte character and
49884 false match.
49885 * posix/bug-regex33.c: New file.
49886 * posix/Makefile (tests): Add bug-regex33.
49887
1f77f049
JM
498882012-02-28 Joseph Myers <joseph@codesourcery.com>
49889
49890 * manual/macros.texi: New file.
49891 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
49892 * manual/libc.texinfo: Include macros.texi.
49893 * manual/creatute.texi: Likewise.
49894 * manual/install.texi: Likewise.
49895 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
49896 @glibcadj{} in references to the GNU C Library.
49897 * manual/charset.texi: Likewise.
49898 * manual/conf.texi: Likewise.
49899 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
49900 when not using those macros.
49901 * manual/creature.texi: Likewise.
49902 * manual/crypt.texi: Likewise.
49903 * manual/errno.texi: Likewise.
49904 * manual/filesys.texi: Likewise.
49905 * manual/header.texi: Likewise.
49906 * manual/install.texi: Likewise.
49907 * manual/intro.texi: Likewise.
49908 * manual/io.texi: Likewise.
49909 * manual/job.texi: Likewise.
49910 * manual/lang.texi: Likewise.
49911 * manual/libc.texiinfo: Likewise.
49912 * manual/llio.texi: Likewise.
49913 * manual/locale.texi: Likewise.
49914 * manual/maint.texi: Likewise.
49915 * manual/math.texi: Likewise.
49916 * manual/memory.texi: Likewise.
49917 * manual/message.texi: Likewise.
49918 * manual/nss.texi: Likewise.
49919 * manual/pattern.texi: Likewise.
49920 * manual/process.texi: Likewise.
49921 * manual/resource.texi: Likewise.
49922 * manual/search.texi: Likewise.
49923 * manual/setjmp.texi: Likewise.
49924 * manual/signal.texi: Likewise.
49925 * manual/socket.texi: Likewise.
49926 * manual/startup.texi: Likewise.
49927 * manual/stdio.texi: Likewise.
49928 * manual/string.texi: Likewise.
49929 * manual/sysinfo.texi: Likewise.
49930 * manual/syslog.texi: Likewise.
49931 * manual/terminal.texi: Likewise.
49932 * manual/time.texi: Likewise.
49933 * manual/users.texi: Likewise.
49934 * INSTALL: Regenerated.
49935 * NOTES: Regenerated.
d40c5d54 49936 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 49937
450bf206
AS
499382012-02-28 Andreas Schwab <schwab@linux-m68k.org>
49939
49940 * include/dirent.h: Include <dirstream.h> before
49941 <dirent/dirent.h>.
49942
741a235b
DM
499432012-02-28 David S. Miller <davem@davemloft.net>
49944
49945 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
49946 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
49947 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
49948 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
49949
d6b5aa58
DM
499502012-02-27 David S. Miller <davem@davemloft.net>
49951
1aff59a3
DM
49952 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
49953 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
49954 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
49955 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
49956
d6b5aa58
DM
49957 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
49958 frame pointer instead of stack pointer relative arg slot.
49959 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
49960 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
49961 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
49962
433f48bf
CD
499632012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
49964
49965 [BZ #3992]
49966 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
49967
d674b76d
DM
499682012-02-27 David S. Miller <davem@davemloft.net>
49969
49970 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
49971 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
49972 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
49973 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
49974 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
49975 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
49976 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
49977 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
49978
0e7727f7
JM
499792012-02-27 Joseph Myers <joseph@codesourcery.com>
49980
49981 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
49982 later. Allow versions 5-9.
43be4ca2 49983 * configure: Regenerated.
0e7727f7
JM
49984 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
49985 required minimum version and 4.6 as recommended version. Do not
49986 mention bugs in GCC 2.7 and 2.8.
43be4ca2 49987 * INSTALL: Regenerated.
0e7727f7 49988
a78bc654
DM
499892012-02-27 David S. Miller <davem@davemloft.net>
49990
428d5830
DM
49991 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
49992 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
49993 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
49994 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
49995 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
49996 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
49997 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
49998 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
49999
a78bc654
DM
50000 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
50001 manipulate bits before adding and subtracting TWO112[sx].
50002 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
50003
4579f81c
RM
500042012-02-27 Roland McGrath <roland@hack.frob.com>
50005
36c8acb4
RM
50006 [BZ #13775]
50007 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
50008 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
50009 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
50010 being in POSIX, because they are in 1003.1-2008.
50011
84ad622b
RM
50012 * rt/tst-aio.c: Include <fcntl.h>.
50013 * rt/tst-aio7.c: Likewise.
50014 * rt/tst-aio64.c: Likewise.
50015
4579f81c
RM
50016 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
50017
abd923db
JM
500182012-02-27 Joseph Myers <joseph@codesourcery.com>
50019
50020 * manual/install.texi (--with-headers): Describe headers as
50021 interface headers, not private headers.
50022 (Specific advice for GNU/Linux systems): Describe use of headers
50023 from "make headers_install", not private headers from older
50024 kernels.
43be4ca2 50025 * INSTALL: Regenerated.
abd923db
JM
50026 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
50027 Change to 2.6.19.
50028 * sysdeps/unix/sysv/linux/configure: Regenerated.
50029
6664049b
JM
50030 * manual/llio.texi (fclean): Remove documentation.
50031
bb8b6697
JM
50032 * manual/Makefile (libc-texi-generated): New variable. Include
50033 version.texi.
50034 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
50035 $(libc-texi-generated), not duplicated list of files.
50036 (version.texi, stamp-version): New rules.
50037 (realclean): Remove $(libc-texi-generated), not individual files
50038 from that list. Do not remove dir-add.texinfo.
50039 * manual/libc.texinfo: Comment out uses of edition numbers and
50040 references to printed manual. Remove last-updated dates.
50041 (EDITION): Comment out.
50042 (ISBN): Likewise.
50043 (VERSION, UPDATED): Remove.
50044 (version.texi): Include.
50045
12e5c3b9
AS
500462012-02-27 Andreas Schwab <schwab@linux-m68k.org>
50047
50048 * sysdeps/posix/spawni.c: Include <signal.h>.
50049 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
50050 * sysdeps/pthread/aio_fsync.c: Likewise.
50051
4efeffc1 500522012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 50053
ba63ba08
UD
50054 * conform/Makefile (tests): Run only when not cross-compiling and
50055 when fast-check is not defined.
50056
d94a4670
UD
50057 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
50058 * conform/data/limits.h-data: Fixes for POSIX2008.
50059 * conform/run-conformtest.sh: Run all tests.
50060 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
50061 headers.
50062 * include/bits/dlfcn.h: Likewise.
50063 * include/langinfo.h: Likewise.
50064 * include/monetary.h: Likewise.
50065 * include/sys/poll.h: Likewise.
50066
50067 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
50068 for __USE_GNU.
50069 * posix/spawn.h: Define __need_sigset_t.
50070 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
50071 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
50072 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
50073 to get sigevent_t only.
50074 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
50075 only for __USE_GNU.
50076 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
50077 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
50078 process_vm_writev only for __USE_GNU.
50079 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
50080
50081 * conform/Makefile: For now ignore errors from run-conformtest.
50082 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
50083 POSIX to avoid namespace pollution. Don't prepend headers.
50084 * conform/data/aio.h-data: Fixes for POSIX testing.
50085 * conform/data/fcntl.h-data: Likewise.
50086 * conform/data/glob.h-data: Likewise.
50087 * conform/data/grp.h-data: Likewise.
50088 * conform/data/pthread.h-data: Likewise.
50089 * conform/data/pwd.h-data: Likewise.
50090 * conform/data/signal.h-data: Likewise.
50091 * conform/data/spawn.h-data: Likewise.
50092 * conform/data/stdio.h-data: Likewise.
50093 * conform/data/stdlib.h-data: Likewise.
50094 * conform/data/stropts.h-data: Likewise.
50095 * conform/data/sys/mman.h-data: Likewise.
50096 * conform/data/sys/stat.h-data: Likewise.
50097 * conform/data/sys/types.h-data: Likewise.
50098 * conform/data/sys/wait.h-data: Likewise.
50099 * conform/data/time.h-data: Likewise.
50100 * conform/data/unistd.h-data: Likewise.
50101 * conform/data/utime.h-data: Likewise.
50102
50103 * io/sys/stat.h: fchmod was always in POSIX.
50104 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
50105 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
50106 * rt/aio.h: Define __need_timespec before including <time.h>.
50107 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
50108 struct. Add forward declaration of pthread_attr_t and use it in
50109 sigevent.
50110 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
50111 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
50112 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
50113 always remove CLK_TCK definition.
50114
c20105c3
AS
501152012-02-26 Andreas Schwab <schwab@linux-m68k.org>
50116
50117 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
50118
7a270350
UD
501192012-02-25 Ulrich Drepper <drepper@gmail.com>
50120
31341567
UD
50121 * conform/run-conformtest.sh: New file.
50122 * conform/Makefile: Run run-conformtest for tests.
50123 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
50124 support.
50125
50126 * conform/data/uchar.h-data: New file.
50127 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
50128 * conform/data/arpa/inet.h-data: Likewise.
50129 * conform/data/assert.h-data: Likewise.
50130 * conform/data/complex.h-data: Likewise.
50131 * conform/data/cpio.h-data: Likewise.
50132 * conform/data/ctype.h-data: Likewise.
50133 * conform/data/dirent.h-data: Likewise.
50134 * conform/data/dlfcn.h-data: Likewise.
50135 * conform/data/errno.h-data: Likewise.
50136 * conform/data/fcntl.h-data: Likewise.
50137 * conform/data/float.h-data: Likewise.
50138 * conform/data/fmtmsg.h-data: Likewise.
50139 * conform/data/fnmatch.h-data: Likewise.
50140 * conform/data/ftw.h-data: Likewise.
50141 * conform/data/glob.h-data: Likewise.
50142 * conform/data/grp.h-data: Likewise.
50143 * conform/data/iconv.h-data: Likewise.
50144 * conform/data/inttypes.h-data: Likewise.
50145 * conform/data/langinfo.h-data: Likewise.
50146 * conform/data/libgen.h-data: Likewise.
50147 * conform/data/limits.h-data: Likewise.
50148 * conform/data/locale.h-data: Likewise.
50149 * conform/data/math.h-data: Likewise.
50150 * conform/data/monetary.h-data: Likewise.
50151 * conform/data/mqueue.h-data: Likewise.
50152 * conform/data/ndbm.h-data: Likewise.
50153 * conform/data/net/if.h-data: Likewise.
50154 * conform/data/netdb.h-data: Likewise.
50155 * conform/data/netinet/in.h-data: Likewise.
50156 * conform/data/nl_types.h-data: Likewise.
50157 * conform/data/poll.h-data: Likewise.
50158 * conform/data/pthread.h-data: Likewise.
50159 * conform/data/pwd.h-data: Likewise.
50160 * conform/data/regex.h-data: Likewise.
50161 * conform/data/sched.h-data: Likewise.
50162 * conform/data/search.h-data: Likewise.
50163 * conform/data/semaphore.h-data: Likewise.
50164 * conform/data/setjmp.h-data: Likewise.
50165 * conform/data/signal.h-data: Likewise.
50166 * conform/data/spawn.h-data: Likewise.
50167 * conform/data/stdarg.h-data: Likewise.
50168 * conform/data/stdio.h-data: Likewise.
50169 * conform/data/stdlib.h-data: Likewise.
50170 * conform/data/string.h-data: Likewise.
50171 * conform/data/strings.h-data: Likewise.
50172 * conform/data/stropts.h-data: Likewise.
50173 * conform/data/sys/ipc.h-data: Likewise.
50174 * conform/data/sys/mman.h-data: Likewise.
50175 * conform/data/sys/msg.h-data: Likewise.
50176 * conform/data/sys/resource.h-data: Likewise.
50177 * conform/data/sys/select.h-data: Likewise.
50178 * conform/data/sys/sem.h-data: Likewise.
50179 * conform/data/sys/shm.h-data: Likewise.
50180 * conform/data/sys/socket.h-data: Likewise.
50181 * conform/data/sys/stat.h-data: Likewise.
50182 * conform/data/sys/statvfs.h-data: Likewise.
50183 * conform/data/sys/time.h-data: Likewise.
50184 * conform/data/sys/timeb.h-data: Likewise.
50185 * conform/data/sys/times.h-data: Likewise.
50186 * conform/data/sys/types.h-data: Likewise.
50187 * conform/data/sys/uio.h-data: Likewise.
50188 * conform/data/sys/un.h-data: Likewise.
50189 * conform/data/sys/utsname.h-data: Likewise.
50190 * conform/data/sys/wait.h-data: Likewise.
50191 * conform/data/syslog.h-data: Likewise.
50192 * conform/data/tar.h-data: Likewise.
50193 * conform/data/termios.h-data: Likewise.
50194 * conform/data/utime.h-data: Likewise.
50195 * conform/data/utmpx.h-data: Likewise.
50196 * conform/data/varargs.h-data: Likewise.
50197 * conform/data/wchar.h-data: Likewise.
50198 * conform/data/wctype.h-data: Likewise.
50199 * conform/data/wordexp.h-data: Likewise.
50200
50201 * include/stropts.h: New file.
50202 * include/uchar.h: New file.
50203 * include/aio.h: Changes to allow conformtest.pl to use the headers.
50204 * include/assert.h: Likewise.
50205 * include/ctype.h: Likewise.
50206 * include/dirent.h: Likewise.
50207 * include/dlfcn.h: Likewise.
50208 * include/fcntl.h: Likewise.
50209 * include/fnmatch.h: Likewise.
50210 * include/glob.h: Likewise.
50211 * include/grp.h: Likewise.
50212 * include/libio.h: Likewise.
50213 * include/locale.h: Likewise.
50214 * include/math.h: Likewise.
50215 * include/net/if.h: Likewise.
50216 * include/netdb.h: Likewise.
50217 * include/netinet/in.h: Likewise.
50218 * include/pthread.h: Likewise.
50219 * include/pwd.h: Likewise.
50220 * include/regex.h: Likewise.
50221 * include/sched.h: Likewise.
50222 * include/search.h: Likewise.
50223 * include/setjmp.h: Likewise.
50224 * include/signal.h: Likewise.
50225 * include/stdio.h: Likewise.
50226 * include/stdlib.h: Likewise.
50227 * include/string.h: Likewise.
50228 * include/sys/cdefs.h: Likewise.
50229 * include/sys/mman.h: Likewise.
50230 * include/sys/msg.h: Likewise.
50231 * include/sys/resource.h: Likewise.
50232 * include/sys/select.h: Likewise.
50233 * include/sys/socket.h: Likewise.
50234 * include/sys/stat.h: Likewise.
50235 * include/sys/statvfs.h: Likewise.
50236 * include/sys/time.h: Likewise.
50237 * include/sys/times.h: Likewise.
50238 * include/sys/uio.h: Likewise.
50239 * include/sys/utsname.h: Likewise.
50240 * include/sys/wait.h: Likewise.
50241 * include/termios.h: Likewise.
50242 * include/time.h: Likewise.
50243 * include/ulimit.h: Likewise.
50244 * include/unistd.h: Likewise.
50245 * include/utime.h: Likewise.
50246 * include/wchar.h: Likewise.
50247 * include/wctype.h: Likewise.
50248 * include/wordexp.h: Likewise.
50249
50250 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
50251
7a270350
UD
50252 * time/time.h: TIME_UTC must be a macro.
50253 Make timespec_get available for ISO C11 only as well.
50254
7724defc
UD
502552012-02-24 Ulrich Drepper <drepper@gmail.com>
50256
50257 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
50258 Reported by Peng Haitao <penght@cn.fujitsu.com>.
50259
6b1d1d46
JM
502602012-02-24 Joseph Myers <joseph@codesourcery.com>
50261
50262 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 50263
0f8bbd69
JM
502642012-02-24 Joseph Myers <joseph@codesourcery.com>
50265
50266 * manual/texinfo.tex: Update to version 2012-01-19.16.
50267
66ab80bc
JM
502682012-02-24 Joseph Myers <joseph@codesourcery.com>
50269
50270 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
50271
74981cc5
RM
502722012-02-24 Roland McGrath <roland@hack.frob.com>
50273
ee968201
RM
50274 [BZ #13738]
50275 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
50276 * manual/fdl-1.3.texi: New file.
50277 * manual/fdl-1.1.texi: File removed.
50278
74981cc5
RM
50279 [BZ #13738]
50280 * manual/libc.texinfo (FDL_VERSION): New @set.
50281 Use it for mention of FDL in cover text.
50282 (Documentation License): Use it in @include file name.
50283
7bb764bc
JM
502842012-02-22 Joseph Myers <joseph@codesourcery.com>
50285 Roland McGrath <roland@hack.frob.com>
50286
50287 [BZ #5461]
57f41c40
AS
50288 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
50289 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
50290 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
50291 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
50292 name.
50293 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
50294
6cbeae47
JM
502952012-02-22 Joseph Myers <joseph@codesourcery.com>
50296
50297 [BZ #2547]
50298 [BZ #11365]
50299 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
50300 manipulate bits before adding and subtracting TWO23[sx].
50301 * math/libm-test.inc (nearbyint_test): Add more tests.
50302
fe45ce09
JM
503032012-02-22 Joseph Myers <joseph@codesourcery.com>
50304
50305 [BZ #2548]
50306 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
50307 bits before adding and subtracting TWO23[sx].
50308 * math/libm-test.inc (rint_test): Add more tests.
50309 (rint_test_tonearest): Likewise.
50310 (rint_test_towardzero): Likewise.
50311 (rint_test_downward): Likewise.
50312 (rint_test_upward: Likewise.
50313
ff3b3d82
JM
503142012-02-22 Joseph Myers <joseph@codesourcery.com>
50315
50316 [BZ #10110]
50317 * include/stdc-predef.h: New file. Extracted from features.h.
50318 * include/features.h: Include stdc-predef.h.
50319 * Makefile (headers): Add stdc-predef.h.
50320 * CONFORMANCE (Compiler limitations): Update.
50321
ef0aab35
JM
503222012-02-22 Joseph Myers <joseph@codesourcery.com>
50323
50324 * manual/libc.texinfo (VERSION, UPDATED): Revert.
50325
58639409
DM
503262012-02-21 David S. Miller <davem@davemloft.net>
50327
50328 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
50329 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
50330
c0e70b25
DM
503312012-02-20 David S. Miller <davem@davemloft.net>
50332
50333 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
50334 using a normal save/restore sequence, rather than allocating a
50335 dummy stack frame just to store a frame pointer and restore.
50336 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
50337
fb06851d
JM
503382012-02-21 Joseph Myers <joseph@codesourcery.com>
50339
50340 * manual/install.texi: Fix stray word in line-wrapped comment.
50341
7a8b71c3
DM
503422012-02-20 David S. Miller <davem@davemloft.net>
50343
d510c123
DM
50344 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
50345 both binutils and gcc support GOTDATA.
50346
0722d7c2
DM
50347 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
50348 "rd %pc" in the PIC register setup sequences.
50349
3d2b3019
DM
50350 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
50351 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
50352 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
50353 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
50354 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
50355 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
50356 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
50357 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
50358 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
50359 (SYSCALL_ERROR_HANDLER): Likewise.
50360 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
50361 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
50362 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
50363 (SYSCALL_ERROR_HANDLER): Likewise.
50364
c80098a9
DM
50365 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
50366 (HAVE_GCC_GOTDATA): New.
50367 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
50368 relocation support in both binutils and gcc.
50369 * sysdeps/sparc/elf/configure: Regenerate.
50370
3a2545a0
DM
50371 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
50372 * sysdeps/sparc/sparc32/elf/configure: Delete.
50373 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
50374 * sysdeps/sparc/sparc64/elf/configure: Delete.
50375 * sysdeps/sparc/elf/configure.in: New file.
50376 * sysdeps/sparc/elf/configure: Generate.
50377
7a8b71c3
DM
50378 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
50379 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
50380 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
50381 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
50382 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
50383
f1e86fca
JM
503842012-02-21 Joseph Myers <joseph@codesourcery.com>
50385
50386 * manual/install.texi: Do not mention specific glibc version
50387 numbers.
50388 * manual/libc.texinfo (VERSION, UPDATED): Update.
50389 (@copying): Use @copyright{} and range of years.
50390
0e7dfaef
JM
503912012-02-21 Joseph Myers <joseph@codesourcery.com>
50392
50393 [BZ #13695]
50394 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
50395 [crti.S not in sysdirs] (generated): Do not append.
50396 [crti.S not in sysdirs] (omit-deps): Likewise.
50397 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
50398 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
50399 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
50400 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
50401 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
50402 Likewise.
50403 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
50404 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
50405 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
50406 * csu/defs.awk: Remove file.
50407 * sysdeps/generic/initfini.c: Likewise.
50408 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
50409 variable.
50410 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
50411 Likewise.
50412
599af3ca
JM
504132012-02-20 Joseph Myers <joseph@codesourcery.com>
50414
50415 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
50416 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
50417 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
50418 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
50419 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
50420 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
50421 <bits/epoll.h>.
50422 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
50423 (__EPOLL_PACKED): Define to empty if not defined by
50424 <bits/epoll.h>.
50425 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
50426 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50427 bits/epoll.h.
50428
0e499750
JM
504292012-02-20 Joseph Myers <joseph@codesourcery.com>
50430
50431 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
50432 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
50433 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
50434 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
50435 <bits/timerfd.h>.
50436 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
50437 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50438 bits/timerfd.h.
50439
5ad91f6e
JM
504402012-02-20 Joseph Myers <joseph@codesourcery.com>
50441
50442 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
50443 in C locale.
50444 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
50445 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
50446 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
50447 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50448
06b99b02
AJ
504492012-02-20 Aurelien Jarno <aurelien@aurel32.net>
50450
50451 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50452 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
50453
7638c0fd
AS
504542012-02-19 Andreas Schwab <schwab@linux-m68k.org>
50455
50456 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
50457 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
50458 defined.
50459 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
50460 Likewise.
50461 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
50462 entry for 2.16.
50463
92221550
AJ
504642012-02-19 Aurelien Jarno <aurelien@aurel32.net>
50465
50466 * math/w_acos.c: Use non-signaling floating-point comparisons.
50467 * math/w_acosf.c: Likewise.
50468 * math/w_acosh.c: Likewise.
50469 * math/w_acoshf.c: Likewise.
50470 * math/w_acoshl.c: Likewise.
50471 * math/w_acosl.c: Likewise.
50472 * math/w_asin.c: Likewise.
50473 * math/w_asinf.c: Likewise.
50474 * math/w_asinl.c: Likewise.
50475 * math/w_atanh.c: Likewise.
50476 * math/w_atanhf.c: Likewise.
50477 * math/w_atanhl.c: Likewise.
50478 * math/w_exp2.c: Likewise.
50479 * math/w_exp2f.c: Likewise.
50480 * math/w_exp2l.c: Likewise.
50481 * math/w_j0.c: Likewise.
50482 * math/w_j0f.c: Likewise.
50483 * math/w_j0l.c: Likewise.
50484 * math/w_j1.c: Likewise.
50485 * math/w_j1f.c: Likewise.
50486 * math/w_j1l.c: Likewise.
50487 * math/w_jn.c: Likewise.
50488 * math/w_jnf.c: Likewise.
50489 * math/w_log.c: Likewise.
50490 * math/w_log10.c: Likewise.
50491 * math/w_log10f.c: Likewise.
50492 * math/w_log10l.c: Likewise.
50493 * math/w_log2.c: Likewise.
50494 * math/w_log2f.c: Likewise.
50495 * math/w_log2l.c: Likewise.
50496 * math/w_logf.c: Likewise.
50497 * math/w_logl.c: Likewise.
50498 * math/w_sqrt.c: Likewise.
50499 * math/w_sqrtf.c: Likewise.
50500 * math/w_sqrtl.c: Likewise.
50501 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
50502 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
50503 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
50504 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
50505 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
50506
ebaf36eb
JM
505072012-02-19 Joseph Myers <joseph@codesourcery.com>
50508
50509 [BZ #9739]
50510 * manual/string.texi (strnlen): Use correct parameter name in
50511 equivalent expression.
50512
71c254a6
JM
505132012-02-19 Joseph Myers <joseph@codesourcery.com>
50514
50515 [BZ #11174]
50516 * manual/users.texi (seteuid): Consistently use neweuid for
50517 argument name.
50518
16d2c631
JM
505192012-02-19 Joseph Myers <joseph@codesourcery.com>
50520
50521 [BZ #13704]
50522 * manual/nss.texi (Services in the NSS configuration): Correct
50523 list of services in example configuration file.
50524
cd837b09
NB
505252012-02-19 Nick Bowler <nbowler@draconx.ca>
50526
50527 [BZ #11322]
50528 * manual/arith.texi: Remove statements about negative zero
50529 behaving identically to zero.
50530
02c4bbad
JM
505312012-02-18 Joseph Myers <joseph@codesourcery.com>
50532
50533 [BZ #5993]
50534 * manual/install.texi: Do not document upgrading from libc5.
50535
366842e7
JM
505362012-02-18 Joseph Myers <joseph@codesourcery.com>
50537
50538 [BZ #4596]
50539 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
50540
dd54084d
DM
505412012-02-18 David S. Miller <davem@davemloft.net>
50542
50543 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
50544 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
50545 %o7 across the call.
50546 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
50547 instead.
50548 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
50549 SETUP_PIC_REG_LEAF.
50550 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
50551 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
50552 * sysdeps/sparc/crtn.S: Likewise.
50553
2bcc53a3
UD
505542012-02-17 Ulrich Drepper <drepper@gmail.com>
50555
50556 * aout/Makefile: Remove.
50557
09c093b5
RK
505582012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
50559
50560 [BZ #13058]
50561 * manual/examples/argp-ex1.c (main): Format definition in GNU
50562 style.
50563 * manual/examples/argp-ex2.c (main): Likewise.
50564 * manual/examples/argp-ex3.c (main): Likewise.
50565 * manual/examples/argp-ex4.c (main): Likewise.
50566 * manual/examples/longopt.c (main): Use new-style prototype
50567 definition.
50568 * manual/examples/strncat.c (main): Specify return type and use
50569 (void) for arguments.
50570 * manual/examples/subopt.c (main): Use char **argv argument.
50571
2ee633a2
JM
505722012-02-17 Joseph Myers <joseph@codesourcery.com>
50573
50574 [BZ #5077]
50575 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
50576 rounding modes.
50577
0520adde
FB
505782012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
50579
50580 [BZ #6907]
50581 * manual/string.texi (strchr): Change when strchrnul is
50582 recommended.
50583
3f4081cd
DGM
505842012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
50585
50586 [BZ #174]
50587 * manual/locale.texi (setlocale): Document LOCPATH.
50588
d1b10e78
JM
505892012-02-17 Joseph Myers <joseph@codesourcery.com>
50590
50591 [BZ #10210]
50592 * manual/process.texi (execle): Move @dots{} before last argument.
50593
79c6869c
PB
505942012-02-17 Paul Bolle <pebolle@tiscali.nl>
50595
50596 [BZ #12047]
50597 * manual/charset.texi (Generic Charset Conversion): Fix typo
50598 (LC_TYPE -> LC_CTYPE).
50599
cc6e48bc
NB
506002012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
50601
50602 [BZ #5805]
50603 * manual/arith.texi (scalbn): Use @var{} on parameter names.
50604 (scalbnf): Likewise.
50605 (scalbnl): Likewise.
50606 (scalbln): Likewise.
50607 (scalblnf): Likewise.
50608 (scalblnl): Likewise.
50609 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
50610 (vwarnx): Likewise.
50611 (verr): Likewise.
50612 (verrx): Likewise.
50613 * manual/filesys.texi (telldir): Use braces around return type.
50614 * manual/llio.texi (mmap): Add space after comma.
50615 (mmap64): Likewise.
50616 * manual/math.texi (jn): Use @var{} on parameter names.
50617 (jnf): Likewise.
50618 (jnl): Likewise.
50619 (yn): Likewise.
50620 (ynf): Likewise.
50621 (ynl): Likewise.
50622 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
50623 line.
50624 * manual/resource.texi (ulimit): Use @dots{} instead of literal
50625 "...".
50626 (sched_get_priority_min): Remove semicolon on @deftypefun line.
50627 (sched_get_priority_max): Likewise.
50628 * manual/signal.texi (sigvec): Add space after comma.
50629 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
50630 names.
50631 (if_indextoname): Likewise.
50632 (if_freenameindex): Likewise.
50633 (sendto): Use ',' instead of '.' in prototype.
50634 * manual/startup.texi (syscall): Use @dots{} instead of literal
50635 "...".
50636 * manual/stdio.texi (__fpending): Separate initial words of
50637 paragraph from @deftypefun line.
50638 * manual/syslog.texi (syslog): Use @dots{} instead of literal
50639 "...".
50640 (vsyslog): Use @var{} on parameter names.
50641 * manual/terminal.texi (stty): Use @var{} on parameter names.
50642 * manual/users.texi (getutmp): Use @var{} on parameter names.
50643 (getutmpx): Likewise.
50644
5b23062f
JM
506452012-02-17 Joseph Myers <joseph@codesourcery.com>
50646
50647 [BZ #6884]
50648 * manual/stdio.texi (fopen): Fix typos in description of
50649 ",ccs=STRING".
50650
8dee4833
AJ
506512012-02-17 Aurelien Jarno <aurelien@aurel32.net>
50652
50653 [BZ #4026]
50654 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
50655 get clock_id definition.
50656
9078ce93
TS
506572012-02-17 Thomas Schwinge <thomas@schwinge.name>
50658
50659 [BZ #4822]
50660 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
50661 (madvise): Cast every argument to void on its own.
50662
3835c55f
JM
506632012-02-17 Joseph Myers <joseph@codesourcery.com>
50664
50665 [BZ #9902]
50666 * manual/startup.texi (Exit Status): Fix typo.
50667
35c47e37
JM
506682012-02-17 Joseph Myers <joseph@codesourcery.com>
50669
50670 [BZ #10140]
50671 * manual/examples/argp-ex1.c: Include <stdlib.h>.
50672 * manual/examples/argp-ex2.c: Likewise.
50673 * manual/examples/argp-ex3.c: Likewise.
50674
e3b69ca7
RH
506752012-02-16 Richard Henderson <rth@redhat.com>
50676
50677 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
50678 * sysdeps/s390/s390-32/initfini.c: Remove.
50679 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
50680 * sysdeps/s390/s390-64/initfini.c: Remove.
50681
df83af67
KK
506822012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
50683
50684 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
50685 compiler output for sysdeps/generic/initfini.c.
50686 * sysdeps/sh/elf/initfini.c: Remove file.
50687
f63f3380
DM
506882012-02-16 David S. Miller <davem@davemloft.net>
50689
fb59b3a4
DM
50690 [BZ #11494]
50691 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
50692
f63f3380
DM
50693 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
50694 * sysdeps/sparc/crti.S: New file.
50695 * sysdeps/sparc/crtn.S: New file.
50696 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
50697 * sysdeps/sparc/sparc64/Makefile: Likewise.
50698
df6a4a4a
MF
506992012-02-15 Mike Frysinger <vapier@gentoo.org>
50700
6dd8f3dc 50701 [BZ #3335]
df6a4a4a
MF
50702 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
50703
1cac7236
RM
507042012-02-15 Roland McGrath <roland@hack.frob.com>
50705
d2c736f8
RM
50706 [BZ #4822]
50707 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
50708
1cac7236
RM
50709 * mach/devstream.c (cookie_io_functions_t): Macro removed.
50710 (write, read, close): Likewise.
50711 Patch by Aurelien Jarno <aurelien@aurel32.net>.
50712
8e475601
JM
507132012-02-15 Joseph Myers <joseph@codesourcery.com>
50714
50715 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
50716 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
50717 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
50718 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
50719 <bits/signalfd.h>.
50720 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
50721 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50722 bits/signalfd.h.
50723
ed656b40
MP
507242012-02-14 Marek Polacek <polacek@redhat.com>
50725
50726 * sysdeps/x86_64/crti.S: New file.
50727 * sysdeps/x86_64/crtn.S: New file.
50728 * sysdeps/x86_64/elf/initfini.c: Remove file.
50729
2a979d3a
JM
507302012-02-13 Joseph Myers <joseph@codesourcery.com>
50731
50732 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
50733 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
50734 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
50735 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
50736 <bits/inotify.h>.
50737 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
50738 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50739 bits/inotify.h.
50740
2a418ac3
JM
507412012-02-13 Joseph Myers <joseph@codesourcery.com>
50742
50743 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
50744 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
50745 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
50746 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
50747 <bits/eventfd.h>.
50748 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
50749 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50750 bits/eventfd.h.
50751
fb779be7
TS
507522012-02-10 Thomas Schwinge <thomas@codesourcery.com>
50753
e19e83c5
RM
50754 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
50755 __feraiseexcept instead of feraiseexcept.
7c35ffed 50756
fb779be7
TS
50757 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
50758 nanosleep invocations.
50759 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
50760 strings, and add error checking for a nanosleep invocations.
50761
59ba27a6
PE
507622012-02-09 Paul Eggert <eggert@cs.ucla.edu>
50763
50764 Replace FSF snail mail address with URLs, as per GNU coding standards.
50765 Most of the snail mail addresses were wrong anyway, and omitting
50766 them makes the source code easier to maintain. Almost all of the
50767 changes are to license notices and to locale LC_IDENTIFICATION
50768 addresses, except for this one:
50769 * manual/libc.texinfo: In "Published by", give the FSF's URL,
50770 not its snail mail address.
50771
57b957eb
RH
507722012-02-09 Richard Henderson <rth@twiddle.net>
50773
af850b1c
RH
50774 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
50775 of kernel-features.h.
50776
57b957eb
RH
50777 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
50778
6b73181a
MP
507792012-02-08 Marek Polacek <polacek@redhat.com>
50780
50781 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
50782 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
50783 * sysdeps/gnu/_G_config.h: Likewise.
50784 * sysdeps/generic/_G_config.h: Likewise.
50785
26ecc33a
AS
507862012-02-08 Andreas Schwab <schwab@linux-m68k.org>
50787
6c6dbc63
AS
50788 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
50789 tests.
50790 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50791
e216c012
AS
50792 * sysdeps/powerpc/powerpc32/crti.S: New file.
50793 * sysdeps/powerpc/powerpc32/crtn.S: New file.
50794 * sysdeps/powerpc/powerpc64/crti.S: New file.
50795 * sysdeps/powerpc/powerpc64/crtn.S: New file.
50796
26ecc33a
AS
50797 * Makeconfig (have-initfini): Don't set.
50798 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
50799 * configure.in (nopic_initfini): Don't substitute.
50800 * config.h.in (HAVE_INITFINI): Don't #undef.
50801 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
50802 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
50803
3add8e13
JM
508042012-02-08 Joseph Myers <joseph@codesourcery.com>
50805
50806 Support crti.S and crtn.S provided directly by architectures.
50807 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
50808 [crti.S in sysdirs] (omit-deps): Likewise.
50809 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
50810 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
50811 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
50812 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
50813 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
50814 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
50815 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
50816 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
50817 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
50818 compiler output for sysdeps/generic/initfini.c.
50819 * sysdeps/i386/elf/Makefile: Remove file.
50820 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
50821
a22f12b4
MP
508222012-02-07 Marek Polacek <polacek@redhat.com>
50823
50824 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
50825 * sysdeps/gnu/_G_config.h: Likewise.
50826 * sysdeps/mach/hurd/_G_config.h: Likewise.
50827
148cf100
MP
508282012-02-07 Marek Polacek <polacek@redhat.com>
50829
50830 * math/Makefile (tests): Add tst-CMPLX2.
50831 * math/tst-CMPLX2.c: New file.
50832
cfdc0dd7
AS
508332012-02-07 Andreas Schwab <schwab@linux-m68k.org>
50834
84ba42c4
AS
50835 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50836
cfdc0dd7
AS
50837 * math/libm-test.inc (jn_test): Add missing L suffix.
50838
622c86f4
MP
508392012-02-06 Marek Polacek <polacek@redhat.com>
50840
50841 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
50842 * sysdeps/i386/fpu/e_powf.S: Likewise.
50843 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
50844 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
50845 * sysdeps/i386/fpu/e_acosh.S: Likewise.
50846 * sysdeps/i386/fpu/e_pow.S: Likewise.
50847 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
50848 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
50849 * sysdeps/i386/fpu/s_expm1.S: Likewise.
50850 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
50851 * sysdeps/i386/fpu/e_log2.S: Likewise.
50852 * sysdeps/i386/fpu/e_log2l.S: Likewise.
50853 * sysdeps/i386/fpu/e_scalb.S: Likewise.
50854 * sysdeps/i386/fpu/e_powl.S: Likewise.
50855 * sysdeps/i386/fpu/s_log1p.S: Likewise.
50856 * sysdeps/i386/fpu/e_log10f.S: Likewise.
50857 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
50858 * sysdeps/i386/fpu/e_logl.S: Likewise.
50859 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
50860 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
50861 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
50862 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
50863 * sysdeps/i386/fpu/e_log2f.S: Likewise.
50864 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
50865 * sysdeps/i386/fpu/e_log.S: Likewise.
50866 * sysdeps/i386/fpu/s_cexp.S: Likewise.
50867 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
50868 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
50869 * sysdeps/i386/fpu/e_logf.S: Likewise.
50870 * sysdeps/i386/fpu/e_log10l.S: Likewise.
50871 * sysdeps/i386/fpu/e_atanh.S: Likewise.
50872 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
50873 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
50874 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
50875 * sysdeps/i386/fpu/e_log10.S: Likewise.
50876 * sysdeps/i386/fpu/s_frexp.S: Likewise.
50877 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
50878 * sysdeps/i386/fpu/s_asinh.S: Likewise.
50879 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
50880 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
50881 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
50882 * sysdeps/i386/asm-syntax.h: Likewise.
50883 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
50884 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
50885 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
50886 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
50887 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
50888 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
50889 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
50890 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
50891 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
50892 * sysdeps/powerpc/sysdep.h: Likewise.
50893 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
50894 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
50895
d4a54ac6
JM
508962012-02-06 Joseph Myers <joseph@codesourcery.com>
50897
50898 [BZ #411]
50899 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
50900
314054ea
JM
509012012-02-06 Joseph Myers <joseph@codesourcery.com>
50902
50903 * sysdeps/i386/sysdep.h: Include <features.h>.
50904 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
50905 version.
50906
d8e0ca50
JM
509072012-02-05 Joseph Myers <joseph@codesourcery.com>
50908
50909 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
50910 Define.
50911 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
50912 LOAD_PIC_REG_STR.
50913
b1da7dd9
JM
509142012-02-03 Joseph Myers <joseph@codesourcery.com>
50915
50916 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
50917 (SETUP_PIC_REG): Use GET_PC_THUNK.
50918 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
50919 macro.
50920
9a1d9254
JM
509212012-02-03 Joseph Myers <joseph@codesourcery.com>
50922
50923 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
50924 for non-PIC compilation.
50925 (SETUP_PIC_REG): Add .p2align directive.
50926 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
50927 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
50928 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
50929 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
50930 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
50931 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
50932 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
50933 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
50934 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
50935 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
50936 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
50937 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
50938 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
50939 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
50940 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
50941 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
50942 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
50943 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
50944 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
50945 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
50946 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
50947 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
50948 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
50949 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
50950 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
50951 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
50952 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
50953 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
50954 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
50955 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
50956 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
50957 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
50958 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
50959 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
50960 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
50961 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
50962 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
50963 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
50964 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
50965 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
50966 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
50967
65dc3b75
JM
509682012-02-03 Joseph Myers <joseph@codesourcery.com>
50969
50970 * math/tst-CMPLX.c: Include <stdio.h>.
50971
d55bf177
JM
509722012-01-31 Joseph Myers <joseph@codesourcery.com>
50973
50974 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
50975 float.
50976 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
50977 * sysdeps/sparc/bits/mathdef.h: Likewise.
50978
69db4f8f
MP
509792012-01-31 Marek Polacek <polacek@redhat.com>
50980
50981 * libio/libio.h: Don't define _PARAMS.
50982 * locale/programs/config.h: Don't define PARAMS.
50983 * stdlib/strtol_l.c: Likewise.
50984 (__strtol_l): Remove PARAMS from the prototype.
50985
41b81892
UD
509862012-01-31 Ulrich Drepper <drepper@gmail.com>
50987
3b49edc0
UD
50988 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
50989 names. Just use the correct names. Remove unnecessary wrapper
50990 functions.
50991 * malloc/arena.c: Likewise.
50992 * malloc/hooks.c: Likewise.
50993
41b81892
UD
50994 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
50995 ARENA_TEST says not to. Simplify test for creation of a new arena.
50996 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
50997
27a25b6e
UD
509982012-01-30 Ulrich Drepper <drepper@gmail.com>
50999
51000 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
51001 into tail calls.
51002 (update_get_addr): New function.
51003 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
51004 GET_ADDR_MODULE parameter.
51005
c8a89e7d
JM
510062012-01-30 Joseph Myers <joseph@codesourcery.com>
51007
51008 * crypt/cert.c: Remove __STDC__ conditionals.
51009 * crypt/crypt-entry.c: Likewise.
51010 * crypt/crypt_util.c: Likewise.
51011 * libio/filedoalloc.c: Likewise.
51012 * libio/fileops.c: Likewise.
51013 * libio/genops.c: Likewise.
51014 * libio/iofclose.c: Likewise.
51015 * libio/iofdopen.c: Likewise.
51016 * libio/iofopen.c: Likewise.
51017 * libio/iofopen64.c: Likewise.
51018 * libio/iogetdelim.c: Likewise.
51019 * libio/iopopen.c: Likewise.
51020 * libio/obprintf.c: Likewise.
51021 * libio/oldfileops.c: Likewise.
51022 * libio/oldiofclose.c: Likewise.
51023 * libio/oldiofdopen.c: Likewise.
51024 * libio/oldiofopen.c: Likewise.
51025 * libio/oldiopopen.c: Likewise.
51026 * libio/wfiledoalloc.c: Likewise.
51027 * libio/wgenops.c: Likewise.
51028 * locale/programs/xmalloc.c: Likewise.
51029 * misc/syslog.c: Likewise.
51030 * stdio-common/xbug.c: Likewise.
51031 * string/memchr.c: Likewise.
51032 * string/memcmp.c: Likewise.
51033 * string/memrchr.c: Likewise.
51034 * string/rawmemchr.c: Likewise.
51035 * sysdeps/posix/getcwd.c: Likewise.
51036 * time/strftime_l.c: Likewise.
51037
3b100462
JM
510382012-01-30 Joseph Myers <joseph@codesourcery.com>
51039
51040 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
51041 * config.make.in (config-cflags-sse2avx): Define.
51042 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
51043 Fix typo.
51044
607998af
CM
510452012-01-29 Chris Metcalf <cmetcalf@tilera.com>
51046
51047 * scripts/config.guess: Update from upstream config git repository.
51048 * scripts/config.sub: Likewise.
51049
3601428f
CM
510502012-01-28 Chris Metcalf <cmetcalf@tilera.com>
51051
3ac8b282
CM
51052 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
51053 (EM_NUM): Update.
51054 (R_TILEPRO_*, R_TILEGX_*): New macros.
51055
e034841e
CM
51056 * scripts/firstversions.awk: Fix bug in version range handling.
51057
540d7568
CM
51058 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
51059
3601428f
CM
51060 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
51061
463de862
CM
51062 * include/sys/epoll.h: New file.
51063 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
51064 libc_hidden_def.
51065
73139a76
UD
510662012-01-28 Ulrich Drepper <drepper@gmail.com>
51067
96bc5b45
UD
51068 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
51069 Avoid unnecessary __WORDSIZE == 64 test.
51070 (fmaxf): Use VEX format if possible.
51071 (fmax): Likewise.
51072 (fminf): Likewise.
51073 (fmin): Likewise.
51074
56f6f6a2
UD
51075 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
51076 * math/math_private.h: Remove libc_fegetround* and
51077 libc_fesetround*.
51078 * sysdeps/i386/configure.in: Check for -msse2avx.
51079 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
51080 also if SSE2AVX is defined.
51081 Remove libc_fegetround* and libc_fesetround*.
51082 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
51083 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
51084 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
51085 of HAS_YMM_USABLE.
51086 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
51087 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
51088 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
51089 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
51090 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
51091
73139a76
UD
51092 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
51093
d73f93a4
AZ
510942012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51095
51096 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
51097 size is not set.
51098 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
51099
6ee65ed6
UD
511002012-01-27 Ulrich Drepper <drepper@gmail.com>
51101
51102 [BZ #13618]
51103 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
51104 relocation.
51105 * Makeconfig (libm): Define.
51106 * elf/Makefile: Add rules to build and run tst-relsort1.
51107 * elf/tst-relsort1.c: New file.
51108 * elf/tst-relsort1mod1.c: New file.
51109 * elf/tst-relsort1mod2.c: New file.
51110
8db21882
JM
511112012-01-27 Joseph Myers <joseph@codesourcery.com>
51112
51113 * math/s_ldexp.c: Remove __STDC__ conditionals.
51114 * math/s_ldexpf.c: Likewise.
51115 * math/s_ldexpl.c: Likewise.
51116 * math/s_nextafter.c: Likewise.
51117 * math/s_nexttowardf.c: Likewise.
51118 * math/s_significand.c: Likewise.
51119 * math/s_significandf.c: Likewise.
51120 * math/s_significandl.c: Likewise.
51121 * math/w_jnl.c: Likewise.
51122 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
51123 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
51124 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
51125 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
51126 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
51127 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
51128 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
51129 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
51130 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
51131 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
51132 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
51133 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
51134 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
51135 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
51136 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
51137 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
51138 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
51139 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
51140 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
51141 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
51142 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
51143 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
51144 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
51145 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
51146 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
51147 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
51148 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
51149 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
51150 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
51151 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
51152 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
51153 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
51154 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
51155 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
51156 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
51157 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
51158 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
51159 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
51160 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
51161 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
51162 * sysdeps/ieee754/k_standard.c: Likewise.
51163 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
51164 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
51165 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
51166 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
51167 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
51168 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
51169 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
51170 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
51171 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
51172 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
51173 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
51174 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
51175 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
51176 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
51177 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
51178 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
51179 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
51180 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
51181 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
51182 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
51183 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
51184 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
51185 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
51186 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
51187 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
51188 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
51189 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
51190 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
51191 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
51192 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
51193 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
51194 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
51195 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
51196 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
51197 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
51198 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
51199 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
51200 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
51201 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
51202 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
51203 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
51204 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
51205 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
51206 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
51207 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
51208 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
51209 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
51210 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
51211 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
51212 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
51213 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
51214 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
51215 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
51216 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
51217 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
51218 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
51219 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
51220 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
51221 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
51222 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
51223 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
51224 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
51225 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
51226 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
51227 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
51228 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
51229 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
51230 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
51231 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
51232 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
51233 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
51234 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
51235 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
51236 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
51237 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
51238 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
51239 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
51240 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
51241 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
51242 * sysdeps/ieee754/s_matherr.c: Likewise.
51243 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
51244 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
51245 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
51246 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
51247
965a54a4
JM
512482012-01-26 Joseph Myers <joseph@codesourcery.com>
51249
51250 * crypt/md5.h: Remove __STDC__ conditionals.
51251 * libio/libioP.h: Likewise.
51252 * locale/programs/config.h: Likewise.
51253 * sysdeps/generic/sysdep.h: Likewise.
51254 * sysdeps/i386/asm-syntax.h: Likewise.
51255 * sysdeps/s390/asm-syntax.h: Likewise.
51256 * sysdeps/unix/sysdep.h: Likewise.
51257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
51258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
51259
7071ad79
JM
512602012-01-26 Joseph Myers <joseph@codesourcery.com>
51261
51262 * libio/libio.h: Remove __STDC__ conditionals.
51263 * malloc/obstack.h: Likewise.
51264 * math/complex.h: Likewise.
51265 * math/math.h: Likewise.
51266 * sysdeps/generic/_G_config.h: Likewise.
51267 * sysdeps/gnu/_G_config.h: Likewise.
51268 * sysdeps/mach/hurd/_G_config.h: Likewise.
51269 * sysdeps/powerpc/bits/mathdef.h: Likewise.
51270 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
51271 * sysdeps/sparc/bits/mathdef.h: Likewise.
51272
afc5ed09
UD
512732012-01-26 Ulrich Drepper <drepper@gmail.com>
51274
51275 [BZ #13583]
51276 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 51277 Clean up HAS_* macros.
afc5ed09 51278 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
51279 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
51280 possible.
51281 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
51282 HAS_AVX.
51283 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
51284 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
51285 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
51286 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
51287 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 51288
bdb6de1d
JM
512892012-01-25 Joseph Myers <joseph@codesourcery.com>
51290
51291 * elf/tst-unique3.cc (gets): Remove declaration.
51292 * elf/tst-unique3lib.cc (gets): Likewise.
51293 * elf/tst-unique3lib2.cc (gets): Likewise.
51294 * elf/tst-unique4.cc (gets): Likewise.
51295
b15549e6
UD
512962012-01-24 Ulrich Drepper <drepper@gmail.com>
51297
51298 * include/stdio.h: Add C++ protection. Add gets declarations and
51299 definitions.
51300 * debug/tst-chk1.c: Don't declare gets here.
51301 * stdio-common/tst-gets.c: Likewise.
51302
a037381f
JM
513032012-01-24 Joseph Myers <joseph@codesourcery.com>
51304
51305 * posix/glob: Remove directory.
51306
f1d4aa75
JM
513072012-01-24 Joseph Myers <joseph@codesourcery.com>
51308
51309 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
51310
81c0c964
PT
513112012-01-22 Pino Toscano <toscano.pino@tiscali.it>
51312
51313 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
51314 of the non-standard EPFNOSUPPORT.
51315
0ea698ae
ST
513162011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
51317
51318 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
51319 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
51320 ANYWHERE set to 1 only on KERN_NO_SPACE error.
51321
d220b117
UD
513222012-01-21 Ulrich Drepper <drepper@gmail.com>
51323
51324 * wcsmbs/uchar.h: Test __STDC_VERSION__.
51325
3e1aa84e
UD
513262012-01-20 Ulrich Drepper <drepper@gmail.com>
51327
51328 * nscd/aicache.c (addhstaiX): Do not cache negative results of
51329 transient errors.
51330 * nscd/grpcache.c (cache_addgr): Likewise.
51331 * nscd/hstcache.c (cache_addhst): Likewise.
51332 * nscd/initgrcache.c (addinitgroupsX): Likewise.
51333 * nscd/pwdcache.c (cache_addpw): Likewise.
51334 * nscd/servicescache.c (cache_addserv): Likewise.
51335
400aa020
UD
513362012-01-16 Ulrich Drepper <drepper@gmail.com>
51337
d77e7869
UD
51338 * malloc/malloc.c: Various cleanups.
51339 * malloc/hooks.c: Likewise.
51340
400aa020
UD
51341 * stdlib/Makefile (tests): Add bug-fmtmsg1.
51342 * stdlib/bug-fmtmsg1.c: New file.
51343
51344 * stdlib/fmtmsg.c (init): Add missing unlock.
51345 Patch by Peng Haitao <penght@cn.fujitsu.com>.
51346
e0a309cf
MP
513472012-01-12 Marek Polacek <polacek@redhat.com>
51348
51349 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
51350 and _GNU_SOURCE.
51351
929d11c7
WS
513522012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
51353
51354 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
51355 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
51356 macro to ensure uniqueness of label name.
51357 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
51358 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
51359
41d0e869
UD
513602012-01-11 Ulrich Drepper <drepper@gmail.com>
51361
0cc5ed3b
UD
51362 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
51363
41d0e869
UD
51364 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
51365 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
51366 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
51367 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
51368
a47a831a
UD
513692012-01-10 Ulrich Drepper <drepper@gmail.com>
51370
daa891c0
UD
51371 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
51372
51373 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
51374 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
51375 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
51376
e58ef0f2
UD
51377 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
51378
a47a831a 51379 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
51380 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
51381 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 51382 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
51383
51384 * math/bits/math-finite.h: Add ldexp support.
51385
a0bfc9c7
MP
513862012-01-10 Marek Polacek <polacek@redhat.com>
51387
51388 * locale/programs/localedef.h (show_archive_content): Add noreturn
51389 attribute.
51390
d6e97a1d
UD
513912012-01-09 Ulrich Drepper <drepper@gmail.com>
51392
51393 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
51394
d5835c26
UD
513952012-01-08 Ulrich Drepper <drepper@gmail.com>
51396
e5f484c6
UD
51397 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
51398
d5835c26
UD
51399 * io/Makefile (headers): Add bits/poll2.h.
51400
d1f741e9
WS
514012011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
51402
51403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
51404 typo #include statement.
51405
ec09c1c4
UD
514062012-01-08 Ulrich Drepper <drepper@gmail.com>
51407
51408 * include/sys/cdefs.h: Define __attribute_alloc_size.
51409 * catgets/gencat.c: Add alloc_size attribute and apply consistently
51410 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
51411 * elf/pldd.c: Likewise.
51412 * iconv/iconv_charmap.c: Likewise.
51413 * iconv/iconvconfig.c: Likewise.
51414 * iconv/strtab.c: Likewise.
51415 * locale/programs/locale.c: Likewise.
51416 * locale/programs/localedef.h: Likewise.
51417 * locale/programs/simple-hash.c: Likewise.
51418 * nscd/nscd.h: Likewise.
51419 * nss/makedb.c: Likewise.
51420 * sysdeps/generic/ldconfig.h: Likewise.
51421 * locale/programs/localedef.c: Remove xmalloc prototype.
51422 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
51423
20b38e03
PP
514242012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
51425
51426 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
51427 appropriate.
51428
a0da5fe1
UD
514292012-01-08 Ulrich Drepper <drepper@gmail.com>
51430
1d5a644a 51431 * math/Makefile (tests): Add tst-CMPLX.
669704fd 51432 * math/tst-CMPLX.c: New file.
1d5a644a 51433
8784a6db
UD
51434 * math/complex.h (CMPLXL): Fix typo.
51435
d9a216c0
UD
51436 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
51437 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
51438 GLIBC_2.16.
51439 * debug/tst-chk1.c: Add poll and ppoll tests.
51440 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
51441 * include/sys/poll.h: Add hidden proto for ppoll.
51442 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
51443 * sysdeps/mach/hurd/ppoll.c: Likewise.
51444 * io/ppoll.c: Likewise.
51445 * debug/poll_chk.c: New file.
51446 * debug/ppoll_chk.c: New file.
51447 * include/bits/poll2.h: New file.
51448 * io/bits/poll2.h: New file.
51449
ac097f5c
UD
51450 [BZ #1350]
51451 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
51452
2119dcfa
UD
51453 * configure.in: static is always set to yes. Remove.
51454 * config.make.in: Don't set build-static.
51455 * Makeconfig: Remove use of build-static.
51456 * dlfcn/Makefile: Likewise.
51457 * elf/Makefile: Likewise.
51458 * math/Makefile: Likewise.
51459 * misc/Makefile: Likewise.
51460 * nptl/Makefile: Likewise.
51461 * sysdeps/mach/hurd/Makefile: Likewise.
51462
121766a9
UD
51463 * configure.in: PWD_P is not used anymore.
51464 * config.make.in: Remove PWD_P entry.
51465
51a1d39c 51466 * configure.in: Remove last remnants of RANLIB.
8720d066 51467 No need to check for signed size_t anymore.
215f4bdc
UD
51468 Don't set libc_commonpagesize and libc_relro_required here for Alpha
51469 and IA-64.
3857022a 51470 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
51471 * aclocal.m4: Likewise.
51472
d3ed7225
UD
51473 * wcsmbs/mbrtoc16.c: Implement using towc function.
51474 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
51475 * wcsmbs/wcsmbsload.c: Likewise.
51476 * iconv/gconv_simple.c: Likewise.
51477 * iconv/gconv_int.h: Likewise.
51478 * iconv/gconv_builtin.h: Likewise.
51479 * iconv/iconv_prog.c: Remove CHAR16 handling.
51480
51481 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
51482
51483 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
51484
a0da5fe1
UD
51485 * configure.in: Remove --with-elf and --enable-bounded options.
51486 Dont set base_machine for ia64. More non-ELF conditions removed.
51487 Remove testing and setting of leading underscore information.
51488 * config.make.in (build-bounded): Set to no.
51489 * config.h.in: Remove NO_UNDERSCORES entry.
51490 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
51491 them.
51492 * csu/start.c: Remove !NO_UNDERSCORE code.
51493 * locale/localeinfo.h: Likewise.
51494 * sysdeps/generic/machine-gmon.h: Likewise.
51495 * sysdeps/generic/sysdep.h: Likewise.
51496 * sysdeps/i386/sysdep.h: Likewise.
51497 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
51498 * sysdeps/mach/sysdep.h: Likewise.
51499 * sysdeps/s390/s390-32/sysdep.h: Likewise.
51500 * sysdeps/s390/s390-64/sysdep.h: Likewise.
51501 * sysdeps/sh/sysdep.h: Likewise.
51502 * sysdeps/sparc/sparc32/alloca.S: Likewise.
51503 * sysdeps/unix/i386/sysdep.S: Likewise.
51504 * sysdeps/unix/sparc/start.c: Likewise.
51505 * sysdeps/unix/sparc/sysdep.S: Likewise.
51506 * sysdeps/unix/sparc/sysdep.h: Likewise.
51507 * sysdeps/unix/start.c: Likewise.
51508 * sysdeps/unix/x86_64/sysdep.S: Likewise.
51509 * sysdeps/x86_64/sysdep.h: Likewise.
51510
df78418a
UD
515112012-01-07 Ulrich Drepper <drepper@gmail.com>
51512
a784e502
UD
51513 [BZ #13553]
51514 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
51515 for non-gcc.
51516 * argp/argp-fmtstream.h: Use const instead __const.
51517 * argp/argp.h: Likewise.
51518 * assert/assert.h: Likewise.
51519 * bits/fenv.h: Likewise.
51520 * bits/sched.h: Likewise.
51521 * bits/sigset.h: Likewise.
51522 * bits/sigthread.h: Likewise.
51523 * catgets/nl_types.h: Likewise.
51524 * conform/data/pthread.h-data: Likewise.
51525 * crypt/crypt-private.h: Likewise.
51526 * crypt/crypt.h: Likewise.
51527 * crypt/crypt_util.c: Likewise.
51528 * ctype/ctype.h: Likewise.
51529 * debug/execinfo.h: Likewise.
51530 * debug/mbsnrtowcs_chk.c: Likewise.
51531 * debug/mbsrtowcs_chk.c: Likewise.
51532 * debug/wcsnrtombs_chk.c: Likewise.
51533 * debug/wcsrtombs_chk.c: Likewise.
51534 * debug/wcstombs_chk.c: Likewise.
51535 * dirent/dirent.h: Likewise.
51536 * dlfcn/dlfcn.h: Likewise.
51537 * elf/neededtest4.c: Likewise.
51538 * grp/grp.h: Likewise.
51539 * gshadow/gshadow.h: Likewise.
51540 * iconv/gconv.h: Likewise.
51541 * iconv/gconv_int.h: Likewise.
51542 * iconv/gconv_simple.c: Likewise.
51543 * iconv/iconv.h: Likewise.
51544 * iconv/loop.c: Likewise.
51545 * iconv/skeleton.c: Likewise.
51546 * include/aio.h: Likewise.
51547 * include/aliases.h: Likewise.
51548 * include/argz.h: Likewise.
51549 * include/arpa/inet.h: Likewise.
51550 * include/assert.h: Likewise.
51551 * include/dirent.h: Likewise.
51552 * include/dlfcn.h: Likewise.
51553 * include/execinfo.h: Likewise.
51554 * include/fcntl.h: Likewise.
51555 * include/fenv.h: Likewise.
51556 * include/glob.h: Likewise.
51557 * include/grp.h: Likewise.
51558 * include/libintl.h: Likewise.
51559 * include/mntent.h: Likewise.
51560 * include/netdb.h: Likewise.
51561 * include/pwd.h: Likewise.
51562 * include/rpc/netdb.h: Likewise.
51563 * include/sched.h: Likewise.
51564 * include/search.h: Likewise.
51565 * include/shadow.h: Likewise.
51566 * include/signal.h: Likewise.
51567 * include/stdio.h: Likewise.
51568 * include/stdlib.h: Likewise.
51569 * include/string.h: Likewise.
51570 * include/sys/socket.h: Likewise.
51571 * include/sys/stat.h: Likewise.
51572 * include/sys/statfs.h: Likewise.
51573 * include/sys/statvfs.h: Likewise.
51574 * include/sys/syslog.h: Likewise.
51575 * include/sys/time.h: Likewise.
51576 * include/sys/uio.h: Likewise.
51577 * include/time.h: Likewise.
51578 * include/unistd.h: Likewise.
51579 * include/utmp.h: Likewise.
51580 * include/wchar.h: Likewise.
51581 * include/wctype.h: Likewise.
51582 * inet/aliases.h: Likewise.
51583 * inet/arpa/inet.h: Likewise.
51584 * inet/netinet/ether.h: Likewise.
51585 * inet/netinet/in.h: Likewise.
51586 * intl/libintl.h: Likewise.
51587 * io/bits/fcntl2.h: Likewise.
51588 * io/fcntl.h: Likewise.
51589 * io/ftw.h: Likewise.
51590 * io/sys/poll.h: Likewise.
51591 * io/sys/stat.h: Likewise.
51592 * io/sys/statfs.h: Likewise.
51593 * io/sys/statvfs.h: Likewise.
51594 * io/utime.h: Likewise.
51595 * libio/bits/stdio.h: Likewise.
51596 * libio/bits/stdio2.h: Likewise.
51597 * libio/libio.h: Likewise.
51598 * libio/libioP.h: Likewise.
51599 * libio/stdio.h: Likewise.
51600 * locale/lc-ctype.c: Likewise.
51601 * locale/locale.h: Likewise.
51602 * login/utmp.h: Likewise.
51603 * malloc/arena.c: Likewise.
51604 * malloc/malloc.c: Likewise.
51605 * malloc/malloc.h: Likewise.
51606 * malloc/mcheck.c: Likewise.
51607 * malloc/mtrace.c: Likewise.
51608 * math/bits/mathcalls.h: Likewise.
51609 * math/fenv.h: Likewise.
51610 * math/math_private.h: Likewise.
51611 * misc/bits/error.h: Likewise.
51612 * misc/bits/syslog.h: Likewise.
51613 * misc/err.h: Likewise.
51614 * misc/error.h: Likewise.
51615 * misc/fstab.h: Likewise.
51616 * misc/mntent.h: Likewise.
51617 * misc/regexp.h: Likewise.
51618 * misc/search.h: Likewise.
51619 * misc/sgtty.h: Likewise.
51620 * misc/sys/mman.h: Likewise.
51621 * misc/sys/syslog.h: Likewise.
51622 * misc/sys/uio.h: Likewise.
51623 * misc/sys/xattr.h: Likewise.
51624 * misc/ttyent.h: Likewise.
51625 * nis/rpcsvc/ypclnt.h: Likewise.
51626 * nss/nss.h: Likewise.
51627 * posix/bits/unistd.h: Likewise.
51628 * posix/fnmatch.h: Likewise.
51629 * posix/glob.h: Likewise.
51630 * posix/sched.h: Likewise.
51631 * posix/spawn.h: Likewise.
51632 * posix/sys/wait.h: Likewise.
51633 * posix/unistd.h: Likewise.
51634 * posix/wordexp.h: Likewise.
51635 * pwd/pwd.h: Likewise.
51636 * resolv/netdb.h: Likewise.
51637 * resource/sys/resource.h: Likewise.
51638 * rt/aio.h: Likewise.
51639 * rt/bits/mqueue2.h: Likewise.
51640 * rt/mqueue.h: Likewise.
51641 * shadow/shadow.h: Likewise.
51642 * signal/signal.h: Likewise.
51643 * socket/send.c: Likewise.
51644 * socket/sendto.c: Likewise.
51645 * socket/sys/socket.h: Likewise.
51646 * stdio-common/printf.h: Likewise.
51647 * stdlib/bits/stdlib.h: Likewise.
51648 * stdlib/fmtmsg.h: Likewise.
51649 * stdlib/monetary.h: Likewise.
51650 * stdlib/stdlib.h: Likewise.
51651 * stdlib/ucontext.h: Likewise.
51652 * streams/stropts.h: Likewise.
51653 * string/argz.h: Likewise.
51654 * string/bits/string2.h: Likewise.
51655 * string/string.h: Likewise.
51656 * string/strings.h: Likewise.
51657 * sunrpc/rpc/auth.h: Likewise.
51658 * sunrpc/rpc/auth_des.h: Likewise.
51659 * sunrpc/rpc/clnt.h: Likewise.
51660 * sunrpc/rpc/netdb.h: Likewise.
51661 * sunrpc/rpc/pmap_clnt.h: Likewise.
51662 * sunrpc/rpc/xdr.h: Likewise.
51663 * sysdeps/generic/inttypes.h: Likewise.
51664 * sysdeps/generic/net/if.h: Likewise.
51665 * sysdeps/generic/sys/swap.h: Likewise.
51666 * sysdeps/gnu/net/if.h: Likewise.
51667 * sysdeps/gnu/utmpx.h: Likewise.
51668 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
51669 * sysdeps/i386/i486/bits/string.h: Likewise.
51670 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
51671 * sysdeps/s390/bits/string.h: Likewise.
51672 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
51673 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
51674 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
51675 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
51676 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
51677 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
51678 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
51679 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
51680 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
51681 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
51682 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
51683 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
51684 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
51685 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
51686 * sysdeps/unix/sysv/linux/readv.c: Likewise.
51687 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
51688 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
51689 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
51690 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
51691 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
51692 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
51693 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
51694 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
51695 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
51696 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
51697 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
51698 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
51699 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
51700 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
51701 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
51702 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
51703 * sysvipc/sys/ipc.h: Likewise.
51704 * sysvipc/sys/msg.h: Likewise.
51705 * sysvipc/sys/sem.h: Likewise.
51706 * sysvipc/sys/shm.h: Likewise.
51707 * termios/termios.h: Likewise.
51708 * time/sys/time.h: Likewise.
51709 * time/time.h: Likewise.
51710 * wcsmbs/bits/wchar2.h: Likewise.
51711 * wcsmbs/uchar.h: Likewise.
51712 * wcsmbs/wchar.h: Likewise.
51713 * wctype/wctype.h: Likewise.
51714
0269750c
UD
51715 [BZ #13551]
51716 * Makeconfig: Remove all but ELF support including AIX support.
51717 * Makerules: Likewise.
51718 * config.h.in: Likewise.
51719 * config.make.in: Likewise.
51720 * configure: Likewise.
51721 * configure.in: Likewise.
51722 * csu/Makefile: Likewise.
51723 * csu/version.c: Likewise.
51724 * debug/Makefile: Likewise.
51725 * dlfcn/Makefile: Likewise.
51726 * elf/Makefile: Likewise.
51727 * extra-lib.mk: Likewise.
51728 * iconv/Makefile: Likewise.
51729 * include/libc-symbols.h: Likewise.
51730 * include/shlib-compat.h: Likewise.
51731 * resolv/Makefile: Likewise.
51732 * resolv/res_libc.c: Likewise.
51733 * rt/Makefile: Likewise.
51734 * sysdeps/i386/asm-syntax.h: Likewise.
51735 * sysdeps/i386/sysdep.h: Likewise.
51736 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
51737 * sysdeps/mach/sysdep.h: Likewise.
51738 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
51739 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
51740 * sysdeps/s390/asm-syntax.h: Likewise.
51741 * sysdeps/s390/s390-32/sysdep.h: Likewise.
51742 * sysdeps/s390/s390-64/sysdep.h: Likewise.
51743 * sysdeps/sh/sysdep.h: Likewise.
51744 * sysdeps/unix/sparc/sysdep.h: Likewise.
51745 * sysdeps/wordsize-32/divdi3.c: Likewise.
51746 * sysdeps/x86_64/sysdep.h: Likewise.
51747
00bbd29b
UD
51748 * argp/Versions: Remove _argp_unlock_xxx.
51749
51750 [BZ #13559]
51751 * abilist/ld.abilist: Update. Adjust for removal of tls option.
51752 * abilist/libBrokenLocale.abilist: Likewise.
51753 * abilist/libanl.abilist: Likewise.
51754 * abilist/libc.abilist: Likewise.
51755 * abilist/libcrypt.abilist: Likewise.
51756 * abilist/libdl.abilist: Likewise.
51757 * abilist/libm.abilist: Likewise.
51758 * abilist/libnsl.abilist: Likewise.
51759 * abilist/libpthread.abilist: Likewise.
51760 * abilist/libresolv.abilist: Likewise.
51761 * abilist/librt.abilist: Likewise.
51762 * abilist/libthread_db.abilist: Likewise.
51763 * abilist/libutil.abilist: Likewise.
51764 * abilist/libnss_db.abilist: New file.
51765
51766 * scripts/abilist.awk: Add support for indirect functions.
51767
a2693a0e
UD
51768 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
51769
3f05895f
UD
51770 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
51771
ecb6fb48
UD
51772 * shlib-versions: Remove entries for ports architectures.
51773
664f8cb9
UD
51774 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
51775 files in ports.
51776 * elf/stackguard-macros.h: Remove support for IA-64.
51777 * elf/tst-auditmod1.c: Likewise.
51778 * sysdeps/generic/ldsodefs.h: Likewise.
51779
7ae81d88
UD
51780 * sysdeps/unix/sysv/linux/configure.in: Ports should define
51781 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
51782 configure files.
51783
bdeba135
UD
51784 [BZ #13552]
51785 * configure.in: Remove --enable-omitfp support.
51786 * FAQ.in: Adjust.
51787 * config.make.in: Likewise.
51788 * Makeconfig: Likewise.
51789 * manual/install.texi: Likewise.
51790
d75a0a62
UD
51791 In case anyone cares, the IA-64 architecture could move to ports.
51792 * sysdeps/ia64/*: Removed.
51793 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 51794 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 51795
dcc9756b
UD
51796 [BZ #13555]
51797 * configure.in: Remove entries for unsupported architectures.
51798
d3761ebc 51799 [BZ #13533]
9954432e
UD
51800 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
51801 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
51802 routines.
51803 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
51804 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
51805 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
51806 fall back to using wcrtomb.
51807 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
51808 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
51809 renaming.
51810 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
51811 * wcsmbs/tst-c16c32-1.c: New file.
51812
51813 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
51814 local variable.
51815
c3a87236
UD
51816 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
51817
28926a1b
UD
51818 * elf/tst-unique3.cc: Add explicit declaration of gets.
51819 * elf/tst-unique3lib.cc: Likewise.
51820 * elf/tst-unique3lib2.cc: Likewise.
51821 * elf/tst-unique4.cc: Likewise.
51822
df78418a
UD
51823 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
51824
8ecd6b2a
JM
518252012-01-06 Joseph Myers <joseph@codesourcery.com>
51826
51827 [BZ #13566]
51828 * assert/assert.h (static_assert): Don't define for C++.
51829 * libio/stdio.h (gets): Do declare for C++ <= C++11.
51830 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
51831
9f115170
UD
518322012-01-03 Ulrich Drepper <drepper@gmail.com>
51833
5e0d0300
UD
51834 * iconv/loop.c (single loop): Fix assertion in storing of
51835 remaining bytes.
51836
9f115170
UD
51837 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
51838
81fb02b0
UD
518392012-01-01 Ulrich Drepper <drepper@gmail.com>
51840
51841 * posix/getconf.c: Update copyright year.
51842 * nss/getent.c: Likewise.
a316c1f6 51843 * nss/makedb.c: Likewise.
81fb02b0
UD
51844 * iconv/iconvconfig.c: Likewise.
51845 * iconv/iconv_prog.c: Likewise.
51846 * elf/ldconfig.c: Likewise.
a316c1f6
UD
51847 * elf/pldd.c: Likewise.
51848 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
51849 * catgets/gencat.c: Likewise.
51850 * csu/version.c: Likewise.
51851 * elf/ldd.bash.in: Likewise.
51852 * elf/sprof.c (print_version): Likewise.
51853 * locale/programs/locale.c: Likewise.
51854 * locale/programs/localedef.c: Likewise.
a316c1f6 51855 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
51856 * nscd/nscd.c (print_version): Likewise.
51857 * debug/xtrace.sh: Likewise.
51858 * malloc/memusage.sh: Likewise.
51859 * malloc/mtrace.pl: Likewise.
51860 * debug/catchsegv.sh: Likewise.
51861
2ba92745
JJ
518622011-12-30 Jakub Jelinek <jakub@redhat.com>
51863
51864 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
51865 pure attribute.
51866
dadebdae
UD
518672011-12-24 Ulrich Drepper <drepper@gmail.com>
51868
d3761ebc 51869 [BZ #13533]
db6af3eb
UD
51870 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
51871 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
51872 transformations.
51873 * iconv/gconv_int.h: Likewise.
51874 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
51875 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
51876 from libc for GLIBC_2.16.
51877 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
51878 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
51879 * wcsmbs/uchar.h: Really define mbstate_t.
51880 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
51881 * wcsmbs/c16rtomb.c: New file.
51882 * wcsmbs/mbrtoc16.c: New file.
51883 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
51884 for C/POSIX locale.
51885 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
51886 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
51887
dadebdae
UD
51888 * wcsmbs/wchar.h: Add missing __restrict.
51889
67371b56
UD
518902011-12-23 Ulrich Drepper <drepper@gmail.com>
51891
74033a25
UD
51892 [BZ #13532]
51893 * time/Makefile (routines): Add timespec_get.
51894 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
51895 * time/time.h: Define TIME_UTC and declare timespec_get. Define
51896 timespec for ISO C11.
51897 * time/timespec_get.c: New file.
51898 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
51899 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
51900
380d7e87
UD
51901 [BZ #13531]
51902 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
51903 * stdlib/stdlib.h: Declare aligned_alloc.
51904 * Versions.def: Add GLIBC_2.16 for libc.
51905 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
51906
4e9e7a35
UD
51907 [BZ 13527]
51908 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
51909 ISO C11.
51910
380d7e87 51911 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
51912 code.
51913
03a71829
UD
51914 [BZ #13528]
51915 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
51916
839e283e
UD
51917 [BZ #13529]
51918 * assert/assert.h (static_assert): Define.
51919
ce5294e2 51920 * version.h: Update for 2.16 development version.
90fa7312 51921
8d44e150 51922 [BZ #13526]
d7809905
UD
51923 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
51924 _ISOC11_SOURCE.
51925
c0da14cd
UD
51926 * version.h (RELEASE): Bump for 2.15 release.
51927 * include/features.h (__GLIBC_MINOR__): Bump to 15.
51928
530a3249
MP
51929 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
51930 Patch by Marek Polacek <mpolacek@redhat.com>.
51931
67371b56
UD
51932 * bits/byteswap.h: Protect long long constants with __extension__.
51933 * sysdeps/i386/bits/byteswap.h: Likewise.
51934 * sysdeps/ia64/bits/byteswap.h: Likewise.
51935 * sysdeps/s390/bits/byteswap.h: Likewise.
51936 * sysdeps/x86_64/bits/byteswap.h: Likewise.
51937
15db4de1
LD
519382011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51939
51940 [BZ #13540]
bbe315ea
LD
51941 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
51942 destination buffer.
15db4de1
LD
51943 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
51944
2b2596b1
MP
519452011-12-23 Marek Polacek <polacek@redhat.com>
51946
51947 * elf/dl-addr.c (determine_info): Add inline keyword.
51948 * elf/tst-auditmod4b.c (check_avx): Likewise.
51949 * elf/tst-auditmod6b.c (check_avx): Likewise.
51950 * elf/tst-auditmod6c.c (check_avx): Likewise.
51951 * elf/tst-auditmod7b.c (check_avx): Likewise.
51952
70c6c246
UD
519532011-12-23 Ulrich Drepper <drepper@gmail.com>
51954
51955 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
51956 !__SSE_MATH__.
51957
c044cf14
LD
519582011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51959
15db4de1 51960 [BZ #13540]
c044cf14
LD
51961 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
51962 processing for last bytes.
51963
6b13d9d9
BH
519642011-08-06 Bruno Haible <bruno@clisp.org>
51965
d455f537
BH
51966 [BZ #13061]
51967 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
51968 U+0385, not to U+1FEE.
51969
6b13d9d9
BH
51970 [BZ #13062]
51971 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
51972 entry for U+00A5 U+0301.
51973
db910efd
UD
519742011-12-22 Ulrich Drepper <drepper@gmail.com>
51975
27deeafc
UD
51976 [BZ #13166]
51977 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
51978 buffer for the output is too small.
51979
aed9d171
UD
51980 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
51981 optimization.
51982
db910efd
UD
51983 [BZ #13185]
51984 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
51985 SSE flags if possible.
51986
2bd779ae
LD
519872011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51988
e7f9dac3 51989 [BZ #13540]
2bd779ae
LD
51990 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
51991 processing for last bytes.
51992
154bfc16
JM
519932011-12-22 Joseph Myers <joseph@codesourcery.com>
51994
51995 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
51996 (syscall-list-default-options, syscall-list-default-condition)
51997 (syscall-list-includes): Define.
51998 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
51999 list of ABIs and options and #if conditions for each ABI. Do not
52000 handle common syscalls between ABIs specially.
52001 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
52002 Remove.
52003 (syscall-list-variants, syscall-list-32bit-options)
52004 (syscall-list-32bit-condition, syscall-list-64bit-options)
52005 (syscall-list-64bit-condition): Define.
52006 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
52007 (syscall-list-variants, syscall-list-32bit-options)
52008 (syscall-list-32bit-condition, syscall-list-64bit-options)
52009 (syscall-list-64bit-condition): Define.
52010 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
52011 Remove.
52012 (syscall-list-variants, syscall-list-32bit-options)
52013 (syscall-list-32bit-condition, syscall-list-64bit-options)
52014 (syscall-list-64bit-condition): Define.
52015 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
52016 Remove.
52017 (syscall-list-variants, syscall-list-32bit-options)
52018 (syscall-list-32bit-condition, syscall-list-64bit-options)
52019 (syscall-list-64bit-condition): Define.
52020
21eaf3a5
UD
520212011-12-22 Ulrich Drepper <drepper@gmail.com>
52022
16c6f992
UD
52023 * locale/iso-639.def: Add brx entry.
52024
41043168
UD
52025 [BZ #13328]
52026 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
52027 Proposed by Mariusz_Cukr <marcukr@op.pl>.
52028
21eaf3a5
UD
52029 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
52030 __feraiseexcept_renamed.
52031
e3a851a2
UD
520322011-12-21 Ulrich Drepper <drepper@gmail.com>
52033
4920765e
UD
52034 [BZ #13538]
52035 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
52036 EPOLLET with unsigned values.
52037 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
52038 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
52039
e3a851a2
UD
52040 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
52041 to large cancellation.
52042 * math/s_cacoshf.c: Likewise.
52043 * math/s_cacoshl.c: Likewise.
52044
b27e24b8
RK
520452011-11-18 Richard B. Kreckel <kreckel@ginac.de>
52046
52047 [BZ #13305]
aebefeee 52048 [BZ #12786]
b27e24b8
RK
52049 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
52050 * math/s_cacoshf.c: Likewise.
52051 * math/s_cacoshl.c: Likewise.
52052
ee190f67
UD
520532011-12-21 Ulrich Drepper <drepper@gmail.com>
52054
52055 [BZ #13439]
52056 * iconv/gconv.h: Define __GCONV_SWAP.
52057 * iconvdata/unicode.c: The swap bit must be stored in __flags.
52058 * iconvdata/utf-16.c: Likewise.
52059 * iconvdata/utf-32.c: Likewise.
52060
707f25df
AS
520612011-12-21 Andreas Schwab <schwab@linux-m68k.org>
52062
52063 [BZ #13524]
52064 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
52065 numerator after shifting it by one limb.
52066
d2daaa1e
RÁE
520672011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
52068
52069 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
52070 under [__USE_EXTERN_INLINES].
52071
a4647e72
UD
520722011-12-17 Ulrich Drepper <drepper@gmail.com>
52073
52074 [BZ #13446]
52075 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
52076
f0b264f1
AZ
520772011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52078
52079 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
52080 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
52081 optimized code.
52082 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
52083 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
52084 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
52085 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
52086 for strncasecmp/strncasecmp_l compilation.
52087 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
52088 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
52089
8ef4f244
MP
520902011-12-08 Marek Polacek <mpolacek@redhat.com>
52091
52092 [BZ #13484]
52093 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
52094 of __asm__.
52095
97ac2654
UD
520962011-12-17 Ulrich Drepper <drepper@gmail.com>
52097
52098 [BZ #13506]
52099 * time/tzfile.c (__tzfile_read): Check values from file header.
52100
91d2a845
WS
521012011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
52102
52103 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
52104 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
52105 * powerpc/powerpc32/dl-start.S: Likewise.
52106 * powerpc/powerpc32/elf/start.S: Likewise.
52107 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
52108 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
52109 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
52110 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
52111 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
52112 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
52113 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
52114 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
52115 * powerpc/powerpc32/fpu/s_round.S: Likewise.
52116 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
52117 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
52118 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
52119 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
52120 * powerpc/powerpc32/memset.S: Likewise.
52121 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
52122 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
52123 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
52124 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
52125 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
52126 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
52127 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
52128 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
52129 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
52130 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
52131 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
52132 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
52133 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
52134
a1267ba1
AZ
521352011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52136
52137 * math/libm-test.inc: Added more nearbyint tests.
52138 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
52139 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
52140 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
52141 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
52142
ad8ac1bd
RL
521432011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
52144
52145 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
52146 FD_CLOEXEC.
52147
1d3e4b61
UD
521482011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52149
52150 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
52151 Add wcscpy-ssse3 wcscpy-c.
52152 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
52153 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
52154 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
52155 * sysdeps/x86_64/wcschr.S: New file.
52156 * sysdeps/x86_64/wcsrchr.S: New file.
52157 * string/test-strcmp.c: Remove checking of wcscmp function for
52158 wrong alignments.
52159 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
52160 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
52161 wcsrchr-sse2 wcsrchr-c.
52162 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
52163 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
52164 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
52165 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
52166 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
52167 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
52168 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
52169 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
52170 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
52171 * wcsmbc/wcschr.c (WCSCHR): New macro.
52172
5b330a2d
UD
521732011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52174
52175 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
52176 * wcsmbs/test-wcsrchr.c: New file.
52177 * string/test-strrchr.c: Add wcsrchr support.
52178 (WIDE): New macro.
52179 * wcsmbs/test-wcscpy.c: New file.
52180 * string/test-strcpy.c: Add wcscpy support.
52181 (WIDE): New macro.
26428b7c 52182
f039c043
UD
521832011-12-10 Ulrich Drepper <drepper@gmail.com>
52184
52185 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
52186 the inner loop.
52187
850fb039
AS
521882011-12-06 Andreas Schwab <schwab@linux-m68k.org>
52189
52190 [BZ #13472]
52191 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
52192
4efbd5cb
UD
521932011-12-04 Ulrich Drepper <drepper@gmail.com>
52194
52ff5dd0 52195 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 52196 Minor optimizations.
52ff5dd0 52197
4efbd5cb
UD
52198 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
52199 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
52200 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
52201
8a426e12
UD
522022011-12-03 Ulrich Drepper <drepper@gmail.com>
52203
aff2453d
UD
52204 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
52205 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
52206 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
52207 for gcc to avoid warnings.
52208 * inet/Makefile (tests): Add tst-checks.
52209 * inet/tst-checks.c: New file.
52210
52211 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
52212 warning.
52213
52214 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
52215 __wmemcmp_sse2.
52216
52217 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
52218 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
52219
8a426e12
UD
52220 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
52221
9bea3473
UD
522222011-12-02 Ulrich Drepper <drepper@gmail.com>
52223
3a965496
UD
52224 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
52225 problem.
52226
9bea3473
UD
52227 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
52228
f101631b
UD
522292011-11-29 Joseph Myers <joseph@codesourcery.com>
52230
52231 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
52232 conditional on GCC version.
52233 (__arch_compare_and_exchange_val_8_acq)
52234 (__arch_compare_and_exchange_val_16_acq)
52235 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
52236 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
52237 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
52238
a98275aa
UD
522392011-12-02 Joseph Myers <joseph@codesourcery.com>
52240
52241 * sysdeps/sh/backtrace.c: New file.
52242
d4cc29a2
AS
522432011-12-02 Andreas Schwab <schwab@redhat.com>
52244
52245 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
52246 parenthesis.
52247
6257af2d
AS
522482011-12-01 Andreas Schwab <schwab@redhat.com>
52249
52250 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
52251 falling back to utime.
52252
b5f44c1a
AS
522532011-11-30 Andreas Schwab <schwab@redhat.com>
52254
52255 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
52256 expectations for float.
52257
f3a6cc0a
AS
522582011-11-29 Andreas Schwab <schwab@redhat.com>
52259
52260 * locale/weight.h (findidx): Add parameter len.
52261 * locale/weightwc.h (findidx): Likewise.
52262 * posix/fnmatch_loop.c (FCT): Adjust caller.
52263 * posix/regcomp.c (build_equiv_class): Likewise.
52264 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
52265 * posix/regexec.c (check_node_accept_bytes): Likewise.
52266 * string/strcoll_l.c (STRCOLL): Likewise.
52267 * string/strxfrm_l.c (STRXFRM): Likewise.
52268
9d65ea3a
UD
522692011-11-17 Ulrich Drepper <drepper@gmail.com>
52270
52271 * Makefile.in: Remove CVSOPT handling.
52272 * configure.in: Remove use of AC_REVISION.
52273 * iconvdata/Makefile (distribute): No need to filter out CVS.
52274 * scripts/list-sources.sh: Remove CVS, subversion and monotone
52275 handling.
52276
5583a086
AS
522772011-11-16 Andreas Schwab <schwab@redhat.com>
52278
52279 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
52280 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
52281 [USE_AS_STRNCASECMP_L]: Likewise.
52282 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
52283 NO_TLS_DIRECT_SEG_REFS.
52284 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
52285 Fix argument offsets for non-PIC.
52286 [USE_AS_STRNCASECMP_L]: Likewise.
52287 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
52288 NO_TLS_DIRECT_SEG_REFS.
52289
d62a8200
UD
522902011-11-15 Ulrich Drepper <drepper@gmail.com>
52291
9d65ea3a 52292 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
52293 O_CLOEXEC.
52294 * locale/loadlocale.c (_nl_load_locale): Likewise.
52295
09f93bd3
AS
522962011-11-15 Andreas Schwab <schwab@redhat.com>
52297
446514f9
AS
52298 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
52299 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
52300 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
52301 (SYSCALL_GETTIME): Set errno on error.
52302
09f93bd3
AS
52303 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
52304 count references to noai6ai_cached.
52305
312be3f9
UD
523062011-11-15 Ulrich Drepper <drepper@gmail.com>
52307
52308 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
52309
52310 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
52311 FD_CLOEXEC for /proc/self/maps.
52312
52313 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
52314 FD_CLOEXEC for /proc/meminfo.
52315
52316 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
52317 gai.conf.
52318
52319 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
52320 FD_CLOEXEC for given file.
52321
52322 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
52323
52324 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
52325 FD_CLOEXEC for /etc/hosts.
52326 (_gethtent): Likewise.
52327
52328 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
52329
52330 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
52331 cancellation and set FD_CLOEXEC for /etc/netgroup.
52332
52333 * nss/nss_files/files-key.c (search): Don't allow cancellation when
52334 reading /etc/publickey.
52335
52336 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
52337 allow cancellation when reading /etc/group.
52338
52339 * nss/nss_files/files-alias.c (internal_setent): Don't allow
52340 cancellation.
52341 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
52342
52343 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
52344 when using data file.
52345
52346 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
52347
52348 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
52349 (write_nis_obj): Use "c" and "e" in fopen.
52350
52351 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
52352
52353 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
52354
52355 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
52356
52357 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
52358
52359 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
52360 locale.alias.
52361
52362 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
52363
52364 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
52365
52366 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
52367
52368 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
52369 file parsing and set FD_CLOEXEC.
52370
82af0fa8
UD
523712011-11-14 Ulrich Drepper <drepper@gmail.com>
52372
52373 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
52374
a5fb313c
AS
523752011-11-14 Andreas Schwab <schwab@redhat.com>
52376
52377 * malloc/arena.c (arena_get2): Don't call reused_arena when
52378 _int_new_arena failed.
52379
6abf3465
UD
523802011-11-14 Ulrich Drepper <drepper@gmail.com>
52381
52382 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
52383 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
52384 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
52385 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
52386 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
52387 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
52388 to compile strcasecmp and strncasecmp.
52389 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
52390 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
52391
52392 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
52393
76e3966e
UD
523942011-11-13 Ulrich Drepper <drepper@gmail.com>
52395
52396 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
52397 locale-defines.sym to gen-as-const-headers.
52398 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
52399 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
52400 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
52401 to compile strcasecmp and strncasecmp.
52402 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
52403 strcasecmp_l and strncasecmp_l.
52404 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
52405 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
52406 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
52407 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
52408 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
52409 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
52410 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
52411 * sysdeps/i386/i686/multiarch/strncase.S: New file.
52412 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
52413 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
52414 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
52415
ab26144e
UD
524162011-11-12 Ulrich Drepper <drepper@gmail.com>
52417
7edb22ef
UD
52418 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
52419 result of SYSDEP_GETTIME_CPU to retval.
52420 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
52421 parameter list to macro. Remove trailing semicolon. Adjust users.
52422
9694fc44
UD
52423 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
52424 variable.
52425
8ad89ef8
UD
52426 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
52427 mantissa words.
52428 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
52429
0c822ef9
UD
52430 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
52431 from unused variable.
52432
874e0564
UD
52433 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
52434 DWARF definitions.
52435 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
52436 for assembling.
52437
3a2edc79
UD
52438 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
52439 over namespaces.
52440
f3c2577f
UD
52441 * sunrpc/rpc_prot.c (rejected): Fix case value.
52442
294ce126
UD
52443 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
52444 unsigned long long int to avoid warnings in shift.
52445
5e2b63c6
UD
52446 * posix/regex_internal.c (re_string_reconstruct): Actually use result
52447 of use of trans.
52448 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
52449 variable tmp.
52450
e7f4b08e
UD
52451 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
52452 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
52453 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
52454
ab26144e
UD
52455 * nis/nis_table.c (nis_list): Use variable of correct type for
52456 result of __follow_path call.
52457
8a6d5255
AZ
524582011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52459
52460 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
52461 of math functions ceil, trunc, floor, round, and sqrt, when
52462 avaliable on the platform.
52463 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
52464 name clash.
52465 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
52466 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
52467 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
52468
aaddc98c
MP
524692011-10-30 Marek Polacek <mpolacek@redhat.com>
52470
52471 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
52472 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
52473
95b7042b
RM
524742011-11-11 Roland McGrath <roland@hack.frob.com>
52475
52476 * include/unistd.h: Fix __readlink return type.
52477 Reported by Chris Metcalf <cmetcalf@tilera.com>.
52478
57769839
UD
524792011-11-11 Ulrich Drepper <drepper@gmail.com>
52480
52481 * stdlib/ucontext.h: Undo last change for makecontext.
52482
edc5984d
AS
524832011-11-11 Andreas Schwab <schwab@redhat.com>
52484
98591e58
AS
52485 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
52486
edc5984d
AS
52487 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
52488 * setjmp/setjmp.h: Mark functions as non-leaf.
52489 * setjmp/bits/setjmp2.h: Likewise.
52490 * stdlib/ucontext.h: Likewise.
52491
77cdc054
AS
524922011-11-10 Andreas Schwab <schwab@redhat.com>
52493
52494 * malloc/arena.c (_int_new_arena): Don't increment narenas.
52495 (reused_arena): Don't check arena limit.
52496 (arena_get2): Atomically check arena limit.
52497
fe72eebd
UD
524982011-11-08 Ulrich Drepper <drepper@gmail.com>
52499
5f078c32
UD
52500 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
52501 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
52502
fe72eebd
UD
52503 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
52504 instructions.
52505
ae1bc2fa
AS
525062011-11-07 Andreas Schwab <schwab@redhat.com>
52507
7583a88d
AS
52508 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
52509 handler when locking.
52510
ae1bc2fa
AS
52511 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
52512 Fix size of allocated buffer.
52513
10fb0bfa
AS
525142011-11-04 Andreas Schwab <schwab@redhat.com>
52515
998832a4
AS
52516 [BZ #10103]
52517 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
52518 declarations for long double functions.
52519 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
52520
10fb0bfa
AS
52521 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
52522
3d7ba52b
AS
525232011-11-03 Andreas Schwab <schwab@redhat.com>
52524
a9ae54a1
AS
52525 * nscd/nscd.c (main): Don't start AVC thread until credentials are
52526 installed.
52527
3d7ba52b
AS
52528 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
52529 is disabled.
52530
bc8db248
ST
525312011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
52532
52533 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
52534
45b96dd6
AS
525352011-11-01 Andreas Schwab <schwab@linux-m68k.org>
52536
647776f6
AS
52537 * include/alloca.h (stackinfo_alloca_round): Define.
52538 (extend_alloca): Use it.
52539 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
52540 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
52541 here.
52542
d91a8b93
AS
52543 * scripts/check-local-headers.sh: Ignore libaudit.h.
52544
45b96dd6
AS
52545 * nscd/Makefile (extra-objs): Make recursively expanded.
52546
432d41ce
UD
525472011-11-01 Ulrich Drepper <drepper@gmail.com>
52548
34372fc6
UD
52549 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
52550 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
52551
fadb59f8
UD
52552 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
52553 * posix/tst-rfc3484-2.c: Likewise.
52554 * posix/tst-rfc3484-3.c: Likewise.
52555
78239589
UD
52556 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
52557 process_vm_writev.
52558 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
52559 process_vm_writev.
52560 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
52561 process_vm_writev from libc using GLIBC_2.15 version.
52562
432d41ce
UD
52563 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
52564
02f9c6cf
PP
525652011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
52566
52567 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
52568 stack usage.
52569
3a2c0242
UD
525702011-10-31 Ulrich Drepper <drepper@gmail.com>
52571
f4ec4833
UD
52572 [BZ #13367]
52573 * nss/getent.c (initgroups_keys): Show error message in case no group
52574 names are given.
52575
3a2c0242
UD
52576 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
52577 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
52578 __bump_nl_timestamp.
52579 * nscd/connections (nscd_init): When host database is served open
52580 netlink socket and request notification about configuration changes.
52581 (main_loop_poll): Track netlink file descriptor and bump timestamp
52582 in case data becomes available.
52583 (main_loop_epoll): Likewise.
52584 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
52585 (database_pers_head): Add extra_data fileds.
52586 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
52587 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
52588 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
52589 Adjust caller.
52590 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
52591 in6ai data, call __free_in6ai.
52592 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
52593 Add -DHAVE_NETLINK.
52594 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
52595 interface information. Reuse previous data if netlink timestamp
52596 is not changed.
52597 (__bump_nl_timestamp): New function.
52598 (__free_in6ai): New function.
52599
636064eb
UD
526002011-10-30 Ulrich Drepper <drepper@gmail.com>
52601
52602 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
52603 close_not_cancel_no_status here.
52604 (__check_pf): Reorganize code a bit to not call close twice if OOM.
52605
9beb2334
UD
526062011-10-29 Ulrich Drepper <drepper@gmail.com>
52607
6ef76f3b
UD
52608 [BZ #13276]
52609 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
52610 return value.
52611
0ffc4f3e 52612 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
52613 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
52614 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
52615
cb95113e
UD
526162011-07-03 Andreas Jaeger <aj@suse.de>
52617
52618 [BZ #10709]
52619 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
52620 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
52621 * math/libm-test.inc (sin_test): Add test case.
52622
a1b560ff
UD
526232011-10-29 Ulrich Drepper <drepper@gmail.com>
52624
c9aaface
UD
52625 [BZ #13337]
52626 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
52627 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
52628
d272e7f1
UD
52629 * elf/chroot_canon.c (chroot_canon): Cleanups.
52630
1bc33071
UD
52631 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
52632
1760874d
TJ
52633 [BZ #13335]
52634 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
52635 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
52636
51d91b18
UD
52637 * string/test-strchr.c: Make usable for strchrnul testing.
52638 * string/test-strchrnul.c: New file.
52639 * string/Makefile (strop-tests): Add strchrnul.
52640
a1b560ff 52641 * po/it.po: Update from translation team.
b611fb81 52642 * po/es.po: Likewise.
a1b560ff 52643
a5b81e1f
UD
526442011-10-28 Ulrich Drepper <drepper@gmail.com>
52645
fd52bc6d
UD
52646 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
52647 the three constants needed as parameters. Drop the others.
52648 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
52649 __m128i_strloadu_tolower.
52e4b9eb
UD
52650 Create and initialize variable zero and use it in all the places
52651 where _mm_setzero_si128 was used.
fd52bc6d 52652
a5b81e1f
UD
52653 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
52654 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
52655 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
52656 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
52657 anymore.
52658 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
52659 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
52660 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
52661 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
52662 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
52663 __mpranred, __mptan.
52664 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
52665 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
52666 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
52667 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
52668 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
52669 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
52670 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
52671 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
52672 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
52673
b4343346
AS
526742011-10-28 Andreas Schwab <schwab@redhat.com>
52675
0c92d8a8
AS
52676 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
52677 redefine if SHARED.
52678 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
52679
b4343346
AS
52680 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
52681 wide char related routines to wcsmbs subdir.
52682
3871f58f
AS
526832011-10-27 Andreas Schwab <schwab@redhat.com>
52684
52685 [BZ #13344]
52686 * misc/sys/cdefs.h (__THROWNL): Define.
52687 * posix/unistd.h: Use __THREADNL instead of __THREAD
52688 for memory synchronization functions.
52689
94d44d9f
RM
526902011-10-26 Roland McGrath <roland@hack.frob.com>
52691
21b64b15 52692 [BZ #13349]
94d44d9f
RM
52693 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
52694 doesn't exist.
52695 * manual/stdio.texi (Obstack Streams): Node removed.
52696
f6ce9294
AS
526972011-10-26 Andreas Schwab <schwab@redhat.com>
52698
80479147
AS
52699 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
52700 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
52701 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
52702
f6ce9294
AS
52703 * math/math_private.h (math_force_eval): Allow non-addressable
52704 arguments.
52705 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
52706
618280a1
UD
527072011-10-25 Ulrich Drepper <drepper@gmail.com>
52708
e0016b11
UD
52709 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
52710 file is not needed.
52711
52712 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
52713 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
52714 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
52715 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
52716 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
52717 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
52718 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
52719 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
52720 Add AVX variants.
52721 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
52722 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
52723 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
52724 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
52725 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
52726 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
52727 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
52728 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
52729 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
52730 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
52731 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
52732 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
52733 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
52734 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
52735 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
52736 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
52737 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
52738 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
52739 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
52740
52741 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
52742 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
52743
618280a1
UD
52744 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
52745 place. Use VEX encoding when compiling for AVX.
52746
37822576
AS
527472011-10-25 Andreas Schwab <schwab@redhat.com>
52748
1f1e1947
AS
52749 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
52750 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
52751
37822576
AS
52752 * string/test-strchr.c (do_test): Don't generate NUL bytes.
52753
31ea014d
UD
527542011-10-25 Ulrich Drepper <drepper@gmail.com>
52755
d7826aa1 52756 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 52757 useless if() expression.
d7826aa1
UD
52758 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
52759 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
52760 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
52761 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
52762 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
52763 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
52764 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
52765 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
52766 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
52767 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
52768 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
52769 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
52770 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
52771 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
52772 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
52773 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
52774 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
52775 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
52776 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
52777
31ea014d
UD
52778 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
52779
16437fec
AS
527802011-10-25 Andreas Schwab <schwab@redhat.com>
52781
52782 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
52783 condition.
52784 * elf/dl-fini.c (_dl_sort_fini): Likewise.
52785
31d3cc00
UD
527862011-10-25 Ulrich Drepper <drepper@gmail.com>
52787
52788 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
52789 .text section. Avoid duplicate constants.
52790 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
52791 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52792 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
52793 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52794 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52795 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52796 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52797 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52798 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
52799 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
52800 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
52801 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
52802 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
52803 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
52804 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
52805 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
52806 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
52807 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
52808 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
52809 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52810 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
52811 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
52812 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
52813 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
52814 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
52815 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
52816 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
52817 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
52818 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
52819 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
52820 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
52821 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
52822 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
52823 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
52824 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
52825 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
52826 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
52827 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
52828 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
52829 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
52830 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
52831 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
52832 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
52833 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
52834 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
52835
58985aa9
UD
528362011-10-24 Ulrich Drepper <drepper@gmail.com>
52837
202c9deb
UD
52838 * sysdeps/x86_64/dla.h: Move to ...
52839 * sysdeps/x86_64/fpu/dla.h: ...here.
52840 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
52841 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 52842
af968f62
UD
52843 * config.make.in: Add have-mfma4 entry.
52844 * configure.in: Substitute libc_cv_cc_fma4.
52845 * math/Makefile (dbl-only-routines): Add sincostab.
52846 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
52847 Use __sincostab not sincos.
52848 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
52849 name is a macro.
52850 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52851 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52852 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52853 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
52854 using __copysign.
52855 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
52856 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
52857 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
52858 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
52859 and __inv.
52860 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
52861 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
52862 __copysign.
52863 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
52864 define aliases when function name is a macro.
52865 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
52866 sysdeps/ieee754/dbl-64/sincos.tbl.
52867 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
52868 fma4-enabled routines.
52869 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
52870 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
52871 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
52872 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
52873 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
52874 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
52875 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
52876 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
52877 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
52878 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
52879 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
52880 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
52881 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
52882 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
52883 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
52884 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
52885 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
52886 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
52887 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
52888 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
52889 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
52890 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
52891 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
52892 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
52893 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
52894 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
52895 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
52896 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
52897 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
52898 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
52899
58985aa9
UD
52900 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
52901 rename.
52902 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52903 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52904 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52905 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52906 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52907 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52908 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52909 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52910
a201fbcf
AS
529112011-10-24 Andreas Schwab <schwab@redhat.com>
52912
52913 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
52914
fc2ee42a
LD
529152011-10-23 Ulrich Drepper <drepper@gmail.com>
52916
bb3129bd
UD
52917 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
52918
0275fff8
UD
52919 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
52920 prediction.
52921 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
52922
2fa2ae85
UD
52923 * string/strnlen.c: Don't define STRNLEN, reverse logic.
52924 Remove unused variable magic_bits.
52925 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
52926
fc2ee42a
LD
52927 * string/strnlen.c: Define and use STRNLEN macro.
52928 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
52929 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
52930 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
52931 * wcsmbs/wcslen.c: Define and use WCSLEN.
52932 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
52933 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
52934 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
52935 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
52936 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
52937 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
52938 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
52939
ce7dd29f
LD
529402011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52941
52942 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52943 strnlen-sse2-no-bsf.
52944 Rename strlen-no-bsf to strlen-sse2-no-bsf.
52945 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
52946 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
52947 Add strnlen support.
52948 (USE_AS_STRNLEN): New macro.
52949 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
52950 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
52951 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
52952 * sysdeps/x86_64/wcslen.S: New file.
52953
979c70a3
MZ
529542011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
52955
52956 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
52957 XMM-moves are used for copying on small sizes.
52958
2d09f82f
LD
529592011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52960
52961 * wcsmbs/Makefile (strop-tests): Add wcschr.
52962 * wcsmbs/test-wcschr.c: New file.
52963 * string/test-strchr.c: Update.
52964 Add wcschr support.
52965 (WIDE): New macro.
52966
619fccca
LD
529672011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52968
2d09f82f 52969 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
52970 * wcsmbs/test-wcslen.c: New file.
52971 * string/test-strlen.c: Update.
52972 Add wcslen support.
52973 (WIDE): New macro.
52974
09f699ea
UD
529752011-10-23 Ulrich Drepper <drepper@gmail.com>
52976
52977 * po/it.po: Update from translation team.
52978
95584d3b
LD
529792011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52980
52981 * sysdeps/x86_64/wcscmp.S: Update.
52982 Fix wrong comparison semantics.
52983 wcscmp shall use signed comparison not unsigned.
52984 Don't use substraction to avoid overflow bug.
52985 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
52986 * wcsmbc/wcscmp.c: Likewise.
52987 * string/test-strcmp.c: Likewise.
52988 Add new tests to check cases with negative values.
52989
c8b3296b
UD
529902011-10-23 Ulrich Drepper <drepper@gmail.com>
52991
52992 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
52993 * sysdeps/x86_64/dla.h: ...here. New file.
52994 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
52995 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52996 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52997 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52998 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52999 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
53000 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
53001 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
53002 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
53003
246ad57a
AS
530042011-10-23 Andreas Schwab <schwab@linux-m68k.org>
53005
53006 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
53007 __ynl_finite aliases.
53008
a1a87169
UD
530092011-10-22 Ulrich Drepper <drepper@gmail.com>
53010
0d355eb7
UD
53011 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53012
a1a87169
UD
53013 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
53014 define DLA_FMA.
53015 [DLA_FMA] (EMULV): Use DLA_FMA.
53016 [DLA_FMA] (MUL12): Use EMULV.
53017 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
53018 that are not needed.
53019 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
53020 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
53021 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
53022 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
53023 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
53024 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
53025 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
53026
ee2aafe0
AS
530272011-10-22 Andreas Schwab <schwab@linux-m68k.org>
53028
53029 * math/s_nan.c: Undef __nan.
53030 * math/s_nanf.c: Undef __nanf.
53031 * math/s_nanl.c: Undef __nanl.
53032 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
53033 "math_private.h".
53034
bc62c2fb
UD
530352011-10-22 Ulrich Drepper <drepper@gmail.com>
53036
77425c63
UD
53037 * math/s_catan.c: Add branch predictions.
53038 * math/s_catanf.c: Likewise.
53039 * math/s_catanh.c: Likewise.
53040 * math/s_catanhf.c: Likewise.
53041 * math/s_catanhl.c: Likewise.
53042 * math/s_catanl.c: Likewise.
53043 * math/s_cexp.c: Likewise.
53044 * math/s_cexpf.c: Likewise.
53045 * math/s_cexpl.c: Likewise.
53046 * math/s_clog.c: Likewise.
53047 * math/s_clog10.c: Likewise.
53048 * math/s_clog10f.c: Likewise.
53049 * math/s_clog10l.c: Likewise.
53050 * math/s_clogf.c: Likewise.
53051 * math/s_clogl.c: Likewise.
53052 * math/s_csqrt.c: Likewise.
53053 * math/s_csqrtf.c: Likewise.
53054 * math/s_csqrtl.c: Likewise.
53055 * math/s_ctanf.c: Likewise.
53056 * math/s_ctanh.c: Likewise.
53057 * math/s_ctanhf.c: Likewise.
53058 * math/s_ctanhl.c: Likewise.
53059 * math/s_ctanl.c: Likewise.
53060
bc62c2fb
UD
53061 * math/math_private.h: Define __nan, __nanf, __nanl.
53062 * math/s_cacosh.c: Include <math_private.h>.
53063 * math/s_cacoshl.c: Likewise.
53064 * math/s_casinh.c: Likewise.
53065 * math/s_casinhf.c: Likewise.
53066 * math/s_casinhl.c: Likewise.
53067 * math/s_ccos.c: Rely entire on ccosh.
53068 * math/s_ccosf.c: Rely entire on ccoshf.
53069 * math/s_ccosl.c: Rely entirely on ccoshl.
53070 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
53071 Remove tests for FE_INVALID.
53072 * math/s_ccoshf.c: Likewise.
53073 * math/s_ccoshl.c: Likewise.
53074 * math/s_csin.c: Likewise.
53075 * math/s_csinf.c: Likewise.
53076 * math/s_csinh.c Likewise.
53077 * math/s_csinhf.c: Likewise.
53078 * math/s_csinhl.c: Likewise.
53079 * math/s_csinl.c: Likewise.
53080 * math/s_ctan.c: Likewise.
53081 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
53082 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
53083 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
53084
8ec250a4
UD
530852011-10-21 Ulrich Drepper <drepper@gmail.com>
53086
c196fed8
UD
53087 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
53088 compilation problems.
53089
8ec250a4
UD
53090 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
53091 __builtin_expect.
53092
8d4f46c6
UD
530932011-10-20 Ulrich Drepper <drepper@gmail.com>
53094
ed72b654
UD
53095 * sysdeps/i386/configure.in: Test for -mfma4 option.
53096 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
53097 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
53098 COMMON_CPUID_INDEX_80000001.
53099 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
53100 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
53101 use it if FMA3 is not supported.
53102 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
53103
8d4f46c6
UD
53104 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
53105 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
53106
d45c60c2
AS
531072011-10-20 Andreas Schwab <schwab@redhat.com>
53108
53109 [BZ #12892]
53110 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
53111 it would create a cycle with a link time dependency.
53112
d9a4d2ab
UD
531132011-10-19 Ulrich Drepper <drepper@gmail.com>
53114
855d1560
UD
53115 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
53116 instruction.
53117 * string/Makefile (strop-tests): Add rawmemchr.
53118 * string/test-rawmemchr.c: New file.
53119
d9a4d2ab
UD
53120 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
53121 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
53122 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
53123 when compiling str{,n}casecmp and when AVX is available. Hook up
53124 new optimized code in initializers.
53125
8f3b1ffe
AS
531262011-10-19 Andreas Schwab <schwab@redhat.com>
53127
53128 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
53129 __feraiseexcept instead of feraiseexcept.
53130
d38f1dba
UD
531312011-10-18 Ulrich Drepper <drepper@gmail.com>
53132
d9a8d0ab
UD
53133 * math/math_private.h: Define defaults for libc_fetestexcept and
53134 libc_feupdateenv.
53135 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
53136 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
53137 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
53138 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
53139 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
53140 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
53141 libc_fetestexcept and libc_feupdateenv.
53142
4855e3dd
UD
53143 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
53144 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
53145 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
53146 * sysdeps/x86_64/fpu/math_private.h: Define special version of
53147 libc_feholdexcept_setround.
53148
581d30e3
UD
53149 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
53150 Add s_nearbyint-c and s_nearbyintf-c.
53151 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
53152 nearbyintf inlines.
53153 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
53154 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
53155 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
53156 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
53157
d38f1dba
UD
53158 * math/math_private.h: Define defaults for libc_fegetround,
53159 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
53160 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
53161 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
53162 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
53163 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
53164 standard functions.
53165 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
53166 Remove comments and hacks for old compiler versions.
53167 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
53168 libc_fegetround, libc_fesetround, libc_feholdexcept, and
53169 libc_feholdexceptl.
53170
caa6c9d8
AS
531712011-10-18 Andreas Schwab <schwab@redhat.com>
53172
53173 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
53174 (__feraiseexcept_renamed): Add __NTH.
53175 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
53176 namespace violations.
53177
97c066e6
UD
531782011-10-17 Ulrich Drepper <drepper@gmail.com>
53179
99ce7b04
UD
53180 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
53181
1004d182
UD
53182 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
53183
228a984d
UD
53184 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
53185 recently added interfaces.
53186 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
53187
c8553a6a
UD
53188 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
53189 about macro parameter expansion.
53190
ed22dcf6
UD
53191 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
53192 __NO_MATH_INLINES is defined. Cleanups.
53193
53194 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
53195 and __floorf is target has SSE4.1.
53196 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
53197 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
53198 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
53199 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
53200
b171c137
UD
53201 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
53202 name.
53203 (floorf): Likewise.
53204
97c066e6
UD
53205 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
53206
629f62ef
AS
532072011-10-17 Andreas Schwab <schwab@redhat.com>
53208
49a43d80
AS
53209 * misc/sys/cdefs.h: Fix last change.
53210
629f62ef
AS
53211 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
53212 database lookup.
53213
e453f6cd
UD
532142011-10-16 Ulrich Drepper <drepper@gmail.com>
53215
aa78043a
UD
53216 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
53217
ad0f5cad
UD
53218 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
53219 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
53220 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
53221 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
53222 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
53223 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
53224 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
53225 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
53226 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
53227 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
53228 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
53229 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
53230 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
53231 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
53232 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
53233 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
53234 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
53235 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
53236 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
53237 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
53238 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
53239 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
53240
53241 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
53242 ceil, ceilf, floor, floorf.
53243
53244 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
53245 Perform IRELATIVE relocations last.
53246
e453f6cd
UD
53247 * elf/do-rel.h: Add another parameter nrelative, replacing the
53248 local variable with the same name. Change name of the function
53249 to end in Rel or Rela (uppercase).
53250 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
53251 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
53252 elf_dynamic_do_##reloc function.
53253
fd5bdc09
UD
532542011-10-15 Ulrich Drepper <drepper@gmail.com>
53255
79b195b5
UD
53256 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
53257 is sufficient, at least on modern CPUs.
53258
d4a28569
UD
53259 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
53260
b61099b5
UD
53261 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
53262 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
53263
bcf01e6d
UD
53264 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
53265 __expl_finite.
53266 * math/bits/math-finite.h: Add entries for exp.
53267 * math/e_expl.c: Add __*_finite alias.
53268 * sysdeps/i386/fpu/e_exp.S: Likewise.
53269 * sysdeps/i386/fpu/e_expf.S: Likewise.
53270 * sysdeps/i386/fpu/e_expl.c: Likewise.
53271 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
53272 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
53273 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
53274 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
53275 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
53276 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
53277 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
53278
ba1a0d59
UD
53279 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
53280 is sufficient, at least on modern CPUs.
53281
fd5bdc09
UD
53282 * ctype/ctype-info.c (__ctype_init): Define.
53283 * include/ctype.h (__ctype_init): Declare.
53284 (__ctype_b_loc): The variable is always initialized.
53285 (__ctype_toupper_loc): Likewise.
53286 (__ctype_tolower_loc): Likewise.
53287 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
53288 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
53289
7872cfb0
AS
532902011-10-15 Andreas Schwab <schwab@linux-m68k.org>
53291
b468825a
AS
53292 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
53293
7872cfb0
AS
53294 * configure.in: Also look in $cxxmachine/include for C++ system
53295 headers.
53296
be13f7bf
LD
532972011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53298
53299 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
53300 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
53301 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
53302 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
53303 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
53304 (USE_AS_WMEMCMP): New macro.
53305 Fixing indents.
53306 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
53307 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
53308 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
53309 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
53310 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53311 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
53312 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
53313 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
53314 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
53315 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
53316 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
53317 (USE_AS_WMEMCMP): New macro.
53318 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
53319 * sysdeps/string/test-memcmp.c: Update.
53320 Fix simple_wmemcmp.
53321 Add new tests.
53322 * wcsmbs/wmemcmp.c: Update.
53323 (WMEMCMP): New macro.
53324 Fix overflow bug.
53325
556a2007
AJ
533262011-10-12 Andreas Jaeger <aj@suse.de>
53327
53328 [BZ #13268]
53329 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
53330
538faaa7
UD
533312011-10-15 Ulrich Drepper <drepper@gmail.com>
53332
ab6737ff
UD
53333 * libio/iofwide.c (do_length): Avoid warning.
53334
538faaa7
UD
53335 * ctype/ctype.h (__isctype_f): Add missing __THROW.
53336
396a21b1
UD
533372011-10-14 Ulrich Drepper <drepper@gmail.com>
53338
cdf2901f
UD
53339 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
53340
38ad40ce
UD
53341 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
53342 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
53343 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
53344 * sysdeps/i386/i686/fpu/e_log.S: New file.
53345 * sysdeps/i386/i686/fpu/e_logf.S: New file.
53346 * sysdeps/i386/i686/fpu/e_logl.S: New file.
53347
396a21b1
UD
53348 * ctype/ctype.h: Add support for inlined isXXX functions when
53349 compiling C++ code.
53350
6b1f68c9
AS
533512011-10-14 Andreas Schwab <schwab@redhat.com>
53352
349290c0
AS
53353 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53354
6b1f68c9
AS
53355 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
53356
f2282d42
RM
533572011-10-13 Roland McGrath <roland@hack.frob.com>
53358
53359 [BZ #13291]
53360 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
53361
5298ffa8
AS
533622011-10-13 Andreas Schwab <schwab@redhat.com>
53363
714fad23
AS
53364 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
53365 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
53366 feraiseexcept.
53367
81dcc7fb
AS
53368 * sysdeps/x86_64/memrchr.S: Check for zero size.
53369
5298ffa8
AS
53370 * string/stratcliff.c: Add memrchr tests.
53371
951fbcec
LD
533722011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53373
53374 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53375 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
53376 rawmemchr-sse2 rawmemchr-sse2-bsf.
53377 * sysdeps/i386/i686/multiarch/memchr.S: New file.
53378 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
53379 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
53380 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
53381 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
53382 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
53383 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
53384 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
53385 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
53386 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
53387 * string/memrchr.c (MEMRCHR): New macro.
53388
0ac5ae23
UD
533892011-10-12 Ulrich Drepper <drepper@gmail.com>
53390
53391 Add integration with gcc's -ffinite-math-only and optimize wrapper
53392 functions in libm.
53393 * Versions.def: Define GLIBC_2.15 version for libm.
53394 * math/Makefile (headers): Add bits/math-finite.h.
53395 * math/bits/math-finite.h: New file.
53396 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
53397 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
53398 * math/e_acoshl.c: Add __*_finite alias.
53399 * math/e_acosl.c: Likewise.
53400 * math/e_asinl.c: Likewise.
53401 * math/e_atan2l.c: Likewise.
53402 * math/e_atanhl.c: Likewise.
53403 * math/e_coshl.c: Likewise.
53404 * math/e_exp10.c: Likewise.
53405 * math/e_exp10f.c: Likewise.
53406 * math/e_exp10l.c: Likewise.
53407 * math/e_exp2l.c: Likewise.
53408 * math/e_fmodl.c: Likewise.
53409 * math/e_gammal_r.c: Likewise.
53410 * math/e_hypotl.c: Likewise.
53411 * math/e_j0l.c: Likewise.
53412 * math/e_j1l.c: Likewise.
53413 * math/e_jnl.c: Likewise.
53414 * math/e_lgammal_r.c: Likewise.
53415 * math/e_log10l.c: Likewise.
53416 * math/e_log2l.c: Likewise.
53417 * math/e_logl.c: Likewise.
53418 * math/e_powl.c: Likewise.
53419 * math/e_sinhl.c: Likewise.
53420 * math/e_sqrtl.c: Likewise.
53421 * math/e_scalb.c: Completely rewritten and optimized.
53422 * math/e_scalbf.c: Likewise.
53423 * math/e_scalbl.c: Likewise.
53424 * math/w_acos.c: Likewise.
53425 * math/w_acosf.c: Likewise.
53426 * math/w_acosl.c: Likewise.
53427 * math/w_acosh.c: Likewise.
53428 * math/w_acoshf.c: Likewise.
53429 * math/w_acoshl.c: Likewise.
53430 * math/w_asin.c: Likewise.
53431 * math/w_asinf.c: Likewise.
53432 * math/w_asinl.c: Likewise.
53433 * math/w_atan2.c: Likewise.
53434 * math/w_atan2f.c: Likewise.
53435 * math/w_atan2l.c: Likewise.
53436 * math/w_atanh.c: Likewise.
53437 * math/w_atanhf.c: Likewise.
53438 * math/w_atanhl.c: Likewise.
53439 * math/w_exp10.c: Likewise.
53440 * math/w_exp10f.c: Likewise.
53441 * math/w_exp10l.c: Likewise.
53442 * math/w_fmod.c: Likewise.
53443 * math/w_fmodf.c: Likewise.
53444 * math/w_fmodl.c: Likewise.
53445 * math/w_j0.c: Likewise.
53446 * math/w_j0f.c: Likewise.
53447 * math/w_j0l.c: Likewise.
53448 * math/w_j1.c: Likewise.
53449 * math/w_j1f.c: Likewise.
53450 * math/w_j1l.c: Likewise.
53451 * math/w_jn.c: Likewise.
53452 * math/w_jnf.c: Likewise.
53453 * math/w_log.c: Likewise.
53454 * math/w_logf.c: Likewise.
53455 * math/w_logl.c: Likewise.
53456 * math/w_log10.c: Likewise.
53457 * math/w_log10f.c: Likewise.
53458 * math/w_log10l.c: Likewise.
53459 * math/w_log2.c: Likewise.
53460 * math/w_log2f.c: Likewise.
53461 * math/w_log2l.c: Likewise.
53462 * math/w_pow.c: Likewise.
53463 * math/w_powf.c: Likewise.
53464 * math/w_powl.c: Likewise.
53465 * math/w_remainder.c: Likewise.
53466 * math/w_remainderf.c: Likewise.
53467 * math/w_remainderl.c: Likewise.
53468 * math/w_scalb.c: Likewise.
53469 * math/w_scalbf.c: Likewise.
53470 * math/w_scalbl.c: Likewise.
53471 * math/w_sqrt.c: Likewise.
53472 * math/w_sqrtf.c: Likewise.
53473 * math/w_sqrtl.c: Likewise.
53474 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
53475 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
53476 used.
53477 * math/math_private.h: Declare __kernel_standard_f.
53478 * math/w_cosh.c: Remove cruft and optimize a bit.
53479 * math/w_coshf.c: Likewise.
53480 * math/w_coshl.c: Likewise.
53481 * math/w_exp2.c: Likewise.
53482 * math/w_exp2f.c: Likewise.
53483 * math/w_exp2l.c: Likewise.
53484 * math/w_hypot.c: Likewise.
53485 * math/w_hypotf.c: Likewise.
53486 * math/w_hypotl.c: Likewise.
53487 * math/w_lgamma.c: Likewise.
53488 * math/w_lgamma_r.c: Likewise.
53489 * math/w_lgammaf.c: Likewise.
53490 * math/w_lgammaf_r.c: Likewise.
53491 * math/w_lgammal.c: Likewise.
53492 * math/w_lgammal_r.c: Likewise.
53493 * math/w_sinh.c: Likewise.
53494 * math/w_sinhf.c: Likewise.
53495 * math/w_sinhl.c: Likewise.
53496 * math/w_tgamma.c: Likewise.
53497 * math/w_tgammaf.c: Likewise.
53498 * math/w_tgammal.c: Likewise.
53499 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
53500 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
53501 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
53502 Minor optimizations. Pretty printing. Remove cruft.
53503 * sysdeps/i386/fpu/e_acosf.S: Likewise.
53504 * sysdeps/i386/fpu/e_acosh.S: Likewise.
53505 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
53506 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
53507 * sysdeps/i386/fpu/e_acosl.c: Likewise.
53508 * sysdeps/i386/fpu/e_asin.S: Likewise.
53509 * sysdeps/i386/fpu/e_asinf.S: Likewise.
53510 * sysdeps/i386/fpu/e_atan2.S: Likewise.
53511 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
53512 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
53513 * sysdeps/i386/fpu/e_atanh.S: Likewise.
53514 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
53515 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
53516 * sysdeps/i386/fpu/e_exp10.S: Likewise.
53517 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
53518 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
53519 * sysdeps/i386/fpu/e_exp2.S: Likewise.
53520 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
53521 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
53522 * sysdeps/i386/fpu/e_fmod.S: Likewise.
53523 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
53524 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
53525 * sysdeps/i386/fpu/e_hypot.S: Likewise.
53526 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
53527 * sysdeps/i386/fpu/e_log.S: Likewise.
53528 * sysdeps/i386/fpu/e_log10.S: Likewise.
53529 * sysdeps/i386/fpu/e_log10f.S: Likewise.
53530 * sysdeps/i386/fpu/e_log10l.S: Likewise.
53531 * sysdeps/i386/fpu/e_log2.S: Likewise.
53532 * sysdeps/i386/fpu/e_log2f.S: Likewise.
53533 * sysdeps/i386/fpu/e_log2l.S: Likewise.
53534 * sysdeps/i386/fpu/e_logf.S: Likewise.
53535 * sysdeps/i386/fpu/e_logl.S: Likewise.
53536 * sysdeps/i386/fpu/e_pow.S: Likewise.
53537 * sysdeps/i386/fpu/e_powf.S: Likewise.
53538 * sysdeps/i386/fpu/e_powl.S: Likewise.
53539 * sysdeps/i386/fpu/e_remainder.S: Likewise.
53540 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
53541 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
53542 * sysdeps/i386/fpu/e_scalb.S: Likewise.
53543 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
53544 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
53545 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
53546 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
53547 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
53548 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
53549 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
53550 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
53551 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
53552 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
53553 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
53554 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
53555 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
53556 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
53557 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
53558 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
53559 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
53560 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
53561 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
53562 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
53563 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
53564 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
53565 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
53566 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
53567 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
53568 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
53569 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
53570 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
53571 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
53572 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
53573 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
53574 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
53575 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
53576 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
53577 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
53578 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
53579 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
53580 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
53581 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
53582 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
53583 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
53584 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
53585 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
53586 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
53587 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
53588 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
53589 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
53590 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
53591 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
53592 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
53593 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
53594 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
53595 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
53596 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
53597 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
53598 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
53599 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
53600 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
53601 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
53602 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
53603 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
53604 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
53605 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
53606 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
53607 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
53608 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
53609 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
53610 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
53611 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
53612 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
53613 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
53614 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
53615 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
53616 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
53617 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
53618 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
53619 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
53620 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
53621 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
53622 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
53623 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
53624 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
53625 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
53626 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
53627 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
53628 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
53629 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
53630 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
53631 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
53632 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
53633 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
53634 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
53635 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
53636 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
53637 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
53638 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
53639 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
53640 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
53641 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
53642 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
53643 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
53644 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
53645 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
53646 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
53647 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
53648 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
53649 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
53650 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
53651 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
53652 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
53653 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
53654 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
53655 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
53656 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
53657 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
53658 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
53659 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
53660 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
53661 (__isnanf): Likewise.
53662 (__isinf_ns): Likewise.
53663 (__isinf_nsf): Likewise.
53664 (__finite): Likewise.
53665 (__finitef): Likewise.
53666 (__ieee754_sqrt): Define as macro.
53667 (__ieee754_sqrtf): Define as macro.
53668 (__ieee754_sqrtl): Define as macro.
53669 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
53670 inlined copy.
53671 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
53672 __FINITE_MATH_ONLY__ consistent.
53673 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
53674
12cc2fcd
AS
536752011-10-10 Andreas Schwab <schwab@linux-m68k.org>
53676
a843a204
AS
53677 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
53678 of rawmemchr.
53679
12cc2fcd
AS
53680 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
53681
c853acd5
UD
536822011-10-09 Ulrich Drepper <drepper@gmail.com>
53683
53684 * po/ja.po: Update from translation team.
53685
c658d255
RM
536862011-10-08 Roland McGrath <roland@hack.frob.com>
53687
110946e4
RM
53688 * locale/programs/locarchive.c (prepare_address_space): New function.
53689 (create_archive, enlarge_archive, open_archive): Use it.
53690
50604220
RM
53691 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
53692 inside [SHARED], where it is used.
53693
c658d255
RM
53694 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
53695
53696 * nss/getent.c (netgroup_keys): Remove unused variable.
53697 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
53698
6a621eb7
UD
536992011-10-08 Ulrich Drepper <drepper@gmail.com>
53700
7edb55ce
UD
53701 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
53702 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
53703 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
53704 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
53705 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
53706 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
53707 * math/Makefile (libm-calls): Add s_isinf_ns.
53708 * math/divtc3.c: Use __isinf_nsl instead of isinf.
53709 * math/multc3.c: Likewise.
53710 * math/s_casin.c: Likewise.
53711 * math/s_casinf.c: Likewise.
53712 * math/s_casinl.c: Likewise.
53713 * math/s_ccos.c: Likewise.
53714 * math/s_ccosf.c: Likewise.
53715 * math/s_ccosl.c: Likewise.
53716 * math/s_ctan.c: Likewise.
53717 * math/s_ctanf.c: Likewise.
53718 * math/s_ctanh.c: Likewise.
53719 * math/s_ctanhf.c: Likewise.
53720 * math/s_ctanhl.c: Likewise.
53721 * math/s_ctanl.c: Likewise.
53722 * math/w_fmod.c: Likewise.
53723 * math/w_fmodf.c: Likewise.
53724 * math/w_fmodl.c: Likewise.
53725 * math/w_remainder.c: Likewise.
53726 * math/w_remainderf.c: Likewise.
53727 * math/w_remainderl.c: Likewise.
53728 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
53729 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
53730 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
53731 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
53732 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
53733 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
53734 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
53735 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
53736
187da0ae
UD
53737 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
53738 of the number.
53739 * stdio-common/printf_fphex.c: Likewise.
53740 * stdio-common/printf_size.c: Likewise.
53741
9277c064
UD
53742 * math/e_exp10.c: Include math_private.h using <...> not "...".
53743 * math/e_exp10f.c: Likewise.
53744 * math/e_exp10l.c: Likewise.
53745 * math/e_exp2l.c: Likewise.
53746 * math/e_j0l.c: Likewise.
53747 * math/e_j1l.c: Likewise.
53748 * math/e_jnl.c: Likewise.
53749 * math/e_lgammal_r.c: Likewise.
53750 * math/e_rem_pio2l.c: Likewise.
53751 * math/e_scalb.c: Likewise.
53752 * math/e_scalbf.c: Likewise.
53753 * math/e_scalbl.c: Likewise.
53754 * math/k_cosl.c: Likewise.
53755 * math/k_sinl.c: Likewise.
53756 * math/k_tanl.c: Likewise.
53757 * math/s_cacoshf.c: Likewise.
53758 * math/s_catan.c: Likewise.
53759 * math/s_catanf.c: Likewise.
53760 * math/s_catanh.c: Likewise.
53761 * math/s_catanhf.c: Likewise.
53762 * math/s_catanhl.c: Likewise.
53763 * math/s_catanl.c: Likewise.
53764 * math/s_ccosh.c: Likewise.
53765 * math/s_ccoshf.c: Likewise.
53766 * math/s_ccoshl.c: Likewise.
53767 * math/s_cexp.c: Likewise.
53768 * math/s_cexpf.c: Likewise.
53769 * math/s_cexpl.c: Likewise.
53770 * math/s_clog.c: Likewise.
53771 * math/s_clog10.c: Likewise.
53772 * math/s_clog10f.c: Likewise.
53773 * math/s_clog10l.c: Likewise.
53774 * math/s_clogf.c: Likewise.
53775 * math/s_clogl.c: Likewise.
53776 * math/s_csin.c: Likewise.
53777 * math/s_csinf.c: Likewise.
53778 * math/s_csinh.c: Likewise.
53779 * math/s_csinhf.c: Likewise.
53780 * math/s_csinhl.c: Likewise.
53781 * math/s_csinl.c: Likewise.
53782 * math/s_csqrt.c: Likewise.
53783 * math/s_csqrtf.c: Likewise.
53784 * math/s_csqrtl.c: Likewise.
53785 * math/s_ctan.c: Likewise.
53786 * math/s_ctanf.c: Likewise.
53787 * math/s_ctanh.c: Likewise.
53788 * math/s_ctanhf.c: Likewise.
53789 * math/s_ctanhl.c: Likewise.
53790 * math/s_ctanl.c: Likewise.
53791 * math/s_ldexp.c: Likewise.
53792 * math/s_ldexpf.c: Likewise.
53793 * math/s_ldexpl.c: Likewise.
53794 * math/s_significand.c: Likewise.
53795 * math/s_significandf.c: Likewise.
53796 * math/s_significandl.c: Likewise.
53797 * math/w_acos.c: Likewise.
53798 * math/w_acosf.c: Likewise.
53799 * math/w_acosh.c: Likewise.
53800 * math/w_acoshf.c: Likewise.
53801 * math/w_acoshl.c: Likewise.
53802 * math/w_acosl.c: Likewise.
53803 * math/w_asin.c: Likewise.
53804 * math/w_asinf.c: Likewise.
53805 * math/w_asinl.c: Likewise.
53806 * math/w_atan2.c: Likewise.
53807 * math/w_atan2f.c: Likewise.
53808 * math/w_atan2l.c: Likewise.
53809 * math/w_atanh.c: Likewise.
53810 * math/w_atanhf.c: Likewise.
53811 * math/w_atanhl.c: Likewise.
53812 * math/w_cosh.c: Likewise.
53813 * math/w_coshf.c: Likewise.
53814 * math/w_coshl.c: Likewise.
53815 * math/w_dremf.c: Likewise.
53816 * math/w_exp10.c: Likewise.
53817 * math/w_exp10f.c: Likewise.
53818 * math/w_exp10l.c: Likewise.
53819 * math/w_exp2.c: Likewise.
53820 * math/w_exp2f.c: Likewise.
53821 * math/w_fmod.c: Likewise.
53822 * math/w_fmodf.c: Likewise.
53823 * math/w_fmodl.c: Likewise.
53824 * math/w_hypot.c: Likewise.
53825 * math/w_hypotf.c: Likewise.
53826 * math/w_hypotl.c: Likewise.
53827 * math/w_j0.c: Likewise.
53828 * math/w_j0f.c: Likewise.
53829 * math/w_j0l.c: Likewise.
53830 * math/w_j1.c: Likewise.
53831 * math/w_j1f.c: Likewise.
53832 * math/w_j1l.c: Likewise.
53833 * math/w_jn.c: Likewise.
53834 * math/w_jnf.c: Likewise.
53835 * math/w_jnl.c: Likewise.
53836 * math/w_lgamma.c: Likewise.
53837 * math/w_lgamma_r.c: Likewise.
53838 * math/w_lgammaf.c: Likewise.
53839 * math/w_lgammaf_r.c: Likewise.
53840 * math/w_lgammal.c: Likewise.
53841 * math/w_lgammal_r.c: Likewise.
53842 * math/w_log.c: Likewise.
53843 * math/w_log10.c: Likewise.
53844 * math/w_log10f.c: Likewise.
53845 * math/w_log10l.c: Likewise.
53846 * math/w_log2.c: Likewise.
53847 * math/w_log2f.c: Likewise.
53848 * math/w_log2l.c: Likewise.
53849 * math/w_logf.c: Likewise.
53850 * math/w_logl.c: Likewise.
53851 * math/w_pow.c: Likewise.
53852 * math/w_powf.c: Likewise.
53853 * math/w_powl.c: Likewise.
53854 * math/w_remainder.c: Likewise.
53855 * math/w_remainderf.c: Likewise.
53856 * math/w_remainderl.c: Likewise.
53857 * math/w_scalb.c: Likewise.
53858 * math/w_scalbf.c: Likewise.
53859 * math/w_scalbl.c: Likewise.
53860 * math/w_sinh.c: Likewise.
53861 * math/w_sinhf.c: Likewise.
53862 * math/w_sinhl.c: Likewise.
53863 * math/w_sqrt.c: Likewise.
53864 * math/w_sqrtf.c: Likewise.
53865 * math/w_sqrtl.c: Likewise.
53866 * math/w_tgamma.c: Likewise.
53867 * math/w_tgammaf.c: Likewise.
53868 * math/w_tgammal.c: Likewise.
53869
6a621eb7
UD
53870 * po/ja.po: Update from translation team.
53871
bf582445
AJ
538722011-09-29 Andreas Jaeger <aj@suse.de>
53873
f9efbf3a
AJ
53874 [BZ #13179]
53875 * sunrpc/netname.c (netname2host): Fix logic.
53876
bf582445
AJ
53877 [BZ #6779]
53878 [BZ #6783]
53879 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
53880 correctly.
53881 * math/w_remainder.c (__remainder): Likewise.
53882 * math/w_remainderf.c (__remainderf): Likewise.
53883 * math/libm-test.inc (remainder_test): Add test cases.
53884
48693bea
AK
538852011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53886
53887 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
53888 sdiv_qrnnd.
53889
42622229
LD
538902011-10-07 Ulrich Drepper <drepper@gmail.com>
53891
53892 * string/test-memcmp.c: Avoid unncessary #defines.
53893 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
53894
093ecf92
LD
538952011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53896
53897 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
53898 Use new sse2 version for core i3 - i7 as it's faster
53899 than sse42 version.
53900 (bit_Prefer_PMINUB_for_stringop): New.
53901 * sysdeps/x86_64/rawmemchr.S: Update.
53902 Replace with faster SSE2 version.
53903 * sysdeps/x86_64/memrchr.S: New file.
53904 * sysdeps/x86_64/memchr.S: Update.
53905 Replace with faster SSE2 version.
53906
fde56e5c
MP
539072011-09-12 Marek Polacek <mpolacek@redhat.com>
53908
53909 * elf/dl-load.c (lose): Add cast to avoid warning.
53910
21fd49a9
UD
539112011-10-07 Ulrich Drepper <drepper@gmail.com>
53912
5a06e643
UD
53913 * po/ca.po: Update from translation team.
53914
684ae515
UD
53915 * inet/getnetgrent_r.c: Hook up nscd.
53916 * nscd/Makefile (routines): Add nscd_netgroup.
53917 (nscd-modules): Add netgroupcache.
53918 (CFLAGS-netgroupcache.c): Define.
53919 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
53920 (cache_search): Add const to second parameter.
53921 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
53922 INNETGR.
53923 (dbs): Add netgrdb entry.
53924 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
53925 (verify_persistent_db): Handle netgrdb.
53926 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
53927 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
53928 GETFDNETGR.
53929 (netgroup_response_header): Define.
53930 (innetgroup_response_header): Define.
53931 (datahead): Add netgroup_response_header and innetgroup_response_header
53932 elements.
53933 * nscd/nscd.conf: Add entries for netgroup cache.
53934 * nscd/nscd.h (dbtype): Add netgrdb.
53935 (_PATH_NSCD_NETGROUP_DB): Define.
53936 (netgroup_iov_disabled): Declare.
53937 (xmalloc, xcalloc, xrealloc): Move declarations here.
53938 (cache_search): Adjust prototype.
53939 Add netgroup-related prototypes.
53940 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
53941 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
53942 (__nscd_innetgr): Declare.
53943 * nscd/selinux.c (perms): Use access_vector_t as element type and
53944 add netgroup-related initializers.
53945 * nscd/netgroupcache.c: New file.
53946 * nscd/nscd_netgroup.c: New file.
53947 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
53948 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
53949 For four parameters use innetgr.
53950 * nss/nss_files/files-init.c: Add definition and callback for netgr.
53951 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
53952 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
53953 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
53954
21fd49a9
UD
53955 * nscd/connections.c (register_traced_file): Don't register file
53956 for disabled databases.
53957
054c0457
UD
539582011-10-06 Ulrich Drepper <drepper@gmail.com>
53959
32b63198
UD
53960 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
53961
054c0457
UD
53962 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
53963 from tree and freeing node.
53964
64031225
JO
539652011-09-25 Jiri Olsa <jolsa@redhat.com>
53966
53967 * nss/nsswitch.c (__nss_database_lookup): Handle
53968 nss_parse_service_list out of memory case.
53969
0490345c
JO
539702011-09-15 Jiri Olsa <jolsa@redhat.com>
53971
53972 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
53973 out of memory case.
53974
3a62d00d
AS
539752011-10-04 Andreas Schwab <schwab@redhat.com>
53976
53977 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
53978 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
53979 pass it down.
53980 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
53981 elf_machine_rela, elf_machine_lazy_rel.
53982 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
53983 (ELF_DYNAMIC_DO_REL): Likewise.
53984 (ELF_DYNAMIC_DO_RELA): Likewise.
53985 (ELF_DYNAMIC_RELOCATE): Likewise.
53986 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
53987 to ELF_DYNAMIC_DO_REL.
53988 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
53989 (dl_main): In trace mode always set __RTLD_NOIFUNC.
53990 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
53991 elf_machine_rela.
53992 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
53993 skip_ifunc, don't call ifunc function if non-zero.
53994 (elf_machine_rela): Likewise.
53995 (elf_machine_lazy_rel): Likewise.
53996 (elf_machine_lazy_rela): Likewise.
53997 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
53998 (elf_machine_lazy_rel): Likewise.
53999 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
54000 Likewise.
54001 (elf_machine_lazy_rel): Likewise.
54002 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
54003 Likewise.
54004 (elf_machine_lazy_rel): Likewise.
54005 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
54006 (elf_machine_lazy_rel): Likewise.
54007 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
54008 (elf_machine_lazy_rel): Likewise.
54009 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
54010 (elf_machine_lazy_rel): Likewise.
54011 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
54012 (elf_machine_lazy_rel): Likewise.
54013 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
54014 (elf_machine_lazy_rel): Likewise.
54015 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
54016 (elf_machine_lazy_rel): Likewise.
54017
68577918
UD
540182011-09-28 Ulrich Drepper <drepper@gmail.com>
54019
54020 * nss/nss_files/files-init.c (_nss_files_init): Use static
54021 initialization for all the *_traced_file variables.
54022
68822d74
AS
540232011-09-28 Andreas Schwab <schwab@redhat.com>
54024
54025 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
54026
2056100b
RM
540272011-09-27 Roland McGrath <roland@hack.frob.com>
54028
54029 [BZ #13226]
54030 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
54031
32c76b63
AS
540322011-09-27 Andreas Schwab <schwab@redhat.com>
54033
54034 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
54035 Reread the line before reparsing it.
54036
bf972c9d
AS
540372011-09-26 Andreas Schwab <schwab@redhat.com>
54038
54039 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
54040
e057a1b5
JM
540412011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
54042 Maxim Kuvyrkov <maxim@codesourcery.com>
54043 Joseph Myers <joseph@codesourcery.com>
54044
54045 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
54046 if needed for __stack_chk_guard.
54047
bc7e1c36
RM
540482011-09-19 Roland McGrath <roland@hack.frob.com>
54049
ecb1482f
RM
54050 * sysdeps/posix/spawni.c (script_execute): Always define it.
54051 It will be optimized away if unused.
54052 (maybe_script_execute): New function.
54053 (__spawni): Call it.
54054
bc7e1c36
RM
54055 * Makerules: Don't include tls.make.
54056 (config-tls): Always set to thread.
54057 * tls.make.c: File removed.
54058
1c3b002b
MF
540592011-09-19 Mike Frysinger <vapier@gentoo.org>
54060
54061 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
54062 * config.make.in (CPPFLAGS-config): New substituted variable.
54063
2840865d
UD
540642011-09-15 Ulrich Drepper <drepper@gmail.com>
54065
88738eb6
UD
54066 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
54067
cbf645a6 54068 [BZ #13192]
2840865d
UD
54069 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
54070 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
54071
b402e91a
RM
540722011-09-15 Roland McGrath <roland@hack.frob.com>
54073
54074 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
54075 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
54076 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
54077 (CALL_FAIL): Likewise.
54078 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
54079 (CALL_FAIL): Macro removed.
54080 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
54081
4c1a1f71
UD
540822011-09-15 Ulrich Drepper <drepper@gmail.com>
54083
54084 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
54085 for __FINITE_MATH_ONLY__ == 1.
54086
edc121be
AS
540872011-09-15 Andreas Schwab <schwab@redhat.com>
54088
54089 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
54090 __ieee754_sqrt instead of sqrt.
54091 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
54092 __ieee754_sqrtf instead of sqrtf.
54093 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
54094 __floorf instead of floorf.
54095 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
54096 __floorf, __truncf instead of floorf, truncf.
54097
cd205654
UD
540982011-09-14 Ulrich Drepper <drepper@gmail.com>
54099
ee4d0315
UD
54100 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
54101
cd205654
UD
54102 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
54103 __extern_always_inline.
54104 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
54105 32-bit.
54106
48b67d71
AS
541072011-09-14 Andreas Schwab <schwab@redhat.com>
54108
54109 * elf/rtld.c (dl_main): Also relocate in dependency order when
54110 doing symbol dependency testing.
54111
1ae12c75
AS
541122011-09-13 Andreas Schwab <schwab@linux-m68k.org>
54113
54114 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
54115 Always define `refsym'.
54116
995a80df
AS
541172011-09-13 Andreas Schwab <schwab@redhat.com>
54118
e529793b
AS
54119 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
54120 (__FD_ELT): Renamed from __FDELT.
54121 * misc/bits/select2.h (__FD_ELT): Likewise.
54122 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
54123 __FD_MASK instead of __FDELT, __FDMASK.
54124 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
54125 Likewise.
54126 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
54127 Likewise.
54128
52d4fef8
AS
54129 * elf/Makefile (gen-ldd): Fix pattern.
54130
995a80df
AS
54131 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
54132 (init_tls): Likewise.
54133
8682f8b0
UD
541342011-09-12 Ulrich Drepper <drepper@gmail.com>
54135
54136 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
54137
de82006d
AS
541382011-09-12 Andreas Schwab <schwab@redhat.com>
54139
a7c8e6a1
AS
54140 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
54141 `struct cmsghdr *' instead of `void *'.
54142 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
54143 Likewise.
54144
0f31fe77
AS
541452011-09-11 Andreas Schwab <schwab@linux-m68k.org>
54146
54147 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
54148 if non-absolute.
54149 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
54150 ldd_rewrite_script.
0f31fe77 54151
32b4c839
UD
541522011-09-11 Ulrich Drepper <drepper@gmail.com>
54153
83cd1420
UD
54154 * configure.in: Remove --with-tls option.
54155 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
54156 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
54157 out in case it is missing.
54158 * sysdeps/ia64/elf/configure.in: Likewise.
54159 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
54160 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
54161 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
54162 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
54163 * sysdeps/sh/elf/configure.in: Likewise.
54164 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
54165 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
54166 * sysdeps/x86_64/elf/configure.in: Likewise.
54167 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
54168 * sysdeps/mach/hurd/tls.h: Likewise.
54169
633f745d
UD
54170 [BZ #13067]
54171 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
54172
f318beb8
UD
54173 [BZ #13090]
54174 * configure.in: Fix use of AC_INIT.
54175
32b4c839
UD
54176 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
54177
3ce1f295
UD
541782011-09-10 Ulrich Drepper <drepper@gmail.com>
54179
bb016596
UD
54180 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
54181 __set_errno.
8e58439c
UD
54182 * malloc/hooks.c: Likewise.
54183
aebae053 54184 [BZ #11929]
02d46fc4
UD
54185 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
54186 variables statically.
54187 (narenas): Initialize.
54188 (list_lock): Initialize.
bb016596
UD
54189 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
54190 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
54191 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
54192 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
54193 Add initializers to main_arena and mp_.
54194 (malloc_state): Remove pagesize member. Change all users to use
54195 GLRO(dl_pagesize).
54196
54197 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
54198 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
54199 is always initialized.
54200
22a89187
UD
54201 * malloc/malloc.c: Removed unused configurations and dead code.
54202 * malloc/arena.c: Likewise.
54203 * malloc/hooks.c: Likewise.
02d46fc4 54204 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 54205
d063d164
UD
54206 * include/tls.h: Removed. USE___THREAD must always be defined.
54207 * bits/libc-tsd.h: Don't handle !USE___THREAD.
54208 * elf/dl-libc.c: Likewise.
54209 * elf/dl-tsd.c: Likewise.
54210 * include/errno.h: Likewise.
54211 * include/netdb.h: Likewise.
54212 * include/resolv.h: Likewise.
54213 * inet/herrno-loc.c: Likewise.
54214 * inet/herrno.c: Likewise.
54215 * malloc/arena.c: Likewise.
54216 * malloc/hooks.c: Likewise.
54217 * malloc/malloc.c: Likewise.
54218 * resolv/res-state.c: Likewise.
54219 * resolv/res_libc.c: Likewise.
54220 * sysdeps/i386/dl-machine.h: Likewise.
54221 * sysdeps/ia64/dl-machine.h: Likewise.
54222 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
54223 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
54224 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
54225 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
54226 * sysdeps/sh/dl-machine.h: Likewise.
54227 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
54228 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
54229 * sysdeps/unix/i386/sysdep.S: Likewise.
54230 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
54231 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
54232 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
54233 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
54234 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
54235 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
54236 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
54237 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
54238 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
54239 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
54240 * sysdeps/unix/x86_64/sysdep.S: Likewise.
54241 * sysdeps/x86_64/dl-machine.h: Likewise.
54242 * tls.make.c: Likewise.
54243
3ce1f295
UD
54244 * configure.in: Remove --with-__thread option. Make tests for
54245 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
54246 tls_model attribute fail if no support is available. Remove
54247 USE_IN_LIBIO.
54248 * Makeconfig: Adjust for dropped configure option. All features are
54249 now mandatory.
54250 * Makerules: Likewise.
54251 * Versions.def: Likewise.
54252 * argp/argp-fmtstream.c: Likewise.
54253 * argp/argp-fmtstream.h: Likewise.
54254 * argp/argp-help.c: Likewise.
54255 * assert/assert.c: Likewise.
54256 * config.h.in: Likewise.
54257 * config.make.in: Likewise.
54258 * configure: Likewise.
54259 * configure.in: Likewise.
54260 * csu/Versions: Likewise.
54261 * csu/init.c: Likewise.
54262 * elf/tst-audit2.c: Likewise.
54263 * elf/tst-tls10.c: Likewise.
54264 * elf/tst-tls10.h: Likewise.
54265 * elf/tst-tls11.c: Likewise.
54266 * elf/tst-tls12.c: Likewise.
54267 * elf/tst-tls14.c: Likewise.
54268 * elf/tst-tlsmod11.c: Likewise.
54269 * elf/tst-tlsmod12.c: Likewise.
54270 * elf/tst-tlsmod13.c: Likewise.
54271 * elf/tst-tlsmod13a.c: Likewise.
54272 * elf/tst-tlsmod14a.c: Likewise.
54273 * elf/tst-tlsmod15b.c: Likewise.
54274 * elf/tst-tlsmod16a.c: Likewise.
54275 * elf/tst-tlsmod16b.c: Likewise.
54276 * elf/tst-tlsmod7.c: Likewise.
54277 * elf/tst-tlsmod8.c: Likewise.
54278 * elf/tst-tlsmod9.c: Likewise.
54279 * gmon/gmon.c: Likewise.
54280 * grp/fgetgrent_r.c: Likewise.
54281 * grp/putgrent.c: Likewise.
54282 * hurd/fopenport.c: Likewise.
54283 * include/libc-symbols.h: Likewise.
54284 * include/tls.h: Likewise.
54285 * intl/gettextP.h: Likewise.
54286 * intl/loadinfo.h: Likewise.
54287 * locale/global-locale.c: Likewise.
54288 * locale/localeinfo.h: Likewise.
54289 * mach/devstream.c: Likewise.
54290 * malloc/arena.c: Likewise.
54291 * malloc/set-freeres.c: Likewise.
54292 * misc/err.c: Likewise.
54293 * misc/getttyent.c: Likewise.
54294 * misc/mntent_r.c: Likewise.
54295 * posix/getopt.c: Likewise.
54296 * posix/wordexp.c: Likewise.
54297 * pwd/fgetpwent_r.c: Likewise.
54298 * resolv/Versions: Likewise.
54299 * resolv/res_hconf.c: Likewise.
54300 * shadow/fgetspent_r.c: Likewise.
54301 * shadow/putspent.c: Likewise.
54302 * stdio-common/printf_fphex.c: Likewise.
54303 * stdio-common/tmpfile.c: Likewise.
54304 * stdlib/abort.c: Likewise.
54305 * stdlib/fmtmsg.c: Likewise.
54306 * sunrpc/auth_unix.c: Likewise.
54307 * sunrpc/clnt_perr.c: Likewise.
54308 * sunrpc/clnt_tcp.c: Likewise.
54309 * sunrpc/clnt_udp.c: Likewise.
54310 * sunrpc/clnt_unix.c: Likewise.
54311 * sunrpc/openchild.c: Likewise.
54312 * sunrpc/svc_simple.c: Likewise.
54313 * sunrpc/svc_tcp.c: Likewise.
54314 * sunrpc/svc_udp.c: Likewise.
54315 * sunrpc/svc_unix.c: Likewise.
54316 * sunrpc/xdr.c: Likewise.
54317 * sunrpc/xdr_array.c: Likewise.
54318 * sunrpc/xdr_rec.c: Likewise.
54319 * sunrpc/xdr_ref.c: Likewise.
54320 * sunrpc/xdr_stdio.c: Likewise.
54321
1248c1c4
PB
543222011-09-09 Ulrich Drepper <drepper@gmail.com>
54323
54324 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
54325
543262011-07-03 Andreas Jaeger <aj@suse.de>
54327
54328 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
54329 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
54330 regenerate with gen-libm-tests.pl.
54331
543322010-05-12 Petr Baudis <pasky@suse.cz>
54333
54334 [BZ #11589]
54335 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
54336 around j0() zero points by switching to j1().
54337 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
54338 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
54339 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
54340 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
54341
f22e1074
UD
543422011-09-09 Ulrich Drepper <drepper@gmail.com>
54343
f19009c1
UD
54344 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
54345 instead of 0.
54346 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 54347 instead of 0.
f19009c1
UD
54348 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
54349 Patch in part by Pavel Roskin <proski@gnu.org>.
54350
3f8cc204
UD
54351 [BZ #13138]
54352 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
54353 realloc.
54354 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
54355 Free memory block if necessary.
54356
f22e1074
UD
54357 [BZ #12847]
54358 * libio/genops.c (INTDEF): For string streams the _lock pointer can
54359 be NULL. Don't lock in this case.
54360
0a2349f9
RM
543612011-09-09 Roland McGrath <roland@hack.frob.com>
54362
54363 * elf/elf.h (ELFOSABI_GNU): New macro.
54364 (ELFOSABI_LINUX): Define to that.
54365
f3cdd467
DZ
543662011-07-29 Denis Zaitceff <zaitceff@gmail.com>
54367
54368 * string/strncat.c (strncat): Undef the symbol in case it has been
54369 defined in bits/string.h.
54370
74718d13
UD
543712011-09-09 Ulrich Drepper <drepper@gmail.com>
54372
633e9e0f
UD
54373 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
54374
0a2349f9 54375 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
54376 link map.
54377
f9924780
AJ
543782011-08-17 Andreas Jaeger <aj@suse.de>
54379
54380 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
54381
7f5517aa
PP
543822011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
54383 Ian Lance Taylor <iant@google.com>
54384
54385 * math/libm-test.inc (lround_test): New testcase.
54386 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
54387
762011fe
UD
543882011-09-08 Ulrich Drepper <drepper@gmail.com>
54389
92963737
UD
54390 * Makefile: Remove support for automatic cvs check-ins.
54391 * Makerules: Likewise.
54392 * config.make.in: Likewise.
54393 * configure.in: Likewise.
54394 * intl/Makefile: Likewise.
54395 * locale/Makefile: Likewise.
54396 * po/Makefile: Likewise.
54397 * posix/Makefile: Likewise.
54398 * sysdeps/gnu/Makefile: Likewise.
54399 * sysdeps/mach/hurd/Makefile: Likewise.
54400 * sysdeps/sparc/sparc32/Makefile: Likewise.
54401
b0727fd8
JS
54402 [BZ #13118]
54403 * posix/Makefile (bug-regex32-ENV): Define.
54404 Patch by John Stanley <jpsinthemix@verizon.net>.
54405
a0f33f99
UD
54406 * misc/Makefile (headers): Add bits/select2.h.
54407 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
54408 * misc/bits/select2.h: New file.
54409 * include/bits/select2.h: New file.
54410 * debug/Makefile (routines): Add fdelt_chk.
54411 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
54412 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
54413 FD_ISSET.
54414 * debug/fdelt_chk.c: New file.
54415
762011fe
UD
54416 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
54417 * wcsmbs/test-wmemcmp.c: Likewise.
54418 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 54419 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
54420
544212011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54422
54423 * string/Makefile (strop-tests): Add memcmp.
54424 * string/test-wmemcmp.c: New file.
54425 * string/test-memcmp.c: Add wmemcmp support.
54426
7f513ec8
RM
544272011-09-08 Roland McGrath <roland@hack.frob.com>
54428
0442afb4
RM
54429 [BZ #13153]
54430 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
54431 2011-07-19 change.
54432
7f513ec8
RM
54433 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
54434 garbage value in a __mach_port_mod_refs call in the cases of the
54435 task-self and thread-self ports.
54436
a12b2239
ST
544372011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
54438
54439 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
54440
610f9ab4
AS
544412011-09-08 Andreas Schwab <schwab@redhat.com>
54442
7f513ec8 54443 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 54444
48882a1a
LD
544452011-09-07 Ulrich Drepper <drepper@gmail.com>
54446
b49865be
UD
54447 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
54448
fdc86bc9
UD
54449 * elf/dl-libc.c (dlerror_run): Pass back error code from
54450 dl_catch_error.
54451
c966526a
UD
54452 [BZ #13123]
54453 * elf/dl-load.c (lose): Free l_origin if it is valid.
54454
48882a1a
LD
54455 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
54456 names.
54457 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
54458 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
54459 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
54460 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
54461 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
54462 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
54463
77a2a8b4
AZ
544642011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54465
54466 * sysdeps/powerpc/fpu/e_hypot.c: New file.
54467 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
54468 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
54469 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
54470 * sysdeps/powerpc/fpu/k_cosf.c: New file.
54471 * sysdeps/powerpc/fpu/k_sinf.c: New file.
54472 * sysdeps/powerpc/fpu/s_cosf.c: New file.
54473 * sysdeps/powerpc/fpu/s_sinf.c: New file.
54474 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
54475 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
54476
24f579d8
AM
544772011-08-15 Alan Modra <amodra@gmail.com>
54478
54479 [BZ #13092]
54480 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
54481 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
54482 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
54483 ppc_mcount to static-only-routines.
54484 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
54485 __mcount_internal.
54486 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
54487 __mcount_internal with usual JUMPTARGET. Remove useless nop.
54488
3d4837df
UD
544892011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
54490
54491 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
54492 for finite and infinity parameters.
54493
22700377
WS
544942011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
54495
54496 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
54497 and add nop instructions for throughput optimization.
54498 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
54499
5025581e
WS
545002011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
54501
54502 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
54503 aligned copy for power7 with vector-scalar instructions.
54504 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
54505
08a300c9
L
545062011-07-24 H.J. Lu <hongjiu.lu@intel.com>
54507
54508 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
54509 AVX check.
54510
59178ef9
AS
545112011-09-07 Andreas Schwab <schwab@redhat.com>
54512
54513 [BZ #13144]
54514 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
54515 last change.
54516
e38ba7ab
UD
545172011-09-07 Ulrich Drepper <drepper@gmail.com>
54518
54519 * sysdeps/unix/sysv/linux/x86_64/init-first.c
54520 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
54521 syscall wrapper around clock_gettime in __vdso_clock_gettime.
54522 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
54523 clock_gettime.
54524
d53a73ac
UD
545252011-09-06 Ulrich Drepper <drepper@gmail.com>
54526
fc8bffcc
UD
54527 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
54528 Forgot to demangle the pointer.
54529
ceaa0c5d
UD
54530 * sysdeps/i386/sysdep.h: Define atom_text_section.
54531 * sysdeps/x86_64/sysdep.h: Likewise.
54532 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
54533 section with atom_text_section.
54534 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
54535 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
54536 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
54537 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
54538 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
54539
a77d3c17
UD
54540 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
54541 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
54542 already be defined. Change to take two parameters and don't assign
54543 result to variable. Adjust all users.
54544 Define INTERNAL_GETTIME if not already defined.
54545 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
54546 call.
54547 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
54548 HAVE_CLOCK_GETTIME_VSYSCALL.
54549 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
54550
d53a73ac
UD
54551 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
54552 gettimeofday vsyscall, just use time.
54553
a8f84144
AS
545542011-09-06 Andreas Schwab <schwab@redhat.com>
54555
54556 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
54557 <errno.h>.
54558
ef606249
UD
545592011-09-06 Ulrich Drepper <drepper@gmail.com>
54560
54561 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
54562 syscall on x86-64.
54563 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
54564 syscall.
54565 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
54566 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
54567 syscall if possible.
54568
6585cb60
UD
545692011-09-05 Ulrich Drepper <drepper@gmail.com>
54570
54571 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
54572 e_ident. Don't pass to find_mapsXX.
54573 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
54574
a5f524e4
LD
545752011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54576
54577 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54578 strchr-sse2-no-bsf strrchr-sse2-no-bsf
54579 * sysdeps/x86_64/multiarch/strchr.S: Update.
54580 Check bit_slow_BSF bit.
54581 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
54582 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
54583 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
54584
554881ef
UD
545852011-09-05 Ulrich Drepper <drepper@gmail.com>
54586
d96de963
UD
54587 [BZ #13134]
54588 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
54589 before glibc 2.15.
54590 (tryshell): Define.
54591 (__spawni): Change last parameter to be flag. Test
54592 SPAWN_XFLAGS_USE_PATH flag to use path or not.
54593 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
54594 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
54595 * posix/spawni.c: Likewise.
54596 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
54597 * posix/spawnp.c: Likewise. Change normal version to use
54598 SPAWN_XFLAGS_USE_PATH.
54599 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
54600 SPAWN_XFLAGS_TRY_SHELL.
54601
d48e5868
UD
54602 [BZ #13150]
54603 * posix/glob.h: Remove gcc 1.x support.
54604
554881ef
UD
54605 [BZ #13068]
54606 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
54607
693fb948
LD
546082011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54609
54610 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54611 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
54612 strrchr-sse2-bsf
54613 * sysdeps/i386/i686/multiarch/strchr.S: New file.
54614 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
54615 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
54616 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
54617 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
54618 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
54619
1b48c537
UD
546202011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54621
49d42c37
UD
54622 * sysdeps/x86_64/wcscmp.S: New file.
54623
1b48c537
UD
54624 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
54625 wcscmp-c wcscmp-sse2
54626 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
54627 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
54628 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
54629 * wcsmbs/wcscmp.c: Allow renaming.
54630
15c95c5d
DM
546312011-09-05 David S. Miller <davem@davemloft.net>
54632
54633 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
54634 stack slot, rather than the struct return pointer slot.
54635 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
54636 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
54637 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
54638 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
54639
2f0ad8f3
UD
546402011-09-05 Ulrich Drepper <drepper@gmail.com>
54641
d88ae418
UD
54642 * po/ja.po: Update from translation team.
54643
2f0ad8f3
UD
54644 [BZ #13144]
54645 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
54646 kernel in 64-bit binaries.
54647
5f4318d1
DM
546482011-09-01 David S. Miller <davem@davemloft.net>
54649
54650 * elf/elf.h (HWCAP_SPARC_*): Move to..
54651 * sysdeps/sparc/sysdep.h: this new file and add new values.
54652 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
54653 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
54654 _DL_HWCAP_COUNT to 24.
54655 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
54656 entries.
54657 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
54658 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
54659 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
54660 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
54661 instead of magic constants.
54662 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
54663
3ba57516
DM
546642011-08-31 David S. Miller <davem@davemloft.net>
54665
54666 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
54667 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
54668 Reimplement to do errno handling inline.
54669 (SYSCALL_ERROR_HANDLER): New macro.
54670 (__SYSCALL_STRING): Do not do errno handling in asm.
54671 (__CLONE_SYSCALL_STRING): Delete.
54672 (__INTERNAL_SYSCALL_STRING): Delete.
54673 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
54674 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
54675 (PSEUDO): Reimplement to do errno handling inline.
54676 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
54677 (SYSCALL_ERROR_HANDLER): New macro.
54678 (__SYSCALL_STRING): Do not do errno handling in asm.
54679 (__CLONE_SYSCALL_STRING): Delete.
54680 (__INTERNAL_SYSCALL_STRING): Delete.
54681 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
54682 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
54683 i386.
54684 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
54685 (inline_syscall*): Add 'err' argument.
54686 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
54687 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
54688 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
54689 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
54690
54691 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
54692 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
54693
2bc17433
AS
546942011-08-30 Andreas Schwab <schwab@redhat.com>
54695
54696 * elf/rtld.c (dl_main): Relocate objects in dependency order.
54697
fbeb5f4d
JO
546982011-08-29 Jiri Olsa <jolsa@redhat.com>
54699
54700 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
54701 directive.
54702
ad69cc26
DM
547032011-08-24 David S. Miller <davem@davemloft.net>
54704
54705 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
54706
39dd69df
AS
547072011-08-24 Andreas Schwab <schwab@redhat.com>
54708
54709 * elf/Makefile: Add rules to build and run unload8 test.
54710 * elf/unload8.c: New file.
54711 * elf/unload8mod1.c: New file.
54712 * elf/unload8mod1x.c: New file.
54713 * elf/unload8mod2.c: New file.
54714 * elf/unload8mod3.c: New file.
54715
54716 * elf/dl-close.c (_dl_close_worker): Reset private search list if
54717 it wasn't used.
54718
2c0b250a
DM
547192011-08-23 David S. Miller <davem@davemloft.net>
54720
54721 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
54722 subtract stack bias.
54723 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
54724 %sp not %fp in calculations.
54725 (_JMPBUF_UNWINDS_ADJ): Likewise.
54726
22044b48
DM
54727 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
54728 (aio_suspend): Call it to force an exception region around the
54729 AIO_MISC_WAIT() invocation.
54730
2cae4995
AS
547312011-08-23 Andreas Schwab <schwab@redhat.com>
54732
54733 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
54734 backslash.
54735
873a772e
AJ
547362011-07-04 Aurelien Jarno <aurelien@aurel32.net>
54737
54738 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
54739 protection macro.
54740 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
54741 and <dl-machine.h>.
54742 (Elf64_FuncDesc): Remove.
54743
25ad0df1
DM
547442011-08-22 David S. Miller <davem@davemloft.net>
54745
54746 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
54747 sigaltstack check, add missing cfi directives.
54748 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
54749 missing cfi directives, and sigaltstack handling.
54750
e888bcbe
AS
547512011-08-16 Andreas Schwab <schwab@redhat.com>
54752
54753 [BZ #11724]
54754 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
54755 object is seen twice.
54756 * elf/dl-fini.c (_dl_sort_fini): Likewise.
54757
54758 * elf/Makefile (distribute): Add tst-initorder2.c.
54759 (tests): Add tst-initorder2.
54760 (modules-names): Add tst-initorder2a tst-initorder2b
54761 tst-initorder2c tst-initorder2d. Add rules to build them.
54762 ($(objpfx)tst-initorder2.out): New rule.
54763 * elf/tst-initorder2.c: New file.
54764 * elf/tst-initorder2.exp: New file.
54765
87162f46
AS
547662011-08-22 Andreas Schwab <schwab@redhat.com>
54767
70538b7f
AS
54768 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
54769
f55ffe58
AS
54770 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
54771 dependencies back to end of function.
54772
87162f46
AS
54773 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
54774 $(elfobjdir)/ld.so.
54775
91b392a4
UD
547762011-08-21 Ulrich Drepper <drepper@gmail.com>
54777
54778 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
54779 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
54780 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
54781 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
54782 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
54783 of __vdso_gettimeofday.
54784 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
54785 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
54786 attribute_hidden.
54787 (_libc_vdso_platform_setup): Remove initialization of
54788 __vdso_gettimeofday and __vdso_time.
54789
5c43483f
UD
547902011-08-20 Ulrich Drepper <drepper@gmail.com>
54791
775a77e7
UD
54792 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
54793 and fgetc_unlocked.
54794 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
54795 getc_unlocked.
89f447ed 54796
49c74ba9
UD
54797 * elf/dl-open.c (add_to_global): Report additions to the global scope
54798 for LD_DEBUG=scopes.
54799 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 54800 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 54801
5c43483f
UD
54802 [BZ #13114]
54803 * stdio-common/Makefile (tests): Add bug24.
54804 * stdio-common/bug24.c: New file.
54805
a101b025
AJ
548062011-08-19 Andreas Jaeger <aj@suse.de>
54807
54808 [BZ #13114]
54809 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
54810 non-existant file when using close-on-exec mode.
54811
c88f1766
UD
548122011-08-20 Ulrich Drepper <drepper@gmail.com>
54813
0276a718
UD
54814 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
54815 the very first instruction.
54816
c88f1766
UD
54817 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
54818 the CFI state in the end.
54819 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
54820 inclusion of dl-trampoline.h.
54821 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
54822
51ccffa0
AS
548232011-08-19 Andreas Schwab <schwab@redhat.com>
54824
94d7165f
AS
54825 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
54826 expectations for long double.
54827
51ccffa0
AS
54828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
54829 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
54830
fd708658 548312011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
54832
54833 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
54834 artificual limit depends upon the system page size.
54835
44f0a71e
UD
548362011-08-17 Ulrich Drepper <drepper@gmail.com>
54837
54838 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
54839 * resolv/Makefile: Define CFLAGS-libresolv.
54840
8de79a24
AS
548412011-08-17 Andreas Schwab <schwab@redhat.com>
54842
54843 * nss/makedb.c (compute_tables): Make variables used in nested
54844 function static.
54845
27724598
UD
548462011-08-17 Ulrich Drepper <drepper@gmail.com>
54847
c5305d88
UD
54848 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
54849 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
54850 if buffer was too small.
54851
27724598
UD
54852 * elf/pldd.c (main): Attach to all threads in the process.
54853 Rewrite /proc handling to use *at functions.
54854
076fe015
UD
548552011-08-16 Ulrich Drepper <drepper@gmail.com>
54856
174baab3
UD
54857 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
54858 specifies first scope to show.
54859 (dl_open_worker): Update callers. Move printing scope of new
54860 object to before the relocation.
44f0a71e 54861 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
54862 * sysdeps/generic/ldsodefs.h: Update declaration.
54863
076fe015
UD
54864 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
54865 string for the scope number.
54866
a60df2c3
UD
548672011-08-14 Ulrich Drepper <drepper@gmail.com>
54868
54869 * nscd/servicescache.c (cache_addserv): Make sure written is always
54870 initialized.
54871
5e4287d1
RM
548722011-08-14 Roland McGrath <roland@hack.frob.com>
54873
85ae0589
RM
54874 * sysdeps/i386/i486/bits/atomic.h
54875 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
54876 statement expression, so as to suppress "set but not used" warning.
54877 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
54878
69f63097
RM
54879 * string/strncat.c (STRNCAT): Use prototype definition.
54880
675456ef
RM
54881 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
54882 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
54883 -Iprograms here.
54884 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
54885 (localedef-modules): Add localedef.
54886 (locale-modules): Add locale.
54887
5e4287d1
RM
54888 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
54889 * elf/rtld.c (dl_main): Invert order of assignment in last change,
54890 to avoid a warning.
54891
9c96ff23
DM
548922011-08-14 David S. Miller <davem@davemloft.net>
54893
54894 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
54895 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
54896
f9ddf089
UD
548972011-08-13 Ulrich Drepper <drepper@gmail.com>
54898
44f0a71e 54899 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
54900 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
54901 * elf/rtld.c (dl_main): Set l_name of vDSO.
54902 Call _dl_show_scope when DL_DEBUG_SCOPES.
54903 (process_dl_debug): Recognize scopes flag and also set it for all.
54904 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
54905 Declare _dl_show_scope.
54906
1dc27704
UD
54907 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
54908 (do_dlopen): Pass caller_dlopen to dl_open.
54909 (__libc_dlopen_mode): Initialize caller_dlopen.
54910
f9ddf089
UD
54911 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
54912 of libc. Make tolower call locale-independent. Optimize a bit by
54913 using isdigit instead of isalnum.
54914 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
54915
9ac533d3
UD
549162011-08-12 Ulrich Drepper <drepper@gmail.com>
54917
54918 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
54919 was a dependency or dynamically loaded.
54920
89edf2e9
UD
549212011-08-11 Ulrich Drepper <drepper@gmail.com>
54922
8e999d29
UD
54923 * intl/l10nflist.c: Allow architecture-specific pop function.
54924 * sysdeps/x86_64/l10nflist.c: New file.
54925
89edf2e9
UD
54926 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
54927 classification.
54928
14d96785
AS
549292011-08-10 Andreas Schwab <schwab@redhat.com>
54930
54931 * include/dirent.h: Add libc_hidden_proto for scandirat and
54932 scandirat64. Don't declare __scandirat64.
54933 * dirent/scandirat.c: Add libc_hidden_def.
54934 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
54935 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
54936
6761ac04
DM
549372011-08-10 David S. Miller <davem@davemloft.net>
54938
54939 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
54940 enum.
54941 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
54942 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
54943 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
54944
c55fbd1e
UD
549452011-08-09 Ulrich Drepper <drepper@gmail.com>
54946
54947 * Versions.def [libc]: Add GLIBC_2.15.
54948 * dirent/Makefile (routines): Add scandirat and scandirat64.
54949 * dirent/Versions [libc]: Export scandirat and scandirat64 for
54950 GLIBC_2.15.
54951 * dirent/dirent.h: Declare scandirat and scandirat64.
54952 * dirent/scandirat.c: New file.
54953 * dirent/scandirat64.c: New file.
54954 * sysdeps/wordsize-64/scandirat.c: New file.
54955 * sysdeps/wordsize-64/scandirat64.c: New file.
54956 * dirent/opendir.c: Define opendirat.
54957 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
54958 using scandirat.
54959 * dirent/scandir64.c: Adjust for scandir.c change.
54960 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
54961 __scandirat64, and __scandir_cancel_handler.
54962 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
54963 additional parameter and use openat instead of open (outside of ld.so).
54964 Add new __opendir as wrapper around __opendirat.
54965 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
54966 here without requiring old scandirat implementation.
54967
879165f2
UD
549682011-08-08 Ulrich Drepper <drepper@gmail.com>
54969
54970 * dirent/scandir.c (cancel_handler): Renamed to
54971 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
54972 defined. Adjust users.
54973 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
54974 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
54975
cb7e923b
UD
549762011-08-04 Ulrich Drepper <drepper@gmail.com>
54977
16292edd
UD
54978 * string/test-string.h (IMPL): Use __STRING to expand name and then
54979 stringify it.
54980
cb7e923b
UD
54981 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
54982 of cleanups.
54983
cff82933
LD
549842011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54985
54986 * string/Makefile: Update.
54987 (strop-tests): Append strncat.
54988 * string/test-wcscmp.c: New file.
54989 New comprehensive test for wcscmp.
54990 * string/test-strcmp.c: Update.
54991 (WIDE): New define.
54992
9be9bfcc
AS
549932011-07-22 Andreas Schwab <schwab@redhat.com>
54994
54995 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
54996 line.
54997
2e96f1c7
AS
549982011-07-26 Andreas Schwab <schwab@redhat.com>
54999
55000 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
55001 encoding to ACE if AI_IDN.
55002
85188888
JJ
550032011-08-01 Jakub Jelinek <jakub@redhat.com>
55004
55005 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
55006 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
55007
5fa16e9b
LD
550082011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
55009
55010 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
55011 Fix overflow bug in strncat.
55012 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
55013
55014 * string/test-strncat.c: Update.
55015 Add new tests for checking overflow bugs.
55016
550172011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
55018
55019 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55020 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
55021 * sysdeps/i386/i686/multiarch/strcat.S: New file.
55022 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
55023 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
55024 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
55025 * sysdeps/i386/i686/multiarch/strncat.S: New file.
55026 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
55027 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
55028
55029 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
55030 (USE_AS_STRCAT): Define.
55031 Add strcat and strncat support.
55032 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
55033
8c1a459f
AS
550342011-07-25 Andreas Schwab <schwab@redhat.com>
55035
55036 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
55037 __n bigger than INT_MAX+1.
55038 (__strncmp_g): Likewise.
55039
bba33c28
UD
550402011-07-23 Ulrich Drepper <drepper@gmail.com>
55041
798be72d
UD
55042 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
55043 * libio/stido.h: Likewise.
55044
8accd4dc
UD
55045 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
55046 (AF_NFC): Define.
55047 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
55048 (AF_NFC): Define.
55049
cbff0d96
UD
55050 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
55051 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
55052 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
55053 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
55054 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
55055
9191c04a
UD
55056 [BZ #13021]
55057 * scripts/test-installation.pl: Don't expect libnss_test1 to be
55058 installed.
55059
bba33c28
UD
55060 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
55061 typo.
55062 (_dl_x86_64_save_sse): Likewise.
55063
90f139dd
UD
550642011-07-22 Ulrich Drepper <drepper@gmail.com>
55065
1aae088a
UD
55066 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
55067 OSXSAVE.
55068 (_dl_x86_64_save_sse): Likewise.
55069
8e2045f5
UD
55070 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
55071
90f139dd
UD
55072 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
55073
1d002f25
AS
550742011-07-21 Andreas Schwab <schwab@redhat.com>
55075
55076 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
55077 change.
55078 (_dl_x86_64_save_sse): Use correct AVX check.
55079
21137f89
UD
550802011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55081
55082 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
55083 bug in strncpy/strncat.
55084 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
55085
a65c0b7a
UD
550862011-07-21 Ulrich Drepper <drepper@gmail.com>
55087
55088 * string/tester.c (test_strcat): Add tests for different alignments
55089 of source and destination.
55090 (test_strncat): Likewise.
55091
6986b98a
UD
550922011-07-20 Ulrich Drepper <drepper@gmail.com>
55093
90bb2039
UD
55094 [BZ #12852]
55095 * posix/glob.c (glob): Check passed in values before using them in
55096 expressions to avoid some overflows.
55097 (glob_in_dir): Likewise.
55098
5644ef54
UD
55099 [BZ #13007]
55100 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
55101 check for AVX enablement so that we don't crash with old kernels and
55102 new hardware.
55103 * elf/tst-audit4.c: Add same checks here.
55104 * elf/tst-audit6.c: Likewise.
55105
55106 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 55107
bfc9dc9b
AS
551082011-07-09 Andreas Schwab <schwab@linux-m68k.org>
55109
55110 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
55111
702e64bb
UD
551122011-07-20 Ulrich Drepper <drepper@gmail.com>
55113
55114 * po/cs.po: Update from translation team.
55115 * po/bg.po: Likewise.
55116
295e904f
MP
551172011-07-12 Marek Polacek <mpolacek@redhat.com>
55118
55119 * misc/sys/cdefs.h: Add support for const attribute.
55120 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
55121 to gnu_dev_{major,minor,makedev} functions.
55122
3ff94596
MP
551232011-07-20 Marek Polacek <mpolacek@redhat.com>
55124
55125 * intl/dcigettext.c (get_output_charset): Add missing bracket.
55126
28b59fca
AS
551272011-07-20 Andreas Schwab <schwab@redhat.com>
55128
55129 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
55130 strlen results.
55131
19df733e
AK
551322011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55133
55134 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
55135 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
55136 register in order to avoid conflicts with the soft frame pointer
55137 being held in r11 when necessary.
55138 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
55139 (INTERNAL_VSYSCALL_NCS): Likewise.
55140
c8835729
MP
551412011-07-14 Marek Polacek <mpolacek@redhat.com>
55142
55143 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
55144 * elf/dl-fini.c (_dl_fini): Adjust caller.
55145 * elf/dl-close.c (_dl_close_worker): Likewise.
55146 * sysdeps/generic/ldsodefs.h: Adjust declaration.
55147
b902330c
MP
551482011-07-15 Marek Polacek <mpolacek@redhat.com>
55149
8991e135
MP
55150 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
55151 "aux_cache->nlibs < 0".
55152
b902330c
MP
55153 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
55154 in the reload-count case.
55155
99710781
LD
551562011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
55157
55158 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55159 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
55160 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
55161 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
55162 * sysdeps/x86_64/multiarch/strcat.S: New file.
55163 * sysdeps/x86_64/multiarch/strncat.S: New file.
55164 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
55165 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
55166 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
55167 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
55168 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
55169 (USE_AS_STRCAT): Define.
55170 Add strcat and strncat support.
55171 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
55172 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
55173 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
55174 * string/strncat.c: Update.
55175 (USE_AS_STRNCAT): Define.
55176 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55177 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
55178 and i7.
55179 * sysdeps/x86_64/multiarch/init-arch.h
55180 (bit_Prefer_PMINUB_for_stringop): New.
55181 (index_Prefer_PMINUB_for_stringop): Likewise.
55182 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
55183 bit_Prefer_PMINUB_for_stringop.
55184
7dc6bd90
UD
551852011-07-19 Ulrich Drepper <drepper@gmail.com>
55186
55187 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
55188 buffer64.
55189 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
55190 of casting of buffer.
55191 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
55192 buffer32 and buffer64.
55193 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
55194 writes instead of casting of buffer.
55195 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
55196 buffer32.
55197 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
55198 casting of buffer.
55199
e0e72284
AS
552002011-07-19 Andreas Schwab <schwab@redhat.com>
55201
55202 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
55203
feb1eb0b
UD
552042011-07-19 Ulrich Drepper <drepper@gmail.com>
55205
55206 * nscd/nscd.c (termination_handler): Don't do anything for a database
55207 if it has not yet been initialized.
55208
298711ff
UD
552092011-07-18 Ulrich Drepper <drepper@gmail.com>
55210
55211 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
55212
552132011-07-15 Marek Polacek <mpolacek@redhat.com>
55214
55215 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
55216
f9d68389
UD
552172011-07-18 Ulrich Drepper <drepper@gmail.com>
55218
55219 * po/nl.po: Update from translation team.
55220 * po/sv.po: Likewise.
55221
db290cf5
RM
552222011-07-16 Roland McGrath <roland@hack.frob.com>
55223
55224 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
55225 now disallowed by GCC.
5c550700 55226
fd5e21c7
RM
55227 * configure.in (use-default-link): Default to yes if a test -shared
55228 link meets our qualifications.
55229 * configure: Regenerated.
55230
5c550700
RM
55231 * config.make.in (output-format): New variable.
55232 * configure.in: Check for ld --print-output-format support.
55233 * configure: Regenerated.
55234 * Makerules ($(common-objpfx)format.lds)
55235 [$(output-format) != unknown]: Just use $(output-format),
55236 instead of the linker-script munging.
55237
9fa2c032
RM
552382011-07-14 Roland McGrath <roland@hack.frob.com>
55239
a6928d51
RM
55240 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
55241 of $(common-objpfx)shlib.lds.
55242 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
55243
661607b3
RM
55244 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
55245 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
55246
9fa2c032
RM
55247 * configure.in (-z relro check): Adjust test code to add a large
55248 writable data section after it.
55249 * configure: Regenerated.
55250
defe9061
RM
552512011-07-11 Roland McGrath <roland@hack.frob.com>
55252
55253 * configure.in (-z relro check): Fix test code to make the variable
55254 truly const.
55255 * configure: Regenerated.
55256
319b9ad4
UD
552572011-07-11 Ulrich Drepper <drepper@gmail.com>
55258
55259 * nscd/nscd.h (struct traced_file): Define.
55260 (struct database_dyn): Remove inotify_descr, reset_res, and filename
55261 elements. Add traced_files.
55262 (inotify_fd): Declare.
55263 (register_traced_file): Declare.
55264 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
55265 (inotify_fd): Export.
55266 (resolv_conf_descr): Remove.
55267 (nscd_init): Move inotify descriptor creation to main.
55268 Don't register files for notification here.
55269 (register_traced_file): New function.
55270 (invalidate_cache): Don't use reset_res to determine whether to call
55271 res_init, go through the list of registered files.
55272 (main_loop_poll): The inotify descriptors are now stored in the
55273 structures for the traced files.
55274 (main_loop_epoll): Likewise
55275 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
55276 to __nss_disable_nscd.
55277 * nscd/cache.c (prune_cache): There is no single inotify descriptor
55278 for a database anymore. Check the records for all the registered
55279 files instead.
55280 * nss/Makefile (libnss_files-routines): Add files-init.
55281 (libnss_db-routines): Add db-init.
55282 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
55283 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
55284 * nss/nss_db/db-init.c: New file.
55285 * nss/nss_files/files-init.c: New file.
55286 * nss/nsswitch.c (nss_load_library): New function. Broken out of
55287 __nss_lookup_function.
55288 (__nss_lookup_function): Call nss_load_library.
55289 (nss_load_all_libraries): New function.
55290 (__nss_disable_nscd): Take parameter with callback function for files
55291 to register. Set is_nscd. Load all the DSOs for the NSS modules
55292 used for the cached services.
55293 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
55294 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
55295 options for features to all the files in nscd.
55296
55297 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
55298
23bee3e8
RM
552992011-07-10 Roland McGrath <roland@hack.frob.com>
55300
55301 * csu/elf-init.c (__libc_csu_init): Comment typo.
55302
46a5b7f0
UD
553032011-07-09 Ulrich Drepper <drepper@gmail.com>
55304
55305 * po/pl.po: Update from translation team.
55306 * po/ja.po: Likewise.
55307 * po/ru.po: Likewise.
55308 * po/ko.po: Likewise.
55309 * po/fr.po: Likewise.
55310
d30cf5bb
RM
553112011-07-09 Roland McGrath <roland@hack.frob.com>
55312
113ddea4
RM
55313 * configure.in (.ctors/.dtors header and trailer check):
55314 Use an empirical test on a built program.
55315 * configure: Regenerated.
55316
574920b4
RM
55317 * configure.in (-z relro check): Use an empirical test on a built DSO.
55318 Detect, but do not require, on ia64.
55319 * configure: Regenerated.
55320
d30cf5bb
RM
55321 * configure.in (READELF): Find it with AC_CHECK_TOOL.
55322 Update tests that use readelf to use $READELF instead.
55323 * configure: Regenerated.
55324
8538fdb3
UD
553252011-07-08 Ulrich Drepper <drepper@gmail.com>
55326
55327 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
55328 if the result is not used.
55329
04d08991
AJ
553302011-07-05 Andreas Jaeger <aj@suse.de>
55331
55332 [BZ#9696]
55333 * stdlib/tst-strtod.c: Add testcase.
55334
de283087
AD
553352011-07-07 Ulrich Drepper <drepper@gmail.com>
55336
4e5f31c8 55337 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 55338 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
55339 The latter has a higher limit. Take additional parameter to pass to
55340 the new function.
55341 (__pathconf): Pass file to __statfs_link_max.
55342 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
55343 __statfs_link_max.
55344 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
55345 __statfs_link_max.
55346
de283087
AD
55347 [BZ #12868]
55348 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
55349 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
55350 Handle Lustre.
55351 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
55352 (__statfs_filesize_max): Likewise.
55353 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
55354
c75fa153
AJ
553552011-07-05 Andreas Jaeger <aj@suse.de>
55356
55357 * resolv/res_comp.c (dn_skipname): Remove unused variable.
55358
1a544854
UD
553592011-07-06 Marek Polacek <mpolacek@redhat.com>
55360
55361 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
55362 `status' variable.
55363 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
55364 Likewise.
55365
6f0eec67
UD
553662011-07-04 H.J. Lu <hongjiu.lu@intel.com>
55367
55368 * Makefile (strop-tests): Add strncat.
55369 * string/test-strncat.c: New file.
55370
aae30307
UD
553712011-06-30 Marek Polacek <mpolacek@redhat.com>
55372
55373 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
55374
c0cfb5eb
UD
553752011-06-21 Andreas Jaeger <aj@suse.de>
55376
55377 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
55378 Copy rule from iconvdata/Makefile.
55379
01636b21
UD
553802011-07-06 Ulrich Drepper <drepper@gmail.com>
55381
55382 [BZ #12922]
55383 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
55384 but no long options are defined, just return 'W'.
55385
9895c8bc
UD
553862011-06-22 Marek Polacek <mpolacek@redhat.com>
55387
55388 [BZ #9696]
55389 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
55390
5d4cf042
UD
553912011-07-06 Ulrich Drepper <drepper@gmail.com>
55392
55393 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
55394 netgroups to read.
960e5535 55395 (innetgr): Likewise.
5d4cf042 55396
751eb97e
RM
553972011-07-05 Roland McGrath <roland@hack.frob.com>
55398
55399 * config.make.in (install_root): Default to $(DESTDIR).
55400
f15f1e45
UD
554012011-07-05 Ulrich Drepper <drepper@gmail.com>
55402
55403 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
55404
4e34ac6a
RM
554052011-07-02 Roland McGrath <roland@hack.frob.com>
55406
5e9b6af4
RM
55407 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
55408
84f9ea0f
RM
55409 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
55410 containing directory rather than embedding absolute directory names.
55411
ea5ee9f7
RM
55412 * scripts/check-local-headers.sh: Rewritten using awk.
55413 Match by word, not by line. Print error messages for matches.
55414 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
55415
1b74661a
RM
55416 * Makerules [shlib-lds-flags empty]:
55417 ($(common-objpfx)libc_pic.opts): New target.
55418 ($(common-objpfx)libc_pic.os.clean): New target.
55419 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
55420
55421 * config.make.in (OBJCOPY): New variable.
55422 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
55423 * configure: Regenerated.
55424
f781ef40
RM
55425 * config.make.in (use-default-link): New variable.
55426 * configure.in (use_default_link): Grok --with-default-link to set it.
55427 * configure: Regenerated.
55428 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
55429 (shlib-lds, shlib-lds-flags): Define to empty.
55430
2d4fa81e
RM
55431 * Makerules (shlib-lds): New variable.
55432 (shlib-lds-flags): New variable.
55433 (build-shlib, build-moduile, build-module-asneeded): Use it.
55434 ($(common-objpfx)libc.so): Use $(shlib-lds).
55435 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
55436 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
55437
31fffa6b
RM
55438 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
55439 DT_FLAGS/DT_FLAGS_1 with zero flags.
55440
4e34ac6a
RM
55441 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
55442 linker script munging.
55443
fcfc776b
UD
554442011-07-02 Ulrich Drepper <drepper@gmail.com>
55445
55446 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
55447 as 128-bit value.
55448 * crypt/sha512.c (sha512_process_block): Perform total addition using
55449 128-bit if possible.
55450 (__sha512_finish_ctx): Likewise.
55451 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
55452 as 64-bit value.
55453 * crypt/sha256.c (SWAP64): Define.
55454 (sha256_process_block): Perform total addition using 64-bit if
55455 possible.
55456 (__sha256_finish_ctx): Likewise.
55457
99231d9a
UD
554582011-07-01 Ulrich Drepper <drepper@gmail.com>
55459
55460 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
55461 * nscd/initgrcache.c (addinitgroupsX): Likewise.
55462 * nscd/hstcache.c (cache_addhst): Likewise.
55463 * nscd/grpcache.c (cache_addgr): Likewise.
55464 * nscd/aicache.c (addhstaiX): Likewise
55465 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
55466
445b4a53
TK
554672011-07-01 Thorsten Kukuk <kukuk@suse.de>
55468
55469 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
55470 * nscd/initgrcache.c (addinitgroupsX): Likewise.
55471 * nscd/hstcache.c (cache_addhst): Likewise.
55472 * nscd/grpcache.c (cache_addgr): Likewise.
55473 * nscd/aicache.c (addhstaiX): Likewise
55474
6d4d8e8e
AS
554752011-07-01 Andreas Schwab <schwab@redhat.com>
55476
55477 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
55478 domain only when needed.
55479
89f654c5
AS
554802011-06-30 Andreas Schwab <schwab@redhat.com>
55481
55482 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
55483 is always restored.
55484
cf3b23ff
UD
554852011-06-29 Ulrich Drepper <drepper@gmail.com>
55486
55487 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
55488 are re-adding the entry.
55489 * nscd/servicescache.c (cache_addserv): Likewise.
55490
751626f9
AJ
554912011-06-30 Aurelien Jarno <aurelien@aurel32.net>
55492
55493 * sysdeps/generic/dl-irel.h: fix protection against multiple
55494 inclusions.
55495 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
55496
9113ea1f
UD
554972011-06-28 Ulrich Drepper <drepper@gmail.com>
55498
5c0b8d90
UD
55499 [BZ #12935]
55500 * malloc/memusage.sh: Fix quoting in message.
55501 * debug/xtrace.sh: Likewise.
55502
9113ea1f
UD
55503 * configure.in: Remove support for --experimental-malloc option, make
55504 it the default.
55505 * config.make.in: Likewise.
55506 * malloc/Makefile: Likewise.
55507
a4172181
AS
555082011-06-27 Andreas Schwab <schwab@redhat.com>
55509
55510 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
55511 two-byte characters.
55512
78a7eee7
RM
555132011-06-27 Roland McGrath <roland@hack.frob.com>
55514
62bede13
RM
55515 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
55516 AC_CACHE_CHECK invocation.
55517 * configure: Regenerated.
55518
78a7eee7
RM
55519 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
55520
5ce33a62
UD
555212011-06-27 Ulrich Drepper <drepper@gmail.com>
55522
034807a9
UD
55523 [BZ #12350]
55524 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
55525 bit from old_res_options.
55526
4902da17
UD
55527 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
55528
5ce33a62
UD
55529 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
55530 value type for setfct.
55531
c2344f56
L
555322011-06-23 H.J. Lu <hongjiu.lu@intel.com>
55533
55534 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
55535 __gettimeofday instead of gettimeofday.
55536
68468076
UD
555372011-06-26 Ulrich Drepper <drepper@gmail.com>
55538
55539 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
55540
acb0d739
L
555412011-06-24 H.J. Lu <hongjiu.lu@intel.com>
55542
55543 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
55544
55545 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
55546 info.
55547
8912479f
L
555482011-06-22 H.J. Lu <hongjiu.lu@intel.com>
55549
55550 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55551 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
55552 strcpy-sse2-unaligned strncpy-sse2-unaligned
55553 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
55554 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
55555 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
55556 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
55557 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
55558 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
55559 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
55560 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
55561 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
55562 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
55563 (STRCPY): Support SSE2 and SSSE3 versions.
55564
d5495a11
UD
555652011-06-24 Ulrich Drepper <drepper@gmail.com>
55566
55567 [BZ #12874]
55568 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
55569 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
55570 kernels which artificially limit size of requests.
55571
0b1cbaae
L
555722011-06-22 H.J. Lu <hongjiu.lu@intel.com>
55573
55574 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55575 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
55576 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
55577 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
55578 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
55579 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
55580 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
55581 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
55582 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
55583 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
55584 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
55585 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
55586 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
55587 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
55588 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
55589 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55590 Enable unaligned load optimization for Intel Core i3, i5 and i7
55591 processors.
55592 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
55593 Define.
55594 (index_Fast_Unaligned_Load): Define.
55595 (HAS_FAST_UNALIGNED_LOAD): Define.
55596
07f494a0
MP
555972011-06-23 Marek Polacek <mpolacek@redhat.com>
55598
55599 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
55600
fa3fc0fe
UD
556012011-06-22 Ulrich Drepper <drepper@gmail.com>
55602
55603 [BZ #12907]
55604 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
55605 until it is clear that the information is realy needed.
55606 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
55607
e12df166
AS
556082011-06-22 Andreas Schwab <schwab@redhat.com>
55609
55610 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
55611
852eb34d
UD
556122011-06-22 Ulrich Drepper <drepper@gmail.com>
55613
84e2a551
UD
55614 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
55615 /sys/devices/system/cpu/online if it is usable.
55616
852eb34d
UD
55617 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
55618 reading the information from the /proc filesystem to once a second.
55619
6e502e19
UD
556202011-06-21 Andreas Jaeger <aj@suse.de>
55621
55622 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
55623 NULL after inclusion of kernel headers.
55624
75d39ff2
UD
556252011-06-21 Ulrich Drepper <drepper@gmail.com>
55626
51f9aa6a
UD
55627 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
55628 calls to internal_setent.
55629
c0244a9d
UD
55630 [BZ #12885]
55631 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
55632 addresses using gethostbyname4_r ignore IPv4 addresses.
55633
c5e3c2ae
UD
55634 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
55635 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
55636
75d39ff2
UD
55637 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
55638
42675c6f
DM
556392011-06-20 David S. Miller <davem@davemloft.net>
55640
55641 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
55642 inclusions.
55643 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
55644
55645 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
55646 (elf_irel): Use it.
55647 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
55648 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
55649 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
55650 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
55651 * sysdeps/x86_64/dl-irel.h: Likewise.
55652
55653 * elf/dl-runtime.c: Use elf_ifunc_invoke.
55654 * elf/dl-sym.c: Likewise.
55655
57912a71
UD
556562011-06-15 Ulrich Drepper <drepper@gmail.com>
55657
55658 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
55659 need to dereference resplen2.
55660
ee22793d
AS
556612011-06-14 Andreas Schwab <schwab@redhat.com>
55662
55663 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
55664
a9e836b0
UD
556652011-06-15 Ulrich Drepper <drepper@gmail.com>
55666
77fb9117
UD
55667 * Makeconfig: Define vardbdir and inst_vardbdir.
55668 * nss/Makefile: Add rules to install db-Makefile.
55669
40c1b22c
UD
55670 * nss/nss_db/db-XXX.c: Cleanup.
55671
9f2da732
UD
55672 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
55673 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
55674 GLIBC_PRIVATE.
55675 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
55676 * nss/makedb.c: Implement -g option to specify that value strings
55677 are generated and should not be added to table iterated over for
55678 get*ent calls.
55679 * nss/nss_db/db-initgroups.c: New file.
55680
82e9a1f7
UD
55681 * nss/getent.c: Add support for initgroups lookups through getgrouplist
55682 interface.
55683
c41af17e
UD
55684 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
55685 (internal_getgrouplist): Adjust to name change.
55686 Update use_initgroups_entry if this is not the first call.
55687 * nss/databases.def: Add initgroups entry.
55688
a9e836b0
UD
55689 * nss/makedb.c (compute_tables): Check result of multiple hash table
55690 sizes to minimize maximum chain length.
55691
2666d441
UD
556922011-06-14 Ulrich Drepper <drepper@gmail.com>
55693
55694 * Versions.def: Add entry for libnss_db.
55695 * shlib-versions: Likewise.
55696 * nss/Makefile: Add rules to build libnss_db.
55697 * nss/Versions: Add libnss_db information. Organize libnss_files
55698 entries better.
55699 * nss/db-Makefile: Add gshadow support. Change rules for the new
55700 makedb progra. Some minor improvements to generate smaller files.
55701 * nss/nss_db/nss_db.h: Move NSS database header data structures to
55702 here from...
55703 * nss/makedb.c: ...here.
55704 Improve database format to be smaller and require less memory at
55705 runtime.
55706 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
55707 db anymore.
55708 * nss/nss_db/db-netgrp.c: Likewise.
55709 * nss/nss_db/db-open.c: Likewise.
55710 * nss/nss_files/flies-XXX.x: Adjust comments.
55711 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
55712 * nss/nss_files/files-grp.c: Likewise.
55713 * nss/nss_files/files-hosts.c: Likewise.
55714 * nss/nss_files/files-network.c: Likewise.
55715 * nss/nss_files/files-proto.c: Likewise.
55716 * nss/nss_files/files-pwd.c: Likewise.
55717 * nss/nss_files/files-rpc.c: Likewise.
55718 * nss/nss_files/files-service.c: Likewise.
55719 * nss/nss_files/files-sgrp.c: Likewise.
55720 * nss/nss_files/files-spwd.c: Likewise.
55721 * nss/nss_db/db-alias.c: Removed.
55722 * nss/nss_db/dummy-db.h: Removed.
55723
9ee76b5a
UD
557242011-06-02 Ulrich Drepper <drepper@gmail.com>
55725
55726 * nss/makedb.c: Rewritten to not use database library.
55727 * nss/Makefile: Update to build new makedb program.
55728
c71ca1f8
AJ
557292011-06-14 Andreas Jaeger <aj@suse.de>
55730
55731 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
55732 memset declaration.
55733
3154bfb8
UD
557342011-06-10 Andreas Schwab <schwab@redhat.com>
55735
55736 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
55737 tmpbuf.
55738
b350afab
RM
557392011-06-10 Roland McGrath <roland@hack.frob.com>
55740
decd4e50
RM
55741 * Makerules (shlib.lds): Fail if the linker script comes out empty.
55742 * elf/Makefile ($(objpfx)ld.so): Likewise.
55743
5615eaf2
RM
55744 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
55745 Don't list ld.so twice in dependencies.
55746
55747 * posix/bug-regex31.c: Include <stdlib.h>.
55748
55749 * nscd/hstcache.c (cache_addhst): Remove unused variable.
55750
55751 * nis/nss_compat/compat-spwd.c
55752 (getspent_next_nss_netgr): Remove unused variable.
55753 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
55754
55755 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
55756 nonmembers" output to use the right array.
55757
55758 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
55759
55760 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
55761
55762 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
55763 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
55764 * catgets/gencat.c (read_input_file): Likewise.
55765 * locale/programs/locarchive.c (enlarge_archive): Likewise.
55766
55767 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
55768 variable definition inside #if's controlling its use.
55769
55770 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
55771
55772 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
55773
55774 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
55775
55776 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
55777 unreachable code.
55778
55779 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
55780
b68e08db
RM
55781 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
55782 * configure: Regenerated.
55783
b350afab
RM
55784 * Makerules: Revert last change.
55785 * elf/Makefile: Likewise.
55786
28368601
RM
557872011-06-09 Roland McGrath <roland@hack.frob.com>
55788
55789 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
55790 * elf/Makefile ($(objpfx)librtld.os): Likewise.
55791 (reloc-link): Likewise.
55792
11988f8f
UD
557932011-06-09 Ulrich Drepper <drepper@gmail.com>
55794
55795 * elf/Makefile: Add rules to build pldd.
55796 * elf/pldd.c: New file.
55797 * elf/pldd-xx.c: New file.
55798
e80fab37
UD
557992011-06-07 Ulrich Drepper <drepper@gmail.com>
55800
55801 * version.h: Update for 2.15 development version.
55802
9b849836
DM
558032011-06-07 David S. Miller <davem@davemloft.net>
55804
55805 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
55806 ifuncs.
55807 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
55808 elf_machine_lazy_rel): Likewise.
55809 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
55810 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
55811 elf_machine_lazy_rel): Likewise.
55812 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
55813 dl_hwcap via passed in argument.
55814 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
55815 Likewise.
55816
5a31b283
AK
558172011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55818
55819 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
55820
069e52f8
RM
558212011-06-06 Roland McGrath <roland@hack.frob.com>
55822
55823 [BZ #12849]
55824 * manual/fdl-1.1.texi: New file, verbatim from:
55825 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
55826 * manual/lgpl-2.1.texi: New file, verbatim from:
55827 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
55828 * manual/Makefile (licenses): New variable, list those new file names.
55829 (texis): Use it.
55830 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
55831
55832 * manual/fdl.texi: File removed.
55833 * manual/lesser.texi: File removed.
55834 * manual/libc.texinfo (Copying, Documentation License):
55835 Use new @include file names, put @appendix directive before @include.
55836
f16846a5
JJ
558372011-06-04 Jakub Jelinek <jakub@redhat.com>
55838
55839 [BZ #12841]
55840 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
55841 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
55842 (mq_open): Add __NTH.
55843
3d29045b
L
558442011-06-02 H.J. Lu <hongjiu.lu@intel.com>
55845
55846 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55847 Assume Intel Core i3/i5/i7 processor if AVX is available.
55848
8c297311
UD
558492011-05-31 Ulrich Drepper <drepper@gmail.com>
55850
55851 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
55852 typo.
55853
c8fc0c91
UD
558542011-05-31 Andreas Schwab <schwab@redhat.com>
55855
55856 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
55857 memory. Use alloca_account. Fix memory leak when retrying.
55858
5b27a807
UD
558592011-05-31 Ulrich Drepper <drepper@gmail.com>
55860
356f8bc6
UD
55861 * version.h (RELEASE): Bump for 2.14 release.
55862 * include/features.h (__GLIBC_MINOR__): Bump to 14.
55863
5b27a807
UD
55864 * config.make.in (RANLIB): Remove entry.
55865
01f16ab0
UD
558662011-05-30 Ulrich Drepper <drepper@gmail.com>
55867
41fce8bd
UD
55868 * po/Makefile (po-sed-cmd): Add ksh to extensions.
55869 (libc.pot): Work around missing support for .ksh extension in xgettext.
55870
4769ae77
UD
55871 [BZ #12684]
55872 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
55873 if both request failed.
55874 (send_dg): In case of server errors clear resplen or *resplen2.
55875
6b1e7d19
UD
55876 [BZ #12454]
55877 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
55878 when there are multiple maps.
55879 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
55880 (_dl_fini): Remove test here.
55881
01f16ab0
UD
55882 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
55883
b1ebd700
UD
558842011-05-29 Ulrich Drepper <drepper@gmail.com>
55885
7ae22829
UD
55886 [BZ #12350]
55887 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
55888 bit from old_res_options.
55889 (gaih_inet): Likewise.
55890
553149f6 55891 [BZ #11099]
18a84741 55892 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
55893 as signed.
55894
652ffab1
UD
55895 * resolv/res_init.c (res_setoptions): Make the code more compact.
55896
16985fd0
UD
55897 [BZ #11558]
55898 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
55899 set RES_USEVC.
55900
0464f746
UD
55901 [BZ #11634]
55902 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
55903
7d17596c
UD
55904 * malloc/malloc.h: Mark malloc hook variables as deprecated.
55905
cf6bbbd7
UD
55906 [BZ #11781]
55907 * malloc/malloc.h: Declare malloc hook variables as volatile.
55908
13f1ab36
UD
55909 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
55910 in last patch.
55911
b1ebd700
UD
55912 [BZ #11799]
55913 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 55914 raise in the comment.
80e2212d
UD
55915 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
55916 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
55917 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 55918
ce67228d
UD
559192011-05-28 Ulrich Drepper <drepper@gmail.com>
55920
8887a920
UD
55921 [BZ #12811]
55922 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
55923 grow the buffers more if it already has to be sufficient.
55924 (build_wcs_upper_buffer): Likewise.
55925 * posix/regexec.c (check_matching): Likewise.
55926 (clean_state_log_if_needed): Likewise.
55927 (extend_buffers): Don't enlarge buffers beyond size of the input
55928 buffer.
55929 Patches mostly by Emil Wojak <emil@wojak.eu>.
55930 * posix/bug-regex32.c: New file.
55931 * posix/Makefile (tests): Add bug-regex32.
55932
4f031072
UD
55933 * locale/findlocale.c (_nl_find_locale): Return right away if
55934 _nl_explode_name failed.
55935 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
55936
d0478f0c
UD
55937 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
55938
de81b246
UD
55939 * debug/xtrace.sh: Unify messages.
55940 * malloc/memusage.sh: Likewise.
55941
c738465a
UD
55942 [BZ #12813]
55943 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
55944 time symbol from vDSO. Substitute with vsyscall if not available.
55945 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
55946 __vdso_time.
55947
f1f929d7
UD
55948 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
55949 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
55950 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
55951 Add sendmmsg and internal_sendmmsg.
55952 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
55953 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
55954 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
55955
ce67228d
UD
55956 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
55957 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
55958 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
55959
e57420c6
UD
559602011-05-27 Ulrich Drepper <drepper@gmail.com>
55961
a8509ca5
UD
55962 [BZ #12813]
55963 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
55964 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
55965 available.
55966 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
55967 __vdso_getcpu.
55968
e57420c6
UD
55969 [BZ #12814]
55970 * iconvdata/Makefile (tests): Add bug-iconv9.
55971 * iconvdata/bug-iconv9.c: New file.
55972
4d07db15
AS
559732011-05-27 Andreas Schwab <schwab@redhat.com>
55974
55975 [BZ #12814]
55976 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
55977
ea486f69
JJ
559782011-05-25 Jakub Jelinek <jakub@redhat.com>
55979
55980 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
55981 (struct user_regs_struct): Change intcs field back to cs.
55982
6f038433
UD
559832011-05-25 Ulrich Drepper <drepper@gmail.com>
55984
55985 * po/ja.po: Update from translation team.
55986
67f86a25
UD
559872011-05-23 Ulrich Drepper <drepper@gmail.com>
55988
55989 [BZ #12795]
55990 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
55991 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
55992
def7fbd6
AS
559932011-05-20 Andreas Schwab <schwab@redhat.com>
55994
55995 * stdlib/longlong.h: Update from GCC.
55996
f50ef8f1
AS
559972011-05-23 Andreas Schwab <schwab@redhat.com>
55998
55999 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
56000 parameter name.
56001 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
56002 Add parameter name.
56003 (__sysconf): Pass it down.
56004
de7ce8f1
UD
560052011-05-22 Ulrich Drepper <drepper@gmail.com>
56006
f2962a71
UD
56007 [BZ #12671]
56008 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
56009 some situations.
56010 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
56011 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
56012 add in in __libc_use_alloca calls. Adjust callers.
56013 (glob): Use malloc in some situations.
56014
de7ce8f1
UD
56015 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
56016 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
56017 pltexit.
56018
aec84f53
UD
560192011-05-21 Ulrich Drepper <drepper@gmail.com>
56020
05bb4a68
UD
56021 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
56022 and CLOCK_BOOTTIME_ALARM.
56023
7ea72f99
UD
56024 [BZ #12782]
56025 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
56026 is returned.
56027
7e4afad5
UD
56028 * string/_strerror.c (__strerror_r): Print negative errors as signed
56029 numbers.
56030
8e211fec
UD
56031 [BZ #12777]
56032 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
56033 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
56034 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
56035
f7d82dc9
UD
56036 * configure.in: Fix typo in redirection and correct removal of test
56037 files in two cases.
56038
cc9e536d
UD
56039 [BZ #12788]
56040 * locale/setlocale.c (new_composite_name): Fix test to check for
56041 identical name of all categories.
56042
aec84f53
UD
56043 [BZ #12792]
56044 * libio/filedoalloc.c (local_isatty): New function.
56045 (_IO_file_doallocate): Use local_isatty.
56046 * stdio-common/perror.c (perror): In case a new stream is used
56047 forward the stream error.
56048 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
56049 error flag.
56050
78e64fdc
RT
560512011-05-20 Ulrich Drepper <drepper@gmail.com>
56052
34a9094f
UD
56053 [BZ #11869]
56054 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
56055 alloca.
56056 * include/alloca.h (extend_alloca_account): Define.
56057
78e64fdc
RT
56058 [BZ #11857]
56059 * posix/regex.h: Fix comments with documentation of user-accessible
56060 fields after compilation and describe correct free'ing of pattern
56061 after re_compile_pattern.
56062 Patch by Reuben Thomas <rrt@sc3d.org>.
56063
457bddfc
RA
560642011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
56065
56066 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
56067 and -mno-altivec to prevent the compiler from using Altivec and/or
56068 VSX instructions when the corresponding registers are not available.
56069
a4527b51
AS
560702011-05-19 Andreas Schwab <schwab@redhat.com>
56071
56072 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
56073
ed690b2f
UD
560742011-05-19 Ulrich Drepper <drepper@gmail.com>
56075
56076 * libio/freopen.c (freopen): Use __dup2, not dup2.
56077 * libio/freopen64.c (freopen64): Likewise.
56078
8db73634
L
560792011-05-17 H.J. Lu <hongjiu.lu@intel.com>
56080
56081 [BZ #12775]
56082 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
56083 * math/Makefile (tests): Add test-powl.
56084 (CFLAGS-test-powl.c): Define.
56085 * math/test-powl.c: New file.
56086
0a197a9d
L
560872011-05-16 H.J. Lu <hongjiu.lu@intel.com>
56088
56089 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
56090
ee30c380
UD
560912011-05-17 Ulrich Drepper <drepper@gmail.com>
56092
56093 [BZ #11837]
56094 * iconvdata/gb18030.c: Update to GB18020-2005.
56095
6ce75379
UD
560962011-05-16 Ulrich Drepper <drepper@gmail.com>
56097
a4b89fd8
AR
56098 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
56099 RE_SYNTAX_POSIX_AWK): Update to match recent development.
56100 Patch by Aharon Robbins <arnold@skeeve.com>.
56101
ea389b12
UD
56102 [BZ #11892]
56103 * stdlib/putenv.c (putenv): Don't always create copy of the variable
56104 on the stack.
56105
68a3f91f
UD
56106 [BZ #11895]
56107 * misc/pselect.c (__pselect): Handle timeout value errors hidden
56108 through underflows.
56109
15cc7dd1
UD
56110 [BZ #12766]
56111 * misc/error.c (error_at_line): Ensure file_name and old_file_name
56112 point to strings before performing equality test for error_one_per_line
56113 mode.
56114
f3799213
UD
56115 [BZ #11697]
56116 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
56117
d79a9c94
UD
56118 [BZ #11820]
56119 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
56120 (struct user_fpregs_struct): Avoid __uint*_t types.
56121
56e5eb46
UD
56122 [BZ #6420]
56123 * malloc/mtrace.c (tr_where): Add additional parameter to point to
56124 symbol info. Use it instead of calling _dl_addr locally.
56125 (lock_and_info): New function.
56126 (tr_freehook): Call lock_and_info and pass symbol info as additional
56127 parameter to tr_where.
56128 (tr_mallochook): Likewise.
56129 (tr_reallochook): Likewise.
56130 (tr_memalignhook): Likewise.
56131
6ce75379
UD
56132 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
56133 used and couldn't be at all thread-safe.
56134
f8a3b5bf
UD
561352011-05-15 Ulrich Drepper <drepper@gmail.com>
56136
94b7cc37
UD
56137 * libio/freopen.c (freopen): Don't close old file descriptor
56138 before the new one is opened. Instead dup the new file descriptor
56139 to the old one after the new stream is created.
56140 * libio/freopen64.c (freopen64): Likewise.
56141 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
56142 * libio/fileops.c (_IO_new_file_close_it): Handle new
56143 _IO_FLAGS2_NOCLOSE flag.
56144 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
56145 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
56146 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
56147 _IO_FLAGS2_NOCLOSE flag.
56148 * include/unistd.h: Add hidden_proto for dup3.
56149 Define __have_dup3.
56150 * io/dup3.c: Define hidden symbol.
56151 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
56152
bd25564e
UD
56153 [BZ #7101]
56154 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
56155 when an incomplete long option is used.
56156 * posix/tst-getopt_long1.c: New file.
56157 * posix/Makefile (tests): Add tst-getopt_long1.
56158
c84cfef4
UD
56159 [BZ #10138]
56160 * scripts/config.guess: Update from autoconf-2.68.
56161 * scripts/config.sub: Likewise.
56162
3b85df27
UD
56163 [BZ #10157]
56164 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
56165 tests into ...
56166 (has_cpuclock): ...this. New function.
56167 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
56168 macro here based on has_cpuclock code.
56169
15a856b1
UD
56170 [BZ #10149]
56171 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
56172 First byte (not low byte) is now always NUL.
56173 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
56174
05f399e6
UD
56175 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
56176 Use non-cancelable interfaces.
56177
10a52685 56178 [BZ #9809]
94ecc67d
UD
56179 * locale/iso-639.def: Add entry for Sorani.
56180
f8a3b5bf
UD
56181 [BZ #11901]
56182 * include/stdlib.h: Move include protection to the right place.
56183 Define abort_msg_s. Declare __abort_msg with it.
56184 * stdlib/abort.c (__abort_msg): Adjust type.
56185 * assert/assert.c (__assert_fail_base): New function. Majority
56186 of code from __assert_fail. Allocate memory for __abort_msg with
56187 mmap.
56188 (__assert_fail): Now call __assert_fail_base.
56189 * assert/assert-perr.c: Remove bulk of implementation. Use
56190 __assert_fail_base.
56191 * include/assert.hL Declare __assert_fail_base.
56192 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
56193 mmap.
56194 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
56195
1af4e298
UD
561962011-05-14 Ulrich Drepper <drepper@gmail.com>
56197
f8a3b5bf 56198 [BZ #11952]
d26dfc60
MG
56199 [BZ #12453]
56200 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
56201 until all modules are registered in the DTV.
56202 * elf/Makefile: Add rules to build and run tst-tls19.
56203 * elf/tst-tls19.c: New file.
56204 * elf/tst-tls19mod1.c: New file.
56205 * elf/tst-tls19mod2.c: New file.
56206 * elf/tst-tls19mod3.c: New file.
56207 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
56208
2fc54d6f
UD
56209 [BZ #12083]
56210 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
56211 correctly.
56212
98d76b46
UD
56213 [BZ #12601]
56214 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
56215 two-byte sequence errors.
56216 * iconvdata/Makefile (tests): Add bug-iconv8.
56217 * iconvdata/bug-iconv8.c: New file.
56218
da3c19ef
UD
56219 [BZ #12626]
56220 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
56221 buf2 definition.
56222
ca408c15
UD
56223 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
56224
d6f67f7d
UD
56225 [BZ #12432]
56226 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
56227 (dummy_getcfa): New function.
56228 (init): Get _Unwind_GetCFA address, use dummy if not found.
56229 (backtrace_helper): In recursion check, also check whether CFA changes.
56230 (__backtrace): Completely initialize arg.
56231
1af4e298 56232 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
56233 storing incomplete byte sequence in state object. Avoid testing for
56234 guaranteed too small input if we know there is enough data available.
1af4e298 56235
da62f81b
AS
562362011-05-11 Andreas Schwab <schwab@redhat.com>
56237
56238 * Makeconfig (+link-pie): Indent.
56239 * Rules (binaries-pie): Define if $(have-fpie) and
56240 $(build-shared).
56241 (binaries-shared): Also filter out $(binaries-pie).
56242 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
56243 * nscd/Makefile (others-pie): Add nscd.
56244 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
56245 ($(objpfx)nscd): Remove command override.
56246 * login/Makefile (others-pie): Add pt_chown.
56247 ($(objpfx)pt_chown): Remove command override.
56248 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
56249 remove command overrides.
56250
fcabc0f8
UD
562512011-05-13 Ulrich Drepper <drepper@gmail.com>
56252
20030ae6
UD
56253 * libio/tst_putwc.c: Fix error messages.
56254
fcabc0f8
UD
56255 [BZ #12724]
56256 * libio/fileops.c (_IO_new_file_close_it): Always flush when
56257 currently writing and seek to current position when not.
56258 * libio/Makefile (tests): Add bug-fclose1.
56259 * libio/bug-fclose1.c: New file.
56260
320a5dc0
PB
562612011-05-12 Ulrich Drepper <drepper@gmail.com>
56262
56263 [BZ #12511]
56264 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
56265 don't set DF_1_NODELETE here.
56266 (do_lookup_x): When entering new entry test for copy relocation
56267 and if necessary set DF_1_NODELETE flag.
56268 * elf/tst-unique4.cc: New file.
56269 * elf/tst-unique4.h: New file.
56270 * elf/tst-unique4lib.cc: New file.
56271 * elf/Makefile: Add rules to build and run tst-unique4.
56272 Patch by Piotr Bury <pbury@goahead.com>.
56273
22836f52
UD
562742011-05-11 Ulrich Drepper <drepper@gmail.com>
56275
f574184a
UD
56276 [BZ #12052]
56277 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
56278
e1fb097f
UD
56279 [BZ #12625]
56280 * misc/mntent_r.c (addmntent): Flush the stream after the output
56281
22836f52
UD
56282 [BZ #12393]
56283 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
56284 (is_trusted_path_normalize): Skip initial colon. Append slash
56285 to empty buffer. Duplicate is_trusted_path code but allow
56286 constructed patch to be prefix.
56287 (is_dst): Allow $ORIGIN followed by /.
56288 (_dl_dst_substitute): Correct clearing of check_for_trusted.
56289 Correct testing of result of is_trusted_path_normalize
56290 (decompose_rpath): Fix warning.
56291
7b3b0b2a
UD
562922011-05-10 Ulrich Drepper <drepper@gmail.com>
56293
56294 [BZ #11257]
56295 * grp/initgroups.c (internal_getgrouplist): When we found the service
56296 list through the initgroups entry in nsswitch.conf do not always
56297 continue on a successful lookup. Don't always use the
eac80ce2 56298 __nss_group_database value if it is set.
7b3b0b2a
UD
56299 * nss/nsswitch.conf (initgroups): Change action for successful db
56300 lookup to continue for compatibility.
56301
2a81eaa5
UD
563022011-05-09 Ulrich Drepper <drepper@gmail.com>
56303
be97a69e
UD
56304 [BZ #11532]
56305 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
56306 and CP774 modules.
56307 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
56308 and CP774 modules.
56309 * iconvdata/tst-tables.sh: Likewise.
56310 * iconvdata/cp770.c: New file.
56311 * iconvdata/cp771.c: New file.
56312 * iconvdata/cp772.c: New file.
56313 * iconvdata/cp773.c: New file.
56314 * iconvdata/cp774.c: New file.
56315 * iconvdata/testdata/CP770: New file.
56316 * iconvdata/testdata/CP770..UTF8: New file.
56317 * iconvdata/testdata/CP771: New file.
56318 * iconvdata/testdata/CP771..UTF8: New file.
56319 * iconvdata/testdata/CP772: New file.
56320 * iconvdata/testdata/CP772..UTF8: New file.
56321 * iconvdata/testdata/CP773: New file.
56322 * iconvdata/testdata/CP773..UTF8: New file.
56323 * iconvdata/testdata/CP774: New file.
56324 * iconvdata/testdata/CP774..UTF8: New file.
56325
56326 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
56327 END CHARMAP line.
56328 * iconvdata/gen-8bit-gap.sh: Likewise.
56329 * iconvdata/gen-8bit.sh: Likewise.
56330
c1e9e399
UD
56331 * locale/iso-639.def: Add ary entry.
56332
24c55fb3 56333 [BZ #11258]
96b4b1b0
UD
56334 * locale/C-translit.h.in: Add U20A1 transliteration.
56335
bdc2f971
KB
56336 [BZ #12178]
56337 * locale/iso-639.def: Add wae entry.
56338 Patch by Kevin Bortis <bortis@translate-wae.ch>.
56339
2952b117
UD
56340 [BZ #12545]
56341 * locale/programs/localedef.c (construct_output_path): Use ssize_t
56342 for n.
56343
2a81eaa5
UD
56344 [BZ #12711]
56345 * locale/C-translit.h.in: Add entry for U20B9.
56346 Patch by pravin.d.s@gmail.com.
56347
28377d1b
UD
563482011-05-08 Ulrich Drepper <drepper@gmail.com>
56349
7fb90fb8
UD
56350 [BZ #12713]
56351 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
56352 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
56353 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
56354 in rtld. Use *stat64.
7fb90fb8 56355 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 56356 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 56357 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
56358 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
56359 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
56360 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
56361 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
56362 __fstatat64 macros.
7fb90fb8
UD
56363 * include/dirent.h: Add libc_hidden_proto for rewinddir.
56364 * dirent/rewinddir.c: Add libc_hidden_def.
56365 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 56366 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 56367
28377d1b
UD
56368 * include/dirent.h (__alloc_dir): Add flags parameter.
56369 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
56370 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
56371 __alloc_dir.
56372 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
56373 from fdopendir if O_CLOEXEC is already set.
56374
66bdbaa4
AM
563752011-03-15 Alan Modra <amodra@gmail.com>
56376
56377 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
56378 l_tls_firstbyte_offset non-zero. Save padding offset in
56379 l_tls_firstbyte_offset for later use.
56380 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
56381 freeing static tls block.
56382
95721191
JN
563832011-03-05 Jonathan Nieder <jrnieder@gmail.com>
56384
56385 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
56386 where #ifdef was intended. The intent is to prevent ARG_MAX from
56387 being defined by the kernel headers.
56388
f87dfb1f
UD
563892011-05-07 Ulrich Drepper <drepper@gmail.com>
56390
56391 [BZ #12734]
56392 * resolv/resolv.h: Define RES_NOTLDQUERY.
56393 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
56394 no-tld-query and set RES_NOTLDQUERY.
56395 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
56396 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
56397 modern BIND to search name as TLD unless forbidden.
56398
47c3cd7a
UD
563992011-05-07 Petr Baudis <pasky@suse.cz>
56400 Ulrich Drepper <drepper@gmail.com>
56401
56402 [BZ #12393]
56403 * elf/dl-load.c (fillin_rpath): Move trusted path check...
56404 (is_trusted_path): ...to here.
c1e9ea35 56405 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 56406 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 56407 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 56408
8a35c912
PP
564092011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
56410
56411 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
56412 __BEGIN/__END_DECLS.
56413
acd41f47
UD
564142011-05-06 Ulrich Drepper <drepper@gmail.com>
56415
56416 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
56417 NSS_STATUS_NOTFOUND if no record was found.
56418
597df647
AS
564192011-05-05 Andreas Schwab <schwab@redhat.com>
56420
56421 * sunrpc/Makefile (headers): Add rpc/netdb.h.
56422 (headers-not-in-tirpc): Remove rpc/netdb.h
56423 * resolv/netdb.h: Revert last change.
56424
b9af1301
PP
564252011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
56426
56427 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
56428 circular dependency between libgcc.a and libc.a.
56429
4e34d5f5
AS
564302011-05-05 Andreas Schwab <schwab@redhat.com>
56431
56432 * resolv/netdb.h: Don't include <rpc/netdb.h>.
56433 * nis/Makefile: Don't install rpcsvc/*.
56434 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
56435 instead of <rpc/types.h>.
56436 (MAXHOSTNAMELEN): Define.
56437
00ee369c
AS
564382011-05-03 Andreas Schwab <schwab@redhat.com>
56439
56440 * elf/ldconfig.c (add_dir): Don't crash on empty path.
56441
0b592a30
MB
564422011-04-28 Maciej Babinski <mbabinski@google.com>
56443
56444 [BZ #12714]
56445 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
56446 gethostbyname4_r when IPv6 results are possible.
56447
6e04cbbe
UD
564482011-05-02 Ulrich Drepper <drepper@gmail.com>
56449
56450 [BZ #12723]
56451 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
56452 _PC_PIPE_BUF handling.
56453
e4ecafe0
BH
564542011-04-30 Bruno Haible <bruno@clisp.org>
56455
56456 [BZ #12717]
56457 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
56458 * resolv/netdb.h (getnameinfo): Change type of flags parameter
56459 to 'int'.
56460 * inet/getnameinfo.c (getnameinfo): Likewise.
56461
125ee683
UD
564622011-04-29 Ulrich Drepper <drepper@gmail.com>
56463
56464 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
56465 to groups setting in database lookup.
56466 * nss/nsswitch.conf: Add initgroups entry.
56467
b722481a
EB
564682011-04-22 Ulrich Drepper <drepper@gmail.com>
56469
56470 [BZ #12685]
56471 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
56472 mode string.
56473 Patch by Eric Blake <eblake@redhat.com>.
56474
4df46dbd
L
564752011-04-20 H.J. Lu <hongjiu.lu@intel.com>
56476
56477 * sunrpc/Makefile (need-export-routines): Add svc_run.
56478 (routines): Remove svc_run.
56479 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
56480 * sunrpc/clnt_perr.c (clnt_perrno): Export.
56481 * sunrpc/svc_run.c (svc_run): Likewise.
56482 * sunrpc/svc_udp.c (svcudp_create): Likewise.
56483
e84142d2
UD
564842011-04-21 Ulrich Drepper <drepper@gmail.com>
56485
56486 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
56487 problem in reallocation in last patch.
56488
877175d8
UD
564892011-04-20 Ulrich Drepper <drepper@gmail.com>
56490
56491 * sunrpc/Makefile: Move inclusion of Rules.
56492
ab8eed78
UD
564932011-04-19 Ulrich Drepper <drepper@gmail.com>
56494
56495 * nss/nss_files/files-initgroups.c: New file.
56496 * nss/Makefile (libnss_files-routines): Add files-initgroups.
56497 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
56498 _nss_files_initgroups_dyn.
56499
e3d8f584
RS
565002011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
56501
56502 * elf/elf.h (R_ARM_IRELATIVE): Define.
56503
af190f45
UD
565042011-04-19 Ulrich Drepper <drepper@gmail.com>
56505
56506 * po/ru.po: Update from translation team.
56507
53cf59ef
UD
565082011-04-17 Ulrich Drepper <drepper@gmail.com>
56509
56510 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
56511 dependencies.
56512
4c559bcd
MF
565132011-02-06 Mike Frysinger <vapier@gentoo.org>
56514
56515 [BZ #12653]
56516 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
56517 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
56518 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
56519 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
56520 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
56521
4420675c
AS
565222011-03-28 Andreas Schwab <schwab@linux-m68k.org>
56523
56524 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
56525 differing bytes.
56526 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
56527 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
56528 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
56529
75ea32ab
UD
565302011-04-17 Ulrich Drepper <drepper@gmail.com>
56531
56532 [BZ #12420]
56533 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
56534 storing it.
56535 * stdlib/bug-getcontext.c: New file.
56536 * stdlib/Makefile: Add rules to build and run bug-getcontext.
56537
27390476
AK
565382011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56539
56540 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
56541 instructions into .machine "z9-109".
56542 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
56543 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
56544
10442705
AK
565452011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56546
56547 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
56548 between environment variables and auxiliary vector.
56549
7b57bfe5
UD
565502011-04-16 Ulrich Drepper <drepper@gmail.com>
56551
56552 * Makefile: Add rules to build linkobj/libc.so.
56553 * include/libc-symbols.h: Define libc_hidden_nolink.
56554 * include/rpc/auth.h: Mark functions which are to be hidden.
56555 * include/rpc/auth_des.h: Likewise.
56556 * include/rpc/auth_unix.h: Likewise.
56557 * include/rpc/clnt.h: Likewise.
56558 * include/rpc/des_crypt.h: Likewise.
56559 * include/rpc/key_prot.h: Likewise.
56560 * include/rpc/pmap_clnt.h: Likewise.
56561 * include/rpc/pmap_prot.h: Likewise.
56562 * include/rpc/pmap_rmt.h: Likewise.
56563 * include/rpc/rpc_msg.h: Likewise.
56564 * include/rpc/svc.h: Likewise.
56565 * include/rpc/svc_auth.h: Likewise.
56566 * include/rpc/xdr.h: Likewise.
56567 * nis/Makefile: Link all DSOs against linkobj/libc.so.
56568 * nss/Makefile: Likewise.
56569 * sunrpc/Makefile: Don't install headers. Build library with normal
56570 entry points. Don't build rpcinfo. Link RPC tests appropriately.
56571 * sunrpc/auth_des.c: Hide exported symbols by default, export some
56572 for the compat linking library. Remove use of INTDEF/INTUSE.
56573 * sunrpc/auth_none.c: Likewise.
56574 * sunrpc/auth_unix.c: Likewise.
56575 * sunrpc/authdes_prot.c: Likewise.
56576 * sunrpc/authuxprot.c: Likewise.
56577 * sunrpc/clnt_gen.c: Likewise.
56578 * sunrpc/clnt_perr.c: Likewise.
56579 * sunrpc/clnt_raw.c: Likewise.
56580 * sunrpc/clnt_simp.c: Likewise.
56581 * sunrpc/clnt_tcp.c: Likewise.
56582 * sunrpc/clnt_udp.c: Likewise.
56583 * sunrpc/clnt_unix.c: Likewise.
56584 * sunrpc/des_crypt.c: Likewise.
56585 * sunrpc/des_soft.c: Likewise.
56586 * sunrpc/get_myaddr.c: Likewise.
56587 * sunrpc/key_call.c: Likewise.
56588 * sunrpc/key_prot.c: Likewise.
56589 * sunrpc/netname.c: Likewise.
56590 * sunrpc/pm_getmaps.c: Likewise.
56591 * sunrpc/pm_getport.c: Likewise.
56592 * sunrpc/pmap_clnt.c: Likewise.
56593 * sunrpc/pmap_prot.c: Likewise.
56594 * sunrpc/pmap_prot2.c: Likewise.
56595 * sunrpc/pmap_rmt.c: Likewise.
56596 * sunrpc/publickey.c: Likewise.
56597 * sunrpc/rpc_cmsg.c: Likewise.
56598 * sunrpc/rpc_common.c: Likewise.
56599 * sunrpc/rpc_dtable.c: Likewise.
56600 * sunrpc/rpc_prot.c: Likewise.
56601 * sunrpc/rpc_thread.c: Likewise.
56602 * sunrpc/rtime.c: Likewise.
56603 * sunrpc/svc.c: Likewise.
56604 * sunrpc/svc_auth.c: Likewise.
56605 * sunrpc/svc_authux.c: Likewise.
56606 * sunrpc/svc_raw.c: Likewise.
56607 * sunrpc/svc_run.c: Likewise.
56608 * sunrpc/svc_simple.c: Likewise.
56609 * sunrpc/svc_tcp.c: Likewise.
56610 * sunrpc/svc_udp.c: Likewise.
56611 * sunrpc/svc_unix.c: Likewise.
56612 * sunrpc/svcauth_des.c: Likewise.
56613 * sunrpc/xcrypt.c: Likewise.
56614 * sunrpc/xdr.c: Likewise.
56615 * sunrpc/xdr_array.c: Likewise.
56616 * sunrpc/xdr_float.c: Likewise.
56617 * sunrpc/xdr_intXX_t.c: Likewise.
56618 * sunrpc/xdr_mem.c: Likewise.
56619 * sunrpc/xdr_rec.c: Likewise.
56620 * sunrpc/xdr_ref.c: Likewise.
56621 * sunrpc/xdr_sizeof.c: Likewise.
56622 * sunrpc/xdr_stdio.c: Likewise.
56623
e6c61494
UD
566242011-04-10 Ulrich Drepper <drepper@gmail.com>
56625
56626 [BZ #12650]
56627 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
56628 * sysdeps/ia64/dl-tls.h: Likewise.
56629 * sysdeps/powerpc/dl-tls.h: Likewise.
56630 * sysdeps/s390/dl-tls.h: Likewise.
56631 * sysdeps/sh/dl-tls.h: Likewise.
56632 * sysdeps/sparc/dl-tls.h: Likewise.
56633 * sysdeps/x86_64/dl-tls.h: Likewise.
56634 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
56635
34fe483e
AS
566362011-03-14 Andreas Schwab <schwab@redhat.com>
56637
56638 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
56639 rpath element also skip the following colon.
56640 (expand_dynamic_string_token): Add is_path parameter and pass
56641 down to DL_DST_REQUIRED and _dl_dst_substitute.
56642 (decompose_rpath): Call expand_dynamic_string_token with
56643 non-zero is_path. Ignore empty rpaths.
56644 (_dl_map_object_from_fd): Call expand_dynamic_string_token
56645 with zero is_path.
56646
f12a32e6
AS
566472011-04-08 Andreas Schwab <schwab@linux-m68k.org>
56648
56649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
56650 Make cancelable.
56651
38a7d692
UD
566522011-04-09 Ulrich Drepper <drepper@gmail.com>
56653
56654 [BZ #12655]
56655 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
56656 Patch by Filipe David Manana <fdmanana@apache.org>.
56657
e451d22b
AS
566582011-04-07 Andreas Schwab <schwab@redhat.com>
56659
56660 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
56661 Maintain aligned stack.
56662 (CHECK_RSP): Remove unused macro.
56663
dedc7c7b
UD
566642011-04-03 Ulrich Drepper <drepper@gmail.com>
56665
56666 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
56667 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
56668
94521213
UD
566692011-04-02 Ulrich Drepper <drepper@gmail.com>
56670
56671 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
56672
8cb700c0 56673 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 56674
0354e355
L
566752011-03-26 H.J. Lu <hongjiu.lu@intel.com>
56676
56677 [BZ #12518]
56678 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
56679 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
56680 * sysdeps/x86_64/memmove.c: New file.
56681 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
56682 (memcpy): Renamed to ...
56683 (__new_memcpy): This.
56684 (memcpy): Provide GLIBC_2_14 memcpy.
56685 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
56686 (memcpy): Provide GLIBC_2_2_5 memcpy.
56687
8593482f
UD
566882011-04-01 Ulrich Drepper <drepper@gmail.com>
56689
56690 [BZ #12631]
56691 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
56692
81a5726b
AS
566932011-03-30 Andreas Schwab <schwab@redhat.com>
56694
56695 * misc/syncfs.c: New file.
56696 * misc/Makefile (routines): Add syncfs.
56697 * posix/unistd.h: Declare syncfs.
56698 * sysdeps/unix/syscalls.list: Add syncfs.
56699
00e5419f
AS
567002011-04-01 Andreas Schwab <schwab@redhat.com>
56701
56702 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
56703 open_by_handle_at.
56704 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
56705 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
56706 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56707 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56708 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56709 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
56710 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56711
748876bf
UD
567122011-04-01 Ulrich Drepper <drepper@gmail.com>
56713
658e451d
UD
56714 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
56715 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
56716 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
56717 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56718 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56719 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56720 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56721
748876bf
UD
56722 * io/Makefile: Compile fallocate.c, fallocate64.c, and
56723 sync_file_range.c with -fexceptions.
56724 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
56725 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
56726 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
56727 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
56728 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
56729 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
56730 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
56731 sync_file_range as cancellation point
56732 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
56733 now a wrapper around __call_sync_file_range with cancellation handling.
56734 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
56735 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
56736 function name to __call_sync_file_range.
56737 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
56738 Add call_sync_file_range.
748876bf 56739
6e63d5e1
AS
567402011-04-01 Andreas Schwab <schwab@redhat.com>
56741
56742 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 56743 bits/timex.h.
6e63d5e1 56744
46998f74
UD
567452011-04-01 Ulrich Drepper <drepper@gmail.com>
56746
4c1423ed
UD
56747 * iconv/iconv.h: Fix typo in comment.
56748 * io/fcntl.h: Likewise.
56749 * libio/stdio.h: Likewise.
56750 * posix/spawn.h: Likewise.
56751 * posix/unistd.h: Likewise.
56752 * stdlib/stdlib.h: Likewise.
56753 * time/time.h: Likewise.
56754 * wcsmbs/wchar.h: Likewise.
56755
158648c0
UD
56756 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
56757 open_by_handle): Add.
56758 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
56759 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
56760 Augment a few comments.
56761 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
56762 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56763 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56764 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56765 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56766 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
56767 open_by_handle.
56768
46998f74
UD
56769 * io/fcntl.h (AT_EMPTY_PATH): Define.
56770
83fe108b
UD
567712011-03-30 Ulrich Drepper <drepper@gmail.com>
56772
56773 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
56774 * sysdeps/unix/sysv/linux/bits/time.h: New file.
56775 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
56776 to...
56777 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
56778 * Versions.def: Add GLIBC_2.14.
56779 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
56780 Export.
83fe108b 56781
bb242059
UD
567822011-03-22 Ulrich Drepper <drepper@gmail.com>
56783
56784 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
56785 round counter.
56786 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
56787
c97a1282
L
567882011-03-20 H.J. Lu <hongjiu.lu@intel.com>
56789
56790 [BZ #12597]
56791 * string/test-strncmp.c (do_page_test): New function.
56792 (check2): Likewise.
56793 (test_main): Call check2.
56794 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
56795
2a115601
UD
567962011-03-20 Ulrich Drepper <drepper@gmail.com>
56797
56798 [BZ #12587]
56799 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
56800 Handle cache information in CPU leaf 4.
56801 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
56802
8126d904
UD
568032011-03-18 Ulrich Drepper <drepper@gmail.com>
56804
042c49c6 56805 [BZ #12583]
8126d904
UD
56806 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
56807 character representation.
56808 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
56809
ccfe366e
RA
568102011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
56811
56812 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
56813 END(__isnan) to END(__isnanf) to match function entry point/label
56814 EALIGN(__isnanf,...).
56815
c6e13027
JJ
568162011-03-10 Jakub Jelinek <jakub@redhat.com>
56817
56818 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
56819
33f85a3f
UD
568202011-03-10 Ulrich Drepper <drepper@gmail.com>
56821
028478fa
UD
56822 [BZ #12510]
56823 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
56824 copy from the symbol referenced in the relocation to initialize the
56825 used variable.
56826 Patch by Piotr Bury <pbury@goahead.com>.
56827 * elf/Makefile: Add rules to build and tst-unique3.
56828 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
56829 * elf/tst-unique3.cc: New file.
56830 * elf/tst-unique3.h: New file.
56831 * elf/tst-unique3lib.cc: New file.
56832 * elf/tst-unique3lib2.cc: New file.
56833
33f85a3f
UD
56834 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
56835
03592fc7
MF
568362011-03-10 Mike Frysinger <vapier@gentoo.org>
56837
56838 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
56839 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
56840 to _start.
03592fc7 56841
6a5ee102
UD
568422011-03-06 Ulrich Drepper <drepper@gmail.com>
56843
56844 * elf/dl-load.c (_dl_map_object): If we are looking for the first
56845 to-be-loaded object along a path to loader is ld.so.
56846
7e4ba49c
HJ
568472011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
56848 Ulrich Drepper <drepper@gmail.com>
56849
56850 * sysdeps/x86_64/memset.S: After aligning destination, code
56851 branches to different locations depending on the value of
56852 misalignment, when multiarch is enabled. Fix this.
56853
568542011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
56855
56856 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
56857 Set _x86_64_preferred_memory_instruction for AMD processsors.
56858 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56859 Set bit_Prefer_SSE_for_memop for AMD processors.
56860
13a804de
UD
568612011-03-04 Ulrich Drepper <drepper@gmail.com>
56862
56863 * libio/fmemopen.c (fmemopen): Optimize a bit.
56864
9d25c392
AS
568652011-03-03 Andreas Schwab <schwab@redhat.com>
56866
56867 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
56868
a5543c6a
RM
568692011-03-03 Roland McGrath <roland@redhat.com>
56870
56871 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
56872
012d35f7
DM
568732011-02-28 Aurelien Jarno <aurelien@aurel32.net>
56874
7e4ba49c 56875 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
56876 __bzero_ultra1 instead of __memset_ultra1.
56877
4bff6e01
AS
568782011-02-23 Andreas Schwab <schwab@redhat.com>
56879 Ulrich Drepper <drepper@gmail.com>
56880
56881 [BZ #12509]
56882 * include/link.h (struct link_map): Add l_orig_initfini.
56883 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
56884 returning unsuccessfully.
56885 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
56886 close of a file loaded at startup, restore the original l_initfini
56887 list.
56888 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
56889 list, store the pointer.
56890 * elf/Makefile ($(objpfx)noload-mem): New rule.
56891 (noload-ENV): Define.
56892 (tests): Add $(objpfx)noload-mem.
56893 * elf/noload.c: Include <memcheck.h>.
56894 (main): Call mtrace. Close all opened handles.
56895
f2092faf
AS
568962011-02-17 Andreas Schwab <schwab@redhat.com>
56897
56898 [BZ #12454]
56899 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
56900 dependencies are missing.
56901
6c8a2e88
ST
569022011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
56903
f2092faf 56904 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
56905 Hurd needs munmap.
56906 * sysdeps/mach/hurd/ifreq.h: New file.
56907
84a42118
PB
569082011-01-27 Petr Baudis <pasky@suse.cz>
56909 Ulrich Drepper <drepper@gmail.com>
56910
071f805e 56911 [BZ 12445]#
84a42118
PB
56912 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
56913 to extend_alloca().
56914 * stdio-common/bug23.c: New file.
56915 * stdio-common/Makefile (tests): Add bug23.
56916
e23fe25b
AS
569172010-09-28 Andreas Schwab <schwab@redhat.com>
56918 Ulrich Drepper <drepper@gmail.com>
56919
56920 [BZ #12489]
56921 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
56922 before performing relro protection. At old place add assertion
56923 to make sure nothing changed.
56924
d3f02e10
NS
569252011-02-17 Nathan Sidwell <nathan@codesourcery.com>
56926 Glauber de Oliveira Costa <glommer@gmail.com>
56927
56928 * elf/elf.h: Add new ARM TLS relocs.
56929
d55fd7a5
RA
569302011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
56931
56932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
56933 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
56934 cast from r3.
56935 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
56936 'tests' variable.
56937 * sysdeps/wordsize-64/tst-writev.c: New file.
56938
2206397e
RA
569392011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
56940
56941 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
56942 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
56943 insns in _dl_start to prevent a TOC reference before relocs are
56944 resolved.
56945
e9433893
UD
569462011-02-15 Ulrich Drepper <drepper@gmail.com>
56947
56948 [BZ #12469]
56949 * Makeconfig: Remove RANLIB definition.
56950 * Makerules: Don't use RANLIB.
56951 * aclocal.m4: Remove ranlib test.
56952 * configure.in: No need to check for ranlib.
56953 * elf/rtld-Rules: Don't use RANLIB.
56954
f75286c6
ST
569552011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
56956
8e31c82d
ST
56957 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
56958 protection macro.
56959 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
56960 inclusion protection macro.
56961
f75286c6
ST
56962 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
56963 SIGRTMIN and SIGRTMAX and print information in that case only when
56964 SIGRTMIN is defined.
56965
c1d0e639
JJ
569662011-02-11 Jakub Jelinek <jakub@redhat.com>
56967
56968 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
56969 arginfo fn returning -1.
56970
56971 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
56972 and thousands string is zero terminated.
56973
edf9294e
AS
569742011-02-03 Andreas Schwab <schwab@redhat.com>
56975
56976 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
56977 sysdeps/unix/sysv/linux/bits/socket.h.
56978
2b7e92df
ST
569792011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
56980
edf9294e
AS
56981 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
56982 (__CPU_COUNT): Remove old macros.
56983 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
56984 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
56985 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
56986 (__sched_cpualloc, __sched_cpufree): Add declarations.
56987
a4c7ea7b
UD
569882011-02-05 Ulrich Drepper <drepper@gmail.com>
56989
56990 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
56991 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
56992 * nscd/aicache.c (addhstaiX): Return timeout of added value.
56993 (readdhstai): Return value of addhstaiX call.
56994 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
56995 (addgrbyX): Return value returned by cache_addgr.
56996 (readdgrbyname): Return value returned by addgrbyX.
56997 (readdgrbygid): Likewise.
56998 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
56999 (addpwbyX): Return value returned by cache_addpw.
57000 (readdpwbyname): Return value returned by addhstbyX.
57001 (readdpwbyuid): Likewise.
57002 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
57003 (addservbyX): Return value returned by cache_addserv.
57004 (readdservbyname): Return value returned by addservbyX:
57005 (readdservbyport): Likewise.
57006 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
57007 (addhstbyX): Return value returned by cache_addhst.
57008 (readdhstbyname): Return value returned by addhstbyX.
57009 (readdhstbyaddr): Likewise.
57010 (readdhstbynamev6): Likewise.
57011 (readdhstbyaddrv6): Likewise.
57012 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
57013 (readdinitgroups): Return value returned by addinitgroupsX.
57014 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
57015 (prune_cache): Keep track of timeout value of re-added entries.
57016 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
57017 * nscd/nscd.h: Adjust prototypes of readd* functions.
57018
a0bf67cc
RM
570192011-02-04 Roland McGrath <roland@redhat.com>
57020
57021 * nis/nis_server.c (nis_servstate): Use the right name for 0.
57022 (nis_stats): Likewise.
57023 * nis/nis_modify.c (nis_modify): Likewise.
57024 * nis/nis_remove.c (nis_remove): Likewise.
57025 * nis/nis_add.c (nis_add): Likewise.
57026
57027 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
57028
57029 * posix/fnmatch_loop.c: Add some consts.
57030
57031 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
57032
435b95eb
L
570332011-02-02 H.J. Lu <hongjiu.lu@intel.com>
57034
57035 [BZ #12460]
57036 * config.make.in (config-cflags-novzeroupper): Define.
57037 * configure.in: Substitute libc_cv_cc_novzeroupper.
57038 * elf/Makefile (AVX-CFLAGS): Define.
57039 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
57040 (CFLAGS-tst-auditmod4a.c): Likewise.
57041 (CFLAGS-tst-auditmod4b.c): Likewise.
57042 (CFLAGS-tst-auditmod6b.c): Likewise.
57043 (CFLAGS-tst-auditmod6c.c): Likewise.
57044 (CFLAGS-tst-auditmod7b.c): Likewise.
57045 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
57046
8517b15e
UD
570472011-02-02 Ulrich Drepper <drepper@gmail.com>
57048
57049 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
57050 function to the callback.
57051 Patch partly by Jiri Olsa <jolsa@redhat.com>.
57052
10a656fe
AS
570532011-02-02 Andreas Schwab <schwab@redhat.com>
57054
57055 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
57056 of errno.
57057
968dad0a
UD
570582011-01-19 Ulrich Drepper <drepper@gmail.com>
57059
9f94d2ea 57060 [BZ #11724]
968dad0a
UD
57061 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
57062 of constructors.
57063 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
57064 of destructors.
57065 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
57066
57067 [BZ #11724]
57068 * elf/Makefile: Add rules to build and run new test.
57069 * elf/tst-initorder.c: New file.
57070 * elf/tst-initorder.exp: New file.
57071 * elf/tst-initordera1.c: New file.
57072 * elf/tst-initordera2.c: New file.
57073 * elf/tst-initordera3.c: New file.
57074 * elf/tst-initordera4.c: New file.
57075 * elf/tst-initorderb1.c: New file.
57076 * elf/tst-initorderb2.c: New file.
57077 * elf/tst-order-a1.c: New file.
57078 * elf/tst-order-a2.c: New file.
57079 * elf/tst-order-a3.c: New file.
57080 * elf/tst-order-a4.c: New file.
57081 * elf/tst-order-b1.c: New file.
57082 * elf/tst-order-b2.c: New file.
57083 * elf/tst-order-main.c: New file.
57084 New test case by George Gensure <werkt0@gmail.com>.
57085
86e92359
UD
570862010-10-01 Andreas Schwab <schwab@redhat.com>
57087
57088 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
57089 decoding ACE if AI_CANONIDN.
57090
5d5732b0
UD
570912011-01-18 Ulrich Drepper <drepper@gmail.com>
57092
57093 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
57094
a77e8cbc
UD
570952011-01-17 Ulrich Drepper <drepper@gmail.com>
57096
6392473f
UD
57097 * version.h (RELEASE): Bump for 2.13 release.
57098 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
57099
620a0529
UD
57100 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
57101
18ba70a5
UD
57102 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
57103 MADV_NOHUGEPAGE.
32465c3e
UD
57104 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
57105 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
57106 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
57107 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
57108 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
57109 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
57110
c0dafcf1
UD
57111 * posix/getconf.c: Update copyright year.
57112 * catgets/gencat.c: Likewise.
57113 * csu/version.c: Likewise.
57114 * debug/catchsegv.sh: Likewise.
57115 * debug/xtrace.sh: Likewise.
57116 * elf/ldconfig.c: Likewise.
57117 * elf/ldd.bash.in: Likewise.
57118 * elf/sprof.c (print_version): Likewise.
57119 * iconv/iconv_prog.c: Likewise.
57120 * iconv/iconvconfig.c: Likewise.
57121 * locale/programs/locale.c: Likewise.
57122 * locale/programs/localedef.c: Likewise.
57123 * malloc/memusage.sh: Likewise.
57124 * malloc/mtrace.pl: Likewise.
57125 * nscd/nscd.c (print_version): Likewise.
57126 * nss/getent.c: Likewise.
57127
a77e8cbc
UD
57128 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
57129 PF_CAIF, and PF_ALG.
57130 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
57131
77e8bddf
AS
571322011-01-16 Andreas Schwab <schwab@linux-m68k.org>
57133
1f20b93a
AS
57134 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
57135 (modules-names): Use them.
57136 (ifunc-test-modules, ifunc-pie-tests): Define.
57137 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
57138 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
57139 (test-extras): Likewise.
57140 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
57141 $(compile-command.c).
57142 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
57143 (all-built-dso): Define.
57144 (check-textrel.out, check-execstack.out): Depend on it.
57145
77e8bddf
AS
57146 * configure.in: Don't override --enable-multi-arch.
57147
bc425b33
UD
571482011-01-15 Ulrich Drepper <drepper@gmail.com>
57149
57150 [BZ #6812]
57151 * nscd/hstcache.c (tryagain): Define.
57152 (cache_addhst): Return tryagain not notfound for temporary errors.
57153 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
57154 failed.
57155
794c3ad3
UD
571562011-01-14 Ulrich Drepper <drepper@gmail.com>
57157
70181fdd
UD
57158 [BZ #10563]
57159 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
57160 to make the syscall.
57161 * sysdeps/unix/sysv/linux/setgroups.c: New file.
57162
794c3ad3
UD
57163 [BZ #12378]
57164 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
57165 and fall back to matching as normal character if the string ends before
57166 the matching ']' is found. This is what POSIX requires.
57167 * posix/testfnm.c: Adjust test result.
57168 * posix/globtest.sh: Adjust test result. Add new test.
57169 * posix/tst-fnmatch.input: Likewise.
57170 * posix/tst-fnmatch2.c: Add new test.
57171
68dc9497
AS
571722010-12-28 Andreas Schwab <schwab@linux-m68k.org>
57173
57174 * elf/Makefile (check-execstack): Revert last change. Depend on
57175 check-execstack.h.
57176 (check-execstack.h): New target.
57177 (generated): Add check-execstack.h.
57178 * elf/check-execstack.c: Include "check-execstack.h".
57179 (main): Revert last change.
57180 (handle_file): Return zero if GNU_STACK is absent and
57181 DEFAULT_STACK_PERMS doesn't include PF_X.
57182
451f001b
UD
571832011-01-13 Ulrich Drepper <drepper@gmail.com>
57184
cfa28e56
UD
57185 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
57186 in child fails because the descriptor is already closed.
8cf8ce17
UD
57187 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
57188 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
57189 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 57190
1086d70d
UD
57191 [BZ #12397]
57192 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
57193 syscall.
57194
451f001b
UD
57195 [BZ #10484]
57196 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
57197 temporary buffer used to handle multi lookups locally.
a85b5cb4 57198 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 57199
08769175
UD
572002011-01-12 Ulrich Drepper <drepper@gmail.com>
57201
57202 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
57203 loader is ld.so.
57204
5e49c52e
UD
572052011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
57206
57207 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
57208 alignment for SSE2.
57209
60522a5f
UD
572102011-01-12 Ulrich Drepper <drepper@gmail.com>
57211
57212 [BZ #12394]
57213 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
57214 characters. When rounding increased number of integer digits recompute
57215 number of groups.
57216 * stdio-common/tst-grouping.c: New file.
57217 * stdio-common/Makefile: Add rules to build and run tst-grouping.
57218
f257bbd7
UD
572192011-01-09 Ulrich Drepper <drepper@gmail.com>
57220
57221 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
57222 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
57223
57224 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
57225 void.
57226 * bits/select.h: Likewise.
57227
fa9c15cb
UD
572282011-01-08 Ulrich Drepper <drepper@gmail.com>
57229
57230 * po/ja.po: Update from translation team.
57231
16c2895f
DM
572322011-01-04 David S. Miller <davem@sunset.davemloft.net>
57233
57234 [BZ #11155]
57235 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
57236 implementation just like for lxstat, fxstatat, et al.
57237
2543fef2
JM
572382010-12-27 Jim Meyering <meyering@redhat.com>
57239
57240 [BZ #12348]
57241 * posix/regexec.c (build_trtable): Return failure indication upon
57242 calloc failure. Otherwise, re_search_internal could infloop on OOM.
57243
98727dbe
UD
572442010-12-25 Ulrich Drepper <drepper@gmail.com>
57245
5bd6dc5c
UD
57246 [BZ #12201]
57247 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
57248 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
57249 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
57250 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
57251
97983464
UD
57252 [BZ #12207]
57253 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
57254
98727dbe
UD
57255 [BZ #12204]
57256 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
57257 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
57258
4a531bb0
L
572592010-12-15 H.J. Lu <hongjiu.lu@intel.com>
57260
57261 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
57262 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
57263 script has SORT_BY_INIT_PRIORITY.
57264 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
57265 NO_CTORS_DTORS_SECTIONS is defined.
57266 * elf/soinit.c: Likewise.
57267 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
57268 NO_CTORS_DTORS_SECTIONS is defined.
57269 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
57270 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
57271 * sysdeps/sh/init-first.c: Likewise.
57272 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
57273
07eb4b71
UD
572742010-12-24 Ulrich Drepper <drepper@gmail.com>
57275
57276 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
57277 always use the slow path.
57278
30950a5f
RA
572792010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
57280
57281 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
57282 similar rule which adds the sysdep directories to the header search in
57283 order to pick up the correct platform stackinfo.h.
57284 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
57285 perform test if it is, otherwise return successfully without testing.
57286 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
57287 DEFAULT_STACK_PERMS define in stackinfo.h.
57288 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
57289 defined in stackinfo.h.
57290 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
57291 DEFAULT_STACK_PERMS defined in stackinfo.h.
57292 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
57293 * sysdeps/ia64/stackinfo.h: Likewise.
57294 * sysdeps/s390/stackinfo.h: Likewise.
57295 * sysdeps/sh/stackinfo.h: Likewise.
57296 * sysdeps/sparc/stackinfo.h: Likewise.
57297 * sysdeps/x86_64/stackinfo.h: Likewise.
57298 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
57299 PF_X for powerpc64. Retain PF_X for powerpc32.
57300
db753e2c
UD
573012010-12-19 Ulrich Drepper <drepper@gmail.com>
57302
14b697f7
UD
57303 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
57304 accurately.
db753e2c
UD
57305 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
57306 GETDENTS_64BIT_ALIGNED.
57307
28300719
UD
573082010-12-14 Ulrich Drepper <dreper@gmail.com>
57309
14b697f7 57310 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 57311
4f197237
AS
573122010-12-10 Andreas Schwab <schwab@redhat.com>
57313
dbb0472f
AS
57314 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
57315 _GNU_SOURCE.
57316
4f197237
AS
57317 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
57318 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
57319 Remove __restrict.
57320 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
57321 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
57322
fb88ac72
UD
573232010-12-09 Ulrich Drepper <drepper@gmail.com>
57324
57325 [BZ #11655]
57326 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
57327 are initialized.
57328
42acbb92
JJ
573292010-12-09 Jakub Jelinek <jakub@redhat.com>
57330
57331 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
57332
c038d98d
UD
573332010-12-03 Ulrich Drepper <drepper@gmail.com>
57334
57335 * po/it.po: Update from translation team.
57336
3a4a2499
L
573372010-12-01 H.J. Lu <hongjiu.lu@intel.com>
57338
57339 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
57340 unused codes.
57341
1e24cf6e
UD
573422010-11-30 Ulrich Drepper <drepper@gmail.com>
57343
57344 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
57345
a7690819
AS
573462010-11-24 Andreas Schwab <schwab@redhat.com>
57347
57348 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
57349 specially.
57350 (gaih_getanswer_slice): Likewise.
57351
3bf8d1b1
JJ
573522010-10-20 Jakub Jelinek <jakub@redhat.com>
57353
57354 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
57355
6db52fbb
PB
573562010-05-31 Petr Baudis <pasky@suse.cz>
57357
57358 [BZ #11149]
57359 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
57360 silently even in the chroot mode.
57361
eaca7569
UD
573622010-11-22 Ulrich Drepper <drepper@gmail.com>
57363
57364 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
57365 last patch a bit. Pretty printing
57366
3056dcdb
UD
573672010-05-31 Petr Baudis <pasky@suse.cz>
57368
57369 [BZ #10085]
57370 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
57371 initialization of skip_initgroups_dyn.
57372
cf7c9078
UD
573732010-11-19 Ulrich Drepper <drepper@gmail.com>
57374
57375 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
57376 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
57377
a1fb5e3e
UD
573782010-11-16 Ulrich Drepper <drepper@gmail.com>
57379
57380 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
57381
3540d66b
AS
573822010-11-11 Andreas Schwab <schwab@redhat.com>
57383
57384 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
57385 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
57386 (tst-fnmatch-ENV): Set MALLOC_TRACE.
57387 ($(objpfx)tst-fnmatch-mem): New rule.
57388 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
57389 * posix/tst-fnmatch.c (main): Call mtrace.
57390
13b69574
L
573912010-11-11 H.J. Lu <hongjiu.lu@intel.com>
57392
57393 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57394 Support Intel processor model 6 and model 0x2c.
57395
da93d214
LM
573962010-11-10 Luis Machado <luisgpm@br.ibm.com>
57397
57398 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
57399 signed comparison.
57400
8ca52c6e
L
574012010-11-09 H.J. Lu <hongjiu.lu@intel.com>
57402
57403 [BZ #12205]
57404 * string/test-strncasecmp.c (check_result): New function.
57405 (do_one_test): Use it.
57406 (check1): New function.
57407 (test_main): Use it.
57408 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
57409 Support strcasecmp and strncasecmp.
57410
69da074d
UD
574112010-11-08 Ulrich Drepper <drepper@gmail.com>
57412
57413 [BZ #12194]
57414 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
57415 * sysdeps/x86_64/bits/byteswap.h: Likewise.
57416
ff02d528
L
574172010-11-07 H.J. Lu <hongjiu.lu@intel.com>
57418
57419 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
57420 IFUNC support.
57421 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57422 memset-x86-64.
57423 * sysdeps/x86_64/multiarch/bzero.S: New file.
57424 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
57425 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
57426 * sysdeps/x86_64/multiarch/memset.S: New file.
57427 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
57428 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57429 Set bit_Prefer_SSE_for_memop for Intel processors.
57430 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
57431 Define.
57432 (index_Prefer_SSE_for_memop): Define.
57433 (HAS_PREFER_SSE_FOR_MEMOP): Define.
57434
344d0b54
LM
574352010-11-04 Luis Machado <luisgpm@br.ibm.com>
57436
57437 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
57438 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
57439
c0dde15b
UD
574402010-11-03 H.J. Lu <hongjiu.lu@intel.com>
57441
57442 [BZ #12191]
57443 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
57444 (__x86_64_raw_data_cache_size_half): Likewise.
57445 (__x86_64_raw_shared_cache_size): Likewise.
57446 (__x86_64_raw_shared_cache_size_half): Likewise.
57447
57448 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
57449 (__x86_64_raw_data_cache_size_half): Likewise.
57450 (__x86_64_raw_shared_cache_size): Likewise.
57451 (__x86_64_raw_shared_cache_size_half): Likewise.
57452 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
57453 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
57454 and __x86_64_raw_shared_cache_size_half. Round
57455 __x86_64_data_cache_size_half, __x86_64_data_cache_size
57456 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
57457 to multiple of 256 bytes.
57458
0e516e0e
MS
574592010-11-03 Ulrich Drepper <drepper@gmail.com>
57460
57461 [BZ #12167]
57462 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
57463 of inacessible symlinks. Verify result of symlink before returning it.
57464 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
57465 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
57466
0e012e87
ER
574672010-10-28 Erich Ritz <erichritz@gmail.com>
57468
57469 * math/math.h (isinf): Fix typo in comment.
57470
de0ff7bc
UD
574712010-11-01 Ulrich Drepper <drepper@gmail.com>
57472
57473 * po/da.po: Update from translation team.
57474
fa41c84d
UD
574752010-10-26 Ulrich Drepper <drepper@gmail.com>
57476
57477 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
57478 is added to the list.
57479
f0967738
AK
574802010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57481 Ulrich Drepper <drepper@gmail.com>
57482
57483 * elf/dl-object.c (_dl_new_object): Don't append the new object to
57484 the global list here. Move code to...
57485 (_dl_add_to_namespace_list): ...here. New function.
57486 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
57487 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
57488 * elf/dl-load.c (lose): Don't remove the element from the list.
57489 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
57490 (_dl_map_object): Likewise.
57491
574922010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
57493
57494 [BZ #12159]
57495 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
57496 into all bytes of SSE register.
57497 Patch by Richard Li <richardpku@gmail.com>.
57498
f0967738 574992010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
57500
57501 [BZ #12140]
57502 * malloc/malloc.c (_int_free): Fill correct number of bytes when
57503 perturbing.
57504
d0b9e94f
MB
575052010-10-20 Michael B. Brutman <brutman@us.ibm.com>
57506
57507 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
57508 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
57509 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
57510 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
57511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
57512 submachine.
57513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
57514
8e9f92e9
AS
575152010-10-22 Andreas Schwab <schwab@redhat.com>
57516
57517 * include/dlfcn.h (__RTLD_SECURE): Define.
57518 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
57519 mode & __RTLD_SECURE instead.
57520 (open_path): Rename preloaded parameter to secure.
57521 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
57522 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
57523 * elf/dl-deps.c (openaux): Likewise.
57524 * elf/rtld.c (struct map_args): Remove is_preloaded.
57525 (map_doit): Don't use it.
57526 (dl_main): Likewise.
57527 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
57528 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
57529
bc96fbda
AS
575302010-09-09 Andreas Schwab <schwab@redhat.com>
57531
57532 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
57533 (sysd-rules-targets): Remove duplicates.
57534 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
57535 rtld-%.$o dependency.
57536
22cd1c9b
AS
575372010-10-18 Andreas Schwab <schwab@redhat.com>
57538
57539 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
57540 _dl_map_object do it.
57541
18edac48
UD
575422010-10-19 Ulrich Drepper <drepper@gmail.com>
57543
57544 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
57545 fast fma builtins, define the macros in the C99 standard.
57546 (FP_FAST_FMAF): Likewise.
57547 (FP_FAST_FMAL): Likewise.
57548 * sysdeps/x86_64/bits/mathdef.h: Likewise.
57549
57550 * bits/mathdef.h: Update copyright year.
57551 * sysdeps/powerpc/bits/mathdef.h: Likewise.
57552
d2050124
MM
575532010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
57554
57555 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
57556 builtins, define the macros in the C99 standard.
57557 (FP_FAST_FMAF): Likewise.
57558 (FP_FAST_FMAL): Likewise.
57559 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
57560 multiply/add.
57561 (FP_FAST_FMAF): Likewise.
57562
475facd1
JJ
575632010-10-15 Jakub Jelinek <jakub@redhat.com>
57564
57565 [BZ #3268]
57566 * math/libm-test.inc (fma_test): Some new testcases.
57567 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
57568 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
57569 y and infinite z. Do multiplication by C already in long double.
57570 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
57571 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
57572 y and infinite z. Do bitwise or of inexact bit into u.d.
57573 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
57574 * sysdeps/i386/fpu/s_fmaf.S: Removed.
57575 * sysdeps/i386/fpu/s_fma.S: Removed.
57576 * sysdeps/i386/fpu/s_fmal.S: Removed.
57577
7c08a05c
JJ
575782010-10-16 Jakub Jelinek <jakub@redhat.com>
57579
57580 [BZ #3268]
57581 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
57582 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
57583 computation is not scheduled after fetestexcept. Fix value
57584 of minimum denormal long double.
57585
f3f7372d
JJ
575862010-10-14 Jakub Jelinek <jakub@redhat.com>
57587
57588 [BZ #3268]
57589 * math/libm-test.inc (fma_test): Add some more tests.
57590 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
57591 correctly.
57592
14d43591
AS
575932010-10-15 Andreas Schwab <schwab@redhat.com>
57594
57595 * scripts/data/localplt-s390-linux-gnu.data: New file.
57596 * scripts/data/localplt-s390x-linux-gnu.data: New file.
57597
5e908464
JJ
575982010-10-13 Jakub Jelinek <jakub@redhat.com>
57599
57600 [BZ #3268]
57601 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
57602 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
57603 instead of dbl-64.
57604 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
57605 inlines.
57606 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
57607 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
57608 if one of x and y is very large and the other is subnormal.
57609 * sysdeps/s390/fpu/s_fmaf.c: New file.
57610 * sysdeps/s390/fpu/s_fma.c: New file.
57611 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
57612 * sysdeps/powerpc/fpu/s_fma.S: New file.
57613 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
57614 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
57615 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
57616
576172010-10-12 Jakub Jelinek <jakub@redhat.com>
57618
57619 [BZ #3268]
57620 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
57621 fma tests.
57622 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
57623 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
57624 * sysdeps/i386/i686/multiarch/s_fma.c: Include
57625 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
57626 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
57627 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
57628 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
57629
b833d51f
UD
576302010-10-12 Ulrich Drepper <drepper@redhat.com>
57631
57632 [BZ #12078]
57633 * posix/regcomp.c (parse_branch): One more memory leak plugged.
57634 * posix/bug-regex31.input: Add test case.
57635
1751705d
UD
576362010-10-11 Ulrich Drepper <drepper@gmail.com>
57637
e9b9cbf5
UD
57638 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
57639 * posix/bug-regex31.input: New file.
57640
57641 [BZ #12078]
57642 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
57643 (parse_sub_exp): Fix last change, use postorder.
57644
ef06edbe
UD
57645 * posix/bug-regex31.c: New file.
57646 * posix/Makefile: Add rules to build and run bug-regex31.
57647
a129c80d
UD
57648 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
57649
57650 [BZ #12078]
57651 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
57652
b76b818e
UD
57653 [BZ #12108]
57654 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
57655 to have entries in sys_siglist.
57656
1751705d
UD
57657 [BZ #12093]
57658 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
57659 be NULL.
57660
9ff8d36f
JJ
576612010-10-07 Jakub Jelinek <jakub@redhat.com>
57662
57663 [BZ #3268]
57664 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
57665 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
57666 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
57667 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
57668 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
57669 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
57670 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
57671 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
57672 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
57673 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
57674 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
57675 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
57676 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
57677 * math/ftestexcept.c (fetestexcept): Likewise.
57678 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
57679 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
57680 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
57681 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
57682 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
57683 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
57684 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
57685
af325969
UD
576862010-10-11 Ulrich Drepper <drepper@gmail.com>
57687
c579b202 57688 [BZ #12107]
af325969
UD
57689 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
57690 newline.
57691
67a67b95
UD
576922010-10-06 Ulrich Drepper <drepper@gmail.com>
57693
57694 * string/bug-strstr1.c: New file.
57695 * string/Makefile: Add rules to build and run bug-strstr1.
57696
5fb308bc
EB
576972010-10-05 Eric Blake <eblake@redhat.com>
57698
57699 [BZ #12092]
57700 * string/str-two-way.h (two_way_long_needle): Always clear memory
57701 when skipping input due to the shift table.
57702
45db99c7
UD
577032010-10-03 Ulrich Drepper <drepper@gmail.com>
57704
3b111893
UD
57705 [BZ #12005]
57706 * malloc/mcheck.c: Handle large requests.
57707
45db99c7
UD
57708 [BZ #12077]
57709 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
57710 for strncmp and strncasecmp.
57711 * string/stratcliff.c: Add tests for strcmp and strncmp.
57712 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
57713
cf7a1eb8
NI
577142010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
57715
57716 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
57717 __set_fpscr.
57718
6484ba5e
AJ
577192010-09-30 Andreas Jaeger <aj@suse.de>
57720
57721 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
57722 (CGROUP_SUPER_MAGIC): Define.
57723 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
57724 Handle btrfs and cgroup file systems.
57725 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
57726 Likewise.
57727
91c42559
LM
577282010-09-27 Luis Machado <luisgpm@br.ibm.com>
57729
57730 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
57731 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
57732
87a97932
AK
577332010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57734
57735 [BZ #12067]
57736 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
57737 trying to locate the ELF header.
57738
c21cc9bc
AS
577392010-09-27 Andreas Schwab <schwab@redhat.com>
57740
57741 [BZ #11611]
57742 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
57743 Mask out sign-bit copies when constructing f_fsid.
57744
315970f6
PB
577452010-09-24 Petr Baudis <pasky@suse.cz>
57746
57747 * debug/stack_chk_fail_local.c: Add missing licence exception.
57748 * debug/warning-nop.c: Likewise.
57749
1ac7a2c7
JM
577502010-09-15 Joseph Myers <joseph@codesourcery.com>
57751
57752 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
57753 implementing getdents64 using getdents syscall, set d_type if
57754 __ASSUME_GETDENTS32_D_TYPE.
57755
56801c50
AS
577562010-09-16 Andreas Schwab <schwab@redhat.com>
57757
57758 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
57759 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
57760
dda51327
UD
577612010-09-21 Ulrich Drepper <drepper@redhat.com>
57762
57763 [BZ #12037]
57764 * posix/unistd.h: Undo change of feature selection for ftruncate from
57765 2010-01-11.
57766
8ffcee4a
UD
577672010-09-20 Ulrich Drepper <drepper@redhat.com>
57768
a545ecd9 57769 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
57770 detection.
57771
e24f0a8b
AS
577722010-09-20 Andreas Schwab <schwab@redhat.com>
57773
57774 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
57775 fanotify_mark.
57776 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
57777
7291c56f
AS
577782010-09-14 Andreas Schwab <schwab@redhat.com>
57779
57780 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
57781 variables after CHECK_SP call.
57782 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
57783
bc5fb037
AS
577842010-09-13 Andreas Schwab <schwab@redhat.com>
57785 Ulrich Drepper <drepper@redhat.com>
57786
57787 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
57788 re-relocationg ld.so.
57789 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
57790 _dl_init_paths call.
57791 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
57792 here anymore.
57793
e66e7419
UD
577942010-09-14 Ulrich Drepper <drepper@redhat.com>
57795
57796 * resolv/res_init.c (__res_vinit): Count the default server we added.
57797
c044aa75
CLT
577982010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
57799 Ulrich Drepper <drepper@redhat.com>
57800
57801 [BZ #11968]
57802 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
57803 (____longjmp_chk): Use %ebx for saving value across system call.
57804 Add unwind info.
57805
32cf4069
AS
578062010-09-06 Andreas Schwab <schwab@redhat.com>
57807
57808 * manual/Makefile: Don't mix pattern rules with normal rules.
57809
817328ee
AS
578102010-09-05 Andreas Schwab <schwab@linux-m68k.org>
57811
57812 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
57813 operation.
57814 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
57815 * libio/iofopncook.c (_IO_cookie_init): Likewise.
57816 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
57817 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
57818 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
57819 Likewise.
57820
29fddf61
UD
578212010-09-04 Ulrich Drepper <drepper@redhat.com>
57822
57823 [BZ #11979]
57824 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
57825 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
57826
0959ffc9
UD
578272010-09-02 Ulrich Drepper <drepper@redhat.com>
57828
57829 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
57830 * sysdeps/x86_64/addmul_1.S: Likewise.
57831 * sysdeps/x86_64/lshift.S: Likewise.
57832 * sysdeps/x86_64/mul_1.S: Likewise.
57833 * sysdeps/x86_64/rshift.S: Likewise.
57834 * sysdeps/x86_64/sub_n.S: Likewise.
57835 * sysdeps/x86_64/submul_1.S: Likewise.
57836
ece29840
ST
578372010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
57838
0959ffc9
UD
57839 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
57840 Define __sched_param instead of SCHED_* and sched_param when
ece29840 57841 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 57842 * bits/sched.h [__need_schedparam]
ece29840 57843 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
57844 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
57845 (__defined_schedparam): Define to 1.
ece29840
ST
57846 (__sched_param): New structure, identical to sched_param.
57847 (__need_schedparam): Undefine.
57848
e53a31fe
MF
578492010-08-31 Mike Frysinger <vapier@gentoo.org>
57850
fdc0c10d
MF
57851 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
57852 (epoll_create1): Declare.
57853
e53a31fe
MF
57854 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
57855
a726d796
AS
578562010-08-31 Andreas Schwab <schwab@redhat.com>
57857
57858 [BZ #7066]
57859 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
57860 shifting retval into place.
57861
2f3e3dc7
UD
578622010-09-01 Ulrich Drepper <drepper@redhat.com>
57863
f2933da9
UD
57864 * nis/rpcsvc/nis.h: Update copyright notice.
57865 * nis/rpcsvc/nis.x: Likewise.
57866 * nis/rpcsvc/nis_callback.h: Likewise.
57867 * nis/rpcsvc/nis_callback.x: Likewise.
57868 * nis/rpcsvc/nis_object.x: Likewise.
57869 * nis/rpcsvc/nis_tags.h: Likewise.
57870 * nis/rpcsvc/yp.h: Likewise.
57871 * nis/rpcsvc/yp.x: Likewise.
57872 * nis/rpcsvc/ypupd.h: Likewise.
57873 * nis/yp_xdr.c: Likewise.
57874 * nis/ypupdate_xdr.c: Likewise.
57875
2f3e3dc7
UD
57876 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
57877 mainly the body of pmap_getport. Add parameters to specify timeouts.
57878 (pmap_getport): Use __libc_rpc_getport.
57879 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
57880 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
57881 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
57882
f3dcc2f9
AS
578832010-08-31 Andreas Schwab <schwab@linux-m68k.org>
57884
57885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
57886 fanotify_mark.
57887
6d34eb5b
RM
578882010-08-27 Roland McGrath <roland@redhat.com>
57889
57890 * sysdeps/i386/i686/multiarch/Makefile
57891 (CFLAGS-varshift.c): New variable.
57892
9ea3de11
UD
578932010-08-27 Ulrich Drepper <drepper@redhat.com>
57894
c96d23fc
UD
57895 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
57896 * sysdeps/i386/i686/multiarch/varshift.c: New file.
57897
9ea3de11
UD
57898 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
57899
57900 * sysdeps/x86_64/strlen.S: Minimal code improvement.
57901
623aac7f
L
579022010-08-26 H.J. Lu <hongjiu.lu@intel.com>
57903
57904 * sysdeps/x86_64/strlen.S: Unroll the loop.
57905 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57906 strlen-sse2 strlen-sse2-bsf.
57907 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
57908 __strlen_no_bsf if bit_Slow_BSF is set.
57909 (__strlen_sse42): Removed.
57910 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
57911 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
57912
8b2b7715
RM
579132010-08-25 Roland McGrath <roland@redhat.com>
57914
57915 * sysdeps/x86_64/multiarch/varshift.S: File removed.
57916 * sysdeps/x86_64/multiarch/varshift.c: New file.
57917 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
57918 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
57919 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
57920 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
57921
e73015f2
L
579222010-08-25 H.J. Lu <hongjiu.lu@intel.com>
57923
57924 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57925 strlen-sse2 strlen-sse2-bsf.
57926 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
57927 __strlen_sse2_bsf if bit_Slow_BSF is unset.
57928 (__strlen_sse2): Removed.
57929 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
57930 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
57931 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
57932 bit_Slow_BSF for Atom.
57933 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
57934 (index_Slow_BSF): Define.
57935 (HAS_SLOW_BSF): Define.
57936
df24a73e
UD
579372010-08-25 Ulrich Drepper <drepper@redhat.com>
57938
57939 [BZ #10851]
57940 * resolv/res_init.c (__res_vinit): When no server address at all
57941 is given default to loopback.
57942
f2ac4868
RM
579432010-08-24 Roland McGrath <roland@redhat.com>
57944
09055553
RM
57945 * configure.in: Remove config-name.h generation.
57946 * configure: Regenerated.
57947 * config-name.in: File removed.
57948 * scripts/config-uname.sh: New file.
57949 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
57950 ($(objdir)config-name.h): New target.
57951
f2ac4868
RM
57952 * sunrpc/rpc_parse.h: Avoid nested comment.
57953
73f27d5e
RH
579542010-08-24 Richard Henderson <rth@redhat.com>
57955 Ulrich Drepper <drepper@redhat.com>
57956 H.J. Lu <hongjiu.lu@intel.com>
57957
57958 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
57959 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
57960 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
57961 Replace _mm_srli_si128 with __m128i_shift_right. Replace
57962 _mm_alignr_epi8 with _mm_loadu_si128.
57963 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
57964 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
57965 (__m128i_shift_right): Removed.
57966 * sysdeps/i386/i686/multiarch/varshift.h: New file.
57967 * sysdeps/i386/i686/multiarch/varshift.S: New file.
57968 * sysdeps/x86_64/multiarch/varshift.h: New file.
57969 * sysdeps/x86_64/multiarch/varshift.S: New file.
57970
84b9230c
MF
579712010-08-21 Mike Frysinger <vapier@gentoo.org>
57972
57973 * configure.in: Move assembler checks to before sysdep dir checking.
57974
9bbd0ddc
PB
579752010-08-20 Petr Baudis <pasky@suse.cz>
57976
57977 * LICENSES: Sync the sunrpc license.
57978
9da4bb31
UD
579792010-08-19 Ulrich Drepper <drepper@redhat.com>
57980
a7ab6ec8
UD
57981 * sunrpc/auth_des.c: Update copyright notice once again.
57982 * sunrpc/auth_none.c: Likewise.
57983 * sunrpc/auth_unix.c: Likewise.
57984 * sunrpc/authdes_prot.c: Likewise.
57985 * sunrpc/authuxprot.c: Likewise.
57986 * sunrpc/bindrsvprt.c: Likewise.
57987 * sunrpc/clnt_gen.c: Likewise.
57988 * sunrpc/clnt_perr.c: Likewise.
57989 * sunrpc/clnt_raw.c: Likewise.
57990 * sunrpc/clnt_simp.c: Likewise.
57991 * sunrpc/clnt_tcp.c: Likewise.
57992 * sunrpc/clnt_udp.c: Likewise.
57993 * sunrpc/clnt_unix.c: Likewise.
57994 * sunrpc/des_crypt.c: Likewise.
57995 * sunrpc/des_soft.c: Likewise.
57996 * sunrpc/get_myaddr.c: Likewise.
57997 * sunrpc/getrpcport.c: Likewise.
57998 * sunrpc/key_call.c: Likewise.
57999 * sunrpc/key_prot.c: Likewise.
58000 * sunrpc/openchild.c: Likewise.
58001 * sunrpc/pm_getmaps.c: Likewise.
58002 * sunrpc/pm_getport.c: Likewise.
58003 * sunrpc/pmap_clnt.c: Likewise.
58004 * sunrpc/pmap_prot.c: Likewise.
58005 * sunrpc/pmap_prot2.c: Likewise.
58006 * sunrpc/pmap_rmt.c: Likewise.
58007 * sunrpc/rpc/auth.h: Likewise.
58008 * sunrpc/rpc/auth_unix.h: Likewise.
58009 * sunrpc/rpc/clnt.h: Likewise.
58010 * sunrpc/rpc/des_crypt.h: Likewise.
58011 * sunrpc/rpc/key_prot.h: Likewise.
58012 * sunrpc/rpc/netdb.h: Likewise.
58013 * sunrpc/rpc/pmap_clnt.h: Likewise.
58014 * sunrpc/rpc/pmap_prot.h: Likewise.
58015 * sunrpc/rpc/pmap_rmt.h: Likewise.
58016 * sunrpc/rpc/rpc.h: Likewise.
58017 * sunrpc/rpc/rpc_des.h: Likewise.
58018 * sunrpc/rpc/rpc_msg.h: Likewise.
58019 * sunrpc/rpc/svc.h: Likewise.
58020 * sunrpc/rpc/svc_auth.h: Likewise.
58021 * sunrpc/rpc/types.h: Likewise.
58022 * sunrpc/rpc/xdr.h: Likewise.
58023 * sunrpc/rpc_clntout.c: Likewise.
58024 * sunrpc/rpc_cmsg.c: Likewise.
58025 * sunrpc/rpc_common.c: Likewise.
58026 * sunrpc/rpc_cout.c: Likewise.
58027 * sunrpc/rpc_dtable.c: Likewise.
58028 * sunrpc/rpc_hout.c: Likewise.
58029 * sunrpc/rpc_main.c: Likewise.
58030 * sunrpc/rpc_parse.c: Likewise.
58031 * sunrpc/rpc_parse.h: Likewise.
58032 * sunrpc/rpc_prot.c: Likewise.
58033 * sunrpc/rpc_sample.c: Likewise.
58034 * sunrpc/rpc_scan.c: Likewise.
58035 * sunrpc/rpc_scan.h: Likewise.
58036 * sunrpc/rpc_svcout.c: Likewise.
58037 * sunrpc/rpc_tblout.c: Likewise.
58038 * sunrpc/rpc_util.c: Likewise.
58039 * sunrpc/rpc_util.h: Likewise.
58040 * sunrpc/rpcinfo.c: Likewise.
58041 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
58042 * sunrpc/rpcsvc/key_prot.x: Likewise.
58043 * sunrpc/rpcsvc/klm_prot.x: Likewise.
58044 * sunrpc/rpcsvc/mount.x: Likewise.
58045 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
58046 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
58047 * sunrpc/rpcsvc/rex.x: Likewise.
58048 * sunrpc/rpcsvc/rstat.x: Likewise.
58049 * sunrpc/rpcsvc/rusers.x: Likewise.
58050 * sunrpc/rpcsvc/sm_inter.x: Likewise.
58051 * sunrpc/rpcsvc/spray.x: Likewise.
58052 * sunrpc/rpcsvc/yppasswd.x: Likewise.
58053 * sunrpc/rtime.c: Likewise.
58054 * sunrpc/svc.c: Likewise.
58055 * sunrpc/svc_auth.c: Likewise.
58056 * sunrpc/svc_authux.c: Likewise.
58057 * sunrpc/svc_raw.c: Likewise.
58058 * sunrpc/svc_run.c: Likewise.
58059 * sunrpc/svc_simple.c: Likewise.
58060 * sunrpc/svc_tcp.c: Likewise.
58061 * sunrpc/svc_udp.c: Likewise.
58062 * sunrpc/svc_unix.c: Likewise.
58063 * sunrpc/svcauth_des.c: Likewise.
58064 * sunrpc/xcrypt.c: Likewise.
58065 * sunrpc/xdr.c: Likewise.
58066 * sunrpc/xdr_array.c: Likewise.
58067 * sunrpc/xdr_float.c: Likewise.
58068 * sunrpc/xdr_mem.c: Likewise.
58069 * sunrpc/xdr_rec.c: Likewise.
58070 * sunrpc/xdr_ref.c: Likewise.
58071 * sunrpc/xdr_sizeof.c: Likewise.
58072 * sunrpc/xdr_stdio.c: Likewise.
58073
9da4bb31
UD
58074 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
58075 handling.
58076
bdaa77bc
AS
580772010-08-19 Andreas Schwab <schwab@redhat.com>
58078
58079 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
58080
fe2f79db
LM
580812010-08-19 Luis Machado <luisgpm@br.ibm.com>
58082
58083 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
58084 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
58085 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
58086 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
58087 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
58088 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
58089 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
58090 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
58091 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
58092 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
58093 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
58094 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
58095 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
58096 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
58097
b9b42ee0
AB
580982010-07-26 Anton Blanchard <anton@samba.org>
58099
58100 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
58101 * malloc/arena.c (heap_trim): Likewise.
58102
1c06ba31
UD
581032010-08-16 Ulrich Drepper <drepper@redhat.com>
58104
58105 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
58106 here. Not...
58107 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
58108 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
58109
f8392f40
L
581102010-08-12 H.J. Lu <hongjiu.lu@intel.com>
58111
58112 * sysdeps/i386/elf/Makefile: New file.
58113
3162f12e
AS
581142010-08-14 Andreas Schwab <schwab@linux-m68k.org>
58115
58116 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
58117 from fanotify_init.
58118 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
58119 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
58120
28c90b2c
UD
581212010-08-15 Ulrich Drepper <drepper@redhat.com>
58122
58123 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
58124 of strncasecmp_l.
1feccb6c 58125 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 58126
ca6bb004
UD
581272010-08-14 Ulrich Drepper <drepper@redhat.com>
58128
e9f82e0d
UD
58129 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
58130 strncase_l-nonascii.
58131 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
58132 Add strncase_l-ssse3.
58133 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
58134 * sysdeps/x86_64/strcmp.S: Likewise.
58135 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
58136 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
58137 * sysdeps/x86_64/strncase.S: New file.
58138 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
58139 * sysdeps/x86_64/strncase_l.S: New file.
58140 * string/Makefile (strop-tests): Add strncasecmp.
58141 * string/test-strncasecmp.c: New file.
58142
58143 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
58144 warning.
58145
ca6bb004
UD
58146 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
58147 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
58148
052fa7b3
AS
581492010-08-14 Andreas Schwab <schwab@linux-m68k.org>
58150
58151 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
58152
962dba78
UD
581532010-08-12 Ulrich Drepper <drepper@redhat.com>
58154
58155 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
58156 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
58157 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
58158
bebff237
AM
581592010-05-01 Alan Modra <amodra@gmail.com>
58160
58161 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
58162 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
58163 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
58164 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
58165 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
58166 tidying. Don't tail-call __sigjmp_save for static lib.
58167 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
58168 save location.
58169 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
58170 (CALL_MCOUNT): Add eh info, and nop after bl.
58171 (TAIL_CALL_SYSCALL_ERROR): New macro.
58172 (PSEUDO_RET): Use it.
58173 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
58174 Correct save location of integer regs and cr.
58175 (_dl_profile_resolve): Correct cr save location. Delete nops
58176 after bl when SHARED. Reduce cfi size a little by better
58177 placement of cfi directives.
58178 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
58179 make a stack frame. Instead use parm save area as a temp.
58180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
58181 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
58182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
58183 Don't make a stack frame for parent, use parm save area.
58184 Increase child stack frame to 112 bytes. Don't save unused reg,
58185 and adjust reg usage. Set up cfi on error recovery and
58186 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
58187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
58188 (__makecontext): Add dummy nop after jump to exit.
58189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
58190 Use correct parm save area and cr save, reduce stack frame.
58191 Correct cfi for possible PSEUDO_RET frame setup.
58192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
58193 Branch to local label emitted by PSEUDO_RET rather than
58194 __syscall_error.
58195
02637374
AS
581962010-08-12 Andreas Schwab <schwab@redhat.com>
58197
58198 [BZ #11904]
58199 * locale/programs/locale.c (print_assignment): New function.
58200 (show_locale_vars): Use it.
58201
c3e2f19b
UD
582022010-08-11 Ulrich Drepper <drepper@redhat.com>
58203
3cdaa6ad
UD
58204 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
58205 field.
58206 (struct statfs64): Likewise.
58207 (_STATFS_F_FLAGS): Define.
58208 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
58209 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
58210 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
58211 (ST_VALID): Define locally.
58212 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
58213 __statvfs_getflags, use the provided value.
58214 * sysdeps/unix/sysv/linux/kernel-features.h: Define
58215 __ASSUME_STATFS_F_FLAGS.
58216
754f7da3
UD
58217 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
58218
10b3bedc
UD
58219 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
58220 Add sys/fanotify.h.
58221 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
58222 fanotify_mask for GLIBC_2.13.
58223 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
58224 fanotify_init and fanotify_mark.
58225 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
58226 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
58227
c08fb0d7
UD
58228 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
58229 Add prlimit.
58230 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
58231 prlimit64 for GLIBC_2.13.
58232 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
58233 prlimit64.
58234 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
58235 syscall.
58236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
58237 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
58238 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
58239 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
58240 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
58241 add prlimit alias.
58242 * sysdeps/unix/sysv/linux/prlimit.c: New file.
58243
15bac72b
UD
58244 [BZ #11903]
58245 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
58246 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
58247
c3e2f19b
UD
58248 * nss/Makefile: Add rules to build and run tst-nss-test1.
58249 * shlib-versions: Add entry for libnss_test1.
58250 * nss/nss_test1.c: New file.
58251 * nss/tst-nss-test1.c: New file.
58252
58253 * nss/nsswitch.c (__nss_database_custom): Define new variable.
58254 (__nss_configure_lookup): Set appropriate entry in
58255 __nss_configure_lookup to true.
58256 * nss/nsswitch.h: Define enum with indeces of databases in
58257 databases and __nss_database_custom arrays. Declare
58258 __nss_database_custom.
58259 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
58260 to avoid using nscd when custom rules are installed.
58261 * nss/getXXbyYY_r.c: Likewise.
58262 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
58263
58264 * nss/nss_files/files-parse.c: Whitespace fixes.
58265
f15ce4d8
UD
582662010-08-09 Ulrich Drepper <drepper@redhat.com>
58267
58268 [BZ #11883]
58269 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
58270 * posix/fnmatch_loop.c: Likewise.
58271
d22e4cc9
AK
582722010-07-17 Andi Kleen <ak@linux.intel.com>
58273
58274 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
58275 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
58276 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
58277 * Versions.def [GLIBC_2.13]: Add.
58278
805bc17d
UD
582792010-08-06 Ulrich Drepper <drepper@redhat.com>
58280
58281 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
58282 Also fail if tpwd after pwuid call is NULL.
58283
5a42321d
ST
582842010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
58285
58286 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
58287 when converting to ms.
58288
fd3ebeda
ST
582892010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
58290
58291 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
58292 EOPNOTSUPP errors with ENOTTY.
58293 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
58294 EOPNOTSUPP errors with ENOTTY.
58295
73507d3a
UD
582962010-07-31 Ulrich Drepper <drepper@redhat.com>
58297
58298 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
58299 Add strcasecmp_l-ssse3.
58300 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
58301 strcasecmp.
58302 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
58303 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
58304 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
58305
fe36dd02
UD
583062010-07-30 Ulrich Drepper <drepper@redhat.com>
58307
66f6765a
UD
58308 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
58309
42e08a54
UD
58310 * string/Makefile (strop-tests): Add strcasecmp.
58311 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
58312 strcasecmp_l-nonascii.
58313 (gen-as-const-headers): Add locale-defines.sym.
58314 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
58315 * sysdeps/x86_64/strcasecmp.S: New file.
58316 * sysdeps/x86_64/strcasecmp_l.S: New file.
58317 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
58318 * sysdeps/x86_64/locale-defines.sym: New file.
58319 * string/test-strcasecmp.c: New file.
58320
fe36dd02
UD
58321 * string/test-strcasestr.c: Test both ends of the range of characters.
58322 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
58323
48cbc0d6
RM
583242010-07-29 Roland McGrath <roland@redhat.com>
58325
76e6d6bc 58326 [BZ #11856]
48cbc0d6
RM
58327 * manual/locale.texi (Yes-or-No Questions): Fix example code.
58328
880113d9
UD
583292010-07-27 Ulrich Drepper <drepper@redhat.com>
58330
58331 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
58332 for ld.so.
58333
deb9cabb
AS
583342010-07-27 Andreas Schwab <schwab@redhat.com>
58335
58336 * manual/memory.texi (Malloc Tunable Parameters): Document
58337 M_PERTURB.
58338
1c7570ff
RM
583392010-07-26 Roland McGrath <roland@redhat.com>
58340
58341 [BZ #11840]
58342 * configure.in (-fgnu89-inline check): Set and substitute
58343 gnu89_inline, not libc_cv_gnu89_inline.
58344 * configure: Regenerated.
58345 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
58346
24fb0f88
UD
583472010-07-26 Ulrich Drepper <drepper@redhat.com>
58348
58349 * string/test-strnlen.c: New file.
58350 * string/Makefile (strop-tests): Add strnlen.
58351 * string/tester.c (test_strnlen): Add a few more test cases.
58352 * string/tst-strlen.c: Better error reporting.
58353
58354 * sysdeps/x86_64/strnlen.S: New file.
58355
8e96b93a
UD
583562010-07-24 Ulrich Drepper <drepper@redhat.com>
58357
58358 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
58359 lower-latency instructions.
58360
dbc676d4
UD
583612010-07-23 Ulrich Drepper <drepper@redhat.com>
58362
58363 * string/test-strcasestr.c: New file.
58364 * string/test-strstr.c: New file.
58365 * string/Makefile (strop-tests): Add strstr and strcasestr.
58366 * string/str-two-way.h: Don't undefine MAX.
58367 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
58368
f6a31e0e
AS
583692010-07-21 Andreas Schwab <schwab@redhat.com>
58370
58371 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58372 strcasestr-nonascii.
58373 (CFLAGS-strcasestr-nonascii.c): Define.
58374 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
58375 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
58376 Remove unused attribute.
58377
5dbc3b6c
RM
583782010-07-20 Roland McGrath <roland@redhat.com>
58379
58380 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
58381 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
58382 ld.so.cache was broken. With it, there is no way to disable dsocaps
58383 like LD_HWCAP_MASK can disable hwcaps.
58384
23d101d8
EPM
583852010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
58386
58387 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
58388
cc9f2e47
UD
583892010-07-16 Ulrich Drepper <drepper@redhat.com>
58390
58391 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
58392 call in strcasestr.
58393 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
58394 __strcasestr_sse42_nonascii.
58395 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
58396 strcasestr-nonascii.c.
58397 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
58398
77c1b069
LM
583992010-06-15 Luis Machado <luisgpm@br.ibm.com>
58400
58401 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
58402 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
58403 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
58404 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
58405
440566c3
UD
584062010-07-09 Ulrich Drepper <drepper@redhat.com>
58407
58408 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
58409 fcntl.
58410
5be9d05d
AS
584112010-07-06 Andreas Schwab <schwab@redhat.com>
58412
c30b7ee2 58413 [BZ #11577]
5be9d05d
AS
58414 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
58415 dl_signal_cerror.
58416
8a492a67
UD
584172010-07-06 Ulrich Drepper <drepper@redhat.com>
58418
58419 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
58420 _PC_PIPE_BUF using F_GETPIPE_SZ.
58421
713df3d5
RM
584222010-07-05 Roland McGrath <roland@redhat.com>
58423
58424 * manual/arith.texi (Rounding Functions): Fix rint description
58425 implicit in round description.
58426
702e8f14
UD
584272010-07-02 Ulrich Drepper <drepper@redhat.com>
58428
58429 * elf/Makefile: Fix linking for a few tests to make recent linker
58430 happy.
58431
52ed8be9
AS
584322010-06-30 Andreas Schwab <schwab@redhat.com>
58433
58434 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
58435 $(common-objpfx)libc_nonshared.a.
58436
f47c9a11
LM
584372010-06-21 Luis Machado <luisgpm@br.ibm.com>
58438
58439 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
58440 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
58441 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
58442 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
58443 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
58444 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
58445 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
58446 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
58447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
58448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
58449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
58450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
58451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
58452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
58453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
58454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
58455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
58456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
58457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
58458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
58459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
58460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
58461 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
58462 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
58463 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
58464 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
58465 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
58466 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
58467 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
58468 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
58469 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
58470 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
58471 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
58472 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
58473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
58474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
58475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
58476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
58477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
58478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
58479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
58480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
58481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
58482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
58483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
58484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
58485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
58486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
58487
6fb8cbcb
L
584882010-06-25 H.J. Lu <hongjiu.lu@intel.com>
58489
58490 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
58491 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
58492 * string/memmove.c (memmove): Renamed to ...
58493 (MEMMOVE): ...this. Default to memmove.
58494 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
58495 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
58496 (END_CHK): Define.
58497 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58498 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
58499 mempcpy-ssse3-back memmove-ssse3-back.
58500 * sysdeps/x86_64/multiarch/bcopy.S: New file .
58501 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
58502 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
58503 * sysdeps/x86_64/multiarch/memcpy.S: New file.
58504 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
58505 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
58506 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
58507 * sysdeps/x86_64/multiarch/memmove.c: New file.
58508 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
58509 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
58510 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
58511 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
58512 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
58513 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
58514 Define.
58515 (index_Fast_Copy_Backward): Define.
58516 (HAS_ARCH_FEATURE): Define.
58517 (HAS_FAST_REP_STRING): Define.
58518 (HAS_FAST_COPY_BACKWARD): Define.
58519
4e733bac 585202010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
58521
58522 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
58523 Restore proper fallback handling.
58524
63c4ed22
UD
585252010-06-19 Ulrich Drepper <drepper@redhat.com>
58526
ac2b484c
UD
58527 [BZ #11701]
58528 * posix/group_member.c (__group_member): Correct checking loop.
58529
63c4ed22
UD
58530 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
58531 OOM in getpwuid_r correctly. Return error number when the caller
58532 should return, otherwise -1.
58533 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
58534 call returning > 0 value.
58535 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
58536
765ade4b
AS
585372010-06-07 Andreas Schwab <schwab@redhat.com>
58538
58539 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
58540 libc_nonshared.a from targets in modules-names.
58541
80da2e09
KS
585422010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
58543
58544 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
58545 requires it.
58546
158db122
LM
585472010-06-10 Luis Machado <luisgpm@br.ibm.com>
58548
58549 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
58550 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
58551 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
58552 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
58553
caa78cf8
AS
585542010-06-02 Andreas Schwab <schwab@redhat.com>
58555
58556 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
58557
b2ef2c01
UD
585582010-06-14 Ulrich Drepper <drepper@redhat.com>
58559
58560 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
58561 and F_GETPIPE_SZ.
58562 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
58563 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
58564 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
58565 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
58566 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
58567 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
58568
fbd643b6
RM
585692010-06-14 Roland McGrath <roland@redhat.com>
58570
58571 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
58572
f32f2869
JJ
585732010-06-07 Jakub Jelinek <jakub@redhat.com>
58574
58575 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
58576 __REDIRECT followed by __THROW.
58577 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
58578 * posix/getopt.h (getopt): Likewise.
58579
2a50c078
EPM
585802010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
58581
58582 * hurd/lookup-at.c (__file_name_lookup_at): Accept
58583 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
58584 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
58585 in AT_FLAGS.
58586 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
58587 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
58588
eb5ad2eb
LM
585892010-05-28 Luis Machado <luisgpm@br.ibm.com>
58590
58591 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
58592
3c88fe1e
L
585932010-05-26 H.J. Lu <hongjiu.lu@intel.com>
58594
58595 [BZ #11640]
58596 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58597 Properly check family and model.
58598
d2f73151
TY
585992010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
58600
58601 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
58602
ebd2e13d
LM
586032010-05-24 Luis Machado <luisgpm@br.ibm.com>
58604
58605 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
58606
b32b8b45
UD
586072010-05-21 Ulrich Drepper <drepper@redhat.com>
58608
58609 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
58610 symbol reference.
58611
9acbe24d
AS
586122010-05-19 Andreas Schwab <schwab@redhat.com>
58613
58614 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
58615 symbol reference.
58616
f0ccf6ea
AS
586172010-05-21 Andreas Schwab <schwab@redhat.com>
58618
3d04ff3a
AS
58619 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
58620 and internal_recvmmsg.
58621 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
58622 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
58623 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
58624 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
58625
f0ccf6ea
AS
58626 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
58627 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
58628 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
58629
5b08ac57
AS
586302010-05-20 Andreas Schwab <schwab@redhat.com>
58631
58632 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
58633
4828935d
LM
586342010-05-17 Luis Machado <luisgpm@br.ibm.com>
58635
58636 POWER7 optimizations.
58637 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
58638 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
58639
373d545e
UD
586402010-05-19 Ulrich Drepper <drepper@redhat.com>
58641
58642 * version.h: Update for 2.13 development version.
58643
21a2b1ae
AS
586442010-05-12 Andrew Stubbs <ams@codesourcery.com>
58645
58646 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
58647 exceptions. Return 0.
58648
3f7dcb2b
RM
586492010-05-07 Roland McGrath <roland@redhat.com>
58650
58651 * elf/ldconfig.c (main): Add a const.
58652
5f24d53a 586532010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 58654
a160f8d8
UD
58655 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
58656 (args_options): Add no-idn option.
58657 (ahosts_keys_int): Add idn_flags to ai_flags.
58658 (parse_option): Handle 'i' option to clear idn_flags.
58659
5f24d53a
UD
58660 * malloc/malloc.c (_int_free): Possible race in the most recently
58661 added check. Only act on the data if no current modification
58662 happened.
265bb1ce
UD
58663
58664See ChangeLog.17 for earlier changes.